diff --git a/src/viam/api/api_proto_tag.lock b/src/viam/api/api_proto_tag.lock index 2b57a151f..62eada177 100644 --- a/src/viam/api/api_proto_tag.lock +++ b/src/viam/api/api_proto_tag.lock @@ -1 +1 @@ -v0.1.417 +v0.1.424 diff --git a/src/viam/api/app/v1/app.grpc.pb.cc b/src/viam/api/app/v1/app.grpc.pb.cc index 24e882074..3df798714 100644 --- a/src/viam/api/app/v1/app.grpc.pb.cc +++ b/src/viam/api/app/v1/app.grpc.pb.cc @@ -97,6 +97,7 @@ static const char* AppService_method_names[] = { "/viam.app.v1.AppService/CreateFragment", "/viam.app.v1.AppService/UpdateFragment", "/viam.app.v1.AppService/DeleteFragment", + "/viam.app.v1.AppService/ListNestedFragments", "/viam.app.v1.AppService/ListMachineFragments", "/viam.app.v1.AppService/ListMachineSummaries", "/viam.app.v1.AppService/GetFragmentHistory", @@ -113,6 +114,7 @@ static const char* AppService_method_names[] = { "/viam.app.v1.AppService/UpdateRegistryItem", "/viam.app.v1.AppService/ListRegistryItems", "/viam.app.v1.AppService/DeleteRegistryItem", + "/viam.app.v1.AppService/RenameRegistryItem", "/viam.app.v1.AppService/TransferRegistryItem", "/viam.app.v1.AppService/CreateModule", "/viam.app.v1.AppService/UpdateModule", @@ -208,35 +210,37 @@ AppService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel , rpcmethod_CreateFragment_(AppService_method_names[70], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateFragment_(AppService_method_names[71], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteFragment_(AppService_method_names[72], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListMachineFragments_(AppService_method_names[73], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListMachineSummaries_(AppService_method_names[74], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetFragmentHistory_(AppService_method_names[75], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetFragmentUsage_(AppService_method_names[76], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetFragmentTag_(AppService_method_names[77], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteFragmentTag_(AppService_method_names[78], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AddRole_(AppService_method_names[79], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RemoveRole_(AppService_method_names[80], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ChangeRole_(AppService_method_names[81], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListAuthorizations_(AppService_method_names[82], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CheckPermissions_(AppService_method_names[83], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRegistryItem_(AppService_method_names[84], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateRegistryItem_(AppService_method_names[85], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateRegistryItem_(AppService_method_names[86], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListRegistryItems_(AppService_method_names[87], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteRegistryItem_(AppService_method_names[88], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_TransferRegistryItem_(AppService_method_names[89], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateModule_(AppService_method_names[90], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateModule_(AppService_method_names[91], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UploadModuleFile_(AppService_method_names[92], ::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) - , rpcmethod_GetModule_(AppService_method_names[93], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListModules_(AppService_method_names[94], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateKey_(AppService_method_names[95], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteKey_(AppService_method_names[96], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListKeys_(AppService_method_names[97], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RenameKey_(AppService_method_names[98], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RotateKey_(AppService_method_names[99], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateKeyFromExistingKeyAuthorizations_(AppService_method_names[100], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetAppContent_(AppService_method_names[101], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListNestedFragments_(AppService_method_names[73], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListMachineFragments_(AppService_method_names[74], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListMachineSummaries_(AppService_method_names[75], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetFragmentHistory_(AppService_method_names[76], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetFragmentUsage_(AppService_method_names[77], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetFragmentTag_(AppService_method_names[78], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteFragmentTag_(AppService_method_names[79], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AddRole_(AppService_method_names[80], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RemoveRole_(AppService_method_names[81], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ChangeRole_(AppService_method_names[82], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListAuthorizations_(AppService_method_names[83], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CheckPermissions_(AppService_method_names[84], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRegistryItem_(AppService_method_names[85], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateRegistryItem_(AppService_method_names[86], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRegistryItem_(AppService_method_names[87], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListRegistryItems_(AppService_method_names[88], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteRegistryItem_(AppService_method_names[89], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RenameRegistryItem_(AppService_method_names[90], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_TransferRegistryItem_(AppService_method_names[91], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateModule_(AppService_method_names[92], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateModule_(AppService_method_names[93], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UploadModuleFile_(AppService_method_names[94], ::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) + , rpcmethod_GetModule_(AppService_method_names[95], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListModules_(AppService_method_names[96], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateKey_(AppService_method_names[97], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteKey_(AppService_method_names[98], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListKeys_(AppService_method_names[99], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RenameKey_(AppService_method_names[100], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RotateKey_(AppService_method_names[101], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateKeyFromExistingKeyAuthorizations_(AppService_method_names[102], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetAppContent_(AppService_method_names[103], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status AppService::Stub::GetUserIDByEmail(::grpc::ClientContext* context, const ::viam::app::v1::GetUserIDByEmailRequest& request, ::viam::app::v1::GetUserIDByEmailResponse* response) { @@ -2271,6 +2275,34 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteFragmentResponse>* App return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::DeleteFragmentResponse>::Create(channel_.get(), cq, rpcmethod_DeleteFragment_, context, request, false); } +::grpc::Status AppService::Stub::ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::viam::app::v1::ListNestedFragmentsResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListNestedFragments_, context, request, response); +} + +void AppService::Stub::experimental_async::ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNestedFragments_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNestedFragments_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNestedFragments_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNestedFragments_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>* AppService::Stub::AsyncListNestedFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::ListNestedFragmentsResponse>::Create(channel_.get(), cq, rpcmethod_ListNestedFragments_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>* AppService::Stub::PrepareAsyncListNestedFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::ListNestedFragmentsResponse>::Create(channel_.get(), cq, rpcmethod_ListNestedFragments_, context, request, false); +} + ::grpc::Status AppService::Stub::ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::viam::app::v1::ListMachineFragmentsResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListMachineFragments_, context, request, response); } @@ -2719,6 +2751,34 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRegistryItemResponse>* return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::DeleteRegistryItemResponse>::Create(channel_.get(), cq, rpcmethod_DeleteRegistryItem_, context, request, false); } +::grpc::Status AppService::Stub::RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::viam::app::v1::RenameRegistryItemResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RenameRegistryItem_, context, request, response); +} + +void AppService::Stub::experimental_async::RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RenameRegistryItem_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RenameRegistryItem_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RenameRegistryItem_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RenameRegistryItem_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>* AppService::Stub::AsyncRenameRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::RenameRegistryItemResponse>::Create(channel_.get(), cq, rpcmethod_RenameRegistryItem_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>* AppService::Stub::PrepareAsyncRenameRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::RenameRegistryItemResponse>::Create(channel_.get(), cq, rpcmethod_RenameRegistryItem_, context, request, false); +} + ::grpc::Status AppService::Stub::TransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::viam::app::v1::TransferRegistryItemResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_TransferRegistryItem_, context, request, response); } @@ -3805,6 +3865,16 @@ AppService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( AppService_method_names[73], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListNestedFragmentsRequest, ::viam::app::v1::ListNestedFragmentsResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::ListNestedFragmentsRequest* req, + ::viam::app::v1::ListNestedFragmentsResponse* resp) { + return service->ListNestedFragments(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[74], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( [](AppService::Service* service, ::grpc_impl::ServerContext* ctx, @@ -3813,7 +3883,7 @@ AppService::Service::Service() { return service->ListMachineFragments(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[74], + AppService_method_names[75], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListMachineSummariesRequest, ::viam::app::v1::ListMachineSummariesResponse>( [](AppService::Service* service, @@ -3823,7 +3893,7 @@ AppService::Service::Service() { return service->ListMachineSummaries(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[75], + AppService_method_names[76], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( [](AppService::Service* service, @@ -3833,7 +3903,7 @@ AppService::Service::Service() { return service->GetFragmentHistory(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[76], + AppService_method_names[77], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>( [](AppService::Service* service, @@ -3843,7 +3913,7 @@ AppService::Service::Service() { return service->GetFragmentUsage(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[77], + AppService_method_names[78], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>( [](AppService::Service* service, @@ -3853,7 +3923,7 @@ AppService::Service::Service() { return service->SetFragmentTag(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[78], + AppService_method_names[79], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>( [](AppService::Service* service, @@ -3863,7 +3933,7 @@ AppService::Service::Service() { return service->DeleteFragmentTag(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[79], + AppService_method_names[80], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [](AppService::Service* service, @@ -3873,7 +3943,7 @@ AppService::Service::Service() { return service->AddRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[80], + AppService_method_names[81], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [](AppService::Service* service, @@ -3883,7 +3953,7 @@ AppService::Service::Service() { return service->RemoveRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[81], + AppService_method_names[82], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [](AppService::Service* service, @@ -3893,7 +3963,7 @@ AppService::Service::Service() { return service->ChangeRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[82], + AppService_method_names[83], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [](AppService::Service* service, @@ -3903,7 +3973,7 @@ AppService::Service::Service() { return service->ListAuthorizations(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[83], + AppService_method_names[84], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [](AppService::Service* service, @@ -3913,7 +3983,7 @@ AppService::Service::Service() { return service->CheckPermissions(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[84], + AppService_method_names[85], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [](AppService::Service* service, @@ -3923,7 +3993,7 @@ AppService::Service::Service() { return service->GetRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[85], + AppService_method_names[86], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [](AppService::Service* service, @@ -3933,7 +4003,7 @@ AppService::Service::Service() { return service->CreateRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[86], + AppService_method_names[87], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [](AppService::Service* service, @@ -3943,7 +4013,7 @@ AppService::Service::Service() { return service->UpdateRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[87], + AppService_method_names[88], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [](AppService::Service* service, @@ -3953,7 +4023,7 @@ AppService::Service::Service() { return service->ListRegistryItems(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[88], + AppService_method_names[89], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [](AppService::Service* service, @@ -3963,7 +4033,17 @@ AppService::Service::Service() { return service->DeleteRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[89], + AppService_method_names[90], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RenameRegistryItemRequest, ::viam::app::v1::RenameRegistryItemResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::RenameRegistryItemRequest* req, + ::viam::app::v1::RenameRegistryItemResponse* resp) { + return service->RenameRegistryItem(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[91], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [](AppService::Service* service, @@ -3973,7 +4053,7 @@ AppService::Service::Service() { return service->TransferRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[90], + AppService_method_names[92], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [](AppService::Service* service, @@ -3983,7 +4063,7 @@ AppService::Service::Service() { return service->CreateModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[91], + AppService_method_names[93], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [](AppService::Service* service, @@ -3993,7 +4073,7 @@ AppService::Service::Service() { return service->UpdateModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[92], + AppService_method_names[94], ::grpc::internal::RpcMethod::CLIENT_STREAMING, new ::grpc::internal::ClientStreamingHandler< AppService::Service, ::viam::app::v1::UploadModuleFileRequest, ::viam::app::v1::UploadModuleFileResponse>( [](AppService::Service* service, @@ -4003,7 +4083,7 @@ AppService::Service::Service() { return service->UploadModuleFile(ctx, reader, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[93], + AppService_method_names[95], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [](AppService::Service* service, @@ -4013,7 +4093,7 @@ AppService::Service::Service() { return service->GetModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[94], + AppService_method_names[96], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [](AppService::Service* service, @@ -4023,7 +4103,7 @@ AppService::Service::Service() { return service->ListModules(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[95], + AppService_method_names[97], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [](AppService::Service* service, @@ -4033,7 +4113,7 @@ AppService::Service::Service() { return service->CreateKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[96], + AppService_method_names[98], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [](AppService::Service* service, @@ -4043,7 +4123,7 @@ AppService::Service::Service() { return service->DeleteKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[97], + AppService_method_names[99], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [](AppService::Service* service, @@ -4053,7 +4133,7 @@ AppService::Service::Service() { return service->ListKeys(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[98], + AppService_method_names[100], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [](AppService::Service* service, @@ -4063,7 +4143,7 @@ AppService::Service::Service() { return service->RenameKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[99], + AppService_method_names[101], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [](AppService::Service* service, @@ -4073,7 +4153,7 @@ AppService::Service::Service() { return service->RotateKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[100], + AppService_method_names[102], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [](AppService::Service* service, @@ -4083,7 +4163,7 @@ AppService::Service::Service() { return service->CreateKeyFromExistingKeyAuthorizations(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[101], + AppService_method_names[103], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetAppContentRequest, ::viam::app::v1::GetAppContentResponse>( [](AppService::Service* service, @@ -4608,6 +4688,13 @@ ::grpc::Status AppService::Service::DeleteFragment(::grpc::ServerContext* contex return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AppService::Service::ListNestedFragments(::grpc::ServerContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::ListMachineFragments(::grpc::ServerContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response) { (void) context; (void) request; @@ -4720,6 +4807,13 @@ ::grpc::Status AppService::Service::DeleteRegistryItem(::grpc::ServerContext* co return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AppService::Service::RenameRegistryItem(::grpc::ServerContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::TransferRegistryItem(::grpc::ServerContext* context, const ::viam::app::v1::TransferRegistryItemRequest* request, ::viam::app::v1::TransferRegistryItemResponse* response) { (void) context; (void) request; diff --git a/src/viam/api/app/v1/app.grpc.pb.h b/src/viam/api/app/v1/app.grpc.pb.h index de18a6be9..d9f698149 100644 --- a/src/viam/api/app/v1/app.grpc.pb.h +++ b/src/viam/api/app/v1/app.grpc.pb.h @@ -620,6 +620,14 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteFragmentResponse>> PrepareAsyncDeleteFragment(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteFragmentResponse>>(PrepareAsyncDeleteFragmentRaw(context, request, cq)); } + // List nested fragments for a fragment + virtual ::grpc::Status ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::viam::app::v1::ListNestedFragmentsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListNestedFragmentsResponse>> AsyncListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListNestedFragmentsResponse>>(AsyncListNestedFragmentsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListNestedFragmentsResponse>> PrepareAsyncListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListNestedFragmentsResponse>>(PrepareAsyncListNestedFragmentsRaw(context, request, cq)); + } // Gets top level and nested fragments for a machine, as well as any other specified fragment ids virtual ::grpc::Status ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::viam::app::v1::ListMachineFragmentsResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineFragmentsResponse>> AsyncListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) { @@ -743,6 +751,13 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRegistryItemResponse>> PrepareAsyncDeleteRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRegistryItemResponse>>(PrepareAsyncDeleteRegistryItemRaw(context, request, cq)); } + virtual ::grpc::Status RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::viam::app::v1::RenameRegistryItemResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RenameRegistryItemResponse>> AsyncRenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RenameRegistryItemResponse>>(AsyncRenameRegistryItemRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RenameRegistryItemResponse>> PrepareAsyncRenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RenameRegistryItemResponse>>(PrepareAsyncRenameRegistryItemRaw(context, request, cq)); + } virtual ::grpc::Status TransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::viam::app::v1::TransferRegistryItemResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::TransferRegistryItemResponse>> AsyncTransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::TransferRegistryItemResponse>>(AsyncTransferRegistryItemRaw(context, request, cq)); @@ -1777,6 +1792,19 @@ class AppService final { #else virtual void DeleteFragment(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteFragmentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif + // List nested fragments for a fragment + virtual void ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, std::function) = 0; + virtual void ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif // Gets top level and nested fragments for a machine, as well as any other specified fragment ids virtual void ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response, std::function) = 0; virtual void ListMachineFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListMachineFragmentsResponse* response, std::function) = 0; @@ -1980,6 +2008,18 @@ class AppService final { #else virtual void DeleteRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif + virtual void RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, std::function) = 0; + virtual void RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif virtual void TransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest* request, ::viam::app::v1::TransferRegistryItemResponse* response, std::function) = 0; virtual void TransferRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::TransferRegistryItemResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -2285,6 +2325,8 @@ class AppService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateFragmentResponse>* PrepareAsyncUpdateFragmentRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateFragmentRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteFragmentResponse>* AsyncDeleteFragmentRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteFragmentResponse>* PrepareAsyncDeleteFragmentRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListNestedFragmentsResponse>* AsyncListNestedFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListNestedFragmentsResponse>* PrepareAsyncListNestedFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineFragmentsResponse>* AsyncListMachineFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineFragmentsResponse>* PrepareAsyncListMachineFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineSummariesResponse>* AsyncListMachineSummariesRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineSummariesRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -2317,6 +2359,8 @@ class AppService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListRegistryItemsResponse>* PrepareAsyncListRegistryItemsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListRegistryItemsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRegistryItemResponse>* AsyncDeleteRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRegistryItemRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRegistryItemResponse>* PrepareAsyncDeleteRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRegistryItemRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RenameRegistryItemResponse>* AsyncRenameRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RenameRegistryItemResponse>* PrepareAsyncRenameRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::TransferRegistryItemResponse>* AsyncTransferRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::TransferRegistryItemResponse>* PrepareAsyncTransferRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::CreateModuleResponse>* AsyncCreateModuleRaw(::grpc::ClientContext* context, const ::viam::app::v1::CreateModuleRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -2861,6 +2905,13 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteFragmentResponse>> PrepareAsyncDeleteFragment(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteFragmentResponse>>(PrepareAsyncDeleteFragmentRaw(context, request, cq)); } + ::grpc::Status ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::viam::app::v1::ListNestedFragmentsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>> AsyncListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>>(AsyncListNestedFragmentsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>> PrepareAsyncListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>>(PrepareAsyncListNestedFragmentsRaw(context, request, cq)); + } ::grpc::Status ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::viam::app::v1::ListMachineFragmentsResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>> AsyncListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>>(AsyncListMachineFragmentsRaw(context, request, cq)); @@ -2973,6 +3024,13 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRegistryItemResponse>> PrepareAsyncDeleteRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRegistryItemResponse>>(PrepareAsyncDeleteRegistryItemRaw(context, request, cq)); } + ::grpc::Status RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::viam::app::v1::RenameRegistryItemResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>> AsyncRenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>>(AsyncRenameRegistryItemRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>> PrepareAsyncRenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>>(PrepareAsyncRenameRegistryItemRaw(context, request, cq)); + } ::grpc::Status TransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::viam::app::v1::TransferRegistryItemResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::TransferRegistryItemResponse>> AsyncTransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::TransferRegistryItemResponse>>(AsyncTransferRegistryItemRaw(context, request, cq)); @@ -3938,6 +3996,18 @@ class AppService final { #else void DeleteFragment(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteFragmentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif + void ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, std::function) override; + void ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void ListNestedFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void ListNestedFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListNestedFragmentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif void ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response, std::function) override; void ListMachineFragments(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListMachineFragmentsResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -4130,6 +4200,18 @@ class AppService final { #else void DeleteRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif + void RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, std::function) override; + void RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void RenameRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void RenameRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::RenameRegistryItemResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif void TransferRegistryItem(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest* request, ::viam::app::v1::TransferRegistryItemResponse* response, std::function) override; void TransferRegistryItem(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::TransferRegistryItemResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -4437,6 +4519,8 @@ class AppService final { ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateFragmentResponse>* PrepareAsyncUpdateFragmentRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateFragmentRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteFragmentResponse>* AsyncDeleteFragmentRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteFragmentResponse>* PrepareAsyncDeleteFragmentRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>* AsyncListNestedFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListNestedFragmentsResponse>* PrepareAsyncListNestedFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListNestedFragmentsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>* AsyncListMachineFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>* PrepareAsyncListMachineFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineSummariesResponse>* AsyncListMachineSummariesRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineSummariesRequest& request, ::grpc::CompletionQueue* cq) override; @@ -4469,6 +4553,8 @@ class AppService final { ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListRegistryItemsResponse>* PrepareAsyncListRegistryItemsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListRegistryItemsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRegistryItemResponse>* AsyncDeleteRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRegistryItemRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRegistryItemResponse>* PrepareAsyncDeleteRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRegistryItemRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>* AsyncRenameRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RenameRegistryItemResponse>* PrepareAsyncRenameRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::RenameRegistryItemRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::TransferRegistryItemResponse>* AsyncTransferRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::TransferRegistryItemResponse>* PrepareAsyncTransferRegistryItemRaw(::grpc::ClientContext* context, const ::viam::app::v1::TransferRegistryItemRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::CreateModuleResponse>* AsyncCreateModuleRaw(::grpc::ClientContext* context, const ::viam::app::v1::CreateModuleRequest& request, ::grpc::CompletionQueue* cq) override; @@ -4569,6 +4655,7 @@ class AppService final { const ::grpc::internal::RpcMethod rpcmethod_CreateFragment_; const ::grpc::internal::RpcMethod rpcmethod_UpdateFragment_; const ::grpc::internal::RpcMethod rpcmethod_DeleteFragment_; + const ::grpc::internal::RpcMethod rpcmethod_ListNestedFragments_; const ::grpc::internal::RpcMethod rpcmethod_ListMachineFragments_; const ::grpc::internal::RpcMethod rpcmethod_ListMachineSummaries_; const ::grpc::internal::RpcMethod rpcmethod_GetFragmentHistory_; @@ -4585,6 +4672,7 @@ class AppService final { const ::grpc::internal::RpcMethod rpcmethod_UpdateRegistryItem_; const ::grpc::internal::RpcMethod rpcmethod_ListRegistryItems_; const ::grpc::internal::RpcMethod rpcmethod_DeleteRegistryItem_; + const ::grpc::internal::RpcMethod rpcmethod_RenameRegistryItem_; const ::grpc::internal::RpcMethod rpcmethod_TransferRegistryItem_; const ::grpc::internal::RpcMethod rpcmethod_CreateModule_; const ::grpc::internal::RpcMethod rpcmethod_UpdateModule_; @@ -4747,6 +4835,8 @@ class AppService final { virtual ::grpc::Status UpdateFragment(::grpc::ServerContext* context, const ::viam::app::v1::UpdateFragmentRequest* request, ::viam::app::v1::UpdateFragmentResponse* response); // Deletes a fragment virtual ::grpc::Status DeleteFragment(::grpc::ServerContext* context, const ::viam::app::v1::DeleteFragmentRequest* request, ::viam::app::v1::DeleteFragmentResponse* response); + // List nested fragments for a fragment + virtual ::grpc::Status ListNestedFragments(::grpc::ServerContext* context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response); // Gets top level and nested fragments for a machine, as well as any other specified fragment ids virtual ::grpc::Status ListMachineFragments(::grpc::ServerContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response); // List all machines and their corresponding machine dashboard information @@ -4774,6 +4864,7 @@ class AppService final { virtual ::grpc::Status UpdateRegistryItem(::grpc::ServerContext* context, const ::viam::app::v1::UpdateRegistryItemRequest* request, ::viam::app::v1::UpdateRegistryItemResponse* response); virtual ::grpc::Status ListRegistryItems(::grpc::ServerContext* context, const ::viam::app::v1::ListRegistryItemsRequest* request, ::viam::app::v1::ListRegistryItemsResponse* response); virtual ::grpc::Status DeleteRegistryItem(::grpc::ServerContext* context, const ::viam::app::v1::DeleteRegistryItemRequest* request, ::viam::app::v1::DeleteRegistryItemResponse* response); + virtual ::grpc::Status RenameRegistryItem(::grpc::ServerContext* context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response); virtual ::grpc::Status TransferRegistryItem(::grpc::ServerContext* context, const ::viam::app::v1::TransferRegistryItemRequest* request, ::viam::app::v1::TransferRegistryItemResponse* response); virtual ::grpc::Status CreateModule(::grpc::ServerContext* context, const ::viam::app::v1::CreateModuleRequest* request, ::viam::app::v1::CreateModuleResponse* response); virtual ::grpc::Status UpdateModule(::grpc::ServerContext* context, const ::viam::app::v1::UpdateModuleRequest* request, ::viam::app::v1::UpdateModuleResponse* response); @@ -6249,12 +6340,32 @@ class AppService final { } }; template + class WithAsyncMethod_ListNestedFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_ListNestedFragments() { + ::grpc::Service::MarkMethodAsync(73); + } + ~WithAsyncMethod_ListNestedFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListNestedFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestListNestedFragments(::grpc::ServerContext* context, ::viam::app::v1::ListNestedFragmentsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListNestedFragmentsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(73, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodAsync(73); + ::grpc::Service::MarkMethodAsync(74); } ~WithAsyncMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); @@ -6265,7 +6376,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListMachineFragments(::grpc::ServerContext* context, ::viam::app::v1::ListMachineFragmentsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListMachineFragmentsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(73, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(74, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6274,7 +6385,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListMachineSummaries() { - ::grpc::Service::MarkMethodAsync(74); + ::grpc::Service::MarkMethodAsync(75); } ~WithAsyncMethod_ListMachineSummaries() override { BaseClassMustBeDerivedFromService(this); @@ -6285,7 +6396,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListMachineSummaries(::grpc::ServerContext* context, ::viam::app::v1::ListMachineSummariesRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListMachineSummariesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(74, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(75, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6294,7 +6405,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodAsync(75); + ::grpc::Service::MarkMethodAsync(76); } ~WithAsyncMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); @@ -6305,7 +6416,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentHistory(::grpc::ServerContext* context, ::viam::app::v1::GetFragmentHistoryRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetFragmentHistoryResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(75, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(76, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6314,7 +6425,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodAsync(76); + ::grpc::Service::MarkMethodAsync(77); } ~WithAsyncMethod_GetFragmentUsage() override { BaseClassMustBeDerivedFromService(this); @@ -6325,7 +6436,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentUsage(::grpc::ServerContext* context, ::viam::app::v1::GetFragmentUsageRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetFragmentUsageResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(76, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(77, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6334,7 +6445,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodAsync(77); + ::grpc::Service::MarkMethodAsync(78); } ~WithAsyncMethod_SetFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -6345,7 +6456,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetFragmentTag(::grpc::ServerContext* context, ::viam::app::v1::SetFragmentTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::SetFragmentTagResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(77, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(78, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6354,7 +6465,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodAsync(78); + ::grpc::Service::MarkMethodAsync(79); } ~WithAsyncMethod_DeleteFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -6365,7 +6476,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteFragmentTag(::grpc::ServerContext* context, ::viam::app::v1::DeleteFragmentTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteFragmentTagResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(78, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(79, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6374,7 +6485,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_AddRole() { - ::grpc::Service::MarkMethodAsync(79); + ::grpc::Service::MarkMethodAsync(80); } ~WithAsyncMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -6385,7 +6496,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestAddRole(::grpc::ServerContext* context, ::viam::app::v1::AddRoleRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::AddRoleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(79, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(80, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6394,7 +6505,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RemoveRole() { - ::grpc::Service::MarkMethodAsync(80); + ::grpc::Service::MarkMethodAsync(81); } ~WithAsyncMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -6405,7 +6516,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRemoveRole(::grpc::ServerContext* context, ::viam::app::v1::RemoveRoleRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::RemoveRoleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(80, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(81, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6414,7 +6525,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ChangeRole() { - ::grpc::Service::MarkMethodAsync(81); + ::grpc::Service::MarkMethodAsync(82); } ~WithAsyncMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -6425,7 +6536,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestChangeRole(::grpc::ServerContext* context, ::viam::app::v1::ChangeRoleRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ChangeRoleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(81, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(82, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6434,7 +6545,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodAsync(82); + ::grpc::Service::MarkMethodAsync(83); } ~WithAsyncMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -6445,7 +6556,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListAuthorizations(::grpc::ServerContext* context, ::viam::app::v1::ListAuthorizationsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListAuthorizationsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(82, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(83, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6454,7 +6565,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CheckPermissions() { - ::grpc::Service::MarkMethodAsync(83); + ::grpc::Service::MarkMethodAsync(84); } ~WithAsyncMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -6465,7 +6576,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCheckPermissions(::grpc::ServerContext* context, ::viam::app::v1::CheckPermissionsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CheckPermissionsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(83, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(84, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6474,7 +6585,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodAsync(84); + ::grpc::Service::MarkMethodAsync(85); } ~WithAsyncMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6485,7 +6596,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRegistryItem(::grpc::ServerContext* context, ::viam::app::v1::GetRegistryItemRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRegistryItemResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(84, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(85, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6494,7 +6605,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodAsync(85); + ::grpc::Service::MarkMethodAsync(86); } ~WithAsyncMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6505,7 +6616,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateRegistryItem(::grpc::ServerContext* context, ::viam::app::v1::CreateRegistryItemRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateRegistryItemResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(85, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(86, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6514,7 +6625,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodAsync(86); + ::grpc::Service::MarkMethodAsync(87); } ~WithAsyncMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6525,7 +6636,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateRegistryItem(::grpc::ServerContext* context, ::viam::app::v1::UpdateRegistryItemRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateRegistryItemResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(86, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(87, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6534,7 +6645,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodAsync(87); + ::grpc::Service::MarkMethodAsync(88); } ~WithAsyncMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -6545,7 +6656,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListRegistryItems(::grpc::ServerContext* context, ::viam::app::v1::ListRegistryItemsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListRegistryItemsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(87, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(88, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6554,7 +6665,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodAsync(88); + ::grpc::Service::MarkMethodAsync(89); } ~WithAsyncMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6565,7 +6676,27 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRegistryItem(::grpc::ServerContext* context, ::viam::app::v1::DeleteRegistryItemRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteRegistryItemResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(88, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(89, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_RenameRegistryItem : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_RenameRegistryItem() { + ::grpc::Service::MarkMethodAsync(90); + } + ~WithAsyncMethod_RenameRegistryItem() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRenameRegistryItem(::grpc::ServerContext* context, ::viam::app::v1::RenameRegistryItemRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::RenameRegistryItemResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(90, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6574,7 +6705,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodAsync(89); + ::grpc::Service::MarkMethodAsync(91); } ~WithAsyncMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6585,7 +6716,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestTransferRegistryItem(::grpc::ServerContext* context, ::viam::app::v1::TransferRegistryItemRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::TransferRegistryItemResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(89, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(91, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6594,7 +6725,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateModule() { - ::grpc::Service::MarkMethodAsync(90); + ::grpc::Service::MarkMethodAsync(92); } ~WithAsyncMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -6605,7 +6736,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateModule(::grpc::ServerContext* context, ::viam::app::v1::CreateModuleRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateModuleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(90, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(92, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6614,7 +6745,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateModule() { - ::grpc::Service::MarkMethodAsync(91); + ::grpc::Service::MarkMethodAsync(93); } ~WithAsyncMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -6625,7 +6756,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateModule(::grpc::ServerContext* context, ::viam::app::v1::UpdateModuleRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateModuleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(91, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(93, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6634,7 +6765,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodAsync(92); + ::grpc::Service::MarkMethodAsync(94); } ~WithAsyncMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -6645,7 +6776,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUploadModuleFile(::grpc::ServerContext* context, ::grpc::ServerAsyncReader< ::viam::app::v1::UploadModuleFileResponse, ::viam::app::v1::UploadModuleFileRequest>* reader, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncClientStreaming(92, context, reader, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncClientStreaming(94, context, reader, new_call_cq, notification_cq, tag); } }; template @@ -6654,7 +6785,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetModule() { - ::grpc::Service::MarkMethodAsync(93); + ::grpc::Service::MarkMethodAsync(95); } ~WithAsyncMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -6665,7 +6796,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetModule(::grpc::ServerContext* context, ::viam::app::v1::GetModuleRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetModuleResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(93, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(95, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6674,7 +6805,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListModules() { - ::grpc::Service::MarkMethodAsync(94); + ::grpc::Service::MarkMethodAsync(96); } ~WithAsyncMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -6685,7 +6816,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListModules(::grpc::ServerContext* context, ::viam::app::v1::ListModulesRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListModulesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(94, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(96, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6694,7 +6825,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateKey() { - ::grpc::Service::MarkMethodAsync(95); + ::grpc::Service::MarkMethodAsync(97); } ~WithAsyncMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -6705,7 +6836,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateKey(::grpc::ServerContext* context, ::viam::app::v1::CreateKeyRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateKeyResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(95, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(97, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6714,7 +6845,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteKey() { - ::grpc::Service::MarkMethodAsync(96); + ::grpc::Service::MarkMethodAsync(98); } ~WithAsyncMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -6725,7 +6856,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteKey(::grpc::ServerContext* context, ::viam::app::v1::DeleteKeyRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteKeyResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(96, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(98, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6734,7 +6865,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListKeys() { - ::grpc::Service::MarkMethodAsync(97); + ::grpc::Service::MarkMethodAsync(99); } ~WithAsyncMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -6745,7 +6876,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListKeys(::grpc::ServerContext* context, ::viam::app::v1::ListKeysRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListKeysResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(97, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(99, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6754,7 +6885,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RenameKey() { - ::grpc::Service::MarkMethodAsync(98); + ::grpc::Service::MarkMethodAsync(100); } ~WithAsyncMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -6765,7 +6896,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRenameKey(::grpc::ServerContext* context, ::viam::app::v1::RenameKeyRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::RenameKeyResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(98, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(100, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6774,7 +6905,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RotateKey() { - ::grpc::Service::MarkMethodAsync(99); + ::grpc::Service::MarkMethodAsync(101); } ~WithAsyncMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -6785,7 +6916,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRotateKey(::grpc::ServerContext* context, ::viam::app::v1::RotateKeyRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::RotateKeyResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(99, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(101, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6794,7 +6925,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodAsync(100); + ::grpc::Service::MarkMethodAsync(102); } ~WithAsyncMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -6805,7 +6936,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateKeyFromExistingKeyAuthorizations(::grpc::ServerContext* context, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(100, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(102, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6814,7 +6945,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetAppContent() { - ::grpc::Service::MarkMethodAsync(101); + ::grpc::Service::MarkMethodAsync(103); } ~WithAsyncMethod_GetAppContent() override { BaseClassMustBeDerivedFromService(this); @@ -6825,10 +6956,10 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetAppContent(::grpc::ServerContext* context, ::viam::app::v1::GetAppContentRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetAppContentResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(101, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(103, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_GetUserIDByEmail : public BaseClass { private: @@ -10252,6 +10383,53 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithCallbackMethod_ListNestedFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_ListNestedFragments() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(73, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListNestedFragmentsRequest, ::viam::app::v1::ListNestedFragmentsResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::ListNestedFragmentsRequest* request, ::viam::app::v1::ListNestedFragmentsResponse* response) { return this->ListNestedFragments(context, request, response); }));} + void SetMessageAllocatorFor_ListNestedFragments( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListNestedFragmentsRequest, ::viam::app::v1::ListNestedFragmentsResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(73); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(73); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListNestedFragmentsRequest, ::viam::app::v1::ListNestedFragmentsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_ListNestedFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListNestedFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* ListNestedFragments( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* ListNestedFragments( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithCallbackMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -10262,7 +10440,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(73, + MarkMethodCallback(74, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10274,9 +10452,9 @@ class AppService final { void SetMessageAllocatorFor_ListMachineFragments( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(73); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(74); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(73); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(74); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10309,7 +10487,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(74, + MarkMethodCallback(75, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineSummariesRequest, ::viam::app::v1::ListMachineSummariesResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10321,9 +10499,9 @@ class AppService final { void SetMessageAllocatorFor_ListMachineSummaries( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListMachineSummariesRequest, ::viam::app::v1::ListMachineSummariesResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(74); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(75); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(74); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(75); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineSummariesRequest, ::viam::app::v1::ListMachineSummariesResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10356,7 +10534,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(75, + MarkMethodCallback(76, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10368,9 +10546,9 @@ class AppService final { void SetMessageAllocatorFor_GetFragmentHistory( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(75); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(76); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(75); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(76); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10403,7 +10581,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(76, + MarkMethodCallback(77, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10415,9 +10593,9 @@ class AppService final { void SetMessageAllocatorFor_GetFragmentUsage( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(76); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(77); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(76); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(77); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10450,7 +10628,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(77, + MarkMethodCallback(78, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10462,9 +10640,9 @@ class AppService final { void SetMessageAllocatorFor_SetFragmentTag( ::grpc::experimental::MessageAllocator< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(77); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(78); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(77); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(78); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10497,7 +10675,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(78, + MarkMethodCallback(79, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10509,9 +10687,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteFragmentTag( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(78); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(79); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(78); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(79); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10544,7 +10722,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(79, + MarkMethodCallback(80, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10556,9 +10734,9 @@ class AppService final { void SetMessageAllocatorFor_AddRole( ::grpc::experimental::MessageAllocator< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(79); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(80); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(79); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(80); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10591,7 +10769,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(80, + MarkMethodCallback(81, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10603,9 +10781,9 @@ class AppService final { void SetMessageAllocatorFor_RemoveRole( ::grpc::experimental::MessageAllocator< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(80); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(81); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(80); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(81); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10638,7 +10816,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(81, + MarkMethodCallback(82, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10650,9 +10828,9 @@ class AppService final { void SetMessageAllocatorFor_ChangeRole( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(81); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(82); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(81); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(82); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10685,7 +10863,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(82, + MarkMethodCallback(83, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10697,9 +10875,9 @@ class AppService final { void SetMessageAllocatorFor_ListAuthorizations( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(82); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(83); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(82); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(83); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10732,7 +10910,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(83, + MarkMethodCallback(84, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10744,9 +10922,9 @@ class AppService final { void SetMessageAllocatorFor_CheckPermissions( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(83); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(84); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(83); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(84); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10779,7 +10957,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(84, + MarkMethodCallback(85, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10791,9 +10969,9 @@ class AppService final { void SetMessageAllocatorFor_GetRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(84); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(85); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(84); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(85); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10826,7 +11004,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(85, + MarkMethodCallback(86, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10838,9 +11016,9 @@ class AppService final { void SetMessageAllocatorFor_CreateRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(85); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(86); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(85); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(86); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10873,7 +11051,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(86, + MarkMethodCallback(87, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10885,9 +11063,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(86); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(87); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(86); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(87); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10920,7 +11098,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(87, + MarkMethodCallback(88, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10932,9 +11110,9 @@ class AppService final { void SetMessageAllocatorFor_ListRegistryItems( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(87); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(88); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(87); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(88); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10967,7 +11145,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(88, + MarkMethodCallback(89, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10979,9 +11157,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(88); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(89); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(88); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(89); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11004,6 +11182,53 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithCallbackMethod_RenameRegistryItem : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_RenameRegistryItem() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(90, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RenameRegistryItemRequest, ::viam::app::v1::RenameRegistryItemResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::RenameRegistryItemRequest* request, ::viam::app::v1::RenameRegistryItemResponse* response) { return this->RenameRegistryItem(context, request, response); }));} + void SetMessageAllocatorFor_RenameRegistryItem( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::RenameRegistryItemRequest, ::viam::app::v1::RenameRegistryItemResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(90); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(90); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RenameRegistryItemRequest, ::viam::app::v1::RenameRegistryItemResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_RenameRegistryItem() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* RenameRegistryItem( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* RenameRegistryItem( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithCallbackMethod_TransferRegistryItem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -11014,7 +11239,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(89, + MarkMethodCallback(91, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11026,9 +11251,9 @@ class AppService final { void SetMessageAllocatorFor_TransferRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(89); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(91); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(89); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(91); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11061,7 +11286,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(90, + MarkMethodCallback(92, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11073,9 +11298,9 @@ class AppService final { void SetMessageAllocatorFor_CreateModule( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(90); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(92); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(90); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(92); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11108,7 +11333,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(91, + MarkMethodCallback(93, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11120,9 +11345,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateModule( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(91); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(93); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(91); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(93); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11155,7 +11380,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(92, + MarkMethodCallback(94, new ::grpc_impl::internal::CallbackClientStreamingHandler< ::viam::app::v1::UploadModuleFileRequest, ::viam::app::v1::UploadModuleFileResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11193,7 +11418,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(93, + MarkMethodCallback(95, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11205,9 +11430,9 @@ class AppService final { void SetMessageAllocatorFor_GetModule( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(93); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(95); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(93); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(95); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11240,7 +11465,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(94, + MarkMethodCallback(96, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11252,9 +11477,9 @@ class AppService final { void SetMessageAllocatorFor_ListModules( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(94); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(96); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(94); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(96); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11287,7 +11512,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(95, + MarkMethodCallback(97, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11299,9 +11524,9 @@ class AppService final { void SetMessageAllocatorFor_CreateKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(95); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(97); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(95); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(97); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11334,7 +11559,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(96, + MarkMethodCallback(98, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11346,9 +11571,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(96); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(98); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(96); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(98); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11381,7 +11606,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(97, + MarkMethodCallback(99, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11393,9 +11618,9 @@ class AppService final { void SetMessageAllocatorFor_ListKeys( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(97); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(99); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(97); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(99); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11428,7 +11653,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(98, + MarkMethodCallback(100, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11440,9 +11665,9 @@ class AppService final { void SetMessageAllocatorFor_RenameKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(98); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(100); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(98); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(100); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11475,7 +11700,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(99, + MarkMethodCallback(101, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11487,9 +11712,9 @@ class AppService final { void SetMessageAllocatorFor_RotateKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(99); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(101); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(99); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(101); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11522,7 +11747,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(100, + MarkMethodCallback(102, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11534,9 +11759,9 @@ class AppService final { void SetMessageAllocatorFor_CreateKeyFromExistingKeyAuthorizations( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(100); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(102); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(100); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(102); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11569,7 +11794,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(101, + MarkMethodCallback(103, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetAppContentRequest, ::viam::app::v1::GetAppContentResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -11581,9 +11806,9 @@ class AppService final { void SetMessageAllocatorFor_GetAppContent( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetAppContentRequest, ::viam::app::v1::GetAppContentResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(101); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(103); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(101); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(103); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetAppContentRequest, ::viam::app::v1::GetAppContentResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -11606,10 +11831,10 @@ class AppService final { { return nullptr; } }; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; + typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; #endif - typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; + typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_GetUserIDByEmail : public BaseClass { private: @@ -12852,12 +13077,29 @@ class AppService final { } }; template + class WithGenericMethod_ListNestedFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_ListNestedFragments() { + ::grpc::Service::MarkMethodGeneric(73); + } + ~WithGenericMethod_ListNestedFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListNestedFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodGeneric(73); + ::grpc::Service::MarkMethodGeneric(74); } ~WithGenericMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); @@ -12874,7 +13116,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListMachineSummaries() { - ::grpc::Service::MarkMethodGeneric(74); + ::grpc::Service::MarkMethodGeneric(75); } ~WithGenericMethod_ListMachineSummaries() override { BaseClassMustBeDerivedFromService(this); @@ -12891,7 +13133,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodGeneric(75); + ::grpc::Service::MarkMethodGeneric(76); } ~WithGenericMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); @@ -12908,7 +13150,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodGeneric(76); + ::grpc::Service::MarkMethodGeneric(77); } ~WithGenericMethod_GetFragmentUsage() override { BaseClassMustBeDerivedFromService(this); @@ -12925,7 +13167,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodGeneric(77); + ::grpc::Service::MarkMethodGeneric(78); } ~WithGenericMethod_SetFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -12942,7 +13184,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodGeneric(78); + ::grpc::Service::MarkMethodGeneric(79); } ~WithGenericMethod_DeleteFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -12959,7 +13201,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_AddRole() { - ::grpc::Service::MarkMethodGeneric(79); + ::grpc::Service::MarkMethodGeneric(80); } ~WithGenericMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -12976,7 +13218,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RemoveRole() { - ::grpc::Service::MarkMethodGeneric(80); + ::grpc::Service::MarkMethodGeneric(81); } ~WithGenericMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -12993,7 +13235,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ChangeRole() { - ::grpc::Service::MarkMethodGeneric(81); + ::grpc::Service::MarkMethodGeneric(82); } ~WithGenericMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -13010,7 +13252,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodGeneric(82); + ::grpc::Service::MarkMethodGeneric(83); } ~WithGenericMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -13027,7 +13269,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CheckPermissions() { - ::grpc::Service::MarkMethodGeneric(83); + ::grpc::Service::MarkMethodGeneric(84); } ~WithGenericMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -13044,7 +13286,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodGeneric(84); + ::grpc::Service::MarkMethodGeneric(85); } ~WithGenericMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13061,7 +13303,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodGeneric(85); + ::grpc::Service::MarkMethodGeneric(86); } ~WithGenericMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13078,7 +13320,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodGeneric(86); + ::grpc::Service::MarkMethodGeneric(87); } ~WithGenericMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13095,7 +13337,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodGeneric(87); + ::grpc::Service::MarkMethodGeneric(88); } ~WithGenericMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -13112,7 +13354,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodGeneric(88); + ::grpc::Service::MarkMethodGeneric(89); } ~WithGenericMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13124,12 +13366,29 @@ class AppService final { } }; template + class WithGenericMethod_RenameRegistryItem : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_RenameRegistryItem() { + ::grpc::Service::MarkMethodGeneric(90); + } + ~WithGenericMethod_RenameRegistryItem() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_TransferRegistryItem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodGeneric(89); + ::grpc::Service::MarkMethodGeneric(91); } ~WithGenericMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13146,7 +13405,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateModule() { - ::grpc::Service::MarkMethodGeneric(90); + ::grpc::Service::MarkMethodGeneric(92); } ~WithGenericMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -13163,7 +13422,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateModule() { - ::grpc::Service::MarkMethodGeneric(91); + ::grpc::Service::MarkMethodGeneric(93); } ~WithGenericMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -13180,7 +13439,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodGeneric(92); + ::grpc::Service::MarkMethodGeneric(94); } ~WithGenericMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -13197,7 +13456,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetModule() { - ::grpc::Service::MarkMethodGeneric(93); + ::grpc::Service::MarkMethodGeneric(95); } ~WithGenericMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -13214,7 +13473,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListModules() { - ::grpc::Service::MarkMethodGeneric(94); + ::grpc::Service::MarkMethodGeneric(96); } ~WithGenericMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -13231,7 +13490,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateKey() { - ::grpc::Service::MarkMethodGeneric(95); + ::grpc::Service::MarkMethodGeneric(97); } ~WithGenericMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -13248,7 +13507,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteKey() { - ::grpc::Service::MarkMethodGeneric(96); + ::grpc::Service::MarkMethodGeneric(98); } ~WithGenericMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -13265,7 +13524,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListKeys() { - ::grpc::Service::MarkMethodGeneric(97); + ::grpc::Service::MarkMethodGeneric(99); } ~WithGenericMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -13282,7 +13541,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RenameKey() { - ::grpc::Service::MarkMethodGeneric(98); + ::grpc::Service::MarkMethodGeneric(100); } ~WithGenericMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -13299,7 +13558,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RotateKey() { - ::grpc::Service::MarkMethodGeneric(99); + ::grpc::Service::MarkMethodGeneric(101); } ~WithGenericMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -13316,7 +13575,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodGeneric(100); + ::grpc::Service::MarkMethodGeneric(102); } ~WithGenericMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -13333,7 +13592,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetAppContent() { - ::grpc::Service::MarkMethodGeneric(101); + ::grpc::Service::MarkMethodGeneric(103); } ~WithGenericMethod_GetAppContent() override { BaseClassMustBeDerivedFromService(this); @@ -14805,12 +15064,32 @@ class AppService final { } }; template + class WithRawMethod_ListNestedFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_ListNestedFragments() { + ::grpc::Service::MarkMethodRaw(73); + } + ~WithRawMethod_ListNestedFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListNestedFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestListNestedFragments(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(73, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodRaw(73); + ::grpc::Service::MarkMethodRaw(74); } ~WithRawMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); @@ -14821,7 +15100,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListMachineFragments(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(73, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(74, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14830,7 +15109,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListMachineSummaries() { - ::grpc::Service::MarkMethodRaw(74); + ::grpc::Service::MarkMethodRaw(75); } ~WithRawMethod_ListMachineSummaries() override { BaseClassMustBeDerivedFromService(this); @@ -14841,7 +15120,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListMachineSummaries(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(74, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(75, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14850,7 +15129,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodRaw(75); + ::grpc::Service::MarkMethodRaw(76); } ~WithRawMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); @@ -14861,7 +15140,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentHistory(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(75, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(76, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14870,7 +15149,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodRaw(76); + ::grpc::Service::MarkMethodRaw(77); } ~WithRawMethod_GetFragmentUsage() override { BaseClassMustBeDerivedFromService(this); @@ -14881,7 +15160,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentUsage(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(76, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(77, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14890,7 +15169,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodRaw(77); + ::grpc::Service::MarkMethodRaw(78); } ~WithRawMethod_SetFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -14901,7 +15180,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetFragmentTag(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(77, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(78, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14910,7 +15189,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodRaw(78); + ::grpc::Service::MarkMethodRaw(79); } ~WithRawMethod_DeleteFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -14921,7 +15200,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteFragmentTag(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(78, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(79, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14930,7 +15209,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_AddRole() { - ::grpc::Service::MarkMethodRaw(79); + ::grpc::Service::MarkMethodRaw(80); } ~WithRawMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -14941,7 +15220,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestAddRole(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(79, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(80, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14950,7 +15229,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RemoveRole() { - ::grpc::Service::MarkMethodRaw(80); + ::grpc::Service::MarkMethodRaw(81); } ~WithRawMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -14961,7 +15240,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRemoveRole(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(80, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(81, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14970,7 +15249,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ChangeRole() { - ::grpc::Service::MarkMethodRaw(81); + ::grpc::Service::MarkMethodRaw(82); } ~WithRawMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -14981,7 +15260,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestChangeRole(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(81, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(82, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14990,7 +15269,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodRaw(82); + ::grpc::Service::MarkMethodRaw(83); } ~WithRawMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -15001,7 +15280,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListAuthorizations(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(82, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(83, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15010,7 +15289,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CheckPermissions() { - ::grpc::Service::MarkMethodRaw(83); + ::grpc::Service::MarkMethodRaw(84); } ~WithRawMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -15021,7 +15300,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCheckPermissions(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(83, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(84, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15030,7 +15309,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodRaw(84); + ::grpc::Service::MarkMethodRaw(85); } ~WithRawMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -15041,7 +15320,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(84, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(85, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15050,7 +15329,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodRaw(85); + ::grpc::Service::MarkMethodRaw(86); } ~WithRawMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -15061,7 +15340,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(85, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(86, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15070,7 +15349,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodRaw(86); + ::grpc::Service::MarkMethodRaw(87); } ~WithRawMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -15081,7 +15360,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(86, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(87, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15090,7 +15369,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodRaw(87); + ::grpc::Service::MarkMethodRaw(88); } ~WithRawMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -15101,7 +15380,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListRegistryItems(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(87, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(88, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15110,18 +15389,38 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodRaw(88); + ::grpc::Service::MarkMethodRaw(89); } ~WithRawMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::DeleteRegistryItemRequest* /*request*/, ::viam::app::v1::DeleteRegistryItemResponse* /*response*/) override { + ::grpc::Status DeleteRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::DeleteRegistryItemRequest* /*request*/, ::viam::app::v1::DeleteRegistryItemResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(89, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_RenameRegistryItem : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_RenameRegistryItem() { + ::grpc::Service::MarkMethodRaw(90); + } + ~WithRawMethod_RenameRegistryItem() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestDeleteRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(88, context, request, response, new_call_cq, notification_cq, tag); + void RequestRenameRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(90, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15130,7 +15429,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodRaw(89); + ::grpc::Service::MarkMethodRaw(91); } ~WithRawMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -15141,7 +15440,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestTransferRegistryItem(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(89, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(91, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15150,7 +15449,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateModule() { - ::grpc::Service::MarkMethodRaw(90); + ::grpc::Service::MarkMethodRaw(92); } ~WithRawMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -15161,7 +15460,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateModule(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(90, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(92, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15170,7 +15469,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateModule() { - ::grpc::Service::MarkMethodRaw(91); + ::grpc::Service::MarkMethodRaw(93); } ~WithRawMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -15181,7 +15480,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateModule(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(91, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(93, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15190,7 +15489,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodRaw(92); + ::grpc::Service::MarkMethodRaw(94); } ~WithRawMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -15201,7 +15500,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUploadModuleFile(::grpc::ServerContext* context, ::grpc::ServerAsyncReader< ::grpc::ByteBuffer, ::grpc::ByteBuffer>* reader, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncClientStreaming(92, context, reader, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncClientStreaming(94, context, reader, new_call_cq, notification_cq, tag); } }; template @@ -15210,7 +15509,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetModule() { - ::grpc::Service::MarkMethodRaw(93); + ::grpc::Service::MarkMethodRaw(95); } ~WithRawMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -15221,7 +15520,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetModule(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(93, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(95, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15230,7 +15529,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListModules() { - ::grpc::Service::MarkMethodRaw(94); + ::grpc::Service::MarkMethodRaw(96); } ~WithRawMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -15241,7 +15540,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListModules(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(94, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(96, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15250,7 +15549,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateKey() { - ::grpc::Service::MarkMethodRaw(95); + ::grpc::Service::MarkMethodRaw(97); } ~WithRawMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -15261,7 +15560,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateKey(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(95, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(97, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15270,7 +15569,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteKey() { - ::grpc::Service::MarkMethodRaw(96); + ::grpc::Service::MarkMethodRaw(98); } ~WithRawMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -15281,7 +15580,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteKey(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(96, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(98, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15290,7 +15589,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListKeys() { - ::grpc::Service::MarkMethodRaw(97); + ::grpc::Service::MarkMethodRaw(99); } ~WithRawMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -15301,7 +15600,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListKeys(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(97, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(99, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15310,7 +15609,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RenameKey() { - ::grpc::Service::MarkMethodRaw(98); + ::grpc::Service::MarkMethodRaw(100); } ~WithRawMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -15321,7 +15620,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRenameKey(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(98, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(100, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15330,7 +15629,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RotateKey() { - ::grpc::Service::MarkMethodRaw(99); + ::grpc::Service::MarkMethodRaw(101); } ~WithRawMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -15341,7 +15640,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRotateKey(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(99, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(101, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15350,7 +15649,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodRaw(100); + ::grpc::Service::MarkMethodRaw(102); } ~WithRawMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -15361,7 +15660,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateKeyFromExistingKeyAuthorizations(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(100, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(102, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -15370,7 +15669,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetAppContent() { - ::grpc::Service::MarkMethodRaw(101); + ::grpc::Service::MarkMethodRaw(103); } ~WithRawMethod_GetAppContent() override { BaseClassMustBeDerivedFromService(this); @@ -15381,7 +15680,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetAppContent(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(101, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(103, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -18159,6 +18458,44 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithRawCallbackMethod_ListNestedFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_ListNestedFragments() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(73, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListNestedFragments(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_ListNestedFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListNestedFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* ListNestedFragments( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* ListNestedFragments( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithRawCallbackMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -18169,7 +18506,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(73, + MarkMethodRawCallback(74, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18207,7 +18544,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(74, + MarkMethodRawCallback(75, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18245,7 +18582,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(75, + MarkMethodRawCallback(76, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18283,7 +18620,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(76, + MarkMethodRawCallback(77, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18321,7 +18658,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(77, + MarkMethodRawCallback(78, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18359,7 +18696,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(78, + MarkMethodRawCallback(79, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18397,7 +18734,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(79, + MarkMethodRawCallback(80, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18435,7 +18772,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(80, + MarkMethodRawCallback(81, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18473,7 +18810,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(81, + MarkMethodRawCallback(82, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18511,7 +18848,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(82, + MarkMethodRawCallback(83, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18549,7 +18886,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(83, + MarkMethodRawCallback(84, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18587,7 +18924,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(84, + MarkMethodRawCallback(85, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18625,7 +18962,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(85, + MarkMethodRawCallback(86, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18663,7 +19000,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(86, + MarkMethodRawCallback(87, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18701,7 +19038,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(87, + MarkMethodRawCallback(88, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18739,7 +19076,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(88, + MarkMethodRawCallback(89, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18767,6 +19104,44 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithRawCallbackMethod_RenameRegistryItem : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_RenameRegistryItem() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(90, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RenameRegistryItem(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_RenameRegistryItem() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* RenameRegistryItem( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* RenameRegistryItem( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithRawCallbackMethod_TransferRegistryItem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -18777,7 +19152,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(89, + MarkMethodRawCallback(91, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18815,7 +19190,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(90, + MarkMethodRawCallback(92, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18853,7 +19228,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(91, + MarkMethodRawCallback(93, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18891,7 +19266,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(92, + MarkMethodRawCallback(94, new ::grpc_impl::internal::CallbackClientStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18929,7 +19304,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(93, + MarkMethodRawCallback(95, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -18967,7 +19342,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(94, + MarkMethodRawCallback(96, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19005,7 +19380,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(95, + MarkMethodRawCallback(97, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19043,7 +19418,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(96, + MarkMethodRawCallback(98, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19081,7 +19456,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(97, + MarkMethodRawCallback(99, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19119,7 +19494,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(98, + MarkMethodRawCallback(100, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19157,7 +19532,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(99, + MarkMethodRawCallback(101, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19195,7 +19570,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(100, + MarkMethodRawCallback(102, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -19233,7 +19608,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(101, + MarkMethodRawCallback(103, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -21205,12 +21580,39 @@ class AppService final { virtual ::grpc::Status StreamedDeleteFragment(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::DeleteFragmentRequest,::viam::app::v1::DeleteFragmentResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_ListNestedFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_ListNestedFragments() { + ::grpc::Service::MarkMethodStreamed(73, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::ListNestedFragmentsRequest, ::viam::app::v1::ListNestedFragmentsResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::ListNestedFragmentsRequest, ::viam::app::v1::ListNestedFragmentsResponse>* streamer) { + return this->StreamedListNestedFragments(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_ListNestedFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status ListNestedFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListNestedFragmentsRequest* /*request*/, ::viam::app::v1::ListNestedFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedListNestedFragments(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::ListNestedFragmentsRequest,::viam::app::v1::ListNestedFragmentsResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodStreamed(73, + ::grpc::Service::MarkMethodStreamed(74, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( [this](::grpc_impl::ServerContext* context, @@ -21237,7 +21639,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListMachineSummaries() { - ::grpc::Service::MarkMethodStreamed(74, + ::grpc::Service::MarkMethodStreamed(75, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListMachineSummariesRequest, ::viam::app::v1::ListMachineSummariesResponse>( [this](::grpc_impl::ServerContext* context, @@ -21264,7 +21666,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodStreamed(75, + ::grpc::Service::MarkMethodStreamed(76, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( [this](::grpc_impl::ServerContext* context, @@ -21291,7 +21693,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodStreamed(76, + ::grpc::Service::MarkMethodStreamed(77, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>( [this](::grpc_impl::ServerContext* context, @@ -21318,7 +21720,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodStreamed(77, + ::grpc::Service::MarkMethodStreamed(78, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>( [this](::grpc_impl::ServerContext* context, @@ -21345,7 +21747,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodStreamed(78, + ::grpc::Service::MarkMethodStreamed(79, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>( [this](::grpc_impl::ServerContext* context, @@ -21372,7 +21774,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_AddRole() { - ::grpc::Service::MarkMethodStreamed(79, + ::grpc::Service::MarkMethodStreamed(80, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [this](::grpc_impl::ServerContext* context, @@ -21399,7 +21801,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RemoveRole() { - ::grpc::Service::MarkMethodStreamed(80, + ::grpc::Service::MarkMethodStreamed(81, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [this](::grpc_impl::ServerContext* context, @@ -21426,7 +21828,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ChangeRole() { - ::grpc::Service::MarkMethodStreamed(81, + ::grpc::Service::MarkMethodStreamed(82, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [this](::grpc_impl::ServerContext* context, @@ -21453,7 +21855,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodStreamed(82, + ::grpc::Service::MarkMethodStreamed(83, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [this](::grpc_impl::ServerContext* context, @@ -21480,7 +21882,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CheckPermissions() { - ::grpc::Service::MarkMethodStreamed(83, + ::grpc::Service::MarkMethodStreamed(84, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [this](::grpc_impl::ServerContext* context, @@ -21507,7 +21909,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodStreamed(84, + ::grpc::Service::MarkMethodStreamed(85, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -21534,7 +21936,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodStreamed(85, + ::grpc::Service::MarkMethodStreamed(86, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -21561,7 +21963,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodStreamed(86, + ::grpc::Service::MarkMethodStreamed(87, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -21588,7 +21990,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodStreamed(87, + ::grpc::Service::MarkMethodStreamed(88, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [this](::grpc_impl::ServerContext* context, @@ -21615,7 +22017,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodStreamed(88, + ::grpc::Service::MarkMethodStreamed(89, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -21637,12 +22039,39 @@ class AppService final { virtual ::grpc::Status StreamedDeleteRegistryItem(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::DeleteRegistryItemRequest,::viam::app::v1::DeleteRegistryItemResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_RenameRegistryItem : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_RenameRegistryItem() { + ::grpc::Service::MarkMethodStreamed(90, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::RenameRegistryItemRequest, ::viam::app::v1::RenameRegistryItemResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::RenameRegistryItemRequest, ::viam::app::v1::RenameRegistryItemResponse>* streamer) { + return this->StreamedRenameRegistryItem(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_RenameRegistryItem() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RenameRegistryItem(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RenameRegistryItemRequest* /*request*/, ::viam::app::v1::RenameRegistryItemResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRenameRegistryItem(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::RenameRegistryItemRequest,::viam::app::v1::RenameRegistryItemResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_TransferRegistryItem : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodStreamed(89, + ::grpc::Service::MarkMethodStreamed(91, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -21669,7 +22098,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateModule() { - ::grpc::Service::MarkMethodStreamed(90, + ::grpc::Service::MarkMethodStreamed(92, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [this](::grpc_impl::ServerContext* context, @@ -21696,7 +22125,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateModule() { - ::grpc::Service::MarkMethodStreamed(91, + ::grpc::Service::MarkMethodStreamed(93, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [this](::grpc_impl::ServerContext* context, @@ -21723,7 +22152,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetModule() { - ::grpc::Service::MarkMethodStreamed(93, + ::grpc::Service::MarkMethodStreamed(95, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [this](::grpc_impl::ServerContext* context, @@ -21750,7 +22179,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListModules() { - ::grpc::Service::MarkMethodStreamed(94, + ::grpc::Service::MarkMethodStreamed(96, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [this](::grpc_impl::ServerContext* context, @@ -21777,7 +22206,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateKey() { - ::grpc::Service::MarkMethodStreamed(95, + ::grpc::Service::MarkMethodStreamed(97, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -21804,7 +22233,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteKey() { - ::grpc::Service::MarkMethodStreamed(96, + ::grpc::Service::MarkMethodStreamed(98, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -21831,7 +22260,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListKeys() { - ::grpc::Service::MarkMethodStreamed(97, + ::grpc::Service::MarkMethodStreamed(99, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [this](::grpc_impl::ServerContext* context, @@ -21858,7 +22287,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RenameKey() { - ::grpc::Service::MarkMethodStreamed(98, + ::grpc::Service::MarkMethodStreamed(100, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -21885,7 +22314,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RotateKey() { - ::grpc::Service::MarkMethodStreamed(99, + ::grpc::Service::MarkMethodStreamed(101, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -21912,7 +22341,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodStreamed(100, + ::grpc::Service::MarkMethodStreamed(102, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [this](::grpc_impl::ServerContext* context, @@ -21939,7 +22368,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetAppContent() { - ::grpc::Service::MarkMethodStreamed(101, + ::grpc::Service::MarkMethodStreamed(103, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetAppContentRequest, ::viam::app::v1::GetAppContentResponse>( [this](::grpc_impl::ServerContext* context, @@ -21960,7 +22389,7 @@ class AppService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedGetAppContent(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetAppContentRequest,::viam::app::v1::GetAppContentResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; template class WithSplitStreamingMethod_TailRobotPartLogs : public BaseClass { private: @@ -21989,7 +22418,7 @@ class AppService final { virtual ::grpc::Status StreamedTailRobotPartLogs(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::viam::app::v1::TailRobotPartLogsRequest,::viam::app::v1::TailRobotPartLogsResponse>* server_split_streamer) = 0; }; typedef WithSplitStreamingMethod_TailRobotPartLogs SplitStreamedService; - typedef WithStreamedUnaryMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; }; // Users diff --git a/src/viam/api/app/v1/app.pb.cc b/src/viam/api/app/v1/app.pb.cc index 8f1640bfd..62c6433b7 100644 --- a/src/viam/api/app/v1/app.pb.cc +++ b/src/viam/api/app/v1/app.pb.cc @@ -1791,6 +1791,32 @@ struct AdditionalFragmentDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdditionalFragmentDefaultTypeInternal _AdditionalFragment_default_instance_; +PROTOBUF_CONSTEXPR ListNestedFragmentsRequest::ListNestedFragmentsRequest( + ::_pbi::ConstantInitialized) + : additional_fragments_() + , fragment_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct ListNestedFragmentsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ListNestedFragmentsRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ListNestedFragmentsRequestDefaultTypeInternal() {} + union { + ListNestedFragmentsRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListNestedFragmentsRequestDefaultTypeInternal _ListNestedFragmentsRequest_default_instance_; +PROTOBUF_CONSTEXPR ListNestedFragmentsResponse::ListNestedFragmentsResponse( + ::_pbi::ConstantInitialized) + : fragments_() + , resolved_fragments_(){} +struct ListNestedFragmentsResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ListNestedFragmentsResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ListNestedFragmentsResponseDefaultTypeInternal() {} + union { + ListNestedFragmentsResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListNestedFragmentsResponseDefaultTypeInternal _ListNestedFragmentsResponse_default_instance_; PROTOBUF_CONSTEXPR ListMachineFragmentsRequest::ListMachineFragmentsRequest( ::_pbi::ConstantInitialized) : additional_fragment_ids_() @@ -2312,7 +2338,8 @@ PROTOBUF_CONSTEXPR ModuleVersion::ModuleVersion( , models_() , version_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) , entrypoint_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) - , first_run_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} + , first_run_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) + , markdown_description_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} struct ModuleVersionDefaultTypeInternal { PROTOBUF_CONSTEXPR ModuleVersionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -2552,6 +2579,31 @@ struct DeleteRegistryItemResponseDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteRegistryItemResponseDefaultTypeInternal _DeleteRegistryItemResponse_default_instance_; +PROTOBUF_CONSTEXPR RenameRegistryItemRequest::RenameRegistryItemRequest( + ::_pbi::ConstantInitialized) + : item_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) + , new_name_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct RenameRegistryItemRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR RenameRegistryItemRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RenameRegistryItemRequestDefaultTypeInternal() {} + union { + RenameRegistryItemRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RenameRegistryItemRequestDefaultTypeInternal _RenameRegistryItemRequest_default_instance_; +PROTOBUF_CONSTEXPR RenameRegistryItemResponse::RenameRegistryItemResponse( + ::_pbi::ConstantInitialized) + : item_(nullptr){} +struct RenameRegistryItemResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR RenameRegistryItemResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RenameRegistryItemResponseDefaultTypeInternal() {} + union { + RenameRegistryItemResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RenameRegistryItemResponseDefaultTypeInternal _RenameRegistryItemResponse_default_instance_; PROTOBUF_CONSTEXPR TransferRegistryItemRequest::TransferRegistryItemRequest( ::_pbi::ConstantInitialized) : item_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) @@ -3396,7 +3448,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT } // namespace v1 } // namespace app } // namespace viam -static ::_pb::Metadata file_level_metadata_app_2fv1_2fapp_2eproto[255]; +static ::_pb::Metadata file_level_metadata_app_2fv1_2fapp_2eproto[259]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_app_2fv1_2fapp_2eproto[10]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_app_2fv1_2fapp_2eproto = nullptr; @@ -4562,6 +4614,24 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA PROTOBUF_FIELD_OFFSET(::viam::app::v1::AdditionalFragment, version_), ~0u, 0, + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsRequest, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsRequest, fragment_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsRequest, additional_fragments_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsResponse, fragments_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListNestedFragmentsResponse, resolved_fragments_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -4896,11 +4966,13 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA PROTOBUF_FIELD_OFFSET(::viam::app::v1::ModuleVersion, models_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::ModuleVersion, entrypoint_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::ModuleVersion, first_run_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ModuleVersion, markdown_description_), ~0u, ~0u, ~0u, ~0u, 0, + 1, PROTOBUF_FIELD_OFFSET(::viam::app::v1::ModuleMetadata, _has_bits_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::ModuleMetadata, _internal_metadata_), ~0u, // no _extensions_ @@ -5076,6 +5148,21 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::RenameRegistryItemRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::RenameRegistryItemRequest, item_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::RenameRegistryItemRequest, new_name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::RenameRegistryItemResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::RenameRegistryItemResponse, item_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::TransferRegistryItemRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -5777,126 +5864,130 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 1137, -1, -1, sizeof(::viam::app::v1::DeleteFragmentTagResponse)}, { 1144, -1, -1, sizeof(::viam::app::v1::ListRobotsRequest)}, { 1151, 1159, -1, sizeof(::viam::app::v1::AdditionalFragment)}, - { 1161, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsRequest)}, - { 1170, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsResponse)}, - { 1178, -1, -1, sizeof(::viam::app::v1::ListMachineSummariesRequest)}, - { 1185, -1, -1, sizeof(::viam::app::v1::ListMachineSummariesResponse)}, - { 1192, -1, -1, sizeof(::viam::app::v1::LocationSummary)}, - { 1201, -1, -1, sizeof(::viam::app::v1::MachineSummary)}, - { 1210, -1, -1, sizeof(::viam::app::v1::FragmentSummary)}, - { 1218, -1, -1, sizeof(::viam::app::v1::ViamServerVersion)}, - { 1227, -1, -1, sizeof(::viam::app::v1::ViamAgentVersion)}, - { 1236, 1251, -1, sizeof(::viam::app::v1::PartSummary)}, - { 1260, -1, -1, sizeof(::viam::app::v1::ListRobotsResponse)}, - { 1267, -1, -1, sizeof(::viam::app::v1::NewRobotRequest)}, - { 1275, -1, -1, sizeof(::viam::app::v1::NewRobotResponse)}, - { 1282, -1, -1, sizeof(::viam::app::v1::UpdateRobotRequest)}, - { 1291, -1, -1, sizeof(::viam::app::v1::UpdateRobotResponse)}, - { 1298, -1, -1, sizeof(::viam::app::v1::DeleteRobotRequest)}, - { 1305, -1, -1, sizeof(::viam::app::v1::DeleteRobotResponse)}, - { 1311, -1, -1, sizeof(::viam::app::v1::GetRobotMetadataRequest)}, - { 1318, -1, -1, sizeof(::viam::app::v1::GetRobotMetadataResponse)}, - { 1325, -1, -1, sizeof(::viam::app::v1::UpdateRobotMetadataRequest)}, - { 1333, -1, -1, sizeof(::viam::app::v1::UpdateRobotMetadataResponse)}, - { 1339, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainRequest)}, - { 1346, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainResponse)}, - { 1352, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartRequest)}, - { 1359, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartResponse)}, - { 1365, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretRequest)}, - { 1372, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretResponse)}, - { 1379, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretRequest)}, - { 1387, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretResponse)}, - { 1393, -1, -1, sizeof(::viam::app::v1::Authorization)}, - { 1406, -1, -1, sizeof(::viam::app::v1::AddRoleRequest)}, - { 1413, -1, -1, sizeof(::viam::app::v1::AddRoleResponse)}, - { 1419, -1, -1, sizeof(::viam::app::v1::RemoveRoleRequest)}, - { 1426, -1, -1, sizeof(::viam::app::v1::RemoveRoleResponse)}, - { 1432, -1, -1, sizeof(::viam::app::v1::ChangeRoleRequest)}, - { 1440, -1, -1, sizeof(::viam::app::v1::ChangeRoleResponse)}, - { 1446, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsRequest)}, - { 1454, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsResponse)}, - { 1461, -1, -1, sizeof(::viam::app::v1::CheckPermissionsRequest)}, - { 1468, -1, -1, sizeof(::viam::app::v1::AuthorizedPermissions)}, - { 1477, -1, -1, sizeof(::viam::app::v1::CheckPermissionsResponse)}, - { 1484, 1495, -1, sizeof(::viam::app::v1::ModuleVersion)}, - { 1500, 1511, -1, sizeof(::viam::app::v1::ModuleMetadata)}, - { 1516, -1, -1, sizeof(::viam::app::v1::MLModelMetadata)}, - { 1525, -1, -1, sizeof(::viam::app::v1::MLTrainingVersion)}, - { 1533, -1, -1, sizeof(::viam::app::v1::MLTrainingMetadata)}, - { 1543, -1, -1, sizeof(::viam::app::v1::RegistryItem)}, - { 1567, 1575, -1, sizeof(::viam::app::v1::GetRegistryItemRequest)}, - { 1577, -1, -1, sizeof(::viam::app::v1::GetRegistryItemResponse)}, - { 1584, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemRequest)}, - { 1593, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemResponse)}, - { 1599, 1615, -1, sizeof(::viam::app::v1::UpdateRegistryItemRequest)}, - { 1624, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemResponse)}, - { 1630, 1645, -1, sizeof(::viam::app::v1::ListRegistryItemsRequest)}, - { 1654, -1, -1, sizeof(::viam::app::v1::ListRegistryItemsResponse)}, - { 1661, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemRequest)}, - { 1668, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemResponse)}, - { 1674, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemRequest)}, - { 1682, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemResponse)}, - { 1688, -1, -1, sizeof(::viam::app::v1::CreateModuleRequest)}, - { 1696, -1, -1, sizeof(::viam::app::v1::CreateModuleResponse)}, - { 1704, 1719, -1, sizeof(::viam::app::v1::UpdateModuleRequest)}, - { 1728, -1, -1, sizeof(::viam::app::v1::App)}, - { 1737, -1, -1, sizeof(::viam::app::v1::UpdateModuleResponse)}, - { 1744, -1, -1, sizeof(::viam::app::v1::UpdateModuleMetadata)}, - { 1752, -1, -1, sizeof(::viam::app::v1::UpdateMLModelMetadata)}, - { 1760, -1, -1, sizeof(::viam::app::v1::UpdateMLTrainingMetadata)}, - { 1769, 1780, -1, sizeof(::viam::app::v1::Model)}, - { 1785, -1, -1, sizeof(::viam::app::v1::ModuleFileInfo)}, - { 1795, -1, -1, sizeof(::viam::app::v1::UploadModuleFileRequest)}, - { 1804, -1, -1, sizeof(::viam::app::v1::UploadModuleFileResponse)}, - { 1811, 1819, -1, sizeof(::viam::app::v1::GetModuleRequest)}, - { 1821, -1, -1, sizeof(::viam::app::v1::GetModuleResponse)}, - { 1828, 1848, -1, sizeof(::viam::app::v1::Module)}, - { 1862, 1874, -1, sizeof(::viam::app::v1::VersionHistory)}, - { 1880, -1, -1, sizeof(::viam::app::v1::Uploads)}, - { 1888, 1896, -1, sizeof(::viam::app::v1::ListModulesRequest)}, - { 1898, -1, -1, sizeof(::viam::app::v1::ListModulesResponse)}, - { 1905, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailRequest)}, - { 1912, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailResponse)}, - { 1919, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserRequest)}, - { 1926, 1937, -1, sizeof(::viam::app::v1::OrgDetails)}, - { 1942, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserResponse)}, - { 1949, 1959, -1, sizeof(::viam::app::v1::SearchOrganizationsRequest)}, - { 1963, -1, -1, sizeof(::viam::app::v1::SearchOrganizationsResponse)}, - { 1970, -1, -1, sizeof(::viam::app::v1::CreateKeyRequest)}, - { 1978, -1, -1, sizeof(::viam::app::v1::CreateKeyResponse)}, - { 1986, -1, -1, sizeof(::viam::app::v1::DeleteKeyRequest)}, - { 1993, -1, -1, sizeof(::viam::app::v1::DeleteKeyResponse)}, - { 1999, -1, -1, sizeof(::viam::app::v1::RenameKeyRequest)}, - { 2007, -1, -1, sizeof(::viam::app::v1::RenameKeyResponse)}, - { 2015, -1, -1, sizeof(::viam::app::v1::AuthorizationDetails)}, - { 2026, -1, -1, sizeof(::viam::app::v1::APIKeyWithAuthorizations)}, - { 2034, -1, -1, sizeof(::viam::app::v1::ListKeysRequest)}, - { 2041, -1, -1, sizeof(::viam::app::v1::ListKeysResponse)}, - { 2048, -1, -1, sizeof(::viam::app::v1::RotateKeyRequest)}, - { 2055, -1, -1, sizeof(::viam::app::v1::RotateKeyResponse)}, - { 2063, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest)}, - { 2070, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse)}, - { 2078, -1, -1, sizeof(::viam::app::v1::GetAppContentRequest)}, - { 2086, -1, -1, sizeof(::viam::app::v1::GetAppContentResponse)}, - { 2094, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoRequest)}, - { 2102, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoResponse)}, - { 2108, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoRequest)}, - { 2115, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoResponse)}, - { 2122, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceRequest)}, - { 2129, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceResponse)}, - { 2135, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceRequest)}, - { 2142, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceResponse)}, - { 2148, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppRequest)}, - { 2157, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppResponse)}, - { 2165, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppRequest)}, - { 2173, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppResponse)}, - { 2182, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppRequest)}, - { 2192, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppResponse)}, - { 2198, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppRequest)}, - { 2206, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppResponse)}, - { 2212, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsRequest)}, - { 2219, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsResponse)}, - { 2226, -1, -1, sizeof(::viam::app::v1::OAuthConfig)}, + { 1161, 1169, -1, sizeof(::viam::app::v1::ListNestedFragmentsRequest)}, + { 1171, -1, -1, sizeof(::viam::app::v1::ListNestedFragmentsResponse)}, + { 1179, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsRequest)}, + { 1188, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsResponse)}, + { 1196, -1, -1, sizeof(::viam::app::v1::ListMachineSummariesRequest)}, + { 1203, -1, -1, sizeof(::viam::app::v1::ListMachineSummariesResponse)}, + { 1210, -1, -1, sizeof(::viam::app::v1::LocationSummary)}, + { 1219, -1, -1, sizeof(::viam::app::v1::MachineSummary)}, + { 1228, -1, -1, sizeof(::viam::app::v1::FragmentSummary)}, + { 1236, -1, -1, sizeof(::viam::app::v1::ViamServerVersion)}, + { 1245, -1, -1, sizeof(::viam::app::v1::ViamAgentVersion)}, + { 1254, 1269, -1, sizeof(::viam::app::v1::PartSummary)}, + { 1278, -1, -1, sizeof(::viam::app::v1::ListRobotsResponse)}, + { 1285, -1, -1, sizeof(::viam::app::v1::NewRobotRequest)}, + { 1293, -1, -1, sizeof(::viam::app::v1::NewRobotResponse)}, + { 1300, -1, -1, sizeof(::viam::app::v1::UpdateRobotRequest)}, + { 1309, -1, -1, sizeof(::viam::app::v1::UpdateRobotResponse)}, + { 1316, -1, -1, sizeof(::viam::app::v1::DeleteRobotRequest)}, + { 1323, -1, -1, sizeof(::viam::app::v1::DeleteRobotResponse)}, + { 1329, -1, -1, sizeof(::viam::app::v1::GetRobotMetadataRequest)}, + { 1336, -1, -1, sizeof(::viam::app::v1::GetRobotMetadataResponse)}, + { 1343, -1, -1, sizeof(::viam::app::v1::UpdateRobotMetadataRequest)}, + { 1351, -1, -1, sizeof(::viam::app::v1::UpdateRobotMetadataResponse)}, + { 1357, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainRequest)}, + { 1364, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainResponse)}, + { 1370, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartRequest)}, + { 1377, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartResponse)}, + { 1383, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretRequest)}, + { 1390, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretResponse)}, + { 1397, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretRequest)}, + { 1405, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretResponse)}, + { 1411, -1, -1, sizeof(::viam::app::v1::Authorization)}, + { 1424, -1, -1, sizeof(::viam::app::v1::AddRoleRequest)}, + { 1431, -1, -1, sizeof(::viam::app::v1::AddRoleResponse)}, + { 1437, -1, -1, sizeof(::viam::app::v1::RemoveRoleRequest)}, + { 1444, -1, -1, sizeof(::viam::app::v1::RemoveRoleResponse)}, + { 1450, -1, -1, sizeof(::viam::app::v1::ChangeRoleRequest)}, + { 1458, -1, -1, sizeof(::viam::app::v1::ChangeRoleResponse)}, + { 1464, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsRequest)}, + { 1472, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsResponse)}, + { 1479, -1, -1, sizeof(::viam::app::v1::CheckPermissionsRequest)}, + { 1486, -1, -1, sizeof(::viam::app::v1::AuthorizedPermissions)}, + { 1495, -1, -1, sizeof(::viam::app::v1::CheckPermissionsResponse)}, + { 1502, 1514, -1, sizeof(::viam::app::v1::ModuleVersion)}, + { 1520, 1531, -1, sizeof(::viam::app::v1::ModuleMetadata)}, + { 1536, -1, -1, sizeof(::viam::app::v1::MLModelMetadata)}, + { 1545, -1, -1, sizeof(::viam::app::v1::MLTrainingVersion)}, + { 1553, -1, -1, sizeof(::viam::app::v1::MLTrainingMetadata)}, + { 1563, -1, -1, sizeof(::viam::app::v1::RegistryItem)}, + { 1587, 1595, -1, sizeof(::viam::app::v1::GetRegistryItemRequest)}, + { 1597, -1, -1, sizeof(::viam::app::v1::GetRegistryItemResponse)}, + { 1604, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemRequest)}, + { 1613, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemResponse)}, + { 1619, 1635, -1, sizeof(::viam::app::v1::UpdateRegistryItemRequest)}, + { 1644, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemResponse)}, + { 1650, 1665, -1, sizeof(::viam::app::v1::ListRegistryItemsRequest)}, + { 1674, -1, -1, sizeof(::viam::app::v1::ListRegistryItemsResponse)}, + { 1681, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemRequest)}, + { 1688, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemResponse)}, + { 1694, -1, -1, sizeof(::viam::app::v1::RenameRegistryItemRequest)}, + { 1702, -1, -1, sizeof(::viam::app::v1::RenameRegistryItemResponse)}, + { 1709, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemRequest)}, + { 1717, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemResponse)}, + { 1723, -1, -1, sizeof(::viam::app::v1::CreateModuleRequest)}, + { 1731, -1, -1, sizeof(::viam::app::v1::CreateModuleResponse)}, + { 1739, 1754, -1, sizeof(::viam::app::v1::UpdateModuleRequest)}, + { 1763, -1, -1, sizeof(::viam::app::v1::App)}, + { 1772, -1, -1, sizeof(::viam::app::v1::UpdateModuleResponse)}, + { 1779, -1, -1, sizeof(::viam::app::v1::UpdateModuleMetadata)}, + { 1787, -1, -1, sizeof(::viam::app::v1::UpdateMLModelMetadata)}, + { 1795, -1, -1, sizeof(::viam::app::v1::UpdateMLTrainingMetadata)}, + { 1804, 1815, -1, sizeof(::viam::app::v1::Model)}, + { 1820, -1, -1, sizeof(::viam::app::v1::ModuleFileInfo)}, + { 1830, -1, -1, sizeof(::viam::app::v1::UploadModuleFileRequest)}, + { 1839, -1, -1, sizeof(::viam::app::v1::UploadModuleFileResponse)}, + { 1846, 1854, -1, sizeof(::viam::app::v1::GetModuleRequest)}, + { 1856, -1, -1, sizeof(::viam::app::v1::GetModuleResponse)}, + { 1863, 1883, -1, sizeof(::viam::app::v1::Module)}, + { 1897, 1909, -1, sizeof(::viam::app::v1::VersionHistory)}, + { 1915, -1, -1, sizeof(::viam::app::v1::Uploads)}, + { 1923, 1931, -1, sizeof(::viam::app::v1::ListModulesRequest)}, + { 1933, -1, -1, sizeof(::viam::app::v1::ListModulesResponse)}, + { 1940, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailRequest)}, + { 1947, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailResponse)}, + { 1954, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserRequest)}, + { 1961, 1972, -1, sizeof(::viam::app::v1::OrgDetails)}, + { 1977, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserResponse)}, + { 1984, 1994, -1, sizeof(::viam::app::v1::SearchOrganizationsRequest)}, + { 1998, -1, -1, sizeof(::viam::app::v1::SearchOrganizationsResponse)}, + { 2005, -1, -1, sizeof(::viam::app::v1::CreateKeyRequest)}, + { 2013, -1, -1, sizeof(::viam::app::v1::CreateKeyResponse)}, + { 2021, -1, -1, sizeof(::viam::app::v1::DeleteKeyRequest)}, + { 2028, -1, -1, sizeof(::viam::app::v1::DeleteKeyResponse)}, + { 2034, -1, -1, sizeof(::viam::app::v1::RenameKeyRequest)}, + { 2042, -1, -1, sizeof(::viam::app::v1::RenameKeyResponse)}, + { 2050, -1, -1, sizeof(::viam::app::v1::AuthorizationDetails)}, + { 2061, -1, -1, sizeof(::viam::app::v1::APIKeyWithAuthorizations)}, + { 2069, -1, -1, sizeof(::viam::app::v1::ListKeysRequest)}, + { 2076, -1, -1, sizeof(::viam::app::v1::ListKeysResponse)}, + { 2083, -1, -1, sizeof(::viam::app::v1::RotateKeyRequest)}, + { 2090, -1, -1, sizeof(::viam::app::v1::RotateKeyResponse)}, + { 2098, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest)}, + { 2105, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse)}, + { 2113, -1, -1, sizeof(::viam::app::v1::GetAppContentRequest)}, + { 2121, -1, -1, sizeof(::viam::app::v1::GetAppContentResponse)}, + { 2129, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoRequest)}, + { 2137, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoResponse)}, + { 2143, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoRequest)}, + { 2150, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoResponse)}, + { 2157, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceRequest)}, + { 2164, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceResponse)}, + { 2170, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceRequest)}, + { 2177, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceResponse)}, + { 2183, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppRequest)}, + { 2192, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppResponse)}, + { 2200, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppRequest)}, + { 2208, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppResponse)}, + { 2217, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppRequest)}, + { 2227, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppResponse)}, + { 2233, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppRequest)}, + { 2241, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppResponse)}, + { 2247, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsRequest)}, + { 2254, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsResponse)}, + { 2261, -1, -1, sizeof(::viam::app::v1::OAuthConfig)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -6035,6 +6126,8 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_DeleteFragmentTagResponse_default_instance_._instance, &::viam::app::v1::_ListRobotsRequest_default_instance_._instance, &::viam::app::v1::_AdditionalFragment_default_instance_._instance, + &::viam::app::v1::_ListNestedFragmentsRequest_default_instance_._instance, + &::viam::app::v1::_ListNestedFragmentsResponse_default_instance_._instance, &::viam::app::v1::_ListMachineFragmentsRequest_default_instance_._instance, &::viam::app::v1::_ListMachineFragmentsResponse_default_instance_._instance, &::viam::app::v1::_ListMachineSummariesRequest_default_instance_._instance, @@ -6092,6 +6185,8 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_ListRegistryItemsResponse_default_instance_._instance, &::viam::app::v1::_DeleteRegistryItemRequest_default_instance_._instance, &::viam::app::v1::_DeleteRegistryItemResponse_default_instance_._instance, + &::viam::app::v1::_RenameRegistryItemRequest_default_instance_._instance, + &::viam::app::v1::_RenameRegistryItemResponse_default_instance_._instance, &::viam::app::v1::_TransferRegistryItemRequest_default_instance_._instance, &::viam::app::v1::_TransferRegistryItemResponse_default_instance_._instance, &::viam::app::v1::_CreateModuleRequest_default_instance_._instance, @@ -6574,668 +6669,687 @@ const char descriptor_table_protodef_app_2fv1_2fapp_2eproto[] PROTOBUF_SECTION_V "sRequest\022\037\n\013location_id\030\001 \001(\tR\nlocationI" "d\"`\n\022AdditionalFragment\022\037\n\013fragment_id\030\001" " \001(\tR\nfragmentId\022\035\n\007version\030\002 \001(\tH\000R\007ver" - "sion\210\001\001B\n\n\010_version\"\310\001\n\033ListMachineFragm" - "entsRequest\022\035\n\nmachine_id\030\001 \001(\tR\tmachine" - "Id\0226\n\027additional_fragment_ids\030\002 \003(\tR\025add" - "itionalFragmentIds\022R\n\024additional_fragmen" - "ts\030\003 \003(\0132\037.viam.app.v1.AdditionalFragmen" - "tR\023additionalFragments\"\241\001\n\034ListMachineFr" - "agmentsResponse\0223\n\tfragments\030\001 \003(\0132\025.via" - "m.app.v1.FragmentR\tfragments\022L\n\022resolved" - "_fragments\030\002 \003(\0132\035.viam.app.v1.ResolvedF" - "ragmentR\021resolvedFragments\"F\n\033ListMachin" - "eSummariesRequest\022\'\n\017organization_id\030\001 \001" - "(\tR\016organizationId\"k\n\034ListMachineSummari" - "esResponse\022K\n\022location_summaries\030\001 \003(\0132\034" - ".viam.app.v1.LocationSummaryR\021locationSu" - "mmaries\"\241\001\n\017LocationSummary\022\037\n\013location_" - "id\030\001 \001(\tR\nlocationId\022#\n\rlocation_name\030\002 " - "\001(\tR\014locationName\022H\n\021machine_summaries\030\003" - " \003(\0132\033.viam.app.v1.MachineSummaryR\020machi" - "neSummaries\"\223\001\n\016MachineSummary\022\035\n\nmachin" - "e_id\030\001 \001(\tR\tmachineId\022!\n\014machine_name\030\002 " - "\001(\tR\013machineName\022\?\n\016part_summaries\030\003 \003(\013" - "2\030.viam.app.v1.PartSummaryR\rpartSummarie" - "s\";\n\017FragmentSummary\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004" - "name\030\003 \001(\tR\004nameJ\004\010\002\020\003\"N\n\021ViamServerVers" - "ion\022\026\n\005major\030\001 \001(\tH\000R\005major\022\026\n\005minor\030\002 \001" - "(\tH\000R\005minorB\t\n\007version\"M\n\020ViamAgentVersi" - "on\022\026\n\005major\030\001 \001(\tH\000R\005major\022\026\n\005minor\030\002 \001(" - "\tH\000R\005minorB\t\n\007version\"\270\004\n\013PartSummary\022\027\n" - "\007part_id\030\001 \001(\tR\006partId\022\033\n\tpart_name\030\002 \001(" - "\tR\010partName\022@\n\013last_online\030\003 \001(\0132\032.googl" - "e.protobuf.TimestampH\000R\nlastOnline\210\001\001\022S\n" - "\023viam_server_version\030\004 \001(\0132\036.viam.app.v1" - ".ViamServerVersionH\001R\021viamServerVersion\210" - "\001\001\022P\n\022viam_agent_version\030\005 \001(\0132\035.viam.ap" - "p.v1.ViamAgentVersionH\002R\020viamAgentVersio" - "n\210\001\001\022\023\n\002os\030\006 \001(\tH\003R\002os\210\001\001\022\037\n\010platform\030\007 " - "\001(\tH\004R\010platform\210\001\001\022/\n\021public_ip_address\030" - "\010 \001(\tH\005R\017publicIpAddress\210\001\001\022:\n\tfragments" - "\030\t \003(\0132\034.viam.app.v1.FragmentSummaryR\tfr" - "agmentsB\016\n\014_last_onlineB\026\n\024_viam_server_" - "versionB\025\n\023_viam_agent_versionB\005\n\003_osB\013\n" - "\t_platformB\024\n\022_public_ip_address\"@\n\022List" - "RobotsResponse\022*\n\006robots\030\001 \003(\0132\022.viam.ap" - "p.v1.RobotR\006robots\"A\n\017NewRobotRequest\022\022\n" - "\004name\030\001 \001(\tR\004name\022\032\n\010location\030\002 \001(\tR\010loc" - "ation\"\"\n\020NewRobotResponse\022\016\n\002id\030\001 \001(\tR\002i" - "d\"T\n\022UpdateRobotRequest\022\016\n\002id\030\001 \001(\tR\002id\022" - "\022\n\004name\030\002 \001(\tR\004name\022\032\n\010location\030\003 \001(\tR\010l" - "ocation\"\?\n\023UpdateRobotResponse\022(\n\005robot\030" - "\001 \001(\0132\022.viam.app.v1.RobotR\005robot\"$\n\022Dele" - "teRobotRequest\022\016\n\002id\030\001 \001(\tR\002id\"\025\n\023Delete" - "RobotResponse\")\n\027GetRobotMetadataRequest" - "\022\016\n\002id\030\001 \001(\tR\002id\"G\n\030GetRobotMetadataResp" - "onse\022+\n\004data\030\001 \001(\0132\027.google.protobuf.Str" - "uctR\004data\"Y\n\032UpdateRobotMetadataRequest\022" - "\016\n\002id\030\001 \001(\tR\002id\022+\n\004data\030\002 \001(\0132\027.google.p" - "rotobuf.StructR\004data\"\035\n\033UpdateRobotMetad" - "ataResponse\"0\n\025MarkPartAsMainRequest\022\027\n\007" - "part_id\030\001 \001(\tR\006partId\"\030\n\026MarkPartAsMainR" - "esponse\"4\n\031MarkPartForRestartRequest\022\027\n\007" - "part_id\030\001 \001(\tR\006partId\"\034\n\032MarkPartForRest" - "artResponse\"7\n\034CreateRobotPartSecretRequ" - "est\022\027\n\007part_id\030\001 \001(\tR\006partId\"K\n\035CreateRo" - "botPartSecretResponse\022*\n\004part\030\001 \001(\0132\026.vi" - "am.app.v1.RobotPartR\004part\"T\n\034DeleteRobot" - "PartSecretRequest\022\027\n\007part_id\030\001 \001(\tR\006part" - "Id\022\033\n\tsecret_id\030\002 \001(\tR\010secretId\"\037\n\035Delet" - "eRobotPartSecretResponse\"\236\002\n\rAuthorizati" - "on\022-\n\022authorization_type\030\001 \001(\tR\021authoriz" - "ationType\022)\n\020authorization_id\030\002 \001(\tR\017aut" - "horizationId\022#\n\rresource_type\030\003 \001(\tR\014res" - "ourceType\022\037\n\013resource_id\030\004 \001(\tR\nresource" - "Id\022\037\n\013identity_id\030\005 \001(\tR\nidentityId\022\'\n\017o" - "rganization_id\030\006 \001(\tR\016organizationId\022#\n\r" - "identity_type\030\007 \001(\tR\014identityType\"R\n\016Add" - "RoleRequest\022@\n\rauthorization\030\001 \001(\0132\032.via" - "m.app.v1.AuthorizationR\rauthorization\"\021\n" - "\017AddRoleResponse\"U\n\021RemoveRoleRequest\022@\n" - "\rauthorization\030\001 \001(\0132\032.viam.app.v1.Autho" - "rizationR\rauthorization\"\024\n\022RemoveRoleRes" - "ponse\"\245\001\n\021ChangeRoleRequest\022G\n\021old_autho" - "rization\030\001 \001(\0132\032.viam.app.v1.Authorizati" - "onR\020oldAuthorization\022G\n\021new_authorizatio" - "n\030\002 \001(\0132\032.viam.app.v1.AuthorizationR\020new" - "Authorization\"\024\n\022ChangeRoleResponse\"g\n\031L" - "istAuthorizationsRequest\022\'\n\017organization" - "_id\030\001 \001(\tR\016organizationId\022!\n\014resource_id" - "s\030\002 \003(\tR\013resourceIds\"`\n\032ListAuthorizatio" - "nsResponse\022B\n\016authorizations\030\001 \003(\0132\032.via" - "m.app.v1.AuthorizationR\016authorizations\"_" - "\n\027CheckPermissionsRequest\022D\n\013permissions" - "\030\001 \003(\0132\".viam.app.v1.AuthorizedPermissio" - "nsR\013permissions\"\177\n\025AuthorizedPermissions" - "\022#\n\rresource_type\030\001 \001(\tR\014resourceType\022\037\n" - "\013resource_id\030\002 \001(\tR\nresourceId\022 \n\013permis" - "sions\030\003 \003(\tR\013permissions\"u\n\030CheckPermiss" - "ionsResponse\022Y\n\026authorized_permissions\030\001" - " \003(\0132\".viam.app.v1.AuthorizedPermissions" - "R\025authorizedPermissions\"\321\001\n\rModuleVersio" - "n\022\030\n\007version\030\001 \001(\tR\007version\022*\n\005files\030\002 \003" - "(\0132\024.viam.app.v1.UploadsR\005files\022*\n\006model" - "s\030\003 \003(\0132\022.viam.app.v1.ModelR\006models\022\036\n\ne" - "ntrypoint\030\004 \001(\tR\nentrypoint\022 \n\tfirst_run" - "\030\005 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_first_run\"\225\002\n\016" - "ModuleMetadata\022*\n\006models\030\001 \003(\0132\022.viam.ap" - "p.v1.ModelR\006models\0226\n\010versions\030\002 \003(\0132\032.v" - "iam.app.v1.ModuleVersionR\010versions\022\036\n\nen" - "trypoint\030\003 \001(\tR\nentrypoint\022 \n\tfirst_run\030" - "\004 \001(\tH\000R\010firstRun\210\001\001\0226\n\024markdown_descrip" - "tion\030\005 \001(\tH\001R\023markdownDescription\210\001\001B\014\n\n" - "_first_runB\027\n\025_markdown_description\"\300\001\n\017" - "MLModelMetadata\022\032\n\010versions\030\001 \003(\tR\010versi" - "ons\022@\n\nmodel_type\030\002 \001(\0162!.viam.app.mltra" - "ining.v1.ModelTypeR\tmodelType\022O\n\017model_f" - "ramework\030\003 \001(\0162&.viam.app.mltraining.v1." - "ModelFrameworkR\016modelFramework\"h\n\021MLTrai" - "ningVersion\022\030\n\007version\030\001 \001(\tR\007version\0229\n" - "\ncreated_on\030\002 \001(\0132\032.google.protobuf.Time" - "stampR\tcreatedOn\"\377\001\n\022MLTrainingMetadata\022" - ":\n\010versions\030\005 \003(\0132\036.viam.app.v1.MLTraini" - "ngVersionR\010versions\022@\n\nmodel_type\030\002 \001(\0162" - "!.viam.app.mltraining.v1.ModelTypeR\tmode" - "lType\022O\n\017model_framework\030\003 \001(\0162&.viam.ap" - "p.mltraining.v1.ModelFrameworkR\016modelFra" - "mework\022\024\n\005draft\030\004 \001(\010R\005draftJ\004\010\001\020\002\"\214\007\n\014R" - "egistryItem\022\027\n\007item_id\030\001 \001(\tR\006itemId\022\'\n\017" - "organization_id\030\002 \001(\tR\016organizationId\022)\n" - "\020public_namespace\030\003 \001(\tR\017publicNamespace" - "\022\022\n\004name\030\004 \001(\tR\004name\0225\n\004type\030\005 \001(\0162!.via" - "m.app.packages.v1.PackageTypeR\004type\0227\n\nv" - "isibility\030\006 \001(\0162\027.viam.app.v1.Visibility" - "R\nvisibility\022\020\n\003url\030\007 \001(\tR\003url\022 \n\013descri" - "ption\030\010 \001(\tR\013description\022*\n\021total_robot_" - "usage\030\t \001(\003R\017totalRobotUsage\022;\n\032total_ex" - "ternal_robot_usage\030\r \001(\003R\027totalExternalR" - "obotUsage\0228\n\030total_organization_usage\030\n " - "\001(\003R\026totalOrganizationUsage\022I\n!total_ext" - "ernal_organization_usage\030\016 \001(\003R\036totalExt" - "ernalOrganizationUsage\022F\n\017module_metadat" - "a\030\013 \001(\0132\033.viam.app.v1.ModuleMetadataH\000R\016" - "moduleMetadata\022J\n\021ml_model_metadata\030\014 \001(" - "\0132\034.viam.app.v1.MLModelMetadataH\000R\017mlMod" - "elMetadata\022S\n\024ml_training_metadata\030\022 \001(\013" - "2\037.viam.app.v1.MLTrainingMetadataH\000R\022mlT" - "rainingMetadata\0229\n\ncreated_at\030\017 \001(\0132\032.go" - "ogle.protobuf.TimestampR\tcreatedAt\0229\n\nup" - "dated_at\030\020 \001(\0132\032.google.protobuf.Timesta" - "mpR\tupdatedAtB\n\n\010metadata\"\237\001\n\026GetRegistr" - "yItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\022I\n" - "\036include_markdown_documentation\030\002 \001(\010H\000R" - "\034includeMarkdownDocumentation\210\001\001B!\n\037_inc" - "lude_markdown_documentation\"H\n\027GetRegist" - "ryItemResponse\022-\n\004item\030\001 \001(\0132\031.viam.app." - "v1.RegistryItemR\004item\"\217\001\n\031CreateRegistry" - "ItemRequest\022\'\n\017organization_id\030\001 \001(\tR\016or" - "ganizationId\022\022\n\004name\030\002 \001(\tR\004name\0225\n\004type" - "\030\003 \001(\0162!.viam.app.packages.v1.PackageTyp" - "eR\004type\"\034\n\032CreateRegistryItemResponse\"\344\004" - "\n\031UpdateRegistryItemRequest\022\027\n\007item_id\030\001" - " \001(\tR\006itemId\0225\n\004type\030\002 \001(\0162!.viam.app.pa" - "ckages.v1.PackageTypeR\004type\022 \n\013descripti" - "on\030\003 \001(\tR\013description\0227\n\nvisibility\030\004 \001(" - "\0162\027.viam.app.v1.VisibilityR\nvisibility\022\025" - "\n\003url\030\005 \001(\tH\001R\003url\210\001\001\022Y\n\026update_module_m" - "etadata\030\006 \001(\0132!.viam.app.v1.UpdateModule" - "MetadataH\000R\024updateModuleMetadata\022]\n\030upda" - "te_ml_model_metadata\030\007 \001(\0132\".viam.app.v1" - ".UpdateMLModelMetadataH\000R\025updateMlModelM" - "etadata\022f\n\033update_ml_training_metadata\030\010" - " \001(\0132%.viam.app.v1.UpdateMLTrainingMetad" - "ataH\000R\030updateMlTrainingMetadata\0226\n\024markd" - "own_description\030\t \001(\tH\002R\023markdownDescrip" - "tion\210\001\001B\n\n\010metadataB\006\n\004_urlB\027\n\025_markdown" - "_description\"\034\n\032UpdateRegistryItemRespon" - "se\"\261\004\n\030ListRegistryItemsRequest\022,\n\017organ" - "ization_id\030\001 \001(\tH\000R\016organizationId\210\001\001\0227\n" - "\005types\030\002 \003(\0162!.viam.app.packages.v1.Pack" - "ageTypeR\005types\022;\n\014visibilities\030\003 \003(\0162\027.v" - "iam.app.v1.VisibilityR\014visibilities\022\034\n\tp" - "latforms\030\004 \003(\tR\tplatforms\022;\n\010statuses\030\005 " - "\003(\0162\037.viam.app.v1.RegistryItemStatusR\010st" - "atuses\022$\n\013search_term\030\006 \001(\tH\001R\nsearchTer" - "m\210\001\001\022\"\n\npage_token\030\007 \001(\tH\002R\tpageToken\210\001\001" - "\022+\n\021public_namespaces\030\010 \003(\tR\020publicNames" - "paces\022I\n\036include_markdown_documentation\030" - "\t \001(\010H\003R\034includeMarkdownDocumentation\210\001\001" - "B\022\n\020_organization_idB\016\n\014_search_termB\r\n\013" - "_page_tokenB!\n\037_include_markdown_documen" - "tation\"L\n\031ListRegistryItemsResponse\022/\n\005i" - "tems\030\001 \003(\0132\031.viam.app.v1.RegistryItemR\005i" - "tems\"4\n\031DeleteRegistryItemRequest\022\027\n\007ite" - "m_id\030\001 \001(\tR\006itemId\"\034\n\032DeleteRegistryItem" - "Response\"h\n\033TransferRegistryItemRequest\022" - "\027\n\007item_id\030\001 \001(\tR\006itemId\0220\n\024new_public_n" - "amespace\030\002 \001(\tR\022newPublicNamespace\"\036\n\034Tr" - "ansferRegistryItemResponse\"R\n\023CreateModu" - "leRequest\022\'\n\017organization_id\030\001 \001(\tR\016orga" - "nizationId\022\022\n\004name\030\002 \001(\tR\004name\"E\n\024Create" - "ModuleResponse\022\033\n\tmodule_id\030\001 \001(\tR\010modul" - "eId\022\020\n\003url\030\002 \001(\tR\003url\"\222\003\n\023UpdateModuleRe" - "quest\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\0227\n\nvi" - "sibility\030\002 \001(\0162\027.viam.app.v1.VisibilityR" - "\nvisibility\022\020\n\003url\030\003 \001(\tR\003url\022 \n\013descrip" - "tion\030\004 \001(\tR\013description\022*\n\006models\030\005 \003(\0132" - "\022.viam.app.v1.ModelR\006models\022\036\n\nentrypoin" - "t\030\006 \001(\tR\nentrypoint\022 \n\tfirst_run\030\007 \001(\tH\000" - "R\010firstRun\210\001\001\022$\n\004apps\030\010 \003(\0132\020.viam.app.v" - "1.AppR\004apps\0226\n\024markdown_description\030\t \001(" - "\tH\001R\023markdownDescription\210\001\001B\014\n\n_first_ru" - "nB\027\n\025_markdown_description\"M\n\003App\022\022\n\004nam" - "e\030\001 \001(\tR\004name\022\022\n\004type\030\002 \001(\tR\004type\022\036\n\nent" - "rypoint\030\003 \001(\tR\nentrypoint\"(\n\024UpdateModul" - "eResponse\022\020\n\003url\030\001 \001(\tR\003url\"b\n\024UpdateMod" - "uleMetadata\022*\n\006models\030\001 \003(\0132\022.viam.app.v" - "1.ModelR\006models\022\036\n\nentrypoint\030\002 \001(\tR\nent" - "rypoint\"\252\001\n\025UpdateMLModelMetadata\022@\n\nmod" - "el_type\030\001 \001(\0162!.viam.app.mltraining.v1.M" - "odelTypeR\tmodelType\022O\n\017model_framework\030\002" - " \001(\0162&.viam.app.mltraining.v1.ModelFrame" - "workR\016modelFramework\"\303\001\n\030UpdateMLTrainin" - "gMetadata\022@\n\nmodel_type\030\001 \001(\0162!.viam.app" - ".mltraining.v1.ModelTypeR\tmodelType\022O\n\017m" - "odel_framework\030\002 \001(\0162&.viam.app.mltraini" - "ng.v1.ModelFrameworkR\016modelFramework\022\024\n\005" - "draft\030\003 \001(\010R\005draft\"\354\001\n\005Model\022\020\n\003api\030\001 \001(" - "\tR\003api\022\024\n\005model\030\002 \001(\tR\005model\022:\n\026markdown" - "_documentation\030\003 \001(\tH\000R\025markdownDocument" - "ation\210\001\001\022%\n\013description\030\004 \001(\tH\001R\013descrip" - "tion\210\001\001\022-\n\022supported_hardware\030\005 \003(\tR\021sup" - "portedHardwareB\031\n\027_markdown_documentatio" - "nB\016\n\014_description\"\210\001\n\016ModuleFileInfo\022\033\n\t" - "module_id\030\001 \001(\tR\010moduleId\022\030\n\007version\030\002 \001" - "(\tR\007version\022\032\n\010platform\030\003 \001(\tR\010platform\022" - "#\n\rplatform_tags\030\005 \003(\tR\014platformTags\"\207\001\n" - "\027UploadModuleFileRequest\022G\n\020module_file_" - "info\030\001 \001(\0132\033.viam.app.v1.ModuleFileInfoH" - "\000R\016moduleFileInfo\022\024\n\004file\030\002 \001(\014H\000R\004fileB" - "\r\n\013module_file\",\n\030UploadModuleFileRespon" - "se\022\020\n\003url\030\001 \001(\tR\003url\"\235\001\n\020GetModuleReques" - "t\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\022I\n\036includ" - "e_markdown_documentation\030\002 \001(\010H\000R\034includ" - "eMarkdownDocumentation\210\001\001B!\n\037_include_ma" - "rkdown_documentation\"@\n\021GetModuleRespons" - "e\022+\n\006module\030\001 \001(\0132\023.viam.app.v1.ModuleR\006" - "module\"\346\004\n\006Module\022\033\n\tmodule_id\030\001 \001(\tR\010mo" - "duleId\022\022\n\004name\030\002 \001(\tR\004name\0227\n\nvisibility" - "\030\003 \001(\0162\027.viam.app.v1.VisibilityR\nvisibil" - "ity\0227\n\010versions\030\004 \003(\0132\033.viam.app.v1.Vers" - "ionHistoryR\010versions\022\020\n\003url\030\005 \001(\tR\003url\022 " - "\n\013description\030\006 \001(\tR\013description\022*\n\006mode" - "ls\030\007 \003(\0132\022.viam.app.v1.ModelR\006models\022*\n\021" - "total_robot_usage\030\010 \001(\003R\017totalRobotUsage" - "\0228\n\030total_organization_usage\030\t \001(\003R\026tota" - "lOrganizationUsage\022\'\n\017organization_id\030\n " - "\001(\tR\016organizationId\022\036\n\nentrypoint\030\013 \001(\tR" - "\nentrypoint\022)\n\020public_namespace\030\014 \001(\tR\017p" - "ublicNamespace\022 \n\tfirst_run\030\r \001(\tH\000R\010fir" - "stRun\210\001\001\0226\n\024markdown_description\030\016 \001(\tH\001" - "R\023markdownDescription\210\001\001B\014\n\n_first_runB\027" - "\n\025_markdown_description\"\243\002\n\016VersionHisto" - "ry\022\030\n\007version\030\001 \001(\tR\007version\022*\n\005files\030\002 " - "\003(\0132\024.viam.app.v1.UploadsR\005files\022*\n\006mode" - "ls\030\003 \003(\0132\022.viam.app.v1.ModelR\006models\022\036\n\n" - "entrypoint\030\004 \001(\tR\nentrypoint\022 \n\tfirst_ru" - "n\030\005 \001(\tH\000R\010firstRun\210\001\001\0226\n\024markdown_descr" - "iption\030\006 \001(\tH\001R\023markdownDescription\210\001\001B\014" - "\n\n_first_runB\027\n\025_markdown_description\"b\n" - "\007Uploads\022\032\n\010platform\030\001 \001(\tR\010platform\022;\n\013" - "uploaded_at\030\002 \001(\0132\032.google.protobuf.Time" - "stampR\nuploadedAt\"\304\001\n\022ListModulesRequest" - "\022,\n\017organization_id\030\001 \001(\tH\000R\016organizatio" - "nId\210\001\001\022I\n\036include_markdown_documentation" - "\030\002 \001(\010H\001R\034includeMarkdownDocumentation\210\001" - "\001B\022\n\020_organization_idB!\n\037_include_markdo" - "wn_documentation\"D\n\023ListModulesResponse\022" - "-\n\007modules\030\001 \003(\0132\023.viam.app.v1.ModuleR\007m" - "odules\"/\n\027GetUserIDByEmailRequest\022\024\n\005ema" - "il\030\001 \001(\tR\005email\"3\n\030GetUserIDByEmailRespo" - "nse\022\027\n\007user_id\030\001 \001(\tR\006userId\"9\n\036ListOrga" - "nizationsByUserRequest\022\027\n\007user_id\030\001 \001(\tR" - "\006userId\"\346\001\n\nOrgDetails\022\025\n\006org_id\030\001 \001(\tR\005" - "orgId\022\031\n\010org_name\030\002 \001(\tR\007orgName\022\034\n\007org_" - "cid\030\003 \001(\tH\000R\006orgCid\210\001\001\022.\n\020public_namespa" - "ce\030\004 \001(\tH\001R\017publicNamespace\210\001\001\022&\n\014billin" - "g_tier\030\005 \001(\tH\002R\013billingTier\210\001\001B\n\n\010_org_c" - "idB\023\n\021_public_namespaceB\017\n\r_billing_tier" - "\"N\n\037ListOrganizationsByUserResponse\022+\n\004o" - "rgs\030\001 \003(\0132\027.viam.app.v1.OrgDetailsR\004orgs" - "\"\324\001\n\032SearchOrganizationsRequest\022\032\n\006org_i" - "d\030\001 \001(\tH\000R\005orgId\210\001\001\022\036\n\010org_name\030\002 \001(\tH\001R" - "\007orgName\210\001\001\022\025\n\003cid\030\003 \001(\tH\002R\003cid\210\001\001\022.\n\020pu" - "blic_namespace\030\004 \001(\tH\003R\017publicNamespace\210" - "\001\001B\t\n\007_org_idB\013\n\t_org_nameB\006\n\004_cidB\023\n\021_p" - "ublic_namespace\"\\\n\033SearchOrganizationsRe" - "sponse\022=\n\rorganizations\030\001 \003(\0132\027.viam.app" - ".v1.OrgDetailsR\rorganizations\"j\n\020CreateK" - "eyRequest\022B\n\016authorizations\030\001 \003(\0132\032.viam" - ".app.v1.AuthorizationR\016authorizations\022\022\n" - "\004name\030\002 \001(\tR\004name\"5\n\021CreateKeyResponse\022\020" - "\n\003key\030\001 \001(\tR\003key\022\016\n\002id\030\002 \001(\tR\002id\"\"\n\020Dele" - "teKeyRequest\022\016\n\002id\030\001 \001(\tR\002id\"\023\n\021DeleteKe" - "yResponse\"6\n\020RenameKeyRequest\022\016\n\002id\030\001 \001(" - "\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\"7\n\021RenameKeyRe" - "sponse\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004na" - "me\"\315\001\n\024AuthorizationDetails\022-\n\022authoriza" - "tion_type\030\001 \001(\tR\021authorizationType\022)\n\020au" - "thorization_id\030\002 \001(\tR\017authorizationId\022#\n" - "\rresource_type\030\003 \001(\tR\014resourceType\022\037\n\013re" - "source_id\030\004 \001(\tR\nresourceId\022\025\n\006org_id\030\005 " - "\001(\tR\005orgId\"\223\001\n\030APIKeyWithAuthorizations\022" - ",\n\007api_key\030\001 \001(\0132\023.viam.app.v1.APIKeyR\006a" - "piKey\022I\n\016authorizations\030\002 \003(\0132!.viam.app" - ".v1.AuthorizationDetailsR\016authorizations" - "\"(\n\017ListKeysRequest\022\025\n\006org_id\030\001 \001(\tR\005org" - "Id\"T\n\020ListKeysResponse\022@\n\010api_keys\030\001 \003(\013" - "2%.viam.app.v1.APIKeyWithAuthorizationsR" - "\007apiKeys\"\"\n\020RotateKeyRequest\022\016\n\002id\030\001 \001(\t" - "R\002id\"5\n\021RotateKeyResponse\022\016\n\002id\030\001 \001(\tR\002i" - "d\022\020\n\003key\030\002 \001(\tR\003key\"\?\n-CreateKeyFromExis" - "tingKeyAuthorizationsRequest\022\016\n\002id\030\001 \001(\t" - "R\002id\"R\n.CreateKeyFromExistingKeyAuthoriz" - "ationsResponse\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002 " - "\001(\tR\003key\"U\n\024GetAppContentRequest\022)\n\020publ" - "ic_namespace\030\001 \001(\tR\017publicNamespace\022\022\n\004n" - "ame\030\002 \001(\tR\004name\"T\n\025GetAppContentResponse" - "\022\033\n\tblob_path\030\001 \001(\tR\010blobPath\022\036\n\nentrypo" - "int\030\002 \001(\tR\nentrypoint\"G\n\032OrganizationSet" - "LogoRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\022\n\004lo" - "go\030\002 \001(\014R\004logo\"\035\n\033OrganizationSetLogoRes" - "ponse\"3\n\032OrganizationGetLogoRequest\022\025\n\006o" - "rg_id\030\001 \001(\tR\005orgId\"/\n\033OrganizationGetLog" - "oResponse\022\020\n\003url\030\001 \001(\tR\003url\"1\n\030EnableAut" - "hServiceRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"\033" - "\n\031EnableAuthServiceResponse\"2\n\031DisableAu" - "thServiceRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"" - "\034\n\032DisableAuthServiceResponse\"\214\001\n\025Create" - "OAuthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\037" - "\n\013client_name\030\002 \001(\tR\nclientName\022;\n\014oauth" - "_config\030\003 \001(\0132\030.viam.app.v1.OAuthConfigR" - "\013oauthConfig\"Z\n\026CreateOAuthAppResponse\022\033" - "\n\tclient_id\030\001 \001(\tR\010clientId\022#\n\rclient_se" - "cret\030\002 \001(\tR\014clientSecret\"I\n\023ReadOAuthApp" - "Request\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\033\n\tclient" - "_id\030\002 \001(\tR\010clientId\"\231\001\n\024ReadOAuthAppResp" - "onse\022\037\n\013client_name\030\001 \001(\tR\nclientName\022#\n" - "\rclient_secret\030\002 \001(\tR\014clientSecret\022;\n\014oa" - "uth_config\030\003 \001(\0132\030.viam.app.v1.OAuthConf" - "igR\013oauthConfig\"\251\001\n\025UpdateOAuthAppReques" - "t\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\033\n\tclient_id\030\002 " - "\001(\tR\010clientId\022\037\n\013client_name\030\003 \001(\tR\nclie" - "ntName\022;\n\014oauth_config\030\004 \001(\0132\030.viam.app." - "v1.OAuthConfigR\013oauthConfig\"\030\n\026UpdateOAu" - "thAppResponse\"K\n\025DeleteOAuthAppRequest\022\025" - "\n\006org_id\030\001 \001(\tR\005orgId\022\033\n\tclient_id\030\002 \001(\t" - "R\010clientId\"\030\n\026DeleteOAuthAppResponse\"-\n\024" - "ListOAuthAppsRequest\022\025\n\006org_id\030\001 \001(\tR\005or" - "gId\"6\n\025ListOAuthAppsResponse\022\035\n\nclient_i" - "ds\030\001 \003(\tR\tclientIds\"\366\002\n\013OAuthConfig\022V\n\025c" - "lient_authentication\030\001 \001(\0162!.viam.app.v1" - ".ClientAuthenticationR\024clientAuthenticat" - "ion\022%\n\004pkce\030\002 \001(\0162\021.viam.app.v1.PKCER\004pk" - "ce\022A\n\016url_validation\030\003 \001(\0162\032.viam.app.v1" - ".URLValidationR\rurlValidation\022\037\n\013origin_" - "uris\030\004 \003(\tR\noriginUris\022#\n\rredirect_uris\030" - "\005 \003(\tR\014redirectUris\022\035\n\nlogout_uri\030\006 \001(\tR" - "\tlogoutUri\022@\n\016enabled_grants\030\007 \003(\0162\031.via" - "m.app.v1.EnabledGrantR\renabledGrants*\321\001\n" - "\022AuthenticationType\022#\n\037AUTHENTICATION_TY" - "PE_UNSPECIFIED\020\000\022!\n\035AUTHENTICATION_TYPE_" - "WEB_OAUTH\020\001\022\037\n\033AUTHENTICATION_TYPE_API_K" - "EY\020\002\022)\n%AUTHENTICATION_TYPE_ROBOT_PART_S" - "ECRET\020\003\022\'\n#AUTHENTICATION_TYPE_LOCATION_" - "SECRET\020\004*\243\001\n\022FragmentVisibility\022#\n\037FRAGM" - "ENT_VISIBILITY_UNSPECIFIED\020\000\022\037\n\033FRAGMENT" - "_VISIBILITY_PRIVATE\020\001\022\036\n\032FRAGMENT_VISIBI" - "LITY_PUBLIC\020\002\022\'\n#FRAGMENT_VISIBILITY_PUB" - "LIC_UNLISTED\020\003*\335\001\n\021FragmentErrorType\022#\n\037" - "FRAGMENT_ERROR_TYPE_UNSPECIFIED\020\000\022!\n\035FRA" - "GMENT_ERROR_TYPE_NO_ACCESS\020\001\022.\n*FRAGMENT" - "_ERROR_TYPE_NESTING_LIMIT_EXCEEDED\020\002\022(\n$" - "FRAGMENT_ERROR_TYPE_CHILD_ID_INVALID\020\003\022&" - "\n\"FRAGMENT_ERROR_TYPE_CYCLE_DETECTED\020\004*\207" - "\001\n\022RegistryItemStatus\022$\n REGISTRY_ITEM_S" - "TATUS_UNSPECIFIED\020\000\022\"\n\036REGISTRY_ITEM_STA" - "TUS_PUBLISHED\020\001\022\'\n#REGISTRY_ITEM_STATUS_" - "IN_DEVELOPMENT\020\002*w\n\nVisibility\022\032\n\026VISIBI" - "LITY_UNSPECIFIED\020\000\022\026\n\022VISIBILITY_PRIVATE" - "\020\001\022\025\n\021VISIBILITY_PUBLIC\020\002\022\036\n\032VISIBILITY_" - "PUBLIC_UNLISTED\020\003*\301\001\n\024ClientAuthenticati" - "on\022%\n!CLIENT_AUTHENTICATION_UNSPECIFIED\020" - "\000\022\"\n\036CLIENT_AUTHENTICATION_REQUIRED\020\001\022&\n" - "\"CLIENT_AUTHENTICATION_NOT_REQUIRED\020\002\0226\n" - "2CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN" - "_USING_PKCE\020\003*~\n\004PKCE\022\024\n\020PKCE_UNSPECIFIE" - "D\020\000\022\021\n\rPKCE_REQUIRED\020\001\022\025\n\021PKCE_NOT_REQUI" - "RED\020\002\0226\n2PKCE_NOT_REQUIRED_WHEN_USING_CL" - "IENT_AUTHENTICATION\020\003*s\n\rURLValidation\022\036" - "\n\032URL_VALIDATION_UNSPECIFIED\020\000\022\036\n\032URL_VA" - "LIDATION_EXACT_MATCH\020\001\022\"\n\036URL_VALIDATION" - "_ALLOW_WILDCARDS\020\002*\313\001\n\014EnabledGrant\022\035\n\031E" - "NABLED_GRANT_UNSPECIFIED\020\000\022$\n ENABLED_GR" - "ANT_AUTHORIZATION_CODE\020\001\022\032\n\026ENABLED_GRAN" - "T_IMPLICIT\020\002\022\032\n\026ENABLED_GRANT_PASSWORD\020\003" - "\022\037\n\033ENABLED_GRANT_REFRESH_TOKEN\020\004\022\035\n\031ENA" - "BLED_GRANT_DEVICE_CODE\020\0052\356O\n\nAppService\022" - "_\n\020GetUserIDByEmail\022$.viam.app.v1.GetUse" - "rIDByEmailRequest\032%.viam.app.v1.GetUserI" - "DByEmailResponse\022e\n\022CreateOrganization\022&" - ".viam.app.v1.CreateOrganizationRequest\032\'" - ".viam.app.v1.CreateOrganizationResponse\022" - "b\n\021ListOrganizations\022%.viam.app.v1.ListO" - "rganizationsRequest\032&.viam.app.v1.ListOr" - "ganizationsResponse\022\233\001\n$GetOrganizations" - "WithAccessToLocation\0228.viam.app.v1.GetOr" - "ganizationsWithAccessToLocationRequest\0329" - ".viam.app.v1.GetOrganizationsWithAccessT" - "oLocationResponse\022t\n\027ListOrganizationsBy" - "User\022+.viam.app.v1.ListOrganizationsByUs" - "erRequest\032,.viam.app.v1.ListOrganization" - "sByUserResponse\022h\n\023SearchOrganizations\022\'" - ".viam.app.v1.SearchOrganizationsRequest\032" - "(.viam.app.v1.SearchOrganizationsRespons" - "e\022\\\n\017GetOrganization\022#.viam.app.v1.GetOr" - "ganizationRequest\032$.viam.app.v1.GetOrgan" - "izationResponse\022\233\001\n$GetOrganizationNames" - "paceAvailability\0228.viam.app.v1.GetOrgani" - "zationNamespaceAvailabilityRequest\0329.via" - "m.app.v1.GetOrganizationNamespaceAvailab" - "ilityResponse\022e\n\022UpdateOrganization\022&.vi" - "am.app.v1.UpdateOrganizationRequest\032\'.vi" - "am.app.v1.UpdateOrganizationResponse\022e\n\022" - "DeleteOrganization\022&.viam.app.v1.DeleteO" - "rganizationRequest\032\'.viam.app.v1.DeleteO" - "rganizationResponse\022t\n\027GetOrganizationMe" - "tadata\022+.viam.app.v1.GetOrganizationMeta" - "dataRequest\032,.viam.app.v1.GetOrganizatio" - "nMetadataResponse\022}\n\032UpdateOrganizationM" - "etadata\022..viam.app.v1.UpdateOrganization" - "MetadataRequest\032/.viam.app.v1.UpdateOrga" - "nizationMetadataResponse\022t\n\027ListOrganiza" - "tionMembers\022+.viam.app.v1.ListOrganizati" - "onMembersRequest\032,.viam.app.v1.ListOrgan" - "izationMembersResponse\022w\n\030CreateOrganiza" - "tionInvite\022,.viam.app.v1.CreateOrganizat" - "ionInviteRequest\032-.viam.app.v1.CreateOrg" - "anizationInviteResponse\022\241\001\n&UpdateOrgani" - "zationInviteAuthorizations\022:.viam.app.v1" - ".UpdateOrganizationInviteAuthorizationsR" - "equest\032;.viam.app.v1.UpdateOrganizationI" - "nviteAuthorizationsResponse\022w\n\030DeleteOrg" - "anizationMember\022,.viam.app.v1.DeleteOrga" - "nizationMemberRequest\032-.viam.app.v1.Dele" - "teOrganizationMemberResponse\022w\n\030DeleteOr" - "ganizationInvite\022,.viam.app.v1.DeleteOrg" - "anizationInviteRequest\032-.viam.app.v1.Del" - "eteOrganizationInviteResponse\022w\n\030ResendO" - "rganizationInvite\022,.viam.app.v1.ResendOr" - "ganizationInviteRequest\032-.viam.app.v1.Re" - "sendOrganizationInviteResponse\022k\n\024Enable" - "BillingService\022(.viam.app.v1.EnableBilli" - "ngServiceRequest\032).viam.app.v1.EnableBil" - "lingServiceResponse\022n\n\025DisableBillingSer" - "vice\022).viam.app.v1.DisableBillingService" - "Request\032*.viam.app.v1.DisableBillingServ" - "iceResponse\022k\n\024UpdateBillingService\022(.vi" - "am.app.v1.UpdateBillingServiceRequest\032)." - "viam.app.v1.UpdateBillingServiceResponse" - "\022t\n\027GetBillingServiceConfig\022+.viam.app.v" - "1.GetBillingServiceConfigRequest\032,.viam." - "app.v1.GetBillingServiceConfigResponse\022\200" - "\001\n\033OrganizationSetSupportEmail\022/.viam.ap" - "p.v1.OrganizationSetSupportEmailRequest\032" - "0.viam.app.v1.OrganizationSetSupportEmai" - "lResponse\022\200\001\n\033OrganizationGetSupportEmai" - "l\022/.viam.app.v1.OrganizationGetSupportEm" - "ailRequest\0320.viam.app.v1.OrganizationGet" - "SupportEmailResponse\022h\n\023OrganizationSetL" - "ogo\022\'.viam.app.v1.OrganizationSetLogoReq" - "uest\032(.viam.app.v1.OrganizationSetLogoRe" - "sponse\022h\n\023OrganizationGetLogo\022\'.viam.app" - ".v1.OrganizationGetLogoRequest\032(.viam.ap" - "p.v1.OrganizationGetLogoResponse\022b\n\021Enab" - "leAuthService\022%.viam.app.v1.EnableAuthSe" - "rviceRequest\032&.viam.app.v1.EnableAuthSer" - "viceResponse\022e\n\022DisableAuthService\022&.via" - "m.app.v1.DisableAuthServiceRequest\032\'.via" - "m.app.v1.DisableAuthServiceResponse\022Y\n\016C" - "reateOAuthApp\022\".viam.app.v1.CreateOAuthA" - "ppRequest\032#.viam.app.v1.CreateOAuthAppRe" - "sponse\022S\n\014ReadOAuthApp\022 .viam.app.v1.Rea" - "dOAuthAppRequest\032!.viam.app.v1.ReadOAuth" - "AppResponse\022Y\n\016UpdateOAuthApp\022\".viam.app" - ".v1.UpdateOAuthAppRequest\032#.viam.app.v1." - "UpdateOAuthAppResponse\022Y\n\016DeleteOAuthApp" - "\022\".viam.app.v1.DeleteOAuthAppRequest\032#.v" - "iam.app.v1.DeleteOAuthAppResponse\022V\n\rLis" - "tOAuthApps\022!.viam.app.v1.ListOAuthAppsRe" - "quest\032\".viam.app.v1.ListOAuthAppsRespons" - "e\022Y\n\016CreateLocation\022\".viam.app.v1.Create" - "LocationRequest\032#.viam.app.v1.CreateLoca" - "tionResponse\022P\n\013GetLocation\022\037.viam.app.v" - "1.GetLocationRequest\032 .viam.app.v1.GetLo" - "cationResponse\022Y\n\016UpdateLocation\022\".viam." - "app.v1.UpdateLocationRequest\032#.viam.app." - "v1.UpdateLocationResponse\022Y\n\016DeleteLocat" - "ion\022\".viam.app.v1.DeleteLocationRequest\032" - "#.viam.app.v1.DeleteLocationResponse\022h\n\023" - "GetLocationMetadata\022\'.viam.app.v1.GetLoc" - "ationMetadataRequest\032(.viam.app.v1.GetLo" - "cationMetadataResponse\022q\n\026UpdateLocation" - "Metadata\022*.viam.app.v1.UpdateLocationMet" - "adataRequest\032+.viam.app.v1.UpdateLocatio" - "nMetadataResponse\022V\n\rListLocations\022!.via" - "m.app.v1.ListLocationsRequest\032\".viam.app" - ".v1.ListLocationsResponse\022V\n\rShareLocati" - "on\022!.viam.app.v1.ShareLocationRequest\032\"." - "viam.app.v1.ShareLocationResponse\022\\\n\017Uns" - "hareLocation\022#.viam.app.v1.UnshareLocati" - "onRequest\032$.viam.app.v1.UnshareLocationR" - "esponse\022S\n\014LocationAuth\022 .viam.app.v1.Lo" - "cationAuthRequest\032!.viam.app.v1.Location" - "AuthResponse\022k\n\024CreateLocationSecret\022(.v" - "iam.app.v1.CreateLocationSecretRequest\032)" - ".viam.app.v1.CreateLocationSecretRespons" - "e\022k\n\024DeleteLocationSecret\022(.viam.app.v1." - "DeleteLocationSecretRequest\032).viam.app.v" - "1.DeleteLocationSecretResponse\022G\n\010GetRob" - "ot\022\034.viam.app.v1.GetRobotRequest\032\035.viam." - "app.v1.GetRobotResponse\022_\n\020GetRobotMetad" - "ata\022$.viam.app.v1.GetRobotMetadataReques" - "t\032%.viam.app.v1.GetRobotMetadataResponse" - "\022h\n\023UpdateRobotMetadata\022\'.viam.app.v1.Up" - "dateRobotMetadataRequest\032(.viam.app.v1.U" - "pdateRobotMetadataResponse\022k\n\024GetRoverRe" - "ntalRobots\022(.viam.app.v1.GetRoverRentalR" - "obotsRequest\032).viam.app.v1.GetRoverRenta" - "lRobotsResponse\022V\n\rGetRobotParts\022!.viam." - "app.v1.GetRobotPartsRequest\032\".viam.app.v" - "1.GetRobotPartsResponse\022S\n\014GetRobotPart\022" - " .viam.app.v1.GetRobotPartRequest\032!.viam" - ".app.v1.GetRobotPartResponse\022_\n\020GetRobot" - "PartLogs\022$.viam.app.v1.GetRobotPartLogsR" - "equest\032%.viam.app.v1.GetRobotPartLogsRes" - "ponse\022d\n\021TailRobotPartLogs\022%.viam.app.v1" - ".TailRobotPartLogsRequest\032&.viam.app.v1." - "TailRobotPartLogsResponse0\001\022h\n\023GetRobotP" - "artHistory\022\'.viam.app.v1.GetRobotPartHis" - "toryRequest\032(.viam.app.v1.GetRobotPartHi" - "storyResponse\022\\\n\017UpdateRobotPart\022#.viam." - "app.v1.UpdateRobotPartRequest\032$.viam.app" - ".v1.UpdateRobotPartResponse\022S\n\014NewRobotP" - "art\022 .viam.app.v1.NewRobotPartRequest\032!." - "viam.app.v1.NewRobotPartResponse\022\\\n\017Dele" - "teRobotPart\022#.viam.app.v1.DeleteRobotPar" - "tRequest\032$.viam.app.v1.DeleteRobotPartRe" - "sponse\022k\n\024GetRobotPartMetadata\022(.viam.ap" - "p.v1.GetRobotPartMetadataRequest\032).viam." - "app.v1.GetRobotPartMetadataResponse\022t\n\027U" - "pdateRobotPartMetadata\022+.viam.app.v1.Upd" - "ateRobotPartMetadataRequest\032,.viam.app.v" - "1.UpdateRobotPartMetadataResponse\022\\\n\017Get" - "RobotAPIKeys\022#.viam.app.v1.GetRobotAPIKe" - "ysRequest\032$.viam.app.v1.GetRobotAPIKeysR" - "esponse\022Y\n\016MarkPartAsMain\022\".viam.app.v1." - "MarkPartAsMainRequest\032#.viam.app.v1.Mark" - "PartAsMainResponse\022e\n\022MarkPartForRestart" - "\022&.viam.app.v1.MarkPartForRestartRequest" - "\032\'.viam.app.v1.MarkPartForRestartRespons" - "e\022n\n\025CreateRobotPartSecret\022).viam.app.v1" - ".CreateRobotPartSecretRequest\032*.viam.app" - ".v1.CreateRobotPartSecretResponse\022n\n\025Del" - "eteRobotPartSecret\022).viam.app.v1.DeleteR" - "obotPartSecretRequest\032*.viam.app.v1.Dele" - "teRobotPartSecretResponse\022M\n\nListRobots\022" - "\036.viam.app.v1.ListRobotsRequest\032\037.viam.a" - "pp.v1.ListRobotsResponse\022G\n\010NewRobot\022\034.v" - "iam.app.v1.NewRobotRequest\032\035.viam.app.v1" - ".NewRobotResponse\022P\n\013UpdateRobot\022\037.viam." - "app.v1.UpdateRobotRequest\032 .viam.app.v1." - "UpdateRobotResponse\022P\n\013DeleteRobot\022\037.via" - "m.app.v1.DeleteRobotRequest\032 .viam.app.v" - "1.DeleteRobotResponse\022V\n\rListFragments\022!" - ".viam.app.v1.ListFragmentsRequest\032\".viam" - ".app.v1.ListFragmentsResponse\022P\n\013GetFrag" - "ment\022\037.viam.app.v1.GetFragmentRequest\032 ." - "viam.app.v1.GetFragmentResponse\022Y\n\016Creat" - "eFragment\022\".viam.app.v1.CreateFragmentRe" - "quest\032#.viam.app.v1.CreateFragmentRespon" - "se\022Y\n\016UpdateFragment\022\".viam.app.v1.Updat" - "eFragmentRequest\032#.viam.app.v1.UpdateFra" - "gmentResponse\022Y\n\016DeleteFragment\022\".viam.a" - "pp.v1.DeleteFragmentRequest\032#.viam.app.v" - "1.DeleteFragmentResponse\022k\n\024ListMachineF" - "ragments\022(.viam.app.v1.ListMachineFragme" - "ntsRequest\032).viam.app.v1.ListMachineFrag" - "mentsResponse\022k\n\024ListMachineSummaries\022(." - "viam.app.v1.ListMachineSummariesRequest\032" - ").viam.app.v1.ListMachineSummariesRespon" - "se\022e\n\022GetFragmentHistory\022&.viam.app.v1.G" - "etFragmentHistoryRequest\032\'.viam.app.v1.G" - "etFragmentHistoryResponse\022_\n\020GetFragment" - "Usage\022$.viam.app.v1.GetFragmentUsageRequ" - "est\032%.viam.app.v1.GetFragmentUsageRespon" - "se\022Y\n\016SetFragmentTag\022\".viam.app.v1.SetFr" - "agmentTagRequest\032#.viam.app.v1.SetFragme" - "ntTagResponse\022b\n\021DeleteFragmentTag\022%.via" - "m.app.v1.DeleteFragmentTagRequest\032&.viam" - ".app.v1.DeleteFragmentTagResponse\022D\n\007Add" - "Role\022\033.viam.app.v1.AddRoleRequest\032\034.viam" - ".app.v1.AddRoleResponse\022M\n\nRemoveRole\022\036." - "viam.app.v1.RemoveRoleRequest\032\037.viam.app" - ".v1.RemoveRoleResponse\022M\n\nChangeRole\022\036.v" - "iam.app.v1.ChangeRoleRequest\032\037.viam.app." - "v1.ChangeRoleResponse\022e\n\022ListAuthorizati" - "ons\022&.viam.app.v1.ListAuthorizationsRequ" - "est\032\'.viam.app.v1.ListAuthorizationsResp" - "onse\022_\n\020CheckPermissions\022$.viam.app.v1.C" - "heckPermissionsRequest\032%.viam.app.v1.Che" - "ckPermissionsResponse\022\\\n\017GetRegistryItem" - "\022#.viam.app.v1.GetRegistryItemRequest\032$." - "viam.app.v1.GetRegistryItemResponse\022e\n\022C" - "reateRegistryItem\022&.viam.app.v1.CreateRe" - "gistryItemRequest\032\'.viam.app.v1.CreateRe" - "gistryItemResponse\022e\n\022UpdateRegistryItem" - "\022&.viam.app.v1.UpdateRegistryItemRequest" - "\032\'.viam.app.v1.UpdateRegistryItemRespons" - "e\022b\n\021ListRegistryItems\022%.viam.app.v1.Lis" - "tRegistryItemsRequest\032&.viam.app.v1.List" - "RegistryItemsResponse\022e\n\022DeleteRegistryI" - "tem\022&.viam.app.v1.DeleteRegistryItemRequ" - "est\032\'.viam.app.v1.DeleteRegistryItemResp" - "onse\022k\n\024TransferRegistryItem\022(.viam.app." - "v1.TransferRegistryItemRequest\032).viam.ap" - "p.v1.TransferRegistryItemResponse\022S\n\014Cre" - "ateModule\022 .viam.app.v1.CreateModuleRequ" - "est\032!.viam.app.v1.CreateModuleResponse\022S" - "\n\014UpdateModule\022 .viam.app.v1.UpdateModul" - "eRequest\032!.viam.app.v1.UpdateModuleRespo" - "nse\022a\n\020UploadModuleFile\022$.viam.app.v1.Up" - "loadModuleFileRequest\032%.viam.app.v1.Uplo" - "adModuleFileResponse(\001\022J\n\tGetModule\022\035.vi" - "am.app.v1.GetModuleRequest\032\036.viam.app.v1" - ".GetModuleResponse\022P\n\013ListModules\022\037.viam" - ".app.v1.ListModulesRequest\032 .viam.app.v1" - ".ListModulesResponse\022J\n\tCreateKey\022\035.viam" - ".app.v1.CreateKeyRequest\032\036.viam.app.v1.C" - "reateKeyResponse\022J\n\tDeleteKey\022\035.viam.app" - ".v1.DeleteKeyRequest\032\036.viam.app.v1.Delet" - "eKeyResponse\022G\n\010ListKeys\022\034.viam.app.v1.L" - "istKeysRequest\032\035.viam.app.v1.ListKeysRes" - "ponse\022J\n\tRenameKey\022\035.viam.app.v1.RenameK" - "eyRequest\032\036.viam.app.v1.RenameKeyRespons" - "e\022J\n\tRotateKey\022\035.viam.app.v1.RotateKeyRe" - "quest\032\036.viam.app.v1.RotateKeyResponse\022\241\001" - "\n&CreateKeyFromExistingKeyAuthorizations" - "\022:.viam.app.v1.CreateKeyFromExistingKeyA" - "uthorizationsRequest\032;.viam.app.v1.Creat" - "eKeyFromExistingKeyAuthorizationsRespons" - "e\022V\n\rGetAppContent\022!.viam.app.v1.GetAppC" - "ontentRequest\032\".viam.app.v1.GetAppConten" - "tResponseB\030Z\026go.viam.com/api/app/v1b\006pro" - "to3" + "sion\210\001\001B\n\n\010_version\"\246\001\n\032ListNestedFragme" + "ntsRequest\022$\n\013fragment_id\030\001 \001(\tH\000R\nfragm" + "entId\210\001\001\022R\n\024additional_fragments\030\002 \003(\0132\037" + ".viam.app.v1.AdditionalFragmentR\023additio" + "nalFragmentsB\016\n\014_fragment_id\"\240\001\n\033ListNes" + "tedFragmentsResponse\0223\n\tfragments\030\001 \003(\0132" + "\025.viam.app.v1.FragmentR\tfragments\022L\n\022res" + "olved_fragments\030\002 \003(\0132\035.viam.app.v1.Reso" + "lvedFragmentR\021resolvedFragments\"\310\001\n\033List" + "MachineFragmentsRequest\022\035\n\nmachine_id\030\001 " + "\001(\tR\tmachineId\0226\n\027additional_fragment_id" + "s\030\002 \003(\tR\025additionalFragmentIds\022R\n\024additi" + "onal_fragments\030\003 \003(\0132\037.viam.app.v1.Addit" + "ionalFragmentR\023additionalFragments\"\241\001\n\034L" + "istMachineFragmentsResponse\0223\n\tfragments" + "\030\001 \003(\0132\025.viam.app.v1.FragmentR\tfragments" + "\022L\n\022resolved_fragments\030\002 \003(\0132\035.viam.app." + "v1.ResolvedFragmentR\021resolvedFragments\"F" + "\n\033ListMachineSummariesRequest\022\'\n\017organiz" + "ation_id\030\001 \001(\tR\016organizationId\"k\n\034ListMa" + "chineSummariesResponse\022K\n\022location_summa" + "ries\030\001 \003(\0132\034.viam.app.v1.LocationSummary" + "R\021locationSummaries\"\241\001\n\017LocationSummary\022" + "\037\n\013location_id\030\001 \001(\tR\nlocationId\022#\n\rloca" + "tion_name\030\002 \001(\tR\014locationName\022H\n\021machine" + "_summaries\030\003 \003(\0132\033.viam.app.v1.MachineSu" + "mmaryR\020machineSummaries\"\223\001\n\016MachineSumma" + "ry\022\035\n\nmachine_id\030\001 \001(\tR\tmachineId\022!\n\014mac" + "hine_name\030\002 \001(\tR\013machineName\022\?\n\016part_sum" + "maries\030\003 \003(\0132\030.viam.app.v1.PartSummaryR\r" + "partSummaries\";\n\017FragmentSummary\022\016\n\002id\030\001" + " \001(\tR\002id\022\022\n\004name\030\003 \001(\tR\004nameJ\004\010\002\020\003\"N\n\021Vi" + "amServerVersion\022\026\n\005major\030\001 \001(\tH\000R\005major\022" + "\026\n\005minor\030\002 \001(\tH\000R\005minorB\t\n\007version\"M\n\020Vi" + "amAgentVersion\022\026\n\005major\030\001 \001(\tH\000R\005major\022\026" + "\n\005minor\030\002 \001(\tH\000R\005minorB\t\n\007version\"\270\004\n\013Pa" + "rtSummary\022\027\n\007part_id\030\001 \001(\tR\006partId\022\033\n\tpa" + "rt_name\030\002 \001(\tR\010partName\022@\n\013last_online\030\003" + " \001(\0132\032.google.protobuf.TimestampH\000R\nlast" + "Online\210\001\001\022S\n\023viam_server_version\030\004 \001(\0132\036" + ".viam.app.v1.ViamServerVersionH\001R\021viamSe" + "rverVersion\210\001\001\022P\n\022viam_agent_version\030\005 \001" + "(\0132\035.viam.app.v1.ViamAgentVersionH\002R\020via" + "mAgentVersion\210\001\001\022\023\n\002os\030\006 \001(\tH\003R\002os\210\001\001\022\037\n" + "\010platform\030\007 \001(\tH\004R\010platform\210\001\001\022/\n\021public" + "_ip_address\030\010 \001(\tH\005R\017publicIpAddress\210\001\001\022" + ":\n\tfragments\030\t \003(\0132\034.viam.app.v1.Fragmen" + "tSummaryR\tfragmentsB\016\n\014_last_onlineB\026\n\024_" + "viam_server_versionB\025\n\023_viam_agent_versi" + "onB\005\n\003_osB\013\n\t_platformB\024\n\022_public_ip_add" + "ress\"@\n\022ListRobotsResponse\022*\n\006robots\030\001 \003" + "(\0132\022.viam.app.v1.RobotR\006robots\"A\n\017NewRob" + "otRequest\022\022\n\004name\030\001 \001(\tR\004name\022\032\n\010locatio" + "n\030\002 \001(\tR\010location\"\"\n\020NewRobotResponse\022\016\n" + "\002id\030\001 \001(\tR\002id\"T\n\022UpdateRobotRequest\022\016\n\002i" + "d\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\022\032\n\010locat" + "ion\030\003 \001(\tR\010location\"\?\n\023UpdateRobotRespon" + "se\022(\n\005robot\030\001 \001(\0132\022.viam.app.v1.RobotR\005r" + "obot\"$\n\022DeleteRobotRequest\022\016\n\002id\030\001 \001(\tR\002" + "id\"\025\n\023DeleteRobotResponse\")\n\027GetRobotMet" + "adataRequest\022\016\n\002id\030\001 \001(\tR\002id\"G\n\030GetRobot" + "MetadataResponse\022+\n\004data\030\001 \001(\0132\027.google." + "protobuf.StructR\004data\"Y\n\032UpdateRobotMeta" + "dataRequest\022\016\n\002id\030\001 \001(\tR\002id\022+\n\004data\030\002 \001(" + "\0132\027.google.protobuf.StructR\004data\"\035\n\033Upda" + "teRobotMetadataResponse\"0\n\025MarkPartAsMai" + "nRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\"\030\n\026Mar" + "kPartAsMainResponse\"4\n\031MarkPartForRestar" + "tRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\"\034\n\032Mar" + "kPartForRestartResponse\"7\n\034CreateRobotPa" + "rtSecretRequest\022\027\n\007part_id\030\001 \001(\tR\006partId" + "\"K\n\035CreateRobotPartSecretResponse\022*\n\004par" + "t\030\001 \001(\0132\026.viam.app.v1.RobotPartR\004part\"T\n" + "\034DeleteRobotPartSecretRequest\022\027\n\007part_id" + "\030\001 \001(\tR\006partId\022\033\n\tsecret_id\030\002 \001(\tR\010secre" + "tId\"\037\n\035DeleteRobotPartSecretResponse\"\236\002\n" + "\rAuthorization\022-\n\022authorization_type\030\001 \001" + "(\tR\021authorizationType\022)\n\020authorization_i" + "d\030\002 \001(\tR\017authorizationId\022#\n\rresource_typ" + "e\030\003 \001(\tR\014resourceType\022\037\n\013resource_id\030\004 \001" + "(\tR\nresourceId\022\037\n\013identity_id\030\005 \001(\tR\nide" + "ntityId\022\'\n\017organization_id\030\006 \001(\tR\016organi" + "zationId\022#\n\ridentity_type\030\007 \001(\tR\014identit" + "yType\"R\n\016AddRoleRequest\022@\n\rauthorization" + "\030\001 \001(\0132\032.viam.app.v1.AuthorizationR\rauth" + "orization\"\021\n\017AddRoleResponse\"U\n\021RemoveRo" + "leRequest\022@\n\rauthorization\030\001 \001(\0132\032.viam." + "app.v1.AuthorizationR\rauthorization\"\024\n\022R" + "emoveRoleResponse\"\245\001\n\021ChangeRoleRequest\022" + "G\n\021old_authorization\030\001 \001(\0132\032.viam.app.v1" + ".AuthorizationR\020oldAuthorization\022G\n\021new_" + "authorization\030\002 \001(\0132\032.viam.app.v1.Author" + "izationR\020newAuthorization\"\024\n\022ChangeRoleR" + "esponse\"g\n\031ListAuthorizationsRequest\022\'\n\017" + "organization_id\030\001 \001(\tR\016organizationId\022!\n" + "\014resource_ids\030\002 \003(\tR\013resourceIds\"`\n\032List" + "AuthorizationsResponse\022B\n\016authorizations" + "\030\001 \003(\0132\032.viam.app.v1.AuthorizationR\016auth" + "orizations\"_\n\027CheckPermissionsRequest\022D\n" + "\013permissions\030\001 \003(\0132\".viam.app.v1.Authori" + "zedPermissionsR\013permissions\"\177\n\025Authorize" + "dPermissions\022#\n\rresource_type\030\001 \001(\tR\014res" + "ourceType\022\037\n\013resource_id\030\002 \001(\tR\nresource" + "Id\022 \n\013permissions\030\003 \003(\tR\013permissions\"u\n\030" + "CheckPermissionsResponse\022Y\n\026authorized_p" + "ermissions\030\001 \003(\0132\".viam.app.v1.Authorize" + "dPermissionsR\025authorizedPermissions\"\242\002\n\r" + "ModuleVersion\022\030\n\007version\030\001 \001(\tR\007version\022" + "*\n\005files\030\002 \003(\0132\024.viam.app.v1.UploadsR\005fi" + "les\022*\n\006models\030\003 \003(\0132\022.viam.app.v1.ModelR" + "\006models\022\036\n\nentrypoint\030\004 \001(\tR\nentrypoint\022" + " \n\tfirst_run\030\005 \001(\tH\000R\010firstRun\210\001\001\0226\n\024mar" + "kdown_description\030\006 \001(\tH\001R\023markdownDescr" + "iption\210\001\001B\014\n\n_first_runB\027\n\025_markdown_des" + "cription\"\225\002\n\016ModuleMetadata\022*\n\006models\030\001 " + "\003(\0132\022.viam.app.v1.ModelR\006models\0226\n\010versi" + "ons\030\002 \003(\0132\032.viam.app.v1.ModuleVersionR\010v" + "ersions\022\036\n\nentrypoint\030\003 \001(\tR\nentrypoint\022" + " \n\tfirst_run\030\004 \001(\tH\000R\010firstRun\210\001\001\0226\n\024mar" + "kdown_description\030\005 \001(\tH\001R\023markdownDescr" + "iption\210\001\001B\014\n\n_first_runB\027\n\025_markdown_des" + "cription\"\300\001\n\017MLModelMetadata\022\032\n\010versions" + "\030\001 \003(\tR\010versions\022@\n\nmodel_type\030\002 \001(\0162!.v" + "iam.app.mltraining.v1.ModelTypeR\tmodelTy" + "pe\022O\n\017model_framework\030\003 \001(\0162&.viam.app.m" + "ltraining.v1.ModelFrameworkR\016modelFramew" + "ork\"h\n\021MLTrainingVersion\022\030\n\007version\030\001 \001(" + "\tR\007version\0229\n\ncreated_on\030\002 \001(\0132\032.google." + "protobuf.TimestampR\tcreatedOn\"\377\001\n\022MLTrai" + "ningMetadata\022:\n\010versions\030\005 \003(\0132\036.viam.ap" + "p.v1.MLTrainingVersionR\010versions\022@\n\nmode" + "l_type\030\002 \001(\0162!.viam.app.mltraining.v1.Mo" + "delTypeR\tmodelType\022O\n\017model_framework\030\003 " + "\001(\0162&.viam.app.mltraining.v1.ModelFramew" + "orkR\016modelFramework\022\024\n\005draft\030\004 \001(\010R\005draf" + "tJ\004\010\001\020\002\"\214\007\n\014RegistryItem\022\027\n\007item_id\030\001 \001(" + "\tR\006itemId\022\'\n\017organization_id\030\002 \001(\tR\016orga" + "nizationId\022)\n\020public_namespace\030\003 \001(\tR\017pu" + "blicNamespace\022\022\n\004name\030\004 \001(\tR\004name\0225\n\004typ" + "e\030\005 \001(\0162!.viam.app.packages.v1.PackageTy" + "peR\004type\0227\n\nvisibility\030\006 \001(\0162\027.viam.app." + "v1.VisibilityR\nvisibility\022\020\n\003url\030\007 \001(\tR\003" + "url\022 \n\013description\030\010 \001(\tR\013description\022*\n" + "\021total_robot_usage\030\t \001(\003R\017totalRobotUsag" + "e\022;\n\032total_external_robot_usage\030\r \001(\003R\027t" + "otalExternalRobotUsage\0228\n\030total_organiza" + "tion_usage\030\n \001(\003R\026totalOrganizationUsage" + "\022I\n!total_external_organization_usage\030\016 " + "\001(\003R\036totalExternalOrganizationUsage\022F\n\017m" + "odule_metadata\030\013 \001(\0132\033.viam.app.v1.Modul" + "eMetadataH\000R\016moduleMetadata\022J\n\021ml_model_" + "metadata\030\014 \001(\0132\034.viam.app.v1.MLModelMeta" + "dataH\000R\017mlModelMetadata\022S\n\024ml_training_m" + "etadata\030\022 \001(\0132\037.viam.app.v1.MLTrainingMe" + "tadataH\000R\022mlTrainingMetadata\0229\n\ncreated_" + "at\030\017 \001(\0132\032.google.protobuf.TimestampR\tcr" + "eatedAt\0229\n\nupdated_at\030\020 \001(\0132\032.google.pro" + "tobuf.TimestampR\tupdatedAtB\n\n\010metadata\"\237" + "\001\n\026GetRegistryItemRequest\022\027\n\007item_id\030\001 \001" + "(\tR\006itemId\022I\n\036include_markdown_documenta" + "tion\030\002 \001(\010H\000R\034includeMarkdownDocumentati" + "on\210\001\001B!\n\037_include_markdown_documentation" + "\"H\n\027GetRegistryItemResponse\022-\n\004item\030\001 \001(" + "\0132\031.viam.app.v1.RegistryItemR\004item\"\217\001\n\031C" + "reateRegistryItemRequest\022\'\n\017organization" + "_id\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(\tR" + "\004name\0225\n\004type\030\003 \001(\0162!.viam.app.packages." + "v1.PackageTypeR\004type\"\034\n\032CreateRegistryIt" + "emResponse\"\344\004\n\031UpdateRegistryItemRequest" + "\022\027\n\007item_id\030\001 \001(\tR\006itemId\0225\n\004type\030\002 \001(\0162" + "!.viam.app.packages.v1.PackageTypeR\004type" + "\022 \n\013description\030\003 \001(\tR\013description\0227\n\nvi" + "sibility\030\004 \001(\0162\027.viam.app.v1.VisibilityR" + "\nvisibility\022\025\n\003url\030\005 \001(\tH\001R\003url\210\001\001\022Y\n\026up" + "date_module_metadata\030\006 \001(\0132!.viam.app.v1" + ".UpdateModuleMetadataH\000R\024updateModuleMet" + "adata\022]\n\030update_ml_model_metadata\030\007 \001(\0132" + "\".viam.app.v1.UpdateMLModelMetadataH\000R\025u" + "pdateMlModelMetadata\022f\n\033update_ml_traini" + "ng_metadata\030\010 \001(\0132%.viam.app.v1.UpdateML" + "TrainingMetadataH\000R\030updateMlTrainingMeta" + "data\0226\n\024markdown_description\030\t \001(\tH\002R\023ma" + "rkdownDescription\210\001\001B\n\n\010metadataB\006\n\004_url" + "B\027\n\025_markdown_description\"\034\n\032UpdateRegis" + "tryItemResponse\"\261\004\n\030ListRegistryItemsReq" + "uest\022,\n\017organization_id\030\001 \001(\tH\000R\016organiz" + "ationId\210\001\001\0227\n\005types\030\002 \003(\0162!.viam.app.pac" + "kages.v1.PackageTypeR\005types\022;\n\014visibilit" + "ies\030\003 \003(\0162\027.viam.app.v1.VisibilityR\014visi" + "bilities\022\034\n\tplatforms\030\004 \003(\tR\tplatforms\022;" + "\n\010statuses\030\005 \003(\0162\037.viam.app.v1.RegistryI" + "temStatusR\010statuses\022$\n\013search_term\030\006 \001(\t" + "H\001R\nsearchTerm\210\001\001\022\"\n\npage_token\030\007 \001(\tH\002R" + "\tpageToken\210\001\001\022+\n\021public_namespaces\030\010 \003(\t" + "R\020publicNamespaces\022I\n\036include_markdown_d" + "ocumentation\030\t \001(\010H\003R\034includeMarkdownDoc" + "umentation\210\001\001B\022\n\020_organization_idB\016\n\014_se" + "arch_termB\r\n\013_page_tokenB!\n\037_include_mar" + "kdown_documentation\"L\n\031ListRegistryItems" + "Response\022/\n\005items\030\001 \003(\0132\031.viam.app.v1.Re" + "gistryItemR\005items\"4\n\031DeleteRegistryItemR" + "equest\022\027\n\007item_id\030\001 \001(\tR\006itemId\"\034\n\032Delet" + "eRegistryItemResponse\"O\n\031RenameRegistryI" + "temRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\022\031\n\010n" + "ew_name\030\002 \001(\tR\007newName\"K\n\032RenameRegistry" + "ItemResponse\022-\n\004item\030\001 \001(\0132\031.viam.app.v1" + ".RegistryItemR\004item\"h\n\033TransferRegistryI" + "temRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\0220\n\024n" + "ew_public_namespace\030\002 \001(\tR\022newPublicName" + "space\"\036\n\034TransferRegistryItemResponse\"R\n" + "\023CreateModuleRequest\022\'\n\017organization_id\030" + "\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(\tR\004nam" + "e\"E\n\024CreateModuleResponse\022\033\n\tmodule_id\030\001" + " \001(\tR\010moduleId\022\020\n\003url\030\002 \001(\tR\003url\"\222\003\n\023Upd" + "ateModuleRequest\022\033\n\tmodule_id\030\001 \001(\tR\010mod" + "uleId\0227\n\nvisibility\030\002 \001(\0162\027.viam.app.v1." + "VisibilityR\nvisibility\022\020\n\003url\030\003 \001(\tR\003url" + "\022 \n\013description\030\004 \001(\tR\013description\022*\n\006mo" + "dels\030\005 \003(\0132\022.viam.app.v1.ModelR\006models\022\036" + "\n\nentrypoint\030\006 \001(\tR\nentrypoint\022 \n\tfirst_" + "run\030\007 \001(\tH\000R\010firstRun\210\001\001\022$\n\004apps\030\010 \003(\0132\020" + ".viam.app.v1.AppR\004apps\0226\n\024markdown_descr" + "iption\030\t \001(\tH\001R\023markdownDescription\210\001\001B\014" + "\n\n_first_runB\027\n\025_markdown_description\"M\n" + "\003App\022\022\n\004name\030\001 \001(\tR\004name\022\022\n\004type\030\002 \001(\tR\004" + "type\022\036\n\nentrypoint\030\003 \001(\tR\nentrypoint\"(\n\024" + "UpdateModuleResponse\022\020\n\003url\030\001 \001(\tR\003url\"b" + "\n\024UpdateModuleMetadata\022*\n\006models\030\001 \003(\0132\022" + ".viam.app.v1.ModelR\006models\022\036\n\nentrypoint" + "\030\002 \001(\tR\nentrypoint\"\252\001\n\025UpdateMLModelMeta" + "data\022@\n\nmodel_type\030\001 \001(\0162!.viam.app.mltr" + "aining.v1.ModelTypeR\tmodelType\022O\n\017model_" + "framework\030\002 \001(\0162&.viam.app.mltraining.v1" + ".ModelFrameworkR\016modelFramework\"\303\001\n\030Upda" + "teMLTrainingMetadata\022@\n\nmodel_type\030\001 \001(\016" + "2!.viam.app.mltraining.v1.ModelTypeR\tmod" + "elType\022O\n\017model_framework\030\002 \001(\0162&.viam.a" + "pp.mltraining.v1.ModelFrameworkR\016modelFr" + "amework\022\024\n\005draft\030\003 \001(\010R\005draft\"\354\001\n\005Model\022" + "\020\n\003api\030\001 \001(\tR\003api\022\024\n\005model\030\002 \001(\tR\005model\022" + ":\n\026markdown_documentation\030\003 \001(\tH\000R\025markd" + "ownDocumentation\210\001\001\022%\n\013description\030\004 \001(\t" + "H\001R\013description\210\001\001\022-\n\022supported_hardware" + "\030\005 \003(\tR\021supportedHardwareB\031\n\027_markdown_d" + "ocumentationB\016\n\014_description\"\210\001\n\016ModuleF" + "ileInfo\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\022\030\n\007" + "version\030\002 \001(\tR\007version\022\032\n\010platform\030\003 \001(\t" + "R\010platform\022#\n\rplatform_tags\030\005 \003(\tR\014platf" + "ormTags\"\207\001\n\027UploadModuleFileRequest\022G\n\020m" + "odule_file_info\030\001 \001(\0132\033.viam.app.v1.Modu" + "leFileInfoH\000R\016moduleFileInfo\022\024\n\004file\030\002 \001" + "(\014H\000R\004fileB\r\n\013module_file\",\n\030UploadModul" + "eFileResponse\022\020\n\003url\030\001 \001(\tR\003url\"\235\001\n\020GetM" + "oduleRequest\022\033\n\tmodule_id\030\001 \001(\tR\010moduleI" + "d\022I\n\036include_markdown_documentation\030\002 \001(" + "\010H\000R\034includeMarkdownDocumentation\210\001\001B!\n\037" + "_include_markdown_documentation\"@\n\021GetMo" + "duleResponse\022+\n\006module\030\001 \001(\0132\023.viam.app." + "v1.ModuleR\006module\"\346\004\n\006Module\022\033\n\tmodule_i" + "d\030\001 \001(\tR\010moduleId\022\022\n\004name\030\002 \001(\tR\004name\0227\n" + "\nvisibility\030\003 \001(\0162\027.viam.app.v1.Visibili" + "tyR\nvisibility\0227\n\010versions\030\004 \003(\0132\033.viam." + "app.v1.VersionHistoryR\010versions\022\020\n\003url\030\005" + " \001(\tR\003url\022 \n\013description\030\006 \001(\tR\013descript" + "ion\022*\n\006models\030\007 \003(\0132\022.viam.app.v1.ModelR" + "\006models\022*\n\021total_robot_usage\030\010 \001(\003R\017tota" + "lRobotUsage\0228\n\030total_organization_usage\030" + "\t \001(\003R\026totalOrganizationUsage\022\'\n\017organiz" + "ation_id\030\n \001(\tR\016organizationId\022\036\n\nentryp" + "oint\030\013 \001(\tR\nentrypoint\022)\n\020public_namespa" + "ce\030\014 \001(\tR\017publicNamespace\022 \n\tfirst_run\030\r" + " \001(\tH\000R\010firstRun\210\001\001\0226\n\024markdown_descript" + "ion\030\016 \001(\tH\001R\023markdownDescription\210\001\001B\014\n\n_" + "first_runB\027\n\025_markdown_description\"\243\002\n\016V" + "ersionHistory\022\030\n\007version\030\001 \001(\tR\007version\022" + "*\n\005files\030\002 \003(\0132\024.viam.app.v1.UploadsR\005fi" + "les\022*\n\006models\030\003 \003(\0132\022.viam.app.v1.ModelR" + "\006models\022\036\n\nentrypoint\030\004 \001(\tR\nentrypoint\022" + " \n\tfirst_run\030\005 \001(\tH\000R\010firstRun\210\001\001\0226\n\024mar" + "kdown_description\030\006 \001(\tH\001R\023markdownDescr" + "iption\210\001\001B\014\n\n_first_runB\027\n\025_markdown_des" + "cription\"b\n\007Uploads\022\032\n\010platform\030\001 \001(\tR\010p" + "latform\022;\n\013uploaded_at\030\002 \001(\0132\032.google.pr" + "otobuf.TimestampR\nuploadedAt\"\304\001\n\022ListMod" + "ulesRequest\022,\n\017organization_id\030\001 \001(\tH\000R\016" + "organizationId\210\001\001\022I\n\036include_markdown_do" + "cumentation\030\002 \001(\010H\001R\034includeMarkdownDocu" + "mentation\210\001\001B\022\n\020_organization_idB!\n\037_inc" + "lude_markdown_documentation\"D\n\023ListModul" + "esResponse\022-\n\007modules\030\001 \003(\0132\023.viam.app.v" + "1.ModuleR\007modules\"/\n\027GetUserIDByEmailReq" + "uest\022\024\n\005email\030\001 \001(\tR\005email\"3\n\030GetUserIDB" + "yEmailResponse\022\027\n\007user_id\030\001 \001(\tR\006userId\"" + "9\n\036ListOrganizationsByUserRequest\022\027\n\007use" + "r_id\030\001 \001(\tR\006userId\"\346\001\n\nOrgDetails\022\025\n\006org" + "_id\030\001 \001(\tR\005orgId\022\031\n\010org_name\030\002 \001(\tR\007orgN" + "ame\022\034\n\007org_cid\030\003 \001(\tH\000R\006orgCid\210\001\001\022.\n\020pub" + "lic_namespace\030\004 \001(\tH\001R\017publicNamespace\210\001" + "\001\022&\n\014billing_tier\030\005 \001(\tH\002R\013billingTier\210\001" + "\001B\n\n\010_org_cidB\023\n\021_public_namespaceB\017\n\r_b" + "illing_tier\"N\n\037ListOrganizationsByUserRe" + "sponse\022+\n\004orgs\030\001 \003(\0132\027.viam.app.v1.OrgDe" + "tailsR\004orgs\"\324\001\n\032SearchOrganizationsReque" + "st\022\032\n\006org_id\030\001 \001(\tH\000R\005orgId\210\001\001\022\036\n\010org_na" + "me\030\002 \001(\tH\001R\007orgName\210\001\001\022\025\n\003cid\030\003 \001(\tH\002R\003c" + "id\210\001\001\022.\n\020public_namespace\030\004 \001(\tH\003R\017publi" + "cNamespace\210\001\001B\t\n\007_org_idB\013\n\t_org_nameB\006\n" + "\004_cidB\023\n\021_public_namespace\"\\\n\033SearchOrga" + "nizationsResponse\022=\n\rorganizations\030\001 \003(\013" + "2\027.viam.app.v1.OrgDetailsR\rorganizations" + "\"j\n\020CreateKeyRequest\022B\n\016authorizations\030\001" + " \003(\0132\032.viam.app.v1.AuthorizationR\016author" + "izations\022\022\n\004name\030\002 \001(\tR\004name\"5\n\021CreateKe" + "yResponse\022\020\n\003key\030\001 \001(\tR\003key\022\016\n\002id\030\002 \001(\tR" + "\002id\"\"\n\020DeleteKeyRequest\022\016\n\002id\030\001 \001(\tR\002id\"" + "\023\n\021DeleteKeyResponse\"6\n\020RenameKeyRequest" + "\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\"7\n\021" + "RenameKeyResponse\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004nam" + "e\030\002 \001(\tR\004name\"\315\001\n\024AuthorizationDetails\022-" + "\n\022authorization_type\030\001 \001(\tR\021authorizatio" + "nType\022)\n\020authorization_id\030\002 \001(\tR\017authori" + "zationId\022#\n\rresource_type\030\003 \001(\tR\014resourc" + "eType\022\037\n\013resource_id\030\004 \001(\tR\nresourceId\022\025" + "\n\006org_id\030\005 \001(\tR\005orgId\"\223\001\n\030APIKeyWithAuth" + "orizations\022,\n\007api_key\030\001 \001(\0132\023.viam.app.v" + "1.APIKeyR\006apiKey\022I\n\016authorizations\030\002 \003(\013" + "2!.viam.app.v1.AuthorizationDetailsR\016aut" + "horizations\"(\n\017ListKeysRequest\022\025\n\006org_id" + "\030\001 \001(\tR\005orgId\"T\n\020ListKeysResponse\022@\n\010api" + "_keys\030\001 \003(\0132%.viam.app.v1.APIKeyWithAuth" + "orizationsR\007apiKeys\"\"\n\020RotateKeyRequest\022" + "\016\n\002id\030\001 \001(\tR\002id\"5\n\021RotateKeyResponse\022\016\n\002" + "id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001(\tR\003key\"\?\n-Create" + "KeyFromExistingKeyAuthorizationsRequest\022" + "\016\n\002id\030\001 \001(\tR\002id\"R\n.CreateKeyFromExisting" + "KeyAuthorizationsResponse\022\016\n\002id\030\001 \001(\tR\002i" + "d\022\020\n\003key\030\002 \001(\tR\003key\"U\n\024GetAppContentRequ" + "est\022)\n\020public_namespace\030\001 \001(\tR\017publicNam" + "espace\022\022\n\004name\030\002 \001(\tR\004name\"T\n\025GetAppCont" + "entResponse\022\033\n\tblob_path\030\001 \001(\tR\010blobPath" + "\022\036\n\nentrypoint\030\002 \001(\tR\nentrypoint\"G\n\032Orga" + "nizationSetLogoRequest\022\025\n\006org_id\030\001 \001(\tR\005" + "orgId\022\022\n\004logo\030\002 \001(\014R\004logo\"\035\n\033Organizatio" + "nSetLogoResponse\"3\n\032OrganizationGetLogoR" + "equest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"/\n\033Organiz" + "ationGetLogoResponse\022\020\n\003url\030\001 \001(\tR\003url\"1" + "\n\030EnableAuthServiceRequest\022\025\n\006org_id\030\001 \001" + "(\tR\005orgId\"\033\n\031EnableAuthServiceResponse\"2" + "\n\031DisableAuthServiceRequest\022\025\n\006org_id\030\001 " + "\001(\tR\005orgId\"\034\n\032DisableAuthServiceResponse" + "\"\214\001\n\025CreateOAuthAppRequest\022\025\n\006org_id\030\001 \001" + "(\tR\005orgId\022\037\n\013client_name\030\002 \001(\tR\nclientNa" + "me\022;\n\014oauth_config\030\003 \001(\0132\030.viam.app.v1.O" + "AuthConfigR\013oauthConfig\"Z\n\026CreateOAuthAp" + "pResponse\022\033\n\tclient_id\030\001 \001(\tR\010clientId\022#" + "\n\rclient_secret\030\002 \001(\tR\014clientSecret\"I\n\023R" + "eadOAuthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgI" + "d\022\033\n\tclient_id\030\002 \001(\tR\010clientId\"\231\001\n\024ReadO" + "AuthAppResponse\022\037\n\013client_name\030\001 \001(\tR\ncl" + "ientName\022#\n\rclient_secret\030\002 \001(\tR\014clientS" + "ecret\022;\n\014oauth_config\030\003 \001(\0132\030.viam.app.v" + "1.OAuthConfigR\013oauthConfig\"\251\001\n\025UpdateOAu" + "thAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\033\n\tc" + "lient_id\030\002 \001(\tR\010clientId\022\037\n\013client_name\030" + "\003 \001(\tR\nclientName\022;\n\014oauth_config\030\004 \001(\0132" + "\030.viam.app.v1.OAuthConfigR\013oauthConfig\"\030" + "\n\026UpdateOAuthAppResponse\"K\n\025DeleteOAuthA" + "ppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\033\n\tclie" + "nt_id\030\002 \001(\tR\010clientId\"\030\n\026DeleteOAuthAppR" + "esponse\"-\n\024ListOAuthAppsRequest\022\025\n\006org_i" + "d\030\001 \001(\tR\005orgId\"6\n\025ListOAuthAppsResponse\022" + "\035\n\nclient_ids\030\001 \003(\tR\tclientIds\"\366\002\n\013OAuth" + "Config\022V\n\025client_authentication\030\001 \001(\0162!." + "viam.app.v1.ClientAuthenticationR\024client" + "Authentication\022%\n\004pkce\030\002 \001(\0162\021.viam.app." + "v1.PKCER\004pkce\022A\n\016url_validation\030\003 \001(\0162\032." + "viam.app.v1.URLValidationR\rurlValidation" + "\022\037\n\013origin_uris\030\004 \003(\tR\noriginUris\022#\n\rred" + "irect_uris\030\005 \003(\tR\014redirectUris\022\035\n\nlogout" + "_uri\030\006 \001(\tR\tlogoutUri\022@\n\016enabled_grants\030" + "\007 \003(\0162\031.viam.app.v1.EnabledGrantR\renable" + "dGrants*\321\001\n\022AuthenticationType\022#\n\037AUTHEN" + "TICATION_TYPE_UNSPECIFIED\020\000\022!\n\035AUTHENTIC" + "ATION_TYPE_WEB_OAUTH\020\001\022\037\n\033AUTHENTICATION" + "_TYPE_API_KEY\020\002\022)\n%AUTHENTICATION_TYPE_R" + "OBOT_PART_SECRET\020\003\022\'\n#AUTHENTICATION_TYP" + "E_LOCATION_SECRET\020\004*\243\001\n\022FragmentVisibili" + "ty\022#\n\037FRAGMENT_VISIBILITY_UNSPECIFIED\020\000\022" + "\037\n\033FRAGMENT_VISIBILITY_PRIVATE\020\001\022\036\n\032FRAG" + "MENT_VISIBILITY_PUBLIC\020\002\022\'\n#FRAGMENT_VIS" + "IBILITY_PUBLIC_UNLISTED\020\003*\335\001\n\021FragmentEr" + "rorType\022#\n\037FRAGMENT_ERROR_TYPE_UNSPECIFI" + "ED\020\000\022!\n\035FRAGMENT_ERROR_TYPE_NO_ACCESS\020\001\022" + ".\n*FRAGMENT_ERROR_TYPE_NESTING_LIMIT_EXC" + "EEDED\020\002\022(\n$FRAGMENT_ERROR_TYPE_CHILD_ID_" + "INVALID\020\003\022&\n\"FRAGMENT_ERROR_TYPE_CYCLE_D" + "ETECTED\020\004*\207\001\n\022RegistryItemStatus\022$\n REGI" + "STRY_ITEM_STATUS_UNSPECIFIED\020\000\022\"\n\036REGIST" + "RY_ITEM_STATUS_PUBLISHED\020\001\022\'\n#REGISTRY_I" + "TEM_STATUS_IN_DEVELOPMENT\020\002*w\n\nVisibilit" + "y\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\026\n\022VISIBIL" + "ITY_PRIVATE\020\001\022\025\n\021VISIBILITY_PUBLIC\020\002\022\036\n\032" + "VISIBILITY_PUBLIC_UNLISTED\020\003*\301\001\n\024ClientA" + "uthentication\022%\n!CLIENT_AUTHENTICATION_U" + "NSPECIFIED\020\000\022\"\n\036CLIENT_AUTHENTICATION_RE" + "QUIRED\020\001\022&\n\"CLIENT_AUTHENTICATION_NOT_RE" + "QUIRED\020\002\0226\n2CLIENT_AUTHENTICATION_NOT_RE" + "QUIRED_WHEN_USING_PKCE\020\003*~\n\004PKCE\022\024\n\020PKCE" + "_UNSPECIFIED\020\000\022\021\n\rPKCE_REQUIRED\020\001\022\025\n\021PKC" + "E_NOT_REQUIRED\020\002\0226\n2PKCE_NOT_REQUIRED_WH" + "EN_USING_CLIENT_AUTHENTICATION\020\003*s\n\rURLV" + "alidation\022\036\n\032URL_VALIDATION_UNSPECIFIED\020" + "\000\022\036\n\032URL_VALIDATION_EXACT_MATCH\020\001\022\"\n\036URL" + "_VALIDATION_ALLOW_WILDCARDS\020\002*\313\001\n\014Enable" + "dGrant\022\035\n\031ENABLED_GRANT_UNSPECIFIED\020\000\022$\n" + " ENABLED_GRANT_AUTHORIZATION_CODE\020\001\022\032\n\026E" + "NABLED_GRANT_IMPLICIT\020\002\022\032\n\026ENABLED_GRANT" + "_PASSWORD\020\003\022\037\n\033ENABLED_GRANT_REFRESH_TOK" + "EN\020\004\022\035\n\031ENABLED_GRANT_DEVICE_CODE\020\0052\277Q\n\n" + "AppService\022_\n\020GetUserIDByEmail\022$.viam.ap" + "p.v1.GetUserIDByEmailRequest\032%.viam.app." + "v1.GetUserIDByEmailResponse\022e\n\022CreateOrg" + "anization\022&.viam.app.v1.CreateOrganizati" + "onRequest\032\'.viam.app.v1.CreateOrganizati" + "onResponse\022b\n\021ListOrganizations\022%.viam.a" + "pp.v1.ListOrganizationsRequest\032&.viam.ap" + "p.v1.ListOrganizationsResponse\022\233\001\n$GetOr" + "ganizationsWithAccessToLocation\0228.viam.a" + "pp.v1.GetOrganizationsWithAccessToLocati" + "onRequest\0329.viam.app.v1.GetOrganizations" + "WithAccessToLocationResponse\022t\n\027ListOrga" + "nizationsByUser\022+.viam.app.v1.ListOrgani" + "zationsByUserRequest\032,.viam.app.v1.ListO" + "rganizationsByUserResponse\022h\n\023SearchOrga" + "nizations\022\'.viam.app.v1.SearchOrganizati" + "onsRequest\032(.viam.app.v1.SearchOrganizat" + "ionsResponse\022\\\n\017GetOrganization\022#.viam.a" + "pp.v1.GetOrganizationRequest\032$.viam.app." + "v1.GetOrganizationResponse\022\233\001\n$GetOrgani" + "zationNamespaceAvailability\0228.viam.app.v" + "1.GetOrganizationNamespaceAvailabilityRe" + "quest\0329.viam.app.v1.GetOrganizationNames" + "paceAvailabilityResponse\022e\n\022UpdateOrgani" + "zation\022&.viam.app.v1.UpdateOrganizationR" + "equest\032\'.viam.app.v1.UpdateOrganizationR" + "esponse\022e\n\022DeleteOrganization\022&.viam.app" + ".v1.DeleteOrganizationRequest\032\'.viam.app" + ".v1.DeleteOrganizationResponse\022t\n\027GetOrg" + "anizationMetadata\022+.viam.app.v1.GetOrgan" + "izationMetadataRequest\032,.viam.app.v1.Get" + "OrganizationMetadataResponse\022}\n\032UpdateOr" + "ganizationMetadata\022..viam.app.v1.UpdateO" + "rganizationMetadataRequest\032/.viam.app.v1" + ".UpdateOrganizationMetadataResponse\022t\n\027L" + "istOrganizationMembers\022+.viam.app.v1.Lis" + "tOrganizationMembersRequest\032,.viam.app.v" + "1.ListOrganizationMembersResponse\022w\n\030Cre" + "ateOrganizationInvite\022,.viam.app.v1.Crea" + "teOrganizationInviteRequest\032-.viam.app.v" + "1.CreateOrganizationInviteResponse\022\241\001\n&U" + "pdateOrganizationInviteAuthorizations\022:." + "viam.app.v1.UpdateOrganizationInviteAuth" + "orizationsRequest\032;.viam.app.v1.UpdateOr" + "ganizationInviteAuthorizationsResponse\022w" + "\n\030DeleteOrganizationMember\022,.viam.app.v1" + ".DeleteOrganizationMemberRequest\032-.viam." + "app.v1.DeleteOrganizationMemberResponse\022" + "w\n\030DeleteOrganizationInvite\022,.viam.app.v" + "1.DeleteOrganizationInviteRequest\032-.viam" + ".app.v1.DeleteOrganizationInviteResponse" + "\022w\n\030ResendOrganizationInvite\022,.viam.app." + "v1.ResendOrganizationInviteRequest\032-.via" + "m.app.v1.ResendOrganizationInviteRespons" + "e\022k\n\024EnableBillingService\022(.viam.app.v1." + "EnableBillingServiceRequest\032).viam.app.v" + "1.EnableBillingServiceResponse\022n\n\025Disabl" + "eBillingService\022).viam.app.v1.DisableBil" + "lingServiceRequest\032*.viam.app.v1.Disable" + "BillingServiceResponse\022k\n\024UpdateBillingS" + "ervice\022(.viam.app.v1.UpdateBillingServic" + "eRequest\032).viam.app.v1.UpdateBillingServ" + "iceResponse\022t\n\027GetBillingServiceConfig\022+" + ".viam.app.v1.GetBillingServiceConfigRequ" + "est\032,.viam.app.v1.GetBillingServiceConfi" + "gResponse\022\200\001\n\033OrganizationSetSupportEmai" + "l\022/.viam.app.v1.OrganizationSetSupportEm" + "ailRequest\0320.viam.app.v1.OrganizationSet" + "SupportEmailResponse\022\200\001\n\033OrganizationGet" + "SupportEmail\022/.viam.app.v1.OrganizationG" + "etSupportEmailRequest\0320.viam.app.v1.Orga" + "nizationGetSupportEmailResponse\022h\n\023Organ" + "izationSetLogo\022\'.viam.app.v1.Organizatio" + "nSetLogoRequest\032(.viam.app.v1.Organizati" + "onSetLogoResponse\022h\n\023OrganizationGetLogo" + "\022\'.viam.app.v1.OrganizationGetLogoReques" + "t\032(.viam.app.v1.OrganizationGetLogoRespo" + "nse\022b\n\021EnableAuthService\022%.viam.app.v1.E" + "nableAuthServiceRequest\032&.viam.app.v1.En" + "ableAuthServiceResponse\022e\n\022DisableAuthSe" + "rvice\022&.viam.app.v1.DisableAuthServiceRe" + "quest\032\'.viam.app.v1.DisableAuthServiceRe" + "sponse\022Y\n\016CreateOAuthApp\022\".viam.app.v1.C" + "reateOAuthAppRequest\032#.viam.app.v1.Creat" + "eOAuthAppResponse\022S\n\014ReadOAuthApp\022 .viam" + ".app.v1.ReadOAuthAppRequest\032!.viam.app.v" + "1.ReadOAuthAppResponse\022Y\n\016UpdateOAuthApp" + "\022\".viam.app.v1.UpdateOAuthAppRequest\032#.v" + "iam.app.v1.UpdateOAuthAppResponse\022Y\n\016Del" + "eteOAuthApp\022\".viam.app.v1.DeleteOAuthApp" + "Request\032#.viam.app.v1.DeleteOAuthAppResp" + "onse\022V\n\rListOAuthApps\022!.viam.app.v1.List" + "OAuthAppsRequest\032\".viam.app.v1.ListOAuth" + "AppsResponse\022Y\n\016CreateLocation\022\".viam.ap" + "p.v1.CreateLocationRequest\032#.viam.app.v1" + ".CreateLocationResponse\022P\n\013GetLocation\022\037" + ".viam.app.v1.GetLocationRequest\032 .viam.a" + "pp.v1.GetLocationResponse\022Y\n\016UpdateLocat" + "ion\022\".viam.app.v1.UpdateLocationRequest\032" + "#.viam.app.v1.UpdateLocationResponse\022Y\n\016" + "DeleteLocation\022\".viam.app.v1.DeleteLocat" + "ionRequest\032#.viam.app.v1.DeleteLocationR" + "esponse\022h\n\023GetLocationMetadata\022\'.viam.ap" + "p.v1.GetLocationMetadataRequest\032(.viam.a" + "pp.v1.GetLocationMetadataResponse\022q\n\026Upd" + "ateLocationMetadata\022*.viam.app.v1.Update" + "LocationMetadataRequest\032+.viam.app.v1.Up" + "dateLocationMetadataResponse\022V\n\rListLoca" + "tions\022!.viam.app.v1.ListLocationsRequest" + "\032\".viam.app.v1.ListLocationsResponse\022V\n\r" + "ShareLocation\022!.viam.app.v1.ShareLocatio" + "nRequest\032\".viam.app.v1.ShareLocationResp" + "onse\022\\\n\017UnshareLocation\022#.viam.app.v1.Un" + "shareLocationRequest\032$.viam.app.v1.Unsha" + "reLocationResponse\022S\n\014LocationAuth\022 .via" + "m.app.v1.LocationAuthRequest\032!.viam.app." + "v1.LocationAuthResponse\022k\n\024CreateLocatio" + "nSecret\022(.viam.app.v1.CreateLocationSecr" + "etRequest\032).viam.app.v1.CreateLocationSe" + "cretResponse\022k\n\024DeleteLocationSecret\022(.v" + "iam.app.v1.DeleteLocationSecretRequest\032)" + ".viam.app.v1.DeleteLocationSecretRespons" + "e\022G\n\010GetRobot\022\034.viam.app.v1.GetRobotRequ" + "est\032\035.viam.app.v1.GetRobotResponse\022_\n\020Ge" + "tRobotMetadata\022$.viam.app.v1.GetRobotMet" + "adataRequest\032%.viam.app.v1.GetRobotMetad" + "ataResponse\022h\n\023UpdateRobotMetadata\022\'.via" + "m.app.v1.UpdateRobotMetadataRequest\032(.vi" + "am.app.v1.UpdateRobotMetadataResponse\022k\n" + "\024GetRoverRentalRobots\022(.viam.app.v1.GetR" + "overRentalRobotsRequest\032).viam.app.v1.Ge" + "tRoverRentalRobotsResponse\022V\n\rGetRobotPa" + "rts\022!.viam.app.v1.GetRobotPartsRequest\032\"" + ".viam.app.v1.GetRobotPartsResponse\022S\n\014Ge" + "tRobotPart\022 .viam.app.v1.GetRobotPartReq" + "uest\032!.viam.app.v1.GetRobotPartResponse\022" + "_\n\020GetRobotPartLogs\022$.viam.app.v1.GetRob" + "otPartLogsRequest\032%.viam.app.v1.GetRobot" + "PartLogsResponse\022d\n\021TailRobotPartLogs\022%." + "viam.app.v1.TailRobotPartLogsRequest\032&.v" + "iam.app.v1.TailRobotPartLogsResponse0\001\022h" + "\n\023GetRobotPartHistory\022\'.viam.app.v1.GetR" + "obotPartHistoryRequest\032(.viam.app.v1.Get" + "RobotPartHistoryResponse\022\\\n\017UpdateRobotP" + "art\022#.viam.app.v1.UpdateRobotPartRequest" + "\032$.viam.app.v1.UpdateRobotPartResponse\022S" + "\n\014NewRobotPart\022 .viam.app.v1.NewRobotPar" + "tRequest\032!.viam.app.v1.NewRobotPartRespo" + "nse\022\\\n\017DeleteRobotPart\022#.viam.app.v1.Del" + "eteRobotPartRequest\032$.viam.app.v1.Delete" + "RobotPartResponse\022k\n\024GetRobotPartMetadat" + "a\022(.viam.app.v1.GetRobotPartMetadataRequ" + "est\032).viam.app.v1.GetRobotPartMetadataRe" + "sponse\022t\n\027UpdateRobotPartMetadata\022+.viam" + ".app.v1.UpdateRobotPartMetadataRequest\032," + ".viam.app.v1.UpdateRobotPartMetadataResp" + "onse\022\\\n\017GetRobotAPIKeys\022#.viam.app.v1.Ge" + "tRobotAPIKeysRequest\032$.viam.app.v1.GetRo" + "botAPIKeysResponse\022Y\n\016MarkPartAsMain\022\".v" + "iam.app.v1.MarkPartAsMainRequest\032#.viam." + "app.v1.MarkPartAsMainResponse\022e\n\022MarkPar" + "tForRestart\022&.viam.app.v1.MarkPartForRes" + "tartRequest\032\'.viam.app.v1.MarkPartForRes" + "tartResponse\022n\n\025CreateRobotPartSecret\022)." + "viam.app.v1.CreateRobotPartSecretRequest" + "\032*.viam.app.v1.CreateRobotPartSecretResp" + "onse\022n\n\025DeleteRobotPartSecret\022).viam.app" + ".v1.DeleteRobotPartSecretRequest\032*.viam." + "app.v1.DeleteRobotPartSecretResponse\022M\n\n" + "ListRobots\022\036.viam.app.v1.ListRobotsReque" + "st\032\037.viam.app.v1.ListRobotsResponse\022G\n\010N" + "ewRobot\022\034.viam.app.v1.NewRobotRequest\032\035." + "viam.app.v1.NewRobotResponse\022P\n\013UpdateRo" + "bot\022\037.viam.app.v1.UpdateRobotRequest\032 .v" + "iam.app.v1.UpdateRobotResponse\022P\n\013Delete" + "Robot\022\037.viam.app.v1.DeleteRobotRequest\032 " + ".viam.app.v1.DeleteRobotResponse\022V\n\rList" + "Fragments\022!.viam.app.v1.ListFragmentsReq" + "uest\032\".viam.app.v1.ListFragmentsResponse" + "\022P\n\013GetFragment\022\037.viam.app.v1.GetFragmen" + "tRequest\032 .viam.app.v1.GetFragmentRespon" + "se\022Y\n\016CreateFragment\022\".viam.app.v1.Creat" + "eFragmentRequest\032#.viam.app.v1.CreateFra" + "gmentResponse\022Y\n\016UpdateFragment\022\".viam.a" + "pp.v1.UpdateFragmentRequest\032#.viam.app.v" + "1.UpdateFragmentResponse\022Y\n\016DeleteFragme" + "nt\022\".viam.app.v1.DeleteFragmentRequest\032#" + ".viam.app.v1.DeleteFragmentResponse\022h\n\023L" + "istNestedFragments\022\'.viam.app.v1.ListNes" + "tedFragmentsRequest\032(.viam.app.v1.ListNe" + "stedFragmentsResponse\022k\n\024ListMachineFrag" + "ments\022(.viam.app.v1.ListMachineFragments" + "Request\032).viam.app.v1.ListMachineFragmen" + "tsResponse\022k\n\024ListMachineSummaries\022(.via" + "m.app.v1.ListMachineSummariesRequest\032).v" + "iam.app.v1.ListMachineSummariesResponse\022" + "e\n\022GetFragmentHistory\022&.viam.app.v1.GetF" + "ragmentHistoryRequest\032\'.viam.app.v1.GetF" + "ragmentHistoryResponse\022_\n\020GetFragmentUsa" + "ge\022$.viam.app.v1.GetFragmentUsageRequest" + "\032%.viam.app.v1.GetFragmentUsageResponse\022" + "Y\n\016SetFragmentTag\022\".viam.app.v1.SetFragm" + "entTagRequest\032#.viam.app.v1.SetFragmentT" + "agResponse\022b\n\021DeleteFragmentTag\022%.viam.a" + "pp.v1.DeleteFragmentTagRequest\032&.viam.ap" + "p.v1.DeleteFragmentTagResponse\022D\n\007AddRol" + "e\022\033.viam.app.v1.AddRoleRequest\032\034.viam.ap" + "p.v1.AddRoleResponse\022M\n\nRemoveRole\022\036.via" + "m.app.v1.RemoveRoleRequest\032\037.viam.app.v1" + ".RemoveRoleResponse\022M\n\nChangeRole\022\036.viam" + ".app.v1.ChangeRoleRequest\032\037.viam.app.v1." + "ChangeRoleResponse\022e\n\022ListAuthorizations" + "\022&.viam.app.v1.ListAuthorizationsRequest" + "\032\'.viam.app.v1.ListAuthorizationsRespons" + "e\022_\n\020CheckPermissions\022$.viam.app.v1.Chec" + "kPermissionsRequest\032%.viam.app.v1.CheckP" + "ermissionsResponse\022\\\n\017GetRegistryItem\022#." + "viam.app.v1.GetRegistryItemRequest\032$.via" + "m.app.v1.GetRegistryItemResponse\022e\n\022Crea" + "teRegistryItem\022&.viam.app.v1.CreateRegis" + "tryItemRequest\032\'.viam.app.v1.CreateRegis" + "tryItemResponse\022e\n\022UpdateRegistryItem\022&." + "viam.app.v1.UpdateRegistryItemRequest\032\'." + "viam.app.v1.UpdateRegistryItemResponse\022b" + "\n\021ListRegistryItems\022%.viam.app.v1.ListRe" + "gistryItemsRequest\032&.viam.app.v1.ListReg" + "istryItemsResponse\022e\n\022DeleteRegistryItem" + "\022&.viam.app.v1.DeleteRegistryItemRequest" + "\032\'.viam.app.v1.DeleteRegistryItemRespons" + "e\022e\n\022RenameRegistryItem\022&.viam.app.v1.Re" + "nameRegistryItemRequest\032\'.viam.app.v1.Re" + "nameRegistryItemResponse\022k\n\024TransferRegi" + "stryItem\022(.viam.app.v1.TransferRegistryI" + "temRequest\032).viam.app.v1.TransferRegistr" + "yItemResponse\022S\n\014CreateModule\022 .viam.app" + ".v1.CreateModuleRequest\032!.viam.app.v1.Cr" + "eateModuleResponse\022S\n\014UpdateModule\022 .via" + "m.app.v1.UpdateModuleRequest\032!.viam.app." + "v1.UpdateModuleResponse\022a\n\020UploadModuleF" + "ile\022$.viam.app.v1.UploadModuleFileReques" + "t\032%.viam.app.v1.UploadModuleFileResponse" + "(\001\022J\n\tGetModule\022\035.viam.app.v1.GetModuleR" + "equest\032\036.viam.app.v1.GetModuleResponse\022P" + "\n\013ListModules\022\037.viam.app.v1.ListModulesR" + "equest\032 .viam.app.v1.ListModulesResponse" + "\022J\n\tCreateKey\022\035.viam.app.v1.CreateKeyReq" + "uest\032\036.viam.app.v1.CreateKeyResponse\022J\n\t" + "DeleteKey\022\035.viam.app.v1.DeleteKeyRequest" + "\032\036.viam.app.v1.DeleteKeyResponse\022G\n\010List" + "Keys\022\034.viam.app.v1.ListKeysRequest\032\035.via" + "m.app.v1.ListKeysResponse\022J\n\tRenameKey\022\035" + ".viam.app.v1.RenameKeyRequest\032\036.viam.app" + ".v1.RenameKeyResponse\022J\n\tRotateKey\022\035.via" + "m.app.v1.RotateKeyRequest\032\036.viam.app.v1." + "RotateKeyResponse\022\241\001\n&CreateKeyFromExist" + "ingKeyAuthorizations\022:.viam.app.v1.Creat" + "eKeyFromExistingKeyAuthorizationsRequest" + "\032;.viam.app.v1.CreateKeyFromExistingKeyA" + "uthorizationsResponse\022V\n\rGetAppContent\022!" + ".viam.app.v1.GetAppContentRequest\032\".viam" + ".app.v1.GetAppContentResponseB\030Z\026go.viam" + ".com/api/app/v1b\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2fapp_2eproto_deps[6] = { &::descriptor_table_app_2fmltraining_2fv1_2fml_5ftraining_2eproto, @@ -7247,9 +7361,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2fapp_2epr }; static ::_pbi::once_flag descriptor_table_app_2fv1_2fapp_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_app_2fv1_2fapp_2eproto = { - false, false, 43083, descriptor_table_protodef_app_2fv1_2fapp_2eproto, + false, false, 43863, descriptor_table_protodef_app_2fv1_2fapp_2eproto, "app/v1/app.proto", - &descriptor_table_app_2fv1_2fapp_2eproto_once, descriptor_table_app_2fv1_2fapp_2eproto_deps, 6, 255, + &descriptor_table_app_2fv1_2fapp_2eproto_once, descriptor_table_app_2fv1_2fapp_2eproto_deps, 6, 259, schemas, file_default_instances, TableStruct_app_2fv1_2fapp_2eproto::offsets, file_level_metadata_app_2fv1_2fapp_2eproto, file_level_enum_descriptors_app_2fv1_2fapp_2eproto, file_level_service_descriptors_app_2fv1_2fapp_2eproto, @@ -37844,43 +37958,46 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AdditionalFragment::GetMetadata() const { // =================================================================== -class ListMachineFragmentsRequest::_Internal { +class ListNestedFragmentsRequest::_Internal { public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_fragment_id(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; -ListMachineFragmentsRequest::ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListNestedFragmentsRequest::ListNestedFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - additional_fragment_ids_(arena), additional_fragments_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListNestedFragmentsRequest) } -ListMachineFragmentsRequest::ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from) +ListNestedFragmentsRequest::ListNestedFragmentsRequest(const ListNestedFragmentsRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - additional_fragment_ids_(from.additional_fragment_ids_), + _has_bits_(from._has_bits_), additional_fragments_(from.additional_fragments_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - machine_id_.InitDefault(); + fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - machine_id_.Set("", GetArenaForAllocation()); + fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_machine_id().empty()) { - machine_id_.Set(from._internal_machine_id(), + if (from._internal_has_fragment_id()) { + fragment_id_.Set(from._internal_fragment_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListNestedFragmentsRequest) } -inline void ListMachineFragmentsRequest::SharedCtor() { -machine_id_.InitDefault(); +inline void ListNestedFragmentsRequest::SharedCtor() { +fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - machine_id_.Set("", GetArenaForAllocation()); + fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsRequest) +ListNestedFragmentsRequest::~ListNestedFragmentsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListNestedFragmentsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -37888,68 +38005,517 @@ ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { SharedDtor(); } -inline void ListMachineFragmentsRequest::SharedDtor() { +inline void ListNestedFragmentsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - machine_id_.Destroy(); + fragment_id_.Destroy(); } -void ListMachineFragmentsRequest::SetCachedSize(int size) const { +void ListNestedFragmentsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListMachineFragmentsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsRequest) +void ListNestedFragmentsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListNestedFragmentsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - additional_fragment_ids_.Clear(); additional_fragments_.Clear(); - machine_id_.ClearToEmpty(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + fragment_id_.ClearNonDefaultToEmpty(); + } + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListMachineFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListNestedFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string machine_id = 1 [json_name = "machineId"]; + // optional string fragment_id = 1 [json_name = "fragmentId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_machine_id(); + auto str = _internal_mutable_fragment_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.machine_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListNestedFragmentsRequest.fragment_id")); } else goto handle_unusual; continue; - // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 2 [json_name = "additionalFragments"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr -= 1; do { ptr += 1; - auto str = _internal_add_additional_fragment_ids(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_add_additional_fragments(), ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids")); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); } else goto handle_unusual; continue; - // repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ListNestedFragmentsRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListNestedFragmentsRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // optional string fragment_id = 1 [json_name = "fragmentId"]; + if (_internal_has_fragment_id()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.ListNestedFragmentsRequest.fragment_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_fragment_id(), target); + } + + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 2 [json_name = "additionalFragments"]; + for (unsigned i = 0, + n = static_cast(this->_internal_additional_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_additional_fragments(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListNestedFragmentsRequest) + return target; +} + +size_t ListNestedFragmentsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListNestedFragmentsRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 2 [json_name = "additionalFragments"]; + total_size += 1UL * this->_internal_additional_fragments_size(); + for (const auto& msg : this->additional_fragments_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // optional string fragment_id = 1 [json_name = "fragmentId"]; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fragment_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListNestedFragmentsRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ListNestedFragmentsRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListNestedFragmentsRequest::GetClassData() const { return &_class_data_; } + +void ListNestedFragmentsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void ListNestedFragmentsRequest::MergeFrom(const ListNestedFragmentsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListNestedFragmentsRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + additional_fragments_.MergeFrom(from.additional_fragments_); + if (from._internal_has_fragment_id()) { + _internal_set_fragment_id(from._internal_fragment_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ListNestedFragmentsRequest::CopyFrom(const ListNestedFragmentsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListNestedFragmentsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ListNestedFragmentsRequest::IsInitialized() const { + return true; +} + +void ListNestedFragmentsRequest::InternalSwap(ListNestedFragmentsRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + additional_fragments_.InternalSwap(&other->additional_fragments_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ListNestedFragmentsRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, + file_level_metadata_app_2fv1_2fapp_2eproto[135]); +} + +// =================================================================== + +class ListNestedFragmentsResponse::_Internal { + public: +}; + +ListNestedFragmentsResponse::ListNestedFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + fragments_(arena), + resolved_fragments_(arena) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListNestedFragmentsResponse) +} +ListNestedFragmentsResponse::ListNestedFragmentsResponse(const ListNestedFragmentsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + fragments_(from.fragments_), + resolved_fragments_(from.resolved_fragments_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListNestedFragmentsResponse) +} + +inline void ListNestedFragmentsResponse::SharedCtor() { +} + +ListNestedFragmentsResponse::~ListNestedFragmentsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListNestedFragmentsResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ListNestedFragmentsResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void ListNestedFragmentsResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ListNestedFragmentsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListNestedFragmentsResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + fragments_.Clear(); + resolved_fragments_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ListNestedFragmentsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_additional_fragments(), ptr); + ptr = ctx->ParseMessage(_internal_add_fragments(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_resolved_fragments(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ListNestedFragmentsResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListNestedFragmentsResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + for (unsigned i = 0, + n = static_cast(this->_internal_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_fragments(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + for (unsigned i = 0, + n = static_cast(this->_internal_resolved_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_resolved_fragments(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListNestedFragmentsResponse) + return target; +} + +size_t ListNestedFragmentsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListNestedFragmentsResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + total_size += 1UL * this->_internal_fragments_size(); + for (const auto& msg : this->fragments_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + total_size += 1UL * this->_internal_resolved_fragments_size(); + for (const auto& msg : this->resolved_fragments_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListNestedFragmentsResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ListNestedFragmentsResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListNestedFragmentsResponse::GetClassData() const { return &_class_data_; } + +void ListNestedFragmentsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void ListNestedFragmentsResponse::MergeFrom(const ListNestedFragmentsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListNestedFragmentsResponse) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + fragments_.MergeFrom(from.fragments_); + resolved_fragments_.MergeFrom(from.resolved_fragments_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ListNestedFragmentsResponse::CopyFrom(const ListNestedFragmentsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListNestedFragmentsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ListNestedFragmentsResponse::IsInitialized() const { + return true; +} + +void ListNestedFragmentsResponse::InternalSwap(ListNestedFragmentsResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + fragments_.InternalSwap(&other->fragments_); + resolved_fragments_.InternalSwap(&other->resolved_fragments_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ListNestedFragmentsResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, + file_level_metadata_app_2fv1_2fapp_2eproto[136]); +} + +// =================================================================== + +class ListMachineFragmentsRequest::_Internal { + public: +}; + +ListMachineFragmentsRequest::ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + additional_fragment_ids_(arena), + additional_fragments_(arena) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsRequest) +} +ListMachineFragmentsRequest::ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + additional_fragment_ids_(from.additional_fragment_ids_), + additional_fragments_(from.additional_fragments_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + machine_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + machine_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_machine_id().empty()) { + machine_id_.Set(from._internal_machine_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsRequest) +} + +inline void ListMachineFragmentsRequest::SharedCtor() { +machine_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + machine_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ListMachineFragmentsRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + machine_id_.Destroy(); +} + +void ListMachineFragmentsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ListMachineFragmentsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + additional_fragment_ids_.Clear(); + additional_fragments_.Clear(); + machine_id_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ListMachineFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string machine_id = 1 [json_name = "machineId"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_machine_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.machine_id")); + } else + goto handle_unusual; + continue; + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_additional_fragment_ids(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_additional_fragments(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); } else goto handle_unusual; continue; @@ -38105,7 +38671,7 @@ void ListMachineFragmentsRequest::InternalSwap(ListMachineFragmentsRequest* othe ::PROTOBUF_NAMESPACE_ID::Metadata ListMachineFragmentsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[135]); + file_level_metadata_app_2fv1_2fapp_2eproto[137]); } // =================================================================== @@ -38316,7 +38882,7 @@ void ListMachineFragmentsResponse::InternalSwap(ListMachineFragmentsResponse* ot ::PROTOBUF_NAMESPACE_ID::Metadata ListMachineFragmentsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[136]); + file_level_metadata_app_2fv1_2fapp_2eproto[138]); } // =================================================================== @@ -38511,7 +39077,7 @@ void ListMachineSummariesRequest::InternalSwap(ListMachineSummariesRequest* othe ::PROTOBUF_NAMESPACE_ID::Metadata ListMachineSummariesRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[137]); + file_level_metadata_app_2fv1_2fapp_2eproto[139]); } // =================================================================== @@ -38689,7 +39255,7 @@ void ListMachineSummariesResponse::InternalSwap(ListMachineSummariesResponse* ot ::PROTOBUF_NAMESPACE_ID::Metadata ListMachineSummariesResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[138]); + file_level_metadata_app_2fv1_2fapp_2eproto[140]); } // =================================================================== @@ -38965,7 +39531,7 @@ void LocationSummary::InternalSwap(LocationSummary* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LocationSummary::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[139]); + file_level_metadata_app_2fv1_2fapp_2eproto[141]); } // =================================================================== @@ -39241,7 +39807,7 @@ void MachineSummary::InternalSwap(MachineSummary* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MachineSummary::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[140]); + file_level_metadata_app_2fv1_2fapp_2eproto[142]); } // =================================================================== @@ -39484,7 +40050,7 @@ void FragmentSummary::InternalSwap(FragmentSummary* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FragmentSummary::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[141]); + file_level_metadata_app_2fv1_2fapp_2eproto[143]); } // =================================================================== @@ -39741,7 +40307,7 @@ void ViamServerVersion::InternalSwap(ViamServerVersion* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ViamServerVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[142]); + file_level_metadata_app_2fv1_2fapp_2eproto[144]); } // =================================================================== @@ -39998,7 +40564,7 @@ void ViamAgentVersion::InternalSwap(ViamAgentVersion* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ViamAgentVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[143]); + file_level_metadata_app_2fv1_2fapp_2eproto[145]); } // =================================================================== @@ -40591,7 +41157,7 @@ void PartSummary::InternalSwap(PartSummary* other) { ::PROTOBUF_NAMESPACE_ID::Metadata PartSummary::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[144]); + file_level_metadata_app_2fv1_2fapp_2eproto[146]); } // =================================================================== @@ -40769,7 +41335,7 @@ void ListRobotsResponse::InternalSwap(ListRobotsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListRobotsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[145]); + file_level_metadata_app_2fv1_2fapp_2eproto[147]); } // =================================================================== @@ -41012,7 +41578,7 @@ void NewRobotRequest::InternalSwap(NewRobotRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata NewRobotRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[146]); + file_level_metadata_app_2fv1_2fapp_2eproto[148]); } // =================================================================== @@ -41207,7 +41773,7 @@ void NewRobotResponse::InternalSwap(NewRobotResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata NewRobotResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[147]); + file_level_metadata_app_2fv1_2fapp_2eproto[149]); } // =================================================================== @@ -41498,7 +42064,7 @@ void UpdateRobotRequest::InternalSwap(UpdateRobotRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[148]); + file_level_metadata_app_2fv1_2fapp_2eproto[150]); } // =================================================================== @@ -41685,7 +42251,7 @@ void UpdateRobotResponse::InternalSwap(UpdateRobotResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[149]); + file_level_metadata_app_2fv1_2fapp_2eproto[151]); } // =================================================================== @@ -41880,7 +42446,7 @@ void DeleteRobotRequest::InternalSwap(DeleteRobotRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[150]); + file_level_metadata_app_2fv1_2fapp_2eproto[152]); } // =================================================================== @@ -41919,7 +42485,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotResponse::GetClassD ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[151]); + file_level_metadata_app_2fv1_2fapp_2eproto[153]); } // =================================================================== @@ -42114,7 +42680,7 @@ void GetRobotMetadataRequest::InternalSwap(GetRobotMetadataRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetRobotMetadataRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[152]); + file_level_metadata_app_2fv1_2fapp_2eproto[154]); } // =================================================================== @@ -42307,7 +42873,7 @@ void GetRobotMetadataResponse::InternalSwap(GetRobotMetadataResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetRobotMetadataResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[153]); + file_level_metadata_app_2fv1_2fapp_2eproto[155]); } // =================================================================== @@ -42550,7 +43116,7 @@ void UpdateRobotMetadataRequest::InternalSwap(UpdateRobotMetadataRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotMetadataRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[154]); + file_level_metadata_app_2fv1_2fapp_2eproto[156]); } // =================================================================== @@ -42589,7 +43155,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotMetadataResponse::G ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotMetadataResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[155]); + file_level_metadata_app_2fv1_2fapp_2eproto[157]); } // =================================================================== @@ -42784,7 +43350,7 @@ void MarkPartAsMainRequest::InternalSwap(MarkPartAsMainRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartAsMainRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[156]); + file_level_metadata_app_2fv1_2fapp_2eproto[158]); } // =================================================================== @@ -42823,7 +43389,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MarkPartAsMainResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartAsMainResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[157]); + file_level_metadata_app_2fv1_2fapp_2eproto[159]); } // =================================================================== @@ -43018,7 +43584,7 @@ void MarkPartForRestartRequest::InternalSwap(MarkPartForRestartRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartForRestartRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[158]); + file_level_metadata_app_2fv1_2fapp_2eproto[160]); } // =================================================================== @@ -43057,7 +43623,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MarkPartForRestartResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartForRestartResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[159]); + file_level_metadata_app_2fv1_2fapp_2eproto[161]); } // =================================================================== @@ -43252,7 +43818,7 @@ void CreateRobotPartSecretRequest::InternalSwap(CreateRobotPartSecretRequest* ot ::PROTOBUF_NAMESPACE_ID::Metadata CreateRobotPartSecretRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[160]); + file_level_metadata_app_2fv1_2fapp_2eproto[162]); } // =================================================================== @@ -43439,7 +44005,7 @@ void CreateRobotPartSecretResponse::InternalSwap(CreateRobotPartSecretResponse* ::PROTOBUF_NAMESPACE_ID::Metadata CreateRobotPartSecretResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[161]); + file_level_metadata_app_2fv1_2fapp_2eproto[163]); } // =================================================================== @@ -43682,7 +44248,7 @@ void DeleteRobotPartSecretRequest::InternalSwap(DeleteRobotPartSecretRequest* ot ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartSecretRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[162]); + file_level_metadata_app_2fv1_2fapp_2eproto[164]); } // =================================================================== @@ -43721,7 +44287,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotPartSecretResponse: ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartSecretResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[163]); + file_level_metadata_app_2fv1_2fapp_2eproto[165]); } // =================================================================== @@ -44204,7 +44770,7 @@ void Authorization::InternalSwap(Authorization* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Authorization::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[164]); + file_level_metadata_app_2fv1_2fapp_2eproto[166]); } // =================================================================== @@ -44391,7 +44957,7 @@ void AddRoleRequest::InternalSwap(AddRoleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddRoleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[165]); + file_level_metadata_app_2fv1_2fapp_2eproto[167]); } // =================================================================== @@ -44430,7 +44996,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AddRoleResponse::GetClassData( ::PROTOBUF_NAMESPACE_ID::Metadata AddRoleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[166]); + file_level_metadata_app_2fv1_2fapp_2eproto[168]); } // =================================================================== @@ -44617,7 +45183,7 @@ void RemoveRoleRequest::InternalSwap(RemoveRoleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RemoveRoleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[167]); + file_level_metadata_app_2fv1_2fapp_2eproto[169]); } // =================================================================== @@ -44656,7 +45222,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RemoveRoleResponse::GetClassDa ::PROTOBUF_NAMESPACE_ID::Metadata RemoveRoleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[168]); + file_level_metadata_app_2fv1_2fapp_2eproto[170]); } // =================================================================== @@ -44891,7 +45457,7 @@ void ChangeRoleRequest::InternalSwap(ChangeRoleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ChangeRoleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[169]); + file_level_metadata_app_2fv1_2fapp_2eproto[171]); } // =================================================================== @@ -44930,7 +45496,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeRoleResponse::GetClassDa ::PROTOBUF_NAMESPACE_ID::Metadata ChangeRoleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[170]); + file_level_metadata_app_2fv1_2fapp_2eproto[172]); } // =================================================================== @@ -45163,7 +45729,7 @@ void ListAuthorizationsRequest::InternalSwap(ListAuthorizationsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListAuthorizationsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[171]); + file_level_metadata_app_2fv1_2fapp_2eproto[173]); } // =================================================================== @@ -45341,7 +45907,7 @@ void ListAuthorizationsResponse::InternalSwap(ListAuthorizationsResponse* other) ::PROTOBUF_NAMESPACE_ID::Metadata ListAuthorizationsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[172]); + file_level_metadata_app_2fv1_2fapp_2eproto[174]); } // =================================================================== @@ -45519,7 +46085,7 @@ void CheckPermissionsRequest::InternalSwap(CheckPermissionsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CheckPermissionsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[173]); + file_level_metadata_app_2fv1_2fapp_2eproto[175]); } // =================================================================== @@ -45800,7 +46366,7 @@ void AuthorizedPermissions::InternalSwap(AuthorizedPermissions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AuthorizedPermissions::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[174]); + file_level_metadata_app_2fv1_2fapp_2eproto[176]); } // =================================================================== @@ -45978,7 +46544,7 @@ void CheckPermissionsResponse::InternalSwap(CheckPermissionsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CheckPermissionsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[175]); + file_level_metadata_app_2fv1_2fapp_2eproto[177]); } // =================================================================== @@ -45989,6 +46555,9 @@ class ModuleVersion::_Internal { static void set_has_first_run(HasBits* has_bits) { (*has_bits)[0] |= 1u; } + static void set_has_markdown_description(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } }; ModuleVersion::ModuleVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, @@ -46029,6 +46598,14 @@ ModuleVersion::ModuleVersion(const ModuleVersion& from) first_run_.Set(from._internal_first_run(), GetArenaForAllocation()); } + markdown_description_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + markdown_description_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_markdown_description()) { + markdown_description_.Set(from._internal_markdown_description(), + GetArenaForAllocation()); + } // @@protoc_insertion_point(copy_constructor:viam.app.v1.ModuleVersion) } @@ -46045,6 +46622,10 @@ first_run_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING first_run_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +markdown_description_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + markdown_description_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ModuleVersion::~ModuleVersion() { @@ -46061,6 +46642,7 @@ inline void ModuleVersion::SharedDtor() { version_.Destroy(); entrypoint_.Destroy(); first_run_.Destroy(); + markdown_description_.Destroy(); } void ModuleVersion::SetCachedSize(int size) const { @@ -46078,8 +46660,13 @@ void ModuleVersion::Clear() { version_.ClearToEmpty(); entrypoint_.ClearToEmpty(); cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - first_run_.ClearNonDefaultToEmpty(); + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + first_run_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + markdown_description_.ClearNonDefaultToEmpty(); + } } _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); @@ -46148,6 +46735,16 @@ const char* ModuleVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // optional string markdown_description = 6 [json_name = "markdownDescription"]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_markdown_description(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ModuleVersion.markdown_description")); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -46224,6 +46821,16 @@ uint8_t* ModuleVersion::_InternalSerialize( 5, this->_internal_first_run(), target); } + // optional string markdown_description = 6 [json_name = "markdownDescription"]; + if (_internal_has_markdown_description()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_markdown_description().data(), static_cast(this->_internal_markdown_description().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.ModuleVersion.markdown_description"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_markdown_description(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -46268,14 +46875,23 @@ size_t ModuleVersion::ByteSizeLong() const { this->_internal_entrypoint()); } - // optional string first_run = 5 [json_name = "firstRun"]; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_first_run()); - } + if (cached_has_bits & 0x00000003u) { + // optional string first_run = 5 [json_name = "firstRun"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_first_run()); + } + + // optional string markdown_description = 6 [json_name = "markdownDescription"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_markdown_description()); + } + } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -46306,8 +46922,14 @@ void ModuleVersion::MergeFrom(const ModuleVersion& from) { if (!from._internal_entrypoint().empty()) { _internal_set_entrypoint(from._internal_entrypoint()); } - if (from._internal_has_first_run()) { - _internal_set_first_run(from._internal_first_run()); + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_first_run(from._internal_first_run()); + } + if (cached_has_bits & 0x00000002u) { + _internal_set_markdown_description(from._internal_markdown_description()); + } } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -46343,12 +46965,16 @@ void ModuleVersion::InternalSwap(ModuleVersion* other) { &first_run_, lhs_arena, &other->first_run_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &markdown_description_, lhs_arena, + &other->markdown_description_, rhs_arena + ); } ::PROTOBUF_NAMESPACE_ID::Metadata ModuleVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[176]); + file_level_metadata_app_2fv1_2fapp_2eproto[178]); } // =================================================================== @@ -46730,7 +47356,7 @@ void ModuleMetadata::InternalSwap(ModuleMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModuleMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[177]); + file_level_metadata_app_2fv1_2fapp_2eproto[179]); } // =================================================================== @@ -46979,7 +47605,7 @@ void MLModelMetadata::InternalSwap(MLModelMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MLModelMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[178]); + file_level_metadata_app_2fv1_2fapp_2eproto[180]); } // =================================================================== @@ -47222,7 +47848,7 @@ void MLTrainingVersion::InternalSwap(MLTrainingVersion* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MLTrainingVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[179]); + file_level_metadata_app_2fv1_2fapp_2eproto[181]); } // =================================================================== @@ -47488,7 +48114,7 @@ void MLTrainingMetadata::InternalSwap(MLTrainingMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MLTrainingMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[180]); + file_level_metadata_app_2fv1_2fapp_2eproto[182]); } // =================================================================== @@ -48371,7 +48997,7 @@ void RegistryItem::InternalSwap(RegistryItem* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RegistryItem::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[181]); + file_level_metadata_app_2fv1_2fapp_2eproto[183]); } // =================================================================== @@ -48603,7 +49229,7 @@ void GetRegistryItemRequest::InternalSwap(GetRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[182]); + file_level_metadata_app_2fv1_2fapp_2eproto[184]); } // =================================================================== @@ -48790,7 +49416,7 @@ void GetRegistryItemResponse::InternalSwap(GetRegistryItemResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[183]); + file_level_metadata_app_2fv1_2fapp_2eproto[185]); } // =================================================================== @@ -49062,7 +49688,7 @@ void CreateRegistryItemRequest::InternalSwap(CreateRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[184]); + file_level_metadata_app_2fv1_2fapp_2eproto[186]); } // =================================================================== @@ -49101,7 +49727,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateRegistryItemResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata CreateRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[185]); + file_level_metadata_app_2fv1_2fapp_2eproto[187]); } // =================================================================== @@ -49733,7 +50359,7 @@ void UpdateRegistryItemRequest::InternalSwap(UpdateRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[186]); + file_level_metadata_app_2fv1_2fapp_2eproto[188]); } // =================================================================== @@ -49772,7 +50398,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRegistryItemResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[187]); + file_level_metadata_app_2fv1_2fapp_2eproto[189]); } // =================================================================== @@ -50329,7 +50955,7 @@ void ListRegistryItemsRequest::InternalSwap(ListRegistryItemsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListRegistryItemsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[188]); + file_level_metadata_app_2fv1_2fapp_2eproto[190]); } // =================================================================== @@ -50507,7 +51133,7 @@ void ListRegistryItemsResponse::InternalSwap(ListRegistryItemsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListRegistryItemsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[189]); + file_level_metadata_app_2fv1_2fapp_2eproto[191]); } // =================================================================== @@ -50610,9 +51236,267 @@ const char* DeleteRegistryItemRequest::_InternalParse(const char* ptr, ::_pbi::P #undef CHK_ } -uint8_t* DeleteRegistryItemRequest::_InternalSerialize( +uint8_t* DeleteRegistryItemRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteRegistryItemRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string item_id = 1 [json_name = "itemId"]; + if (!this->_internal_item_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item_id().data(), static_cast(this->_internal_item_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.DeleteRegistryItemRequest.item_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_item_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteRegistryItemRequest) + return target; +} + +size_t DeleteRegistryItemRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteRegistryItemRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string item_id = 1 [json_name = "itemId"]; + if (!this->_internal_item_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRegistryItemRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + DeleteRegistryItemRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRegistryItemRequest::GetClassData() const { return &_class_data_; } + +void DeleteRegistryItemRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void DeleteRegistryItemRequest::MergeFrom(const DeleteRegistryItemRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteRegistryItemRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_item_id().empty()) { + _internal_set_item_id(from._internal_item_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DeleteRegistryItemRequest::CopyFrom(const DeleteRegistryItemRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteRegistryItemRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteRegistryItemRequest::IsInitialized() const { + return true; +} + +void DeleteRegistryItemRequest::InternalSwap(DeleteRegistryItemRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &item_id_, lhs_arena, + &other->item_id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteRegistryItemRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, + file_level_metadata_app_2fv1_2fapp_2eproto[192]); +} + +// =================================================================== + +class DeleteRegistryItemResponse::_Internal { + public: +}; + +DeleteRegistryItemResponse::DeleteRegistryItemResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRegistryItemResponse) +} +DeleteRegistryItemResponse::DeleteRegistryItemResponse(const DeleteRegistryItemResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRegistryItemResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRegistryItemResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRegistryItemResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteRegistryItemResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, + file_level_metadata_app_2fv1_2fapp_2eproto[193]); +} + +// =================================================================== + +class RenameRegistryItemRequest::_Internal { + public: +}; + +RenameRegistryItemRequest::RenameRegistryItemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.RenameRegistryItemRequest) +} +RenameRegistryItemRequest::RenameRegistryItemRequest(const RenameRegistryItemRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + item_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + item_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item_id().empty()) { + item_id_.Set(from._internal_item_id(), + GetArenaForAllocation()); + } + new_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + new_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_new_name().empty()) { + new_name_.Set(from._internal_new_name(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.RenameRegistryItemRequest) +} + +inline void RenameRegistryItemRequest::SharedCtor() { +item_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + item_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +new_name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + new_name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +RenameRegistryItemRequest::~RenameRegistryItemRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.RenameRegistryItemRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RenameRegistryItemRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + item_id_.Destroy(); + new_name_.Destroy(); +} + +void RenameRegistryItemRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void RenameRegistryItemRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.RenameRegistryItemRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + item_id_.ClearToEmpty(); + new_name_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RenameRegistryItemRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string item_id = 1 [json_name = "itemId"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_item_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RenameRegistryItemRequest.item_id")); + } else + goto handle_unusual; + continue; + // string new_name = 2 [json_name = "newName"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_new_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RenameRegistryItemRequest.new_name")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RenameRegistryItemRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteRegistryItemRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.RenameRegistryItemRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -50621,21 +51505,31 @@ uint8_t* DeleteRegistryItemRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_item_id().data(), static_cast(this->_internal_item_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteRegistryItemRequest.item_id"); + "viam.app.v1.RenameRegistryItemRequest.item_id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_item_id(), target); } + // string new_name = 2 [json_name = "newName"]; + if (!this->_internal_new_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_new_name().data(), static_cast(this->_internal_new_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.RenameRegistryItemRequest.new_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_new_name(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteRegistryItemRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.RenameRegistryItemRequest) return target; } -size_t DeleteRegistryItemRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteRegistryItemRequest) +size_t RenameRegistryItemRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.RenameRegistryItemRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -50649,24 +51543,31 @@ size_t DeleteRegistryItemRequest::ByteSizeLong() const { this->_internal_item_id()); } + // string new_name = 2 [json_name = "newName"]; + if (!this->_internal_new_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_new_name()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRegistryItemRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RenameRegistryItemRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteRegistryItemRequest::MergeImpl + RenameRegistryItemRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRegistryItemRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RenameRegistryItemRequest::GetClassData() const { return &_class_data_; } -void DeleteRegistryItemRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void RenameRegistryItemRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteRegistryItemRequest::MergeFrom(const DeleteRegistryItemRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteRegistryItemRequest) +void RenameRegistryItemRequest::MergeFrom(const RenameRegistryItemRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.RenameRegistryItemRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -50674,21 +51575,24 @@ void DeleteRegistryItemRequest::MergeFrom(const DeleteRegistryItemRequest& from) if (!from._internal_item_id().empty()) { _internal_set_item_id(from._internal_item_id()); } + if (!from._internal_new_name().empty()) { + _internal_set_new_name(from._internal_new_name()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteRegistryItemRequest::CopyFrom(const DeleteRegistryItemRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteRegistryItemRequest) +void RenameRegistryItemRequest::CopyFrom(const RenameRegistryItemRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.RenameRegistryItemRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteRegistryItemRequest::IsInitialized() const { +bool RenameRegistryItemRequest::IsInitialized() const { return true; } -void DeleteRegistryItemRequest::InternalSwap(DeleteRegistryItemRequest* other) { +void RenameRegistryItemRequest::InternalSwap(RenameRegistryItemRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -50697,51 +51601,203 @@ void DeleteRegistryItemRequest::InternalSwap(DeleteRegistryItemRequest* other) { &item_id_, lhs_arena, &other->item_id_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &new_name_, lhs_arena, + &other->new_name_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteRegistryItemRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata RenameRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[190]); + file_level_metadata_app_2fv1_2fapp_2eproto[194]); } // =================================================================== -class DeleteRegistryItemResponse::_Internal { +class RenameRegistryItemResponse::_Internal { public: + static const ::viam::app::v1::RegistryItem& item(const RenameRegistryItemResponse* msg); }; -DeleteRegistryItemResponse::DeleteRegistryItemResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::viam::app::v1::RegistryItem& +RenameRegistryItemResponse::_Internal::item(const RenameRegistryItemResponse* msg) { + return *msg->item_; +} +RenameRegistryItemResponse::RenameRegistryItemResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRegistryItemResponse) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.RenameRegistryItemResponse) } -DeleteRegistryItemResponse::DeleteRegistryItemResponse(const DeleteRegistryItemResponse& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { +RenameRegistryItemResponse::RenameRegistryItemResponse(const RenameRegistryItemResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRegistryItemResponse) + if (from._internal_has_item()) { + item_ = new ::viam::app::v1::RegistryItem(*from.item_); + } else { + item_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.RenameRegistryItemResponse) } +inline void RenameRegistryItemResponse::SharedCtor() { +item_ = nullptr; +} +RenameRegistryItemResponse::~RenameRegistryItemResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.RenameRegistryItemResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} +inline void RenameRegistryItemResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete item_; +} +void RenameRegistryItemResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRegistryItemResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +void RenameRegistryItemResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.RenameRegistryItemResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && item_ != nullptr) { + delete item_; + } + item_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RenameRegistryItemResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .viam.app.v1.RegistryItem item = 1 [json_name = "item"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_item(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RenameRegistryItemResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.RenameRegistryItemResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .viam.app.v1.RegistryItem item = 1 [json_name = "item"]; + if (this->_internal_has_item()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::item(this), + _Internal::item(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.RenameRegistryItemResponse) + return target; +} + +size_t RenameRegistryItemResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.RenameRegistryItemResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .viam.app.v1.RegistryItem item = 1 [json_name = "item"]; + if (this->_internal_has_item()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *item_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RenameRegistryItemResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + RenameRegistryItemResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRegistryItemResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RenameRegistryItemResponse::GetClassData() const { return &_class_data_; } +void RenameRegistryItemResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} +void RenameRegistryItemResponse::MergeFrom(const RenameRegistryItemResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.RenameRegistryItemResponse) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + if (from._internal_has_item()) { + _internal_mutable_item()->::viam::app::v1::RegistryItem::MergeFrom(from._internal_item()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} +void RenameRegistryItemResponse::CopyFrom(const RenameRegistryItemResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.RenameRegistryItemResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} +bool RenameRegistryItemResponse::IsInitialized() const { + return true; +} -::PROTOBUF_NAMESPACE_ID::Metadata DeleteRegistryItemResponse::GetMetadata() const { +void RenameRegistryItemResponse::InternalSwap(RenameRegistryItemResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(item_, other->item_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RenameRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[191]); + file_level_metadata_app_2fv1_2fapp_2eproto[195]); } // =================================================================== @@ -50984,7 +52040,7 @@ void TransferRegistryItemRequest::InternalSwap(TransferRegistryItemRequest* othe ::PROTOBUF_NAMESPACE_ID::Metadata TransferRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[192]); + file_level_metadata_app_2fv1_2fapp_2eproto[196]); } // =================================================================== @@ -51023,7 +52079,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TransferRegistryItemResponse:: ::PROTOBUF_NAMESPACE_ID::Metadata TransferRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[193]); + file_level_metadata_app_2fv1_2fapp_2eproto[197]); } // =================================================================== @@ -51266,7 +52322,7 @@ void CreateModuleRequest::InternalSwap(CreateModuleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateModuleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[194]); + file_level_metadata_app_2fv1_2fapp_2eproto[198]); } // =================================================================== @@ -51509,7 +52565,7 @@ void CreateModuleResponse::InternalSwap(CreateModuleResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateModuleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[195]); + file_level_metadata_app_2fv1_2fapp_2eproto[199]); } // =================================================================== @@ -52064,7 +53120,7 @@ void UpdateModuleRequest::InternalSwap(UpdateModuleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateModuleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[196]); + file_level_metadata_app_2fv1_2fapp_2eproto[200]); } // =================================================================== @@ -52355,7 +53411,7 @@ void App::InternalSwap(App* other) { ::PROTOBUF_NAMESPACE_ID::Metadata App::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[197]); + file_level_metadata_app_2fv1_2fapp_2eproto[201]); } // =================================================================== @@ -52550,7 +53606,7 @@ void UpdateModuleResponse::InternalSwap(UpdateModuleResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateModuleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[198]); + file_level_metadata_app_2fv1_2fapp_2eproto[202]); } // =================================================================== @@ -52778,7 +53834,7 @@ void UpdateModuleMetadata::InternalSwap(UpdateModuleMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateModuleMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[199]); + file_level_metadata_app_2fv1_2fapp_2eproto[203]); } // =================================================================== @@ -52989,7 +54045,7 @@ void UpdateMLModelMetadata::InternalSwap(UpdateMLModelMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateMLModelMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[200]); + file_level_metadata_app_2fv1_2fapp_2eproto[204]); } // =================================================================== @@ -53222,7 +54278,7 @@ void UpdateMLTrainingMetadata::InternalSwap(UpdateMLTrainingMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateMLTrainingMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[201]); + file_level_metadata_app_2fv1_2fapp_2eproto[205]); } // =================================================================== @@ -53624,7 +54680,7 @@ void Model::InternalSwap(Model* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Model::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[202]); + file_level_metadata_app_2fv1_2fapp_2eproto[206]); } // =================================================================== @@ -53953,7 +55009,7 @@ void ModuleFileInfo::InternalSwap(ModuleFileInfo* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModuleFileInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[203]); + file_level_metadata_app_2fv1_2fapp_2eproto[207]); } // =================================================================== @@ -54222,7 +55278,7 @@ void UploadModuleFileRequest::InternalSwap(UploadModuleFileRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UploadModuleFileRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[204]); + file_level_metadata_app_2fv1_2fapp_2eproto[208]); } // =================================================================== @@ -54417,7 +55473,7 @@ void UploadModuleFileResponse::InternalSwap(UploadModuleFileResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UploadModuleFileResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[205]); + file_level_metadata_app_2fv1_2fapp_2eproto[209]); } // =================================================================== @@ -54649,7 +55705,7 @@ void GetModuleRequest::InternalSwap(GetModuleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetModuleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[206]); + file_level_metadata_app_2fv1_2fapp_2eproto[210]); } // =================================================================== @@ -54836,7 +55892,7 @@ void GetModuleResponse::InternalSwap(GetModuleResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetModuleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[207]); + file_level_metadata_app_2fv1_2fapp_2eproto[211]); } // =================================================================== @@ -55591,7 +56647,7 @@ void Module::InternalSwap(Module* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Module::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[208]); + file_level_metadata_app_2fv1_2fapp_2eproto[212]); } // =================================================================== @@ -56021,7 +57077,7 @@ void VersionHistory::InternalSwap(VersionHistory* other) { ::PROTOBUF_NAMESPACE_ID::Metadata VersionHistory::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[209]); + file_level_metadata_app_2fv1_2fapp_2eproto[213]); } // =================================================================== @@ -56264,7 +57320,7 @@ void Uploads::InternalSwap(Uploads* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Uploads::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[210]); + file_level_metadata_app_2fv1_2fapp_2eproto[214]); } // =================================================================== @@ -56508,7 +57564,7 @@ void ListModulesRequest::InternalSwap(ListModulesRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListModulesRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[211]); + file_level_metadata_app_2fv1_2fapp_2eproto[215]); } // =================================================================== @@ -56686,7 +57742,7 @@ void ListModulesResponse::InternalSwap(ListModulesResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListModulesResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[212]); + file_level_metadata_app_2fv1_2fapp_2eproto[216]); } // =================================================================== @@ -56881,7 +57937,7 @@ void GetUserIDByEmailRequest::InternalSwap(GetUserIDByEmailRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetUserIDByEmailRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[213]); + file_level_metadata_app_2fv1_2fapp_2eproto[217]); } // =================================================================== @@ -57076,7 +58132,7 @@ void GetUserIDByEmailResponse::InternalSwap(GetUserIDByEmailResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetUserIDByEmailResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[214]); + file_level_metadata_app_2fv1_2fapp_2eproto[218]); } // =================================================================== @@ -57271,7 +58327,7 @@ void ListOrganizationsByUserRequest::InternalSwap(ListOrganizationsByUserRequest ::PROTOBUF_NAMESPACE_ID::Metadata ListOrganizationsByUserRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[215]); + file_level_metadata_app_2fv1_2fapp_2eproto[219]); } // =================================================================== @@ -57688,7 +58744,7 @@ void OrgDetails::InternalSwap(OrgDetails* other) { ::PROTOBUF_NAMESPACE_ID::Metadata OrgDetails::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[216]); + file_level_metadata_app_2fv1_2fapp_2eproto[220]); } // =================================================================== @@ -57866,7 +58922,7 @@ void ListOrganizationsByUserResponse::InternalSwap(ListOrganizationsByUserRespon ::PROTOBUF_NAMESPACE_ID::Metadata ListOrganizationsByUserResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[217]); + file_level_metadata_app_2fv1_2fapp_2eproto[221]); } // =================================================================== @@ -58240,7 +59296,7 @@ void SearchOrganizationsRequest::InternalSwap(SearchOrganizationsRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata SearchOrganizationsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[218]); + file_level_metadata_app_2fv1_2fapp_2eproto[222]); } // =================================================================== @@ -58418,7 +59474,7 @@ void SearchOrganizationsResponse::InternalSwap(SearchOrganizationsResponse* othe ::PROTOBUF_NAMESPACE_ID::Metadata SearchOrganizationsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[219]); + file_level_metadata_app_2fv1_2fapp_2eproto[223]); } // =================================================================== @@ -58646,7 +59702,7 @@ void CreateKeyRequest::InternalSwap(CreateKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[220]); + file_level_metadata_app_2fv1_2fapp_2eproto[224]); } // =================================================================== @@ -58889,7 +59945,7 @@ void CreateKeyResponse::InternalSwap(CreateKeyResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[221]); + file_level_metadata_app_2fv1_2fapp_2eproto[225]); } // =================================================================== @@ -59084,7 +60140,7 @@ void DeleteKeyRequest::InternalSwap(DeleteKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[222]); + file_level_metadata_app_2fv1_2fapp_2eproto[226]); } // =================================================================== @@ -59123,7 +60179,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteKeyResponse::GetClassDat ::PROTOBUF_NAMESPACE_ID::Metadata DeleteKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[223]); + file_level_metadata_app_2fv1_2fapp_2eproto[227]); } // =================================================================== @@ -59366,7 +60422,7 @@ void RenameKeyRequest::InternalSwap(RenameKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RenameKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[224]); + file_level_metadata_app_2fv1_2fapp_2eproto[228]); } // =================================================================== @@ -59609,7 +60665,7 @@ void RenameKeyResponse::InternalSwap(RenameKeyResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RenameKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[225]); + file_level_metadata_app_2fv1_2fapp_2eproto[229]); } // =================================================================== @@ -59996,7 +61052,7 @@ void AuthorizationDetails::InternalSwap(AuthorizationDetails* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AuthorizationDetails::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[226]); + file_level_metadata_app_2fv1_2fapp_2eproto[230]); } // =================================================================== @@ -60216,7 +61272,7 @@ void APIKeyWithAuthorizations::InternalSwap(APIKeyWithAuthorizations* other) { ::PROTOBUF_NAMESPACE_ID::Metadata APIKeyWithAuthorizations::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[227]); + file_level_metadata_app_2fv1_2fapp_2eproto[231]); } // =================================================================== @@ -60411,7 +61467,7 @@ void ListKeysRequest::InternalSwap(ListKeysRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListKeysRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[228]); + file_level_metadata_app_2fv1_2fapp_2eproto[232]); } // =================================================================== @@ -60589,7 +61645,7 @@ void ListKeysResponse::InternalSwap(ListKeysResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListKeysResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[229]); + file_level_metadata_app_2fv1_2fapp_2eproto[233]); } // =================================================================== @@ -60784,7 +61840,7 @@ void RotateKeyRequest::InternalSwap(RotateKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RotateKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[230]); + file_level_metadata_app_2fv1_2fapp_2eproto[234]); } // =================================================================== @@ -61027,7 +62083,7 @@ void RotateKeyResponse::InternalSwap(RotateKeyResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RotateKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[231]); + file_level_metadata_app_2fv1_2fapp_2eproto[235]); } // =================================================================== @@ -61222,7 +62278,7 @@ void CreateKeyFromExistingKeyAuthorizationsRequest::InternalSwap(CreateKeyFromEx ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyFromExistingKeyAuthorizationsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[232]); + file_level_metadata_app_2fv1_2fapp_2eproto[236]); } // =================================================================== @@ -61465,7 +62521,7 @@ void CreateKeyFromExistingKeyAuthorizationsResponse::InternalSwap(CreateKeyFromE ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyFromExistingKeyAuthorizationsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[233]); + file_level_metadata_app_2fv1_2fapp_2eproto[237]); } // =================================================================== @@ -61708,7 +62764,7 @@ void GetAppContentRequest::InternalSwap(GetAppContentRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetAppContentRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[234]); + file_level_metadata_app_2fv1_2fapp_2eproto[238]); } // =================================================================== @@ -61951,7 +63007,7 @@ void GetAppContentResponse::InternalSwap(GetAppContentResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetAppContentResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[235]); + file_level_metadata_app_2fv1_2fapp_2eproto[239]); } // =================================================================== @@ -62189,7 +63245,7 @@ void OrganizationSetLogoRequest::InternalSwap(OrganizationSetLogoRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationSetLogoRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[236]); + file_level_metadata_app_2fv1_2fapp_2eproto[240]); } // =================================================================== @@ -62228,7 +63284,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OrganizationSetLogoResponse::G ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationSetLogoResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[237]); + file_level_metadata_app_2fv1_2fapp_2eproto[241]); } // =================================================================== @@ -62423,7 +63479,7 @@ void OrganizationGetLogoRequest::InternalSwap(OrganizationGetLogoRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationGetLogoRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[238]); + file_level_metadata_app_2fv1_2fapp_2eproto[242]); } // =================================================================== @@ -62618,7 +63674,7 @@ void OrganizationGetLogoResponse::InternalSwap(OrganizationGetLogoResponse* othe ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationGetLogoResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[239]); + file_level_metadata_app_2fv1_2fapp_2eproto[243]); } // =================================================================== @@ -62813,7 +63869,7 @@ void EnableAuthServiceRequest::InternalSwap(EnableAuthServiceRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata EnableAuthServiceRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[240]); + file_level_metadata_app_2fv1_2fapp_2eproto[244]); } // =================================================================== @@ -62852,7 +63908,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnableAuthServiceResponse::Get ::PROTOBUF_NAMESPACE_ID::Metadata EnableAuthServiceResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[241]); + file_level_metadata_app_2fv1_2fapp_2eproto[245]); } // =================================================================== @@ -63047,7 +64103,7 @@ void DisableAuthServiceRequest::InternalSwap(DisableAuthServiceRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DisableAuthServiceRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[242]); + file_level_metadata_app_2fv1_2fapp_2eproto[246]); } // =================================================================== @@ -63086,7 +64142,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DisableAuthServiceResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata DisableAuthServiceResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[243]); + file_level_metadata_app_2fv1_2fapp_2eproto[247]); } // =================================================================== @@ -63371,7 +64427,7 @@ void CreateOAuthAppRequest::InternalSwap(CreateOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[244]); + file_level_metadata_app_2fv1_2fapp_2eproto[248]); } // =================================================================== @@ -63614,7 +64670,7 @@ void CreateOAuthAppResponse::InternalSwap(CreateOAuthAppResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[245]); + file_level_metadata_app_2fv1_2fapp_2eproto[249]); } // =================================================================== @@ -63857,7 +64913,7 @@ void ReadOAuthAppRequest::InternalSwap(ReadOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[246]); + file_level_metadata_app_2fv1_2fapp_2eproto[250]); } // =================================================================== @@ -64142,7 +65198,7 @@ void ReadOAuthAppResponse::InternalSwap(ReadOAuthAppResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[247]); + file_level_metadata_app_2fv1_2fapp_2eproto[251]); } // =================================================================== @@ -64475,7 +65531,7 @@ void UpdateOAuthAppRequest::InternalSwap(UpdateOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[248]); + file_level_metadata_app_2fv1_2fapp_2eproto[252]); } // =================================================================== @@ -64514,7 +65570,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateOAuthAppResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata UpdateOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[249]); + file_level_metadata_app_2fv1_2fapp_2eproto[253]); } // =================================================================== @@ -64757,7 +65813,7 @@ void DeleteOAuthAppRequest::InternalSwap(DeleteOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[250]); + file_level_metadata_app_2fv1_2fapp_2eproto[254]); } // =================================================================== @@ -64796,7 +65852,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteOAuthAppResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[251]); + file_level_metadata_app_2fv1_2fapp_2eproto[255]); } // =================================================================== @@ -64991,7 +66047,7 @@ void ListOAuthAppsRequest::InternalSwap(ListOAuthAppsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListOAuthAppsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[252]); + file_level_metadata_app_2fv1_2fapp_2eproto[256]); } // =================================================================== @@ -65174,7 +66230,7 @@ void ListOAuthAppsResponse::InternalSwap(ListOAuthAppsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListOAuthAppsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[253]); + file_level_metadata_app_2fv1_2fapp_2eproto[257]); } // =================================================================== @@ -65579,7 +66635,7 @@ void OAuthConfig::InternalSwap(OAuthConfig* other) { ::PROTOBUF_NAMESPACE_ID::Metadata OAuthConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[254]); + file_level_metadata_app_2fv1_2fapp_2eproto[258]); } // @@protoc_insertion_point(namespace_scope) @@ -66127,6 +67183,14 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::AdditionalFragment* Arena::CreateMaybeMessage< ::viam::app::v1::AdditionalFragment >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::AdditionalFragment >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::ListNestedFragmentsRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::ListNestedFragmentsRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::ListNestedFragmentsRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::ListNestedFragmentsResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::ListNestedFragmentsResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::ListNestedFragmentsResponse >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::ListMachineFragmentsRequest* Arena::CreateMaybeMessage< ::viam::app::v1::ListMachineFragmentsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::ListMachineFragmentsRequest >(arena); @@ -66355,6 +67419,14 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::DeleteRegistryItemResponse* Arena::CreateMaybeMessage< ::viam::app::v1::DeleteRegistryItemResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::DeleteRegistryItemResponse >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::RenameRegistryItemRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::RenameRegistryItemRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::RenameRegistryItemRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::RenameRegistryItemResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::RenameRegistryItemResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::RenameRegistryItemResponse >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::TransferRegistryItemRequest* Arena::CreateMaybeMessage< ::viam::app::v1::TransferRegistryItemRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::TransferRegistryItemRequest >(arena); diff --git a/src/viam/api/app/v1/app.pb.h b/src/viam/api/app/v1/app.pb.h index 2ccde7f0f..ba47cc9f5 100644 --- a/src/viam/api/app/v1/app.pb.h +++ b/src/viam/api/app/v1/app.pb.h @@ -469,6 +469,12 @@ extern ListModulesRequestDefaultTypeInternal _ListModulesRequest_default_instanc class ListModulesResponse; struct ListModulesResponseDefaultTypeInternal; extern ListModulesResponseDefaultTypeInternal _ListModulesResponse_default_instance_; +class ListNestedFragmentsRequest; +struct ListNestedFragmentsRequestDefaultTypeInternal; +extern ListNestedFragmentsRequestDefaultTypeInternal _ListNestedFragmentsRequest_default_instance_; +class ListNestedFragmentsResponse; +struct ListNestedFragmentsResponseDefaultTypeInternal; +extern ListNestedFragmentsResponseDefaultTypeInternal _ListNestedFragmentsResponse_default_instance_; class ListOAuthAppsRequest; struct ListOAuthAppsRequestDefaultTypeInternal; extern ListOAuthAppsRequestDefaultTypeInternal _ListOAuthAppsRequest_default_instance_; @@ -640,6 +646,12 @@ extern RenameKeyRequestDefaultTypeInternal _RenameKeyRequest_default_instance_; class RenameKeyResponse; struct RenameKeyResponseDefaultTypeInternal; extern RenameKeyResponseDefaultTypeInternal _RenameKeyResponse_default_instance_; +class RenameRegistryItemRequest; +struct RenameRegistryItemRequestDefaultTypeInternal; +extern RenameRegistryItemRequestDefaultTypeInternal _RenameRegistryItemRequest_default_instance_; +class RenameRegistryItemResponse; +struct RenameRegistryItemResponseDefaultTypeInternal; +extern RenameRegistryItemResponseDefaultTypeInternal _RenameRegistryItemResponse_default_instance_; class ResendOrganizationInviteRequest; struct ResendOrganizationInviteRequestDefaultTypeInternal; extern ResendOrganizationInviteRequestDefaultTypeInternal _ResendOrganizationInviteRequest_default_instance_; @@ -962,6 +974,8 @@ template<> ::viam::app::v1::ListMachineSummariesRequest* Arena::CreateMaybeMessa template<> ::viam::app::v1::ListMachineSummariesResponse* Arena::CreateMaybeMessage<::viam::app::v1::ListMachineSummariesResponse>(Arena*); template<> ::viam::app::v1::ListModulesRequest* Arena::CreateMaybeMessage<::viam::app::v1::ListModulesRequest>(Arena*); template<> ::viam::app::v1::ListModulesResponse* Arena::CreateMaybeMessage<::viam::app::v1::ListModulesResponse>(Arena*); +template<> ::viam::app::v1::ListNestedFragmentsRequest* Arena::CreateMaybeMessage<::viam::app::v1::ListNestedFragmentsRequest>(Arena*); +template<> ::viam::app::v1::ListNestedFragmentsResponse* Arena::CreateMaybeMessage<::viam::app::v1::ListNestedFragmentsResponse>(Arena*); template<> ::viam::app::v1::ListOAuthAppsRequest* Arena::CreateMaybeMessage<::viam::app::v1::ListOAuthAppsRequest>(Arena*); template<> ::viam::app::v1::ListOAuthAppsResponse* Arena::CreateMaybeMessage<::viam::app::v1::ListOAuthAppsResponse>(Arena*); template<> ::viam::app::v1::ListOrganizationMembersRequest* Arena::CreateMaybeMessage<::viam::app::v1::ListOrganizationMembersRequest>(Arena*); @@ -1019,6 +1033,8 @@ template<> ::viam::app::v1::RemoveRoleRequest* Arena::CreateMaybeMessage<::viam: template<> ::viam::app::v1::RemoveRoleResponse* Arena::CreateMaybeMessage<::viam::app::v1::RemoveRoleResponse>(Arena*); template<> ::viam::app::v1::RenameKeyRequest* Arena::CreateMaybeMessage<::viam::app::v1::RenameKeyRequest>(Arena*); template<> ::viam::app::v1::RenameKeyResponse* Arena::CreateMaybeMessage<::viam::app::v1::RenameKeyResponse>(Arena*); +template<> ::viam::app::v1::RenameRegistryItemRequest* Arena::CreateMaybeMessage<::viam::app::v1::RenameRegistryItemRequest>(Arena*); +template<> ::viam::app::v1::RenameRegistryItemResponse* Arena::CreateMaybeMessage<::viam::app::v1::RenameRegistryItemResponse>(Arena*); template<> ::viam::app::v1::ResendOrganizationInviteRequest* Arena::CreateMaybeMessage<::viam::app::v1::ResendOrganizationInviteRequest>(Arena*); template<> ::viam::app::v1::ResendOrganizationInviteResponse* Arena::CreateMaybeMessage<::viam::app::v1::ResendOrganizationInviteResponse>(Arena*); template<> ::viam::app::v1::ResolvedFragment* Arena::CreateMaybeMessage<::viam::app::v1::ResolvedFragment>(Arena*); @@ -23716,6 +23732,351 @@ class AdditionalFragment final : }; // ------------------------------------------------------------------- +class ListNestedFragmentsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListNestedFragmentsRequest) */ { + public: + inline ListNestedFragmentsRequest() : ListNestedFragmentsRequest(nullptr) {} + ~ListNestedFragmentsRequest() override; + explicit PROTOBUF_CONSTEXPR ListNestedFragmentsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ListNestedFragmentsRequest(const ListNestedFragmentsRequest& from); + ListNestedFragmentsRequest(ListNestedFragmentsRequest&& from) noexcept + : ListNestedFragmentsRequest() { + *this = ::std::move(from); + } + + inline ListNestedFragmentsRequest& operator=(const ListNestedFragmentsRequest& from) { + CopyFrom(from); + return *this; + } + inline ListNestedFragmentsRequest& operator=(ListNestedFragmentsRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListNestedFragmentsRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ListNestedFragmentsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListNestedFragmentsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 135; + + friend void swap(ListNestedFragmentsRequest& a, ListNestedFragmentsRequest& b) { + a.Swap(&b); + } + inline void Swap(ListNestedFragmentsRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListNestedFragmentsRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListNestedFragmentsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ListNestedFragmentsRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ListNestedFragmentsRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ListNestedFragmentsRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.ListNestedFragmentsRequest"; + } + protected: + explicit ListNestedFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kAdditionalFragmentsFieldNumber = 2, + kFragmentIdFieldNumber = 1, + }; + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 2 [json_name = "additionalFragments"]; + int additional_fragments_size() const; + private: + int _internal_additional_fragments_size() const; + public: + void clear_additional_fragments(); + ::viam::app::v1::AdditionalFragment* mutable_additional_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >* + mutable_additional_fragments(); + private: + const ::viam::app::v1::AdditionalFragment& _internal_additional_fragments(int index) const; + ::viam::app::v1::AdditionalFragment* _internal_add_additional_fragments(); + public: + const ::viam::app::v1::AdditionalFragment& additional_fragments(int index) const; + ::viam::app::v1::AdditionalFragment* add_additional_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >& + additional_fragments() const; + + // optional string fragment_id = 1 [json_name = "fragmentId"]; + bool has_fragment_id() const; + private: + bool _internal_has_fragment_id() const; + public: + void clear_fragment_id(); + const std::string& fragment_id() const; + template + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); + private: + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.ListNestedFragmentsRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment > additional_fragments_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class ListNestedFragmentsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListNestedFragmentsResponse) */ { + public: + inline ListNestedFragmentsResponse() : ListNestedFragmentsResponse(nullptr) {} + ~ListNestedFragmentsResponse() override; + explicit PROTOBUF_CONSTEXPR ListNestedFragmentsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ListNestedFragmentsResponse(const ListNestedFragmentsResponse& from); + ListNestedFragmentsResponse(ListNestedFragmentsResponse&& from) noexcept + : ListNestedFragmentsResponse() { + *this = ::std::move(from); + } + + inline ListNestedFragmentsResponse& operator=(const ListNestedFragmentsResponse& from) { + CopyFrom(from); + return *this; + } + inline ListNestedFragmentsResponse& operator=(ListNestedFragmentsResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListNestedFragmentsResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ListNestedFragmentsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListNestedFragmentsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 136; + + friend void swap(ListNestedFragmentsResponse& a, ListNestedFragmentsResponse& b) { + a.Swap(&b); + } + inline void Swap(ListNestedFragmentsResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListNestedFragmentsResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListNestedFragmentsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ListNestedFragmentsResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ListNestedFragmentsResponse& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ListNestedFragmentsResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.ListNestedFragmentsResponse"; + } + protected: + explicit ListNestedFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kFragmentsFieldNumber = 1, + kResolvedFragmentsFieldNumber = 2, + }; + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + int fragments_size() const; + private: + int _internal_fragments_size() const; + public: + void clear_fragments(); + ::viam::app::v1::Fragment* mutable_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >* + mutable_fragments(); + private: + const ::viam::app::v1::Fragment& _internal_fragments(int index) const; + ::viam::app::v1::Fragment* _internal_add_fragments(); + public: + const ::viam::app::v1::Fragment& fragments(int index) const; + ::viam::app::v1::Fragment* add_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >& + fragments() const; + + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + int resolved_fragments_size() const; + private: + int _internal_resolved_fragments_size() const; + public: + void clear_resolved_fragments(); + ::viam::app::v1::ResolvedFragment* mutable_resolved_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >* + mutable_resolved_fragments(); + private: + const ::viam::app::v1::ResolvedFragment& _internal_resolved_fragments(int index) const; + ::viam::app::v1::ResolvedFragment* _internal_add_resolved_fragments(); + public: + const ::viam::app::v1::ResolvedFragment& resolved_fragments(int index) const; + ::viam::app::v1::ResolvedFragment* add_resolved_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >& + resolved_fragments() const; + + // @@protoc_insertion_point(class_scope:viam.app.v1.ListNestedFragmentsResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment > fragments_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment > resolved_fragments_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + class ListMachineFragmentsRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsRequest) */ { public: @@ -23764,7 +24125,7 @@ class ListMachineFragmentsRequest final : &_ListMachineFragmentsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 135; + 137; friend void swap(ListMachineFragmentsRequest& a, ListMachineFragmentsRequest& b) { a.Swap(&b); @@ -23958,7 +24319,7 @@ class ListMachineFragmentsResponse final : &_ListMachineFragmentsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 136; + 138; friend void swap(ListMachineFragmentsResponse& a, ListMachineFragmentsResponse& b) { a.Swap(&b); @@ -24130,7 +24491,7 @@ class ListMachineSummariesRequest final : &_ListMachineSummariesRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 137; + 139; friend void swap(ListMachineSummariesRequest& a, ListMachineSummariesRequest& b) { a.Swap(&b); @@ -24278,7 +24639,7 @@ class ListMachineSummariesResponse final : &_ListMachineSummariesResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 138; + 140; friend void swap(ListMachineSummariesResponse& a, ListMachineSummariesResponse& b) { a.Swap(&b); @@ -24430,7 +24791,7 @@ class LocationSummary final : &_LocationSummary_default_instance_); } static constexpr int kIndexInFileMessages = - 139; + 141; friend void swap(LocationSummary& a, LocationSummary& b) { a.Swap(&b); @@ -24614,7 +24975,7 @@ class MachineSummary final : &_MachineSummary_default_instance_); } static constexpr int kIndexInFileMessages = - 140; + 142; friend void swap(MachineSummary& a, MachineSummary& b) { a.Swap(&b); @@ -24798,7 +25159,7 @@ class FragmentSummary final : &_FragmentSummary_default_instance_); } static constexpr int kIndexInFileMessages = - 141; + 143; friend void swap(FragmentSummary& a, FragmentSummary& b) { a.Swap(&b); @@ -24968,7 +25329,7 @@ class ViamServerVersion final : &_ViamServerVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 142; + 144; friend void swap(ViamServerVersion& a, ViamServerVersion& b) { a.Swap(&b); @@ -25159,7 +25520,7 @@ class ViamAgentVersion final : &_ViamAgentVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 143; + 145; friend void swap(ViamAgentVersion& a, ViamAgentVersion& b) { a.Swap(&b); @@ -25344,7 +25705,7 @@ class PartSummary final : &_PartSummary_default_instance_); } static constexpr int kIndexInFileMessages = - 144; + 146; friend void swap(PartSummary& a, PartSummary& b) { a.Swap(&b); @@ -25649,7 +26010,7 @@ class ListRobotsResponse final : &_ListRobotsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 145; + 147; friend void swap(ListRobotsResponse& a, ListRobotsResponse& b) { a.Swap(&b); @@ -25801,7 +26162,7 @@ class NewRobotRequest final : &_NewRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 146; + 148; friend void swap(NewRobotRequest& a, NewRobotRequest& b) { a.Swap(&b); @@ -25965,7 +26326,7 @@ class NewRobotResponse final : &_NewRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 147; + 149; friend void swap(NewRobotResponse& a, NewRobotResponse& b) { a.Swap(&b); @@ -26113,7 +26474,7 @@ class UpdateRobotRequest final : &_UpdateRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 148; + 150; friend void swap(UpdateRobotRequest& a, UpdateRobotRequest& b) { a.Swap(&b); @@ -26293,7 +26654,7 @@ class UpdateRobotResponse final : &_UpdateRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 149; + 151; friend void swap(UpdateRobotResponse& a, UpdateRobotResponse& b) { a.Swap(&b); @@ -26445,7 +26806,7 @@ class DeleteRobotRequest final : &_DeleteRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 150; + 152; friend void swap(DeleteRobotRequest& a, DeleteRobotRequest& b) { a.Swap(&b); @@ -26592,7 +26953,7 @@ class DeleteRobotResponse final : &_DeleteRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 151; + 153; friend void swap(DeleteRobotResponse& a, DeleteRobotResponse& b) { a.Swap(&b); @@ -26709,7 +27070,7 @@ class GetRobotMetadataRequest final : &_GetRobotMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 152; + 154; friend void swap(GetRobotMetadataRequest& a, GetRobotMetadataRequest& b) { a.Swap(&b); @@ -26857,7 +27218,7 @@ class GetRobotMetadataResponse final : &_GetRobotMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 153; + 155; friend void swap(GetRobotMetadataResponse& a, GetRobotMetadataResponse& b) { a.Swap(&b); @@ -27009,7 +27370,7 @@ class UpdateRobotMetadataRequest final : &_UpdateRobotMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 154; + 156; friend void swap(UpdateRobotMetadataRequest& a, UpdateRobotMetadataRequest& b) { a.Swap(&b); @@ -27176,7 +27537,7 @@ class UpdateRobotMetadataResponse final : &_UpdateRobotMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 155; + 157; friend void swap(UpdateRobotMetadataResponse& a, UpdateRobotMetadataResponse& b) { a.Swap(&b); @@ -27293,7 +27654,7 @@ class MarkPartAsMainRequest final : &_MarkPartAsMainRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 156; + 158; friend void swap(MarkPartAsMainRequest& a, MarkPartAsMainRequest& b) { a.Swap(&b); @@ -27440,7 +27801,7 @@ class MarkPartAsMainResponse final : &_MarkPartAsMainResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 157; + 159; friend void swap(MarkPartAsMainResponse& a, MarkPartAsMainResponse& b) { a.Swap(&b); @@ -27557,7 +27918,7 @@ class MarkPartForRestartRequest final : &_MarkPartForRestartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 158; + 160; friend void swap(MarkPartForRestartRequest& a, MarkPartForRestartRequest& b) { a.Swap(&b); @@ -27704,7 +28065,7 @@ class MarkPartForRestartResponse final : &_MarkPartForRestartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 159; + 161; friend void swap(MarkPartForRestartResponse& a, MarkPartForRestartResponse& b) { a.Swap(&b); @@ -27821,7 +28182,7 @@ class CreateRobotPartSecretRequest final : &_CreateRobotPartSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 160; + 162; friend void swap(CreateRobotPartSecretRequest& a, CreateRobotPartSecretRequest& b) { a.Swap(&b); @@ -27969,7 +28330,7 @@ class CreateRobotPartSecretResponse final : &_CreateRobotPartSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 161; + 163; friend void swap(CreateRobotPartSecretResponse& a, CreateRobotPartSecretResponse& b) { a.Swap(&b); @@ -28121,7 +28482,7 @@ class DeleteRobotPartSecretRequest final : &_DeleteRobotPartSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 162; + 164; friend void swap(DeleteRobotPartSecretRequest& a, DeleteRobotPartSecretRequest& b) { a.Swap(&b); @@ -28284,7 +28645,7 @@ class DeleteRobotPartSecretResponse final : &_DeleteRobotPartSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 163; + 165; friend void swap(DeleteRobotPartSecretResponse& a, DeleteRobotPartSecretResponse& b) { a.Swap(&b); @@ -28401,7 +28762,7 @@ class Authorization final : &_Authorization_default_instance_); } static constexpr int kIndexInFileMessages = - 164; + 166; friend void swap(Authorization& a, Authorization& b) { a.Swap(&b); @@ -28645,7 +29006,7 @@ class AddRoleRequest final : &_AddRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 165; + 167; friend void swap(AddRoleRequest& a, AddRoleRequest& b) { a.Swap(&b); @@ -28796,7 +29157,7 @@ class AddRoleResponse final : &_AddRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 166; + 168; friend void swap(AddRoleResponse& a, AddRoleResponse& b) { a.Swap(&b); @@ -28913,7 +29274,7 @@ class RemoveRoleRequest final : &_RemoveRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 167; + 169; friend void swap(RemoveRoleRequest& a, RemoveRoleRequest& b) { a.Swap(&b); @@ -29064,7 +29425,7 @@ class RemoveRoleResponse final : &_RemoveRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 168; + 170; friend void swap(RemoveRoleResponse& a, RemoveRoleResponse& b) { a.Swap(&b); @@ -29181,7 +29542,7 @@ class ChangeRoleRequest final : &_ChangeRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 169; + 171; friend void swap(ChangeRoleRequest& a, ChangeRoleRequest& b) { a.Swap(&b); @@ -29352,7 +29713,7 @@ class ChangeRoleResponse final : &_ChangeRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 170; + 172; friend void swap(ChangeRoleResponse& a, ChangeRoleResponse& b) { a.Swap(&b); @@ -29469,7 +29830,7 @@ class ListAuthorizationsRequest final : &_ListAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 171; + 173; friend void swap(ListAuthorizationsRequest& a, ListAuthorizationsRequest& b) { a.Swap(&b); @@ -29643,7 +30004,7 @@ class ListAuthorizationsResponse final : &_ListAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 172; + 174; friend void swap(ListAuthorizationsResponse& a, ListAuthorizationsResponse& b) { a.Swap(&b); @@ -29795,7 +30156,7 @@ class CheckPermissionsRequest final : &_CheckPermissionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 173; + 175; friend void swap(CheckPermissionsRequest& a, CheckPermissionsRequest& b) { a.Swap(&b); @@ -29947,7 +30308,7 @@ class AuthorizedPermissions final : &_AuthorizedPermissions_default_instance_); } static constexpr int kIndexInFileMessages = - 174; + 176; friend void swap(AuthorizedPermissions& a, AuthorizedPermissions& b) { a.Swap(&b); @@ -30137,7 +30498,7 @@ class CheckPermissionsResponse final : &_CheckPermissionsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 175; + 177; friend void swap(CheckPermissionsResponse& a, CheckPermissionsResponse& b) { a.Swap(&b); @@ -30289,7 +30650,7 @@ class ModuleVersion final : &_ModuleVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 176; + 178; friend void swap(ModuleVersion& a, ModuleVersion& b) { a.Swap(&b); @@ -30365,6 +30726,7 @@ class ModuleVersion final : kVersionFieldNumber = 1, kEntrypointFieldNumber = 4, kFirstRunFieldNumber = 5, + kMarkdownDescriptionFieldNumber = 6, }; // repeated .viam.app.v1.Uploads files = 2 [json_name = "files"]; int files_size() const; @@ -30448,218 +30810,7 @@ class ModuleVersion final : std::string* _internal_mutable_first_run(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ModuleVersion) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Uploads > files_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model > models_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entrypoint_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr first_run_; - friend struct ::TableStruct_app_2fv1_2fapp_2eproto; -}; -// ------------------------------------------------------------------- - -class ModuleMetadata final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ModuleMetadata) */ { - public: - inline ModuleMetadata() : ModuleMetadata(nullptr) {} - ~ModuleMetadata() override; - explicit PROTOBUF_CONSTEXPR ModuleMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ModuleMetadata(const ModuleMetadata& from); - ModuleMetadata(ModuleMetadata&& from) noexcept - : ModuleMetadata() { - *this = ::std::move(from); - } - - inline ModuleMetadata& operator=(const ModuleMetadata& from) { - CopyFrom(from); - return *this; - } - inline ModuleMetadata& operator=(ModuleMetadata&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ModuleMetadata& default_instance() { - return *internal_default_instance(); - } - static inline const ModuleMetadata* internal_default_instance() { - return reinterpret_cast( - &_ModuleMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 177; - - friend void swap(ModuleMetadata& a, ModuleMetadata& b) { - a.Swap(&b); - } - inline void Swap(ModuleMetadata* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ModuleMetadata* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ModuleMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ModuleMetadata& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ModuleMetadata& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ModuleMetadata* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ModuleMetadata"; - } - protected: - explicit ModuleMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModelsFieldNumber = 1, - kVersionsFieldNumber = 2, - kEntrypointFieldNumber = 3, - kFirstRunFieldNumber = 4, - kMarkdownDescriptionFieldNumber = 5, - }; - // repeated .viam.app.v1.Model models = 1 [json_name = "models"]; - int models_size() const; - private: - int _internal_models_size() const; - public: - void clear_models(); - ::viam::app::v1::Model* mutable_models(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model >* - mutable_models(); - private: - const ::viam::app::v1::Model& _internal_models(int index) const; - ::viam::app::v1::Model* _internal_add_models(); - public: - const ::viam::app::v1::Model& models(int index) const; - ::viam::app::v1::Model* add_models(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model >& - models() const; - - // repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"]; - int versions_size() const; - private: - int _internal_versions_size() const; - public: - void clear_versions(); - ::viam::app::v1::ModuleVersion* mutable_versions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ModuleVersion >* - mutable_versions(); - private: - const ::viam::app::v1::ModuleVersion& _internal_versions(int index) const; - ::viam::app::v1::ModuleVersion* _internal_add_versions(); - public: - const ::viam::app::v1::ModuleVersion& versions(int index) const; - ::viam::app::v1::ModuleVersion* add_versions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ModuleVersion >& - versions() const; - - // string entrypoint = 3 [json_name = "entrypoint"]; - void clear_entrypoint(); - const std::string& entrypoint() const; - template - void set_entrypoint(ArgT0&& arg0, ArgT... args); - std::string* mutable_entrypoint(); - PROTOBUF_NODISCARD std::string* release_entrypoint(); - void set_allocated_entrypoint(std::string* entrypoint); - private: - const std::string& _internal_entrypoint() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entrypoint(const std::string& value); - std::string* _internal_mutable_entrypoint(); - public: - - // optional string first_run = 4 [json_name = "firstRun"]; - bool has_first_run() const; - private: - bool _internal_has_first_run() const; - public: - void clear_first_run(); - const std::string& first_run() const; - template - void set_first_run(ArgT0&& arg0, ArgT... args); - std::string* mutable_first_run(); - PROTOBUF_NODISCARD std::string* release_first_run(); - void set_allocated_first_run(std::string* first_run); - private: - const std::string& _internal_first_run() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_first_run(const std::string& value); - std::string* _internal_mutable_first_run(); - public: - - // optional string markdown_description = 5 [json_name = "markdownDescription"]; + // optional string markdown_description = 6 [json_name = "markdownDescription"]; bool has_markdown_description() const; private: bool _internal_has_markdown_description() const; @@ -30677,7 +30828,7 @@ class ModuleMetadata final : std::string* _internal_mutable_markdown_description(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ModuleMetadata) + // @@protoc_insertion_point(class_scope:viam.app.v1.ModuleVersion) private: class _Internal; @@ -30686,8 +30837,9 @@ class ModuleMetadata final : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Uploads > files_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model > models_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ModuleVersion > versions_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entrypoint_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr first_run_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr markdown_description_; @@ -30695,24 +30847,253 @@ class ModuleMetadata final : }; // ------------------------------------------------------------------- -class MLModelMetadata final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.MLModelMetadata) */ { +class ModuleMetadata final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ModuleMetadata) */ { public: - inline MLModelMetadata() : MLModelMetadata(nullptr) {} - ~MLModelMetadata() override; - explicit PROTOBUF_CONSTEXPR MLModelMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ModuleMetadata() : ModuleMetadata(nullptr) {} + ~ModuleMetadata() override; + explicit PROTOBUF_CONSTEXPR ModuleMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - MLModelMetadata(const MLModelMetadata& from); - MLModelMetadata(MLModelMetadata&& from) noexcept - : MLModelMetadata() { + ModuleMetadata(const ModuleMetadata& from); + ModuleMetadata(ModuleMetadata&& from) noexcept + : ModuleMetadata() { *this = ::std::move(from); } - inline MLModelMetadata& operator=(const MLModelMetadata& from) { + inline ModuleMetadata& operator=(const ModuleMetadata& from) { CopyFrom(from); return *this; } - inline MLModelMetadata& operator=(MLModelMetadata&& from) noexcept { + inline ModuleMetadata& operator=(ModuleMetadata&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ModuleMetadata& default_instance() { + return *internal_default_instance(); + } + static inline const ModuleMetadata* internal_default_instance() { + return reinterpret_cast( + &_ModuleMetadata_default_instance_); + } + static constexpr int kIndexInFileMessages = + 179; + + friend void swap(ModuleMetadata& a, ModuleMetadata& b) { + a.Swap(&b); + } + inline void Swap(ModuleMetadata* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ModuleMetadata* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ModuleMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ModuleMetadata& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ModuleMetadata& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ModuleMetadata* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.ModuleMetadata"; + } + protected: + explicit ModuleMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kModelsFieldNumber = 1, + kVersionsFieldNumber = 2, + kEntrypointFieldNumber = 3, + kFirstRunFieldNumber = 4, + kMarkdownDescriptionFieldNumber = 5, + }; + // repeated .viam.app.v1.Model models = 1 [json_name = "models"]; + int models_size() const; + private: + int _internal_models_size() const; + public: + void clear_models(); + ::viam::app::v1::Model* mutable_models(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model >* + mutable_models(); + private: + const ::viam::app::v1::Model& _internal_models(int index) const; + ::viam::app::v1::Model* _internal_add_models(); + public: + const ::viam::app::v1::Model& models(int index) const; + ::viam::app::v1::Model* add_models(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model >& + models() const; + + // repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"]; + int versions_size() const; + private: + int _internal_versions_size() const; + public: + void clear_versions(); + ::viam::app::v1::ModuleVersion* mutable_versions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ModuleVersion >* + mutable_versions(); + private: + const ::viam::app::v1::ModuleVersion& _internal_versions(int index) const; + ::viam::app::v1::ModuleVersion* _internal_add_versions(); + public: + const ::viam::app::v1::ModuleVersion& versions(int index) const; + ::viam::app::v1::ModuleVersion* add_versions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ModuleVersion >& + versions() const; + + // string entrypoint = 3 [json_name = "entrypoint"]; + void clear_entrypoint(); + const std::string& entrypoint() const; + template + void set_entrypoint(ArgT0&& arg0, ArgT... args); + std::string* mutable_entrypoint(); + PROTOBUF_NODISCARD std::string* release_entrypoint(); + void set_allocated_entrypoint(std::string* entrypoint); + private: + const std::string& _internal_entrypoint() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_entrypoint(const std::string& value); + std::string* _internal_mutable_entrypoint(); + public: + + // optional string first_run = 4 [json_name = "firstRun"]; + bool has_first_run() const; + private: + bool _internal_has_first_run() const; + public: + void clear_first_run(); + const std::string& first_run() const; + template + void set_first_run(ArgT0&& arg0, ArgT... args); + std::string* mutable_first_run(); + PROTOBUF_NODISCARD std::string* release_first_run(); + void set_allocated_first_run(std::string* first_run); + private: + const std::string& _internal_first_run() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_first_run(const std::string& value); + std::string* _internal_mutable_first_run(); + public: + + // optional string markdown_description = 5 [json_name = "markdownDescription"]; + bool has_markdown_description() const; + private: + bool _internal_has_markdown_description() const; + public: + void clear_markdown_description(); + const std::string& markdown_description() const; + template + void set_markdown_description(ArgT0&& arg0, ArgT... args); + std::string* mutable_markdown_description(); + PROTOBUF_NODISCARD std::string* release_markdown_description(); + void set_allocated_markdown_description(std::string* markdown_description); + private: + const std::string& _internal_markdown_description() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_markdown_description(const std::string& value); + std::string* _internal_mutable_markdown_description(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.ModuleMetadata) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Model > models_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ModuleVersion > versions_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entrypoint_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr first_run_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr markdown_description_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class MLModelMetadata final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.MLModelMetadata) */ { + public: + inline MLModelMetadata() : MLModelMetadata(nullptr) {} + ~MLModelMetadata() override; + explicit PROTOBUF_CONSTEXPR MLModelMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MLModelMetadata(const MLModelMetadata& from); + MLModelMetadata(MLModelMetadata&& from) noexcept + : MLModelMetadata() { + *this = ::std::move(from); + } + + inline MLModelMetadata& operator=(const MLModelMetadata& from) { + CopyFrom(from); + return *this; + } + inline MLModelMetadata& operator=(MLModelMetadata&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -30743,7 +31124,7 @@ class MLModelMetadata final : &_MLModelMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 178; + 180; friend void swap(MLModelMetadata& a, MLModelMetadata& b) { a.Swap(&b); @@ -30923,7 +31304,7 @@ class MLTrainingVersion final : &_MLTrainingVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 179; + 181; friend void swap(MLTrainingVersion& a, MLTrainingVersion& b) { a.Swap(&b); @@ -31091,7 +31472,7 @@ class MLTrainingMetadata final : &_MLTrainingMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 180; + 182; friend void swap(MLTrainingMetadata& a, MLTrainingMetadata& b) { a.Swap(&b); @@ -31283,7 +31664,7 @@ class RegistryItem final : &_RegistryItem_default_instance_); } static constexpr int kIndexInFileMessages = - 181; + 183; friend void swap(RegistryItem& a, RegistryItem& b) { a.Swap(&b); @@ -31691,7 +32072,7 @@ class GetRegistryItemRequest final : &_GetRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 182; + 184; friend void swap(GetRegistryItemRequest& a, GetRegistryItemRequest& b) { a.Swap(&b); @@ -31855,7 +32236,7 @@ class GetRegistryItemResponse final : &_GetRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 183; + 185; friend void swap(GetRegistryItemResponse& a, GetRegistryItemResponse& b) { a.Swap(&b); @@ -32007,7 +32388,7 @@ class CreateRegistryItemRequest final : &_CreateRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 184; + 186; friend void swap(CreateRegistryItemRequest& a, CreateRegistryItemRequest& b) { a.Swap(&b); @@ -32181,7 +32562,7 @@ class CreateRegistryItemResponse final : &_CreateRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 185; + 187; friend void swap(CreateRegistryItemResponse& a, CreateRegistryItemResponse& b) { a.Swap(&b); @@ -32305,7 +32686,7 @@ class UpdateRegistryItemRequest final : &_UpdateRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 186; + 188; friend void swap(UpdateRegistryItemRequest& a, UpdateRegistryItemRequest& b) { a.Swap(&b); @@ -32605,7 +32986,7 @@ class UpdateRegistryItemResponse final : &_UpdateRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 187; + 189; friend void swap(UpdateRegistryItemResponse& a, UpdateRegistryItemResponse& b) { a.Swap(&b); @@ -32722,7 +33103,7 @@ class ListRegistryItemsRequest final : &_ListRegistryItemsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 188; + 190; friend void swap(ListRegistryItemsRequest& a, ListRegistryItemsRequest& b) { a.Swap(&b); @@ -33042,7 +33423,7 @@ class ListRegistryItemsResponse final : &_ListRegistryItemsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 189; + 191; friend void swap(ListRegistryItemsResponse& a, ListRegistryItemsResponse& b) { a.Swap(&b); @@ -33194,7 +33575,7 @@ class DeleteRegistryItemRequest final : &_DeleteRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 190; + 192; friend void swap(DeleteRegistryItemRequest& a, DeleteRegistryItemRequest& b) { a.Swap(&b); @@ -33341,7 +33722,7 @@ class DeleteRegistryItemResponse final : &_DeleteRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 191; + 193; friend void swap(DeleteRegistryItemResponse& a, DeleteRegistryItemResponse& b) { a.Swap(&b); @@ -33410,6 +33791,322 @@ class DeleteRegistryItemResponse final : }; // ------------------------------------------------------------------- +class RenameRegistryItemRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.RenameRegistryItemRequest) */ { + public: + inline RenameRegistryItemRequest() : RenameRegistryItemRequest(nullptr) {} + ~RenameRegistryItemRequest() override; + explicit PROTOBUF_CONSTEXPR RenameRegistryItemRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RenameRegistryItemRequest(const RenameRegistryItemRequest& from); + RenameRegistryItemRequest(RenameRegistryItemRequest&& from) noexcept + : RenameRegistryItemRequest() { + *this = ::std::move(from); + } + + inline RenameRegistryItemRequest& operator=(const RenameRegistryItemRequest& from) { + CopyFrom(from); + return *this; + } + inline RenameRegistryItemRequest& operator=(RenameRegistryItemRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RenameRegistryItemRequest& default_instance() { + return *internal_default_instance(); + } + static inline const RenameRegistryItemRequest* internal_default_instance() { + return reinterpret_cast( + &_RenameRegistryItemRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 194; + + friend void swap(RenameRegistryItemRequest& a, RenameRegistryItemRequest& b) { + a.Swap(&b); + } + inline void Swap(RenameRegistryItemRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RenameRegistryItemRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RenameRegistryItemRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RenameRegistryItemRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const RenameRegistryItemRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RenameRegistryItemRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.RenameRegistryItemRequest"; + } + protected: + explicit RenameRegistryItemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kItemIdFieldNumber = 1, + kNewNameFieldNumber = 2, + }; + // string item_id = 1 [json_name = "itemId"]; + void clear_item_id(); + const std::string& item_id() const; + template + void set_item_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_item_id(); + PROTOBUF_NODISCARD std::string* release_item_id(); + void set_allocated_item_id(std::string* item_id); + private: + const std::string& _internal_item_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item_id(const std::string& value); + std::string* _internal_mutable_item_id(); + public: + + // string new_name = 2 [json_name = "newName"]; + void clear_new_name(); + const std::string& new_name() const; + template + void set_new_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_new_name(); + PROTOBUF_NODISCARD std::string* release_new_name(); + void set_allocated_new_name(std::string* new_name); + private: + const std::string& _internal_new_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_new_name(const std::string& value); + std::string* _internal_mutable_new_name(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.RenameRegistryItemRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr new_name_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class RenameRegistryItemResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.RenameRegistryItemResponse) */ { + public: + inline RenameRegistryItemResponse() : RenameRegistryItemResponse(nullptr) {} + ~RenameRegistryItemResponse() override; + explicit PROTOBUF_CONSTEXPR RenameRegistryItemResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RenameRegistryItemResponse(const RenameRegistryItemResponse& from); + RenameRegistryItemResponse(RenameRegistryItemResponse&& from) noexcept + : RenameRegistryItemResponse() { + *this = ::std::move(from); + } + + inline RenameRegistryItemResponse& operator=(const RenameRegistryItemResponse& from) { + CopyFrom(from); + return *this; + } + inline RenameRegistryItemResponse& operator=(RenameRegistryItemResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RenameRegistryItemResponse& default_instance() { + return *internal_default_instance(); + } + static inline const RenameRegistryItemResponse* internal_default_instance() { + return reinterpret_cast( + &_RenameRegistryItemResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 195; + + friend void swap(RenameRegistryItemResponse& a, RenameRegistryItemResponse& b) { + a.Swap(&b); + } + inline void Swap(RenameRegistryItemResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RenameRegistryItemResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RenameRegistryItemResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RenameRegistryItemResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const RenameRegistryItemResponse& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RenameRegistryItemResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.RenameRegistryItemResponse"; + } + protected: + explicit RenameRegistryItemResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kItemFieldNumber = 1, + }; + // .viam.app.v1.RegistryItem item = 1 [json_name = "item"]; + bool has_item() const; + private: + bool _internal_has_item() const; + public: + void clear_item(); + const ::viam::app::v1::RegistryItem& item() const; + PROTOBUF_NODISCARD ::viam::app::v1::RegistryItem* release_item(); + ::viam::app::v1::RegistryItem* mutable_item(); + void set_allocated_item(::viam::app::v1::RegistryItem* item); + private: + const ::viam::app::v1::RegistryItem& _internal_item() const; + ::viam::app::v1::RegistryItem* _internal_mutable_item(); + public: + void unsafe_arena_set_allocated_item( + ::viam::app::v1::RegistryItem* item); + ::viam::app::v1::RegistryItem* unsafe_arena_release_item(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.RenameRegistryItemResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::viam::app::v1::RegistryItem* item_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + class TransferRegistryItemRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.TransferRegistryItemRequest) */ { public: @@ -33458,7 +34155,7 @@ class TransferRegistryItemRequest final : &_TransferRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 192; + 196; friend void swap(TransferRegistryItemRequest& a, TransferRegistryItemRequest& b) { a.Swap(&b); @@ -33621,7 +34318,7 @@ class TransferRegistryItemResponse final : &_TransferRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 193; + 197; friend void swap(TransferRegistryItemResponse& a, TransferRegistryItemResponse& b) { a.Swap(&b); @@ -33738,7 +34435,7 @@ class CreateModuleRequest final : &_CreateModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 194; + 198; friend void swap(CreateModuleRequest& a, CreateModuleRequest& b) { a.Swap(&b); @@ -33902,7 +34599,7 @@ class CreateModuleResponse final : &_CreateModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 195; + 199; friend void swap(CreateModuleResponse& a, CreateModuleResponse& b) { a.Swap(&b); @@ -34066,7 +34763,7 @@ class UpdateModuleRequest final : &_UpdateModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 196; + 200; friend void swap(UpdateModuleRequest& a, UpdateModuleRequest& b) { a.Swap(&b); @@ -34354,7 +35051,7 @@ class App final : &_App_default_instance_); } static constexpr int kIndexInFileMessages = - 197; + 201; friend void swap(App& a, App& b) { a.Swap(&b); @@ -34534,7 +35231,7 @@ class UpdateModuleResponse final : &_UpdateModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 198; + 202; friend void swap(UpdateModuleResponse& a, UpdateModuleResponse& b) { a.Swap(&b); @@ -34682,7 +35379,7 @@ class UpdateModuleMetadata final : &_UpdateModuleMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 199; + 203; friend void swap(UpdateModuleMetadata& a, UpdateModuleMetadata& b) { a.Swap(&b); @@ -34850,7 +35547,7 @@ class UpdateMLModelMetadata final : &_UpdateMLModelMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 200; + 204; friend void swap(UpdateMLModelMetadata& a, UpdateMLModelMetadata& b) { a.Swap(&b); @@ -35004,7 +35701,7 @@ class UpdateMLTrainingMetadata final : &_UpdateMLTrainingMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 201; + 205; friend void swap(UpdateMLTrainingMetadata& a, UpdateMLTrainingMetadata& b) { a.Swap(&b); @@ -35169,7 +35866,7 @@ class Model final : &_Model_default_instance_); } static constexpr int kIndexInFileMessages = - 202; + 206; friend void swap(Model& a, Model& b) { a.Swap(&b); @@ -35400,7 +36097,7 @@ class ModuleFileInfo final : &_ModuleFileInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 203; + 207; friend void swap(ModuleFileInfo& a, ModuleFileInfo& b) { a.Swap(&b); @@ -35612,7 +36309,7 @@ class UploadModuleFileRequest final : &_UploadModuleFileRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 204; + 208; friend void swap(UploadModuleFileRequest& a, UploadModuleFileRequest& b) { a.Swap(&b); @@ -35797,7 +36494,7 @@ class UploadModuleFileResponse final : &_UploadModuleFileResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 205; + 209; friend void swap(UploadModuleFileResponse& a, UploadModuleFileResponse& b) { a.Swap(&b); @@ -35945,7 +36642,7 @@ class GetModuleRequest final : &_GetModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 206; + 210; friend void swap(GetModuleRequest& a, GetModuleRequest& b) { a.Swap(&b); @@ -36109,7 +36806,7 @@ class GetModuleResponse final : &_GetModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 207; + 211; friend void swap(GetModuleResponse& a, GetModuleResponse& b) { a.Swap(&b); @@ -36261,7 +36958,7 @@ class Module final : &_Module_default_instance_); } static constexpr int kIndexInFileMessages = - 208; + 212; friend void swap(Module& a, Module& b) { a.Swap(&b); @@ -36619,7 +37316,7 @@ class VersionHistory final : &_VersionHistory_default_instance_); } static constexpr int kIndexInFileMessages = - 209; + 213; friend void swap(VersionHistory& a, VersionHistory& b) { a.Swap(&b); @@ -36864,7 +37561,7 @@ class Uploads final : &_Uploads_default_instance_); } static constexpr int kIndexInFileMessages = - 210; + 214; friend void swap(Uploads& a, Uploads& b) { a.Swap(&b); @@ -37032,7 +37729,7 @@ class ListModulesRequest final : &_ListModulesRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 211; + 215; friend void swap(ListModulesRequest& a, ListModulesRequest& b) { a.Swap(&b); @@ -37200,7 +37897,7 @@ class ListModulesResponse final : &_ListModulesResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 212; + 216; friend void swap(ListModulesResponse& a, ListModulesResponse& b) { a.Swap(&b); @@ -37352,7 +38049,7 @@ class GetUserIDByEmailRequest final : &_GetUserIDByEmailRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 213; + 217; friend void swap(GetUserIDByEmailRequest& a, GetUserIDByEmailRequest& b) { a.Swap(&b); @@ -37500,7 +38197,7 @@ class GetUserIDByEmailResponse final : &_GetUserIDByEmailResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 214; + 218; friend void swap(GetUserIDByEmailResponse& a, GetUserIDByEmailResponse& b) { a.Swap(&b); @@ -37648,7 +38345,7 @@ class ListOrganizationsByUserRequest final : &_ListOrganizationsByUserRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 215; + 219; friend void swap(ListOrganizationsByUserRequest& a, ListOrganizationsByUserRequest& b) { a.Swap(&b); @@ -37796,7 +38493,7 @@ class OrgDetails final : &_OrgDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 216; + 220; friend void swap(OrgDetails& a, OrgDetails& b) { a.Swap(&b); @@ -38021,7 +38718,7 @@ class ListOrganizationsByUserResponse final : &_ListOrganizationsByUserResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 217; + 221; friend void swap(ListOrganizationsByUserResponse& a, ListOrganizationsByUserResponse& b) { a.Swap(&b); @@ -38173,7 +38870,7 @@ class SearchOrganizationsRequest final : &_SearchOrganizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 218; + 222; friend void swap(SearchOrganizationsRequest& a, SearchOrganizationsRequest& b) { a.Swap(&b); @@ -38386,7 +39083,7 @@ class SearchOrganizationsResponse final : &_SearchOrganizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 219; + 223; friend void swap(SearchOrganizationsResponse& a, SearchOrganizationsResponse& b) { a.Swap(&b); @@ -38538,7 +39235,7 @@ class CreateKeyRequest final : &_CreateKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 220; + 224; friend void swap(CreateKeyRequest& a, CreateKeyRequest& b) { a.Swap(&b); @@ -38706,7 +39403,7 @@ class CreateKeyResponse final : &_CreateKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 221; + 225; friend void swap(CreateKeyResponse& a, CreateKeyResponse& b) { a.Swap(&b); @@ -38870,7 +39567,7 @@ class DeleteKeyRequest final : &_DeleteKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 222; + 226; friend void swap(DeleteKeyRequest& a, DeleteKeyRequest& b) { a.Swap(&b); @@ -39017,7 +39714,7 @@ class DeleteKeyResponse final : &_DeleteKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 223; + 227; friend void swap(DeleteKeyResponse& a, DeleteKeyResponse& b) { a.Swap(&b); @@ -39134,7 +39831,7 @@ class RenameKeyRequest final : &_RenameKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 224; + 228; friend void swap(RenameKeyRequest& a, RenameKeyRequest& b) { a.Swap(&b); @@ -39298,7 +39995,7 @@ class RenameKeyResponse final : &_RenameKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 225; + 229; friend void swap(RenameKeyResponse& a, RenameKeyResponse& b) { a.Swap(&b); @@ -39462,7 +40159,7 @@ class AuthorizationDetails final : &_AuthorizationDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 226; + 230; friend void swap(AuthorizationDetails& a, AuthorizationDetails& b) { a.Swap(&b); @@ -39674,7 +40371,7 @@ class APIKeyWithAuthorizations final : &_APIKeyWithAuthorizations_default_instance_); } static constexpr int kIndexInFileMessages = - 227; + 231; friend void swap(APIKeyWithAuthorizations& a, APIKeyWithAuthorizations& b) { a.Swap(&b); @@ -39846,7 +40543,7 @@ class ListKeysRequest final : &_ListKeysRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 228; + 232; friend void swap(ListKeysRequest& a, ListKeysRequest& b) { a.Swap(&b); @@ -39994,7 +40691,7 @@ class ListKeysResponse final : &_ListKeysResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 229; + 233; friend void swap(ListKeysResponse& a, ListKeysResponse& b) { a.Swap(&b); @@ -40146,7 +40843,7 @@ class RotateKeyRequest final : &_RotateKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 230; + 234; friend void swap(RotateKeyRequest& a, RotateKeyRequest& b) { a.Swap(&b); @@ -40294,7 +40991,7 @@ class RotateKeyResponse final : &_RotateKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 231; + 235; friend void swap(RotateKeyResponse& a, RotateKeyResponse& b) { a.Swap(&b); @@ -40458,7 +41155,7 @@ class CreateKeyFromExistingKeyAuthorizationsRequest final : &_CreateKeyFromExistingKeyAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 232; + 236; friend void swap(CreateKeyFromExistingKeyAuthorizationsRequest& a, CreateKeyFromExistingKeyAuthorizationsRequest& b) { a.Swap(&b); @@ -40606,7 +41303,7 @@ class CreateKeyFromExistingKeyAuthorizationsResponse final : &_CreateKeyFromExistingKeyAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 233; + 237; friend void swap(CreateKeyFromExistingKeyAuthorizationsResponse& a, CreateKeyFromExistingKeyAuthorizationsResponse& b) { a.Swap(&b); @@ -40770,7 +41467,7 @@ class GetAppContentRequest final : &_GetAppContentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 234; + 238; friend void swap(GetAppContentRequest& a, GetAppContentRequest& b) { a.Swap(&b); @@ -40934,7 +41631,7 @@ class GetAppContentResponse final : &_GetAppContentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 235; + 239; friend void swap(GetAppContentResponse& a, GetAppContentResponse& b) { a.Swap(&b); @@ -41098,7 +41795,7 @@ class OrganizationSetLogoRequest final : &_OrganizationSetLogoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 236; + 240; friend void swap(OrganizationSetLogoRequest& a, OrganizationSetLogoRequest& b) { a.Swap(&b); @@ -41261,7 +41958,7 @@ class OrganizationSetLogoResponse final : &_OrganizationSetLogoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 237; + 241; friend void swap(OrganizationSetLogoResponse& a, OrganizationSetLogoResponse& b) { a.Swap(&b); @@ -41378,7 +42075,7 @@ class OrganizationGetLogoRequest final : &_OrganizationGetLogoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 238; + 242; friend void swap(OrganizationGetLogoRequest& a, OrganizationGetLogoRequest& b) { a.Swap(&b); @@ -41526,7 +42223,7 @@ class OrganizationGetLogoResponse final : &_OrganizationGetLogoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 239; + 243; friend void swap(OrganizationGetLogoResponse& a, OrganizationGetLogoResponse& b) { a.Swap(&b); @@ -41674,7 +42371,7 @@ class EnableAuthServiceRequest final : &_EnableAuthServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 240; + 244; friend void swap(EnableAuthServiceRequest& a, EnableAuthServiceRequest& b) { a.Swap(&b); @@ -41821,7 +42518,7 @@ class EnableAuthServiceResponse final : &_EnableAuthServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 241; + 245; friend void swap(EnableAuthServiceResponse& a, EnableAuthServiceResponse& b) { a.Swap(&b); @@ -41938,7 +42635,7 @@ class DisableAuthServiceRequest final : &_DisableAuthServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 242; + 246; friend void swap(DisableAuthServiceRequest& a, DisableAuthServiceRequest& b) { a.Swap(&b); @@ -42085,7 +42782,7 @@ class DisableAuthServiceResponse final : &_DisableAuthServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 243; + 247; friend void swap(DisableAuthServiceResponse& a, DisableAuthServiceResponse& b) { a.Swap(&b); @@ -42202,7 +42899,7 @@ class CreateOAuthAppRequest final : &_CreateOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 244; + 248; friend void swap(CreateOAuthAppRequest& a, CreateOAuthAppRequest& b) { a.Swap(&b); @@ -42386,7 +43083,7 @@ class CreateOAuthAppResponse final : &_CreateOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 245; + 249; friend void swap(CreateOAuthAppResponse& a, CreateOAuthAppResponse& b) { a.Swap(&b); @@ -42550,7 +43247,7 @@ class ReadOAuthAppRequest final : &_ReadOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 246; + 250; friend void swap(ReadOAuthAppRequest& a, ReadOAuthAppRequest& b) { a.Swap(&b); @@ -42714,7 +43411,7 @@ class ReadOAuthAppResponse final : &_ReadOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 247; + 251; friend void swap(ReadOAuthAppResponse& a, ReadOAuthAppResponse& b) { a.Swap(&b); @@ -42898,7 +43595,7 @@ class UpdateOAuthAppRequest final : &_UpdateOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 248; + 252; friend void swap(UpdateOAuthAppRequest& a, UpdateOAuthAppRequest& b) { a.Swap(&b); @@ -43097,7 +43794,7 @@ class UpdateOAuthAppResponse final : &_UpdateOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 249; + 253; friend void swap(UpdateOAuthAppResponse& a, UpdateOAuthAppResponse& b) { a.Swap(&b); @@ -43214,7 +43911,7 @@ class DeleteOAuthAppRequest final : &_DeleteOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 250; + 254; friend void swap(DeleteOAuthAppRequest& a, DeleteOAuthAppRequest& b) { a.Swap(&b); @@ -43377,7 +44074,7 @@ class DeleteOAuthAppResponse final : &_DeleteOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 251; + 255; friend void swap(DeleteOAuthAppResponse& a, DeleteOAuthAppResponse& b) { a.Swap(&b); @@ -43494,7 +44191,7 @@ class ListOAuthAppsRequest final : &_ListOAuthAppsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 252; + 256; friend void swap(ListOAuthAppsRequest& a, ListOAuthAppsRequest& b) { a.Swap(&b); @@ -43642,7 +44339,7 @@ class ListOAuthAppsResponse final : &_ListOAuthAppsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 253; + 257; friend void swap(ListOAuthAppsResponse& a, ListOAuthAppsResponse& b) { a.Swap(&b); @@ -43800,7 +44497,7 @@ class OAuthConfig final : &_OAuthConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 254; + 258; friend void swap(OAuthConfig& a, OAuthConfig& b) { a.Swap(&b); @@ -60072,6 +60769,202 @@ inline void AdditionalFragment::set_allocated_version(std::string* version) { // ------------------------------------------------------------------- +// ListNestedFragmentsRequest + +// optional string fragment_id = 1 [json_name = "fragmentId"]; +inline bool ListNestedFragmentsRequest::_internal_has_fragment_id() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool ListNestedFragmentsRequest::has_fragment_id() const { + return _internal_has_fragment_id(); +} +inline void ListNestedFragmentsRequest::clear_fragment_id() { + fragment_id_.ClearToEmpty(); + _has_bits_[0] &= ~0x00000001u; +} +inline const std::string& ListNestedFragmentsRequest::fragment_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.ListNestedFragmentsRequest.fragment_id) + return _internal_fragment_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ListNestedFragmentsRequest::set_fragment_id(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + fragment_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.ListNestedFragmentsRequest.fragment_id) +} +inline std::string* ListNestedFragmentsRequest::mutable_fragment_id() { + std::string* _s = _internal_mutable_fragment_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListNestedFragmentsRequest.fragment_id) + return _s; +} +inline const std::string& ListNestedFragmentsRequest::_internal_fragment_id() const { + return fragment_id_.Get(); +} +inline void ListNestedFragmentsRequest::_internal_set_fragment_id(const std::string& value) { + _has_bits_[0] |= 0x00000001u; + fragment_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* ListNestedFragmentsRequest::_internal_mutable_fragment_id() { + _has_bits_[0] |= 0x00000001u; + return fragment_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* ListNestedFragmentsRequest::release_fragment_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.ListNestedFragmentsRequest.fragment_id) + if (!_internal_has_fragment_id()) { + return nullptr; + } + _has_bits_[0] &= ~0x00000001u; + auto* p = fragment_id_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (fragment_id_.IsDefault()) { + fragment_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void ListNestedFragmentsRequest::set_allocated_fragment_id(std::string* fragment_id) { + if (fragment_id != nullptr) { + _has_bits_[0] |= 0x00000001u; + } else { + _has_bits_[0] &= ~0x00000001u; + } + fragment_id_.SetAllocated(fragment_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (fragment_id_.IsDefault()) { + fragment_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.ListNestedFragmentsRequest.fragment_id) +} + +// repeated .viam.app.v1.AdditionalFragment additional_fragments = 2 [json_name = "additionalFragments"]; +inline int ListNestedFragmentsRequest::_internal_additional_fragments_size() const { + return additional_fragments_.size(); +} +inline int ListNestedFragmentsRequest::additional_fragments_size() const { + return _internal_additional_fragments_size(); +} +inline void ListNestedFragmentsRequest::clear_additional_fragments() { + additional_fragments_.Clear(); +} +inline ::viam::app::v1::AdditionalFragment* ListNestedFragmentsRequest::mutable_additional_fragments(int index) { + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListNestedFragmentsRequest.additional_fragments) + return additional_fragments_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >* +ListNestedFragmentsRequest::mutable_additional_fragments() { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.ListNestedFragmentsRequest.additional_fragments) + return &additional_fragments_; +} +inline const ::viam::app::v1::AdditionalFragment& ListNestedFragmentsRequest::_internal_additional_fragments(int index) const { + return additional_fragments_.Get(index); +} +inline const ::viam::app::v1::AdditionalFragment& ListNestedFragmentsRequest::additional_fragments(int index) const { + // @@protoc_insertion_point(field_get:viam.app.v1.ListNestedFragmentsRequest.additional_fragments) + return _internal_additional_fragments(index); +} +inline ::viam::app::v1::AdditionalFragment* ListNestedFragmentsRequest::_internal_add_additional_fragments() { + return additional_fragments_.Add(); +} +inline ::viam::app::v1::AdditionalFragment* ListNestedFragmentsRequest::add_additional_fragments() { + ::viam::app::v1::AdditionalFragment* _add = _internal_add_additional_fragments(); + // @@protoc_insertion_point(field_add:viam.app.v1.ListNestedFragmentsRequest.additional_fragments) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >& +ListNestedFragmentsRequest::additional_fragments() const { + // @@protoc_insertion_point(field_list:viam.app.v1.ListNestedFragmentsRequest.additional_fragments) + return additional_fragments_; +} + +// ------------------------------------------------------------------- + +// ListNestedFragmentsResponse + +// repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; +inline int ListNestedFragmentsResponse::_internal_fragments_size() const { + return fragments_.size(); +} +inline int ListNestedFragmentsResponse::fragments_size() const { + return _internal_fragments_size(); +} +inline void ListNestedFragmentsResponse::clear_fragments() { + fragments_.Clear(); +} +inline ::viam::app::v1::Fragment* ListNestedFragmentsResponse::mutable_fragments(int index) { + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListNestedFragmentsResponse.fragments) + return fragments_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >* +ListNestedFragmentsResponse::mutable_fragments() { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.ListNestedFragmentsResponse.fragments) + return &fragments_; +} +inline const ::viam::app::v1::Fragment& ListNestedFragmentsResponse::_internal_fragments(int index) const { + return fragments_.Get(index); +} +inline const ::viam::app::v1::Fragment& ListNestedFragmentsResponse::fragments(int index) const { + // @@protoc_insertion_point(field_get:viam.app.v1.ListNestedFragmentsResponse.fragments) + return _internal_fragments(index); +} +inline ::viam::app::v1::Fragment* ListNestedFragmentsResponse::_internal_add_fragments() { + return fragments_.Add(); +} +inline ::viam::app::v1::Fragment* ListNestedFragmentsResponse::add_fragments() { + ::viam::app::v1::Fragment* _add = _internal_add_fragments(); + // @@protoc_insertion_point(field_add:viam.app.v1.ListNestedFragmentsResponse.fragments) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >& +ListNestedFragmentsResponse::fragments() const { + // @@protoc_insertion_point(field_list:viam.app.v1.ListNestedFragmentsResponse.fragments) + return fragments_; +} + +// repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; +inline int ListNestedFragmentsResponse::_internal_resolved_fragments_size() const { + return resolved_fragments_.size(); +} +inline int ListNestedFragmentsResponse::resolved_fragments_size() const { + return _internal_resolved_fragments_size(); +} +inline void ListNestedFragmentsResponse::clear_resolved_fragments() { + resolved_fragments_.Clear(); +} +inline ::viam::app::v1::ResolvedFragment* ListNestedFragmentsResponse::mutable_resolved_fragments(int index) { + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListNestedFragmentsResponse.resolved_fragments) + return resolved_fragments_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >* +ListNestedFragmentsResponse::mutable_resolved_fragments() { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.ListNestedFragmentsResponse.resolved_fragments) + return &resolved_fragments_; +} +inline const ::viam::app::v1::ResolvedFragment& ListNestedFragmentsResponse::_internal_resolved_fragments(int index) const { + return resolved_fragments_.Get(index); +} +inline const ::viam::app::v1::ResolvedFragment& ListNestedFragmentsResponse::resolved_fragments(int index) const { + // @@protoc_insertion_point(field_get:viam.app.v1.ListNestedFragmentsResponse.resolved_fragments) + return _internal_resolved_fragments(index); +} +inline ::viam::app::v1::ResolvedFragment* ListNestedFragmentsResponse::_internal_add_resolved_fragments() { + return resolved_fragments_.Add(); +} +inline ::viam::app::v1::ResolvedFragment* ListNestedFragmentsResponse::add_resolved_fragments() { + ::viam::app::v1::ResolvedFragment* _add = _internal_add_resolved_fragments(); + // @@protoc_insertion_point(field_add:viam.app.v1.ListNestedFragmentsResponse.resolved_fragments) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >& +ListNestedFragmentsResponse::resolved_fragments() const { + // @@protoc_insertion_point(field_list:viam.app.v1.ListNestedFragmentsResponse.resolved_fragments) + return resolved_fragments_; +} + +// ------------------------------------------------------------------- + // ListMachineFragmentsRequest // string machine_id = 1 [json_name = "machineId"]; @@ -64358,6 +65251,74 @@ inline void ModuleVersion::set_allocated_first_run(std::string* first_run) { // @@protoc_insertion_point(field_set_allocated:viam.app.v1.ModuleVersion.first_run) } +// optional string markdown_description = 6 [json_name = "markdownDescription"]; +inline bool ModuleVersion::_internal_has_markdown_description() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline bool ModuleVersion::has_markdown_description() const { + return _internal_has_markdown_description(); +} +inline void ModuleVersion::clear_markdown_description() { + markdown_description_.ClearToEmpty(); + _has_bits_[0] &= ~0x00000002u; +} +inline const std::string& ModuleVersion::markdown_description() const { + // @@protoc_insertion_point(field_get:viam.app.v1.ModuleVersion.markdown_description) + return _internal_markdown_description(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ModuleVersion::set_markdown_description(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000002u; + markdown_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.ModuleVersion.markdown_description) +} +inline std::string* ModuleVersion::mutable_markdown_description() { + std::string* _s = _internal_mutable_markdown_description(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.ModuleVersion.markdown_description) + return _s; +} +inline const std::string& ModuleVersion::_internal_markdown_description() const { + return markdown_description_.Get(); +} +inline void ModuleVersion::_internal_set_markdown_description(const std::string& value) { + _has_bits_[0] |= 0x00000002u; + markdown_description_.Set(value, GetArenaForAllocation()); +} +inline std::string* ModuleVersion::_internal_mutable_markdown_description() { + _has_bits_[0] |= 0x00000002u; + return markdown_description_.Mutable(GetArenaForAllocation()); +} +inline std::string* ModuleVersion::release_markdown_description() { + // @@protoc_insertion_point(field_release:viam.app.v1.ModuleVersion.markdown_description) + if (!_internal_has_markdown_description()) { + return nullptr; + } + _has_bits_[0] &= ~0x00000002u; + auto* p = markdown_description_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (markdown_description_.IsDefault()) { + markdown_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void ModuleVersion::set_allocated_markdown_description(std::string* markdown_description) { + if (markdown_description != nullptr) { + _has_bits_[0] |= 0x00000002u; + } else { + _has_bits_[0] &= ~0x00000002u; + } + markdown_description_.SetAllocated(markdown_description, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (markdown_description_.IsDefault()) { + markdown_description_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.ModuleVersion.markdown_description) +} + // ------------------------------------------------------------------- // ModuleMetadata @@ -67253,6 +68214,204 @@ inline void DeleteRegistryItemRequest::set_allocated_item_id(std::string* item_i // ------------------------------------------------------------------- +// RenameRegistryItemRequest + +// string item_id = 1 [json_name = "itemId"]; +inline void RenameRegistryItemRequest::clear_item_id() { + item_id_.ClearToEmpty(); +} +inline const std::string& RenameRegistryItemRequest::item_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.RenameRegistryItemRequest.item_id) + return _internal_item_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void RenameRegistryItemRequest::set_item_id(ArgT0&& arg0, ArgT... args) { + + item_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.RenameRegistryItemRequest.item_id) +} +inline std::string* RenameRegistryItemRequest::mutable_item_id() { + std::string* _s = _internal_mutable_item_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.RenameRegistryItemRequest.item_id) + return _s; +} +inline const std::string& RenameRegistryItemRequest::_internal_item_id() const { + return item_id_.Get(); +} +inline void RenameRegistryItemRequest::_internal_set_item_id(const std::string& value) { + + item_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* RenameRegistryItemRequest::_internal_mutable_item_id() { + + return item_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* RenameRegistryItemRequest::release_item_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.RenameRegistryItemRequest.item_id) + return item_id_.Release(); +} +inline void RenameRegistryItemRequest::set_allocated_item_id(std::string* item_id) { + if (item_id != nullptr) { + + } else { + + } + item_id_.SetAllocated(item_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (item_id_.IsDefault()) { + item_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.RenameRegistryItemRequest.item_id) +} + +// string new_name = 2 [json_name = "newName"]; +inline void RenameRegistryItemRequest::clear_new_name() { + new_name_.ClearToEmpty(); +} +inline const std::string& RenameRegistryItemRequest::new_name() const { + // @@protoc_insertion_point(field_get:viam.app.v1.RenameRegistryItemRequest.new_name) + return _internal_new_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void RenameRegistryItemRequest::set_new_name(ArgT0&& arg0, ArgT... args) { + + new_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.RenameRegistryItemRequest.new_name) +} +inline std::string* RenameRegistryItemRequest::mutable_new_name() { + std::string* _s = _internal_mutable_new_name(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.RenameRegistryItemRequest.new_name) + return _s; +} +inline const std::string& RenameRegistryItemRequest::_internal_new_name() const { + return new_name_.Get(); +} +inline void RenameRegistryItemRequest::_internal_set_new_name(const std::string& value) { + + new_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* RenameRegistryItemRequest::_internal_mutable_new_name() { + + return new_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* RenameRegistryItemRequest::release_new_name() { + // @@protoc_insertion_point(field_release:viam.app.v1.RenameRegistryItemRequest.new_name) + return new_name_.Release(); +} +inline void RenameRegistryItemRequest::set_allocated_new_name(std::string* new_name) { + if (new_name != nullptr) { + + } else { + + } + new_name_.SetAllocated(new_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (new_name_.IsDefault()) { + new_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.RenameRegistryItemRequest.new_name) +} + +// ------------------------------------------------------------------- + +// RenameRegistryItemResponse + +// .viam.app.v1.RegistryItem item = 1 [json_name = "item"]; +inline bool RenameRegistryItemResponse::_internal_has_item() const { + return this != internal_default_instance() && item_ != nullptr; +} +inline bool RenameRegistryItemResponse::has_item() const { + return _internal_has_item(); +} +inline void RenameRegistryItemResponse::clear_item() { + if (GetArenaForAllocation() == nullptr && item_ != nullptr) { + delete item_; + } + item_ = nullptr; +} +inline const ::viam::app::v1::RegistryItem& RenameRegistryItemResponse::_internal_item() const { + const ::viam::app::v1::RegistryItem* p = item_; + return p != nullptr ? *p : reinterpret_cast( + ::viam::app::v1::_RegistryItem_default_instance_); +} +inline const ::viam::app::v1::RegistryItem& RenameRegistryItemResponse::item() const { + // @@protoc_insertion_point(field_get:viam.app.v1.RenameRegistryItemResponse.item) + return _internal_item(); +} +inline void RenameRegistryItemResponse::unsafe_arena_set_allocated_item( + ::viam::app::v1::RegistryItem* item) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(item_); + } + item_ = item; + if (item) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:viam.app.v1.RenameRegistryItemResponse.item) +} +inline ::viam::app::v1::RegistryItem* RenameRegistryItemResponse::release_item() { + + ::viam::app::v1::RegistryItem* temp = item_; + item_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::viam::app::v1::RegistryItem* RenameRegistryItemResponse::unsafe_arena_release_item() { + // @@protoc_insertion_point(field_release:viam.app.v1.RenameRegistryItemResponse.item) + + ::viam::app::v1::RegistryItem* temp = item_; + item_ = nullptr; + return temp; +} +inline ::viam::app::v1::RegistryItem* RenameRegistryItemResponse::_internal_mutable_item() { + + if (item_ == nullptr) { + auto* p = CreateMaybeMessage<::viam::app::v1::RegistryItem>(GetArenaForAllocation()); + item_ = p; + } + return item_; +} +inline ::viam::app::v1::RegistryItem* RenameRegistryItemResponse::mutable_item() { + ::viam::app::v1::RegistryItem* _msg = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.RenameRegistryItemResponse.item) + return _msg; +} +inline void RenameRegistryItemResponse::set_allocated_item(::viam::app::v1::RegistryItem* item) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete item_; + } + if (item) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(item); + if (message_arena != submessage_arena) { + item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, item, submessage_arena); + } + + } else { + + } + item_ = item; + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.RenameRegistryItemResponse.item) +} + +// ------------------------------------------------------------------- + // TransferRegistryItemRequest // string item_id = 1 [json_name = "itemId"]; @@ -75131,6 +76290,14 @@ OAuthConfig::mutable_enabled_grants() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/src/viam/api/buf.lock b/src/viam/api/buf.lock index 095572b08..85ee912c6 100644 --- a/src/viam/api/buf.lock +++ b/src/viam/api/buf.lock @@ -8,7 +8,7 @@ deps: - remote: buf.build owner: viamrobotics repository: api - commit: 9e483da21ba449adb4be84581233290f + commit: 0cee186fb5e84bf4bb2b4078b9f2788d - remote: buf.build owner: viamrobotics repository: goutils diff --git a/src/viam/api/component/switch/v1/switch.grpc.pb.cc b/src/viam/api/component/switch/v1/switch.grpc.pb.cc index e1aadce10..59f838dde 100644 --- a/src/viam/api/component/switch/v1/switch.grpc.pb.cc +++ b/src/viam/api/component/switch/v1/switch.grpc.pb.cc @@ -21,7 +21,7 @@ #include namespace viam { namespace component { -namespace switch { +namespace switch_ { namespace v1 { static const char* SwitchService_method_names[] = { @@ -44,88 +44,88 @@ SwitchService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& chan , rpcmethod_DoCommand_(SwitchService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} -::grpc::Status SwitchService::Stub::SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::viam::component::switch::v1::SetPositionResponse* response) { +::grpc::Status SwitchService::Stub::SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::viam::component::switch_::v1::SetPositionResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetPosition_, context, request, response); } -void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, std::function f) { +void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, std::function f) { ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SetPosition_, context, request, response, std::move(f)); } -void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, std::function f) { +void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, std::function f) { ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SetPosition_, context, request, response, std::move(f)); } -void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { +void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SetPosition_, context, request, response, reactor); } -void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { +void SwitchService::Stub::experimental_async::SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SetPosition_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>* SwitchService::Stub::AsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch::v1::SetPositionResponse>::Create(channel_.get(), cq, rpcmethod_SetPosition_, context, request, true); +::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>* SwitchService::Stub::AsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch_::v1::SetPositionResponse>::Create(channel_.get(), cq, rpcmethod_SetPosition_, context, request, true); } -::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>* SwitchService::Stub::PrepareAsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch::v1::SetPositionResponse>::Create(channel_.get(), cq, rpcmethod_SetPosition_, context, request, false); +::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>* SwitchService::Stub::PrepareAsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch_::v1::SetPositionResponse>::Create(channel_.get(), cq, rpcmethod_SetPosition_, context, request, false); } -::grpc::Status SwitchService::Stub::GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::viam::component::switch::v1::GetPositionResponse* response) { +::grpc::Status SwitchService::Stub::GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::viam::component::switch_::v1::GetPositionResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetPosition_, context, request, response); } -void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, std::function f) { +void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, std::function f) { ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetPosition_, context, request, response, std::move(f)); } -void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, std::function f) { +void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, std::function f) { ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetPosition_, context, request, response, std::move(f)); } -void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { +void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetPosition_, context, request, response, reactor); } -void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { +void SwitchService::Stub::experimental_async::GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetPosition_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>* SwitchService::Stub::AsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch::v1::GetPositionResponse>::Create(channel_.get(), cq, rpcmethod_GetPosition_, context, request, true); +::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>* SwitchService::Stub::AsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch_::v1::GetPositionResponse>::Create(channel_.get(), cq, rpcmethod_GetPosition_, context, request, true); } -::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>* SwitchService::Stub::PrepareAsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch::v1::GetPositionResponse>::Create(channel_.get(), cq, rpcmethod_GetPosition_, context, request, false); +::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>* SwitchService::Stub::PrepareAsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch_::v1::GetPositionResponse>::Create(channel_.get(), cq, rpcmethod_GetPosition_, context, request, false); } -::grpc::Status SwitchService::Stub::GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response) { +::grpc::Status SwitchService::Stub::GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetNumberOfPositions_, context, request, response); } -void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, std::function f) { +void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, std::function f) { ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNumberOfPositions_, context, request, response, std::move(f)); } -void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, std::function f) { +void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, std::function f) { ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNumberOfPositions_, context, request, response, std::move(f)); } -void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { +void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNumberOfPositions_, context, request, response, reactor); } -void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { +void SwitchService::Stub::experimental_async::GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNumberOfPositions_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* SwitchService::Stub::AsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch::v1::GetNumberOfPositionsResponse>::Create(channel_.get(), cq, rpcmethod_GetNumberOfPositions_, context, request, true); +::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* SwitchService::Stub::AsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>::Create(channel_.get(), cq, rpcmethod_GetNumberOfPositions_, context, request, true); } -::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* SwitchService::Stub::PrepareAsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch::v1::GetNumberOfPositionsResponse>::Create(channel_.get(), cq, rpcmethod_GetNumberOfPositions_, context, request, false); +::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* SwitchService::Stub::PrepareAsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>::Create(channel_.get(), cq, rpcmethod_GetNumberOfPositions_, context, request, false); } ::grpc::Status SwitchService::Stub::DoCommand(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::viam::common::v1::DoCommandResponse* response) { @@ -160,31 +160,31 @@ SwitchService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( SwitchService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< SwitchService::Service, ::viam::component::switch::v1::SetPositionRequest, ::viam::component::switch::v1::SetPositionResponse>( + new ::grpc::internal::RpcMethodHandler< SwitchService::Service, ::viam::component::switch_::v1::SetPositionRequest, ::viam::component::switch_::v1::SetPositionResponse>( [](SwitchService::Service* service, ::grpc_impl::ServerContext* ctx, - const ::viam::component::switch::v1::SetPositionRequest* req, - ::viam::component::switch::v1::SetPositionResponse* resp) { + const ::viam::component::switch_::v1::SetPositionRequest* req, + ::viam::component::switch_::v1::SetPositionResponse* resp) { return service->SetPosition(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( SwitchService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< SwitchService::Service, ::viam::component::switch::v1::GetPositionRequest, ::viam::component::switch::v1::GetPositionResponse>( + new ::grpc::internal::RpcMethodHandler< SwitchService::Service, ::viam::component::switch_::v1::GetPositionRequest, ::viam::component::switch_::v1::GetPositionResponse>( [](SwitchService::Service* service, ::grpc_impl::ServerContext* ctx, - const ::viam::component::switch::v1::GetPositionRequest* req, - ::viam::component::switch::v1::GetPositionResponse* resp) { + const ::viam::component::switch_::v1::GetPositionRequest* req, + ::viam::component::switch_::v1::GetPositionResponse* resp) { return service->GetPosition(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( SwitchService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< SwitchService::Service, ::viam::component::switch::v1::GetNumberOfPositionsRequest, ::viam::component::switch::v1::GetNumberOfPositionsResponse>( + new ::grpc::internal::RpcMethodHandler< SwitchService::Service, ::viam::component::switch_::v1::GetNumberOfPositionsRequest, ::viam::component::switch_::v1::GetNumberOfPositionsResponse>( [](SwitchService::Service* service, ::grpc_impl::ServerContext* ctx, - const ::viam::component::switch::v1::GetNumberOfPositionsRequest* req, - ::viam::component::switch::v1::GetNumberOfPositionsResponse* resp) { + const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* req, + ::viam::component::switch_::v1::GetNumberOfPositionsResponse* resp) { return service->GetNumberOfPositions(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( @@ -202,21 +202,21 @@ SwitchService::Service::Service() { SwitchService::Service::~Service() { } -::grpc::Status SwitchService::Service::SetPosition(::grpc::ServerContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response) { +::grpc::Status SwitchService::Service::SetPosition(::grpc::ServerContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status SwitchService::Service::GetPosition(::grpc::ServerContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response) { +::grpc::Status SwitchService::Service::GetPosition(::grpc::ServerContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status SwitchService::Service::GetNumberOfPositions(::grpc::ServerContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response) { +::grpc::Status SwitchService::Service::GetNumberOfPositions(::grpc::ServerContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response) { (void) context; (void) request; (void) response; diff --git a/src/viam/api/component/switch/v1/switch.grpc.pb.h b/src/viam/api/component/switch/v1/switch.grpc.pb.h index 3b3ca06e4..28d312d52 100644 --- a/src/viam/api/component/switch/v1/switch.grpc.pb.h +++ b/src/viam/api/component/switch/v1/switch.grpc.pb.h @@ -28,7 +28,7 @@ namespace viam { namespace component { -namespace switch { +namespace switch_ { namespace v1 { // A SwitchService services switches associated with a machine. @@ -43,28 +43,28 @@ class SwitchService final { public: virtual ~StubInterface() {} // Set the position of the switch - virtual ::grpc::Status SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::viam::component::switch::v1::SetPositionResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::SetPositionResponse>> AsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::SetPositionResponse>>(AsyncSetPositionRaw(context, request, cq)); + virtual ::grpc::Status SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::viam::component::switch_::v1::SetPositionResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::SetPositionResponse>> AsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::SetPositionResponse>>(AsyncSetPositionRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::SetPositionResponse>> PrepareAsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::SetPositionResponse>>(PrepareAsyncSetPositionRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::SetPositionResponse>> PrepareAsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::SetPositionResponse>>(PrepareAsyncSetPositionRaw(context, request, cq)); } // Get the position of the switch - virtual ::grpc::Status GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::viam::component::switch::v1::GetPositionResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetPositionResponse>> AsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetPositionResponse>>(AsyncGetPositionRaw(context, request, cq)); + virtual ::grpc::Status GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::viam::component::switch_::v1::GetPositionResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetPositionResponse>> AsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetPositionResponse>>(AsyncGetPositionRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetPositionResponse>> PrepareAsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetPositionResponse>>(PrepareAsyncGetPositionRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetPositionResponse>> PrepareAsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetPositionResponse>>(PrepareAsyncGetPositionRaw(context, request, cq)); } // Get the number of positions that the switch supports - virtual ::grpc::Status GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetNumberOfPositionsResponse>> AsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetNumberOfPositionsResponse>>(AsyncGetNumberOfPositionsRaw(context, request, cq)); + virtual ::grpc::Status GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>> AsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>>(AsyncGetNumberOfPositionsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetNumberOfPositionsResponse>> PrepareAsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetNumberOfPositionsResponse>>(PrepareAsyncGetNumberOfPositionsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>> PrepareAsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>>(PrepareAsyncGetNumberOfPositionsRaw(context, request, cq)); } // DoCommand sends/receives arbitrary commands virtual ::grpc::Status DoCommand(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::viam::common::v1::DoCommandResponse* response) = 0; @@ -78,43 +78,43 @@ class SwitchService final { public: virtual ~experimental_async_interface() {} // Set the position of the switch - virtual void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, std::function) = 0; - virtual void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, std::function) = 0; + virtual void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, std::function) = 0; + virtual void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else - virtual void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else - virtual void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif // Get the position of the switch - virtual void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, std::function) = 0; - virtual void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, std::function) = 0; + virtual void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, std::function) = 0; + virtual void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else - virtual void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else - virtual void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif // Get the number of positions that the switch supports - virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, std::function) = 0; - virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, std::function) = 0; + virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, std::function) = 0; + virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, std::function) = 0; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else - virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; #else - virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif // DoCommand sends/receives arbitrary commands virtual void DoCommand(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest* request, ::viam::common::v1::DoCommandResponse* response, std::function) = 0; @@ -138,38 +138,38 @@ class SwitchService final { #endif virtual class experimental_async_interface* experimental_async() { return nullptr; } private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::SetPositionResponse>* AsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::SetPositionResponse>* PrepareAsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetPositionResponse>* AsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetPositionResponse>* PrepareAsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* AsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* PrepareAsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::SetPositionResponse>* AsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::SetPositionResponse>* PrepareAsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetPositionResponse>* AsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetPositionResponse>* PrepareAsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* AsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* PrepareAsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::common::v1::DoCommandResponse>* AsyncDoCommandRaw(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::common::v1::DoCommandResponse>* PrepareAsyncDoCommandRaw(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::viam::component::switch::v1::SetPositionResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>> AsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>>(AsyncSetPositionRaw(context, request, cq)); + ::grpc::Status SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::viam::component::switch_::v1::SetPositionResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>> AsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>>(AsyncSetPositionRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>> PrepareAsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>>(PrepareAsyncSetPositionRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>> PrepareAsyncSetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>>(PrepareAsyncSetPositionRaw(context, request, cq)); } - ::grpc::Status GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::viam::component::switch::v1::GetPositionResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>> AsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>>(AsyncGetPositionRaw(context, request, cq)); + ::grpc::Status GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::viam::component::switch_::v1::GetPositionResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>> AsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>>(AsyncGetPositionRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>> PrepareAsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>>(PrepareAsyncGetPositionRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>> PrepareAsyncGetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>>(PrepareAsyncGetPositionRaw(context, request, cq)); } - ::grpc::Status GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>> AsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>>(AsyncGetNumberOfPositionsRaw(context, request, cq)); + ::grpc::Status GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>> AsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>>(AsyncGetNumberOfPositionsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>> PrepareAsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>>(PrepareAsyncGetNumberOfPositionsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>> PrepareAsyncGetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>>(PrepareAsyncGetNumberOfPositionsRaw(context, request, cq)); } ::grpc::Status DoCommand(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::viam::common::v1::DoCommandResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::common::v1::DoCommandResponse>> AsyncDoCommand(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::grpc::CompletionQueue* cq) { @@ -181,41 +181,41 @@ class SwitchService final { class experimental_async final : public StubInterface::experimental_async_interface { public: - void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, std::function) override; - void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, std::function) override; + void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, std::function) override; + void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else - void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void SetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else - void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void SetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::SetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, std::function) override; - void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, std::function) override; + void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, std::function) override; + void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else - void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetPosition(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else - void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetPosition(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetPositionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif - void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, std::function) override; - void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, std::function) override; + void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, std::function) override; + void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else - void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetNumberOfPositions(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; #else - void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetNumberOfPositions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif void DoCommand(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest* request, ::viam::common::v1::DoCommandResponse* response, std::function) override; void DoCommand(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::common::v1::DoCommandResponse* response, std::function) override; @@ -240,12 +240,12 @@ class SwitchService final { private: std::shared_ptr< ::grpc::ChannelInterface> channel_; class experimental_async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>* AsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::SetPositionResponse>* PrepareAsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>* AsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetPositionResponse>* PrepareAsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* AsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* PrepareAsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>* AsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::SetPositionResponse>* PrepareAsyncSetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::SetPositionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>* AsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetPositionResponse>* PrepareAsyncGetPositionRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetPositionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* AsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* PrepareAsyncGetNumberOfPositionsRaw(::grpc::ClientContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::common::v1::DoCommandResponse>* AsyncDoCommandRaw(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::common::v1::DoCommandResponse>* PrepareAsyncDoCommandRaw(::grpc::ClientContext* context, const ::viam::common::v1::DoCommandRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_SetPosition_; @@ -260,11 +260,11 @@ class SwitchService final { Service(); virtual ~Service(); // Set the position of the switch - virtual ::grpc::Status SetPosition(::grpc::ServerContext* context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response); + virtual ::grpc::Status SetPosition(::grpc::ServerContext* context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response); // Get the position of the switch - virtual ::grpc::Status GetPosition(::grpc::ServerContext* context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response); + virtual ::grpc::Status GetPosition(::grpc::ServerContext* context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response); // Get the number of positions that the switch supports - virtual ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response); + virtual ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response); // DoCommand sends/receives arbitrary commands virtual ::grpc::Status DoCommand(::grpc::ServerContext* context, const ::viam::common::v1::DoCommandRequest* request, ::viam::common::v1::DoCommandResponse* response); }; @@ -280,11 +280,11 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) override { + ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestSetPosition(::grpc::ServerContext* context, ::viam::component::switch::v1::SetPositionRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::component::switch::v1::SetPositionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestSetPosition(::grpc::ServerContext* context, ::viam::component::switch_::v1::SetPositionRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::component::switch_::v1::SetPositionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -300,11 +300,11 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) override { + ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestGetPosition(::grpc::ServerContext* context, ::viam::component::switch::v1::GetPositionRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::component::switch::v1::GetPositionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetPosition(::grpc::ServerContext* context, ::viam::component::switch_::v1::GetPositionRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::component::switch_::v1::GetPositionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -320,11 +320,11 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) override { + ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestGetNumberOfPositions(::grpc::ServerContext* context, ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::component::switch::v1::GetNumberOfPositionsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetNumberOfPositions(::grpc::ServerContext* context, ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -361,38 +361,38 @@ class SwitchService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(0, - new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch::v1::SetPositionRequest, ::viam::component::switch::v1::SetPositionResponse>( + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch_::v1::SetPositionRequest, ::viam::component::switch_::v1::SetPositionResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::viam::component::switch::v1::SetPositionRequest* request, ::viam::component::switch::v1::SetPositionResponse* response) { return this->SetPosition(context, request, response); }));} + context, const ::viam::component::switch_::v1::SetPositionRequest* request, ::viam::component::switch_::v1::SetPositionResponse* response) { return this->SetPosition(context, request, response); }));} void SetMessageAllocatorFor_SetPosition( - ::grpc::experimental::MessageAllocator< ::viam::component::switch::v1::SetPositionRequest, ::viam::component::switch::v1::SetPositionResponse>* allocator) { + ::grpc::experimental::MessageAllocator< ::viam::component::switch_::v1::SetPositionRequest, ::viam::component::switch_::v1::SetPositionResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(0); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch::v1::SetPositionRequest, ::viam::component::switch::v1::SetPositionResponse>*>(handler) + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch_::v1::SetPositionRequest, ::viam::component::switch_::v1::SetPositionResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_SetPosition() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) override { + ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual ::grpc::ServerUnaryReactor* SetPosition( - ::grpc::CallbackServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) + ::grpc::CallbackServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) #else virtual ::grpc::experimental::ServerUnaryReactor* SetPosition( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) #endif { return nullptr; } }; @@ -408,38 +408,38 @@ class SwitchService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(1, - new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch::v1::GetPositionRequest, ::viam::component::switch::v1::GetPositionResponse>( + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch_::v1::GetPositionRequest, ::viam::component::switch_::v1::GetPositionResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::viam::component::switch::v1::GetPositionRequest* request, ::viam::component::switch::v1::GetPositionResponse* response) { return this->GetPosition(context, request, response); }));} + context, const ::viam::component::switch_::v1::GetPositionRequest* request, ::viam::component::switch_::v1::GetPositionResponse* response) { return this->GetPosition(context, request, response); }));} void SetMessageAllocatorFor_GetPosition( - ::grpc::experimental::MessageAllocator< ::viam::component::switch::v1::GetPositionRequest, ::viam::component::switch::v1::GetPositionResponse>* allocator) { + ::grpc::experimental::MessageAllocator< ::viam::component::switch_::v1::GetPositionRequest, ::viam::component::switch_::v1::GetPositionResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(1); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch::v1::GetPositionRequest, ::viam::component::switch::v1::GetPositionResponse>*>(handler) + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch_::v1::GetPositionRequest, ::viam::component::switch_::v1::GetPositionResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_GetPosition() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) override { + ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual ::grpc::ServerUnaryReactor* GetPosition( - ::grpc::CallbackServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) + ::grpc::CallbackServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) #else virtual ::grpc::experimental::ServerUnaryReactor* GetPosition( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) #endif { return nullptr; } }; @@ -455,38 +455,38 @@ class SwitchService final { ::grpc::Service::experimental(). #endif MarkMethodCallback(2, - new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch::v1::GetNumberOfPositionsRequest, ::viam::component::switch::v1::GetNumberOfPositionsResponse>( + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch_::v1::GetNumberOfPositionsRequest, ::viam::component::switch_::v1::GetNumberOfPositionsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::CallbackServerContext* #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch::v1::GetNumberOfPositionsResponse* response) { return this->GetNumberOfPositions(context, request, response); }));} + context, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* request, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* response) { return this->GetNumberOfPositions(context, request, response); }));} void SetMessageAllocatorFor_GetNumberOfPositions( - ::grpc::experimental::MessageAllocator< ::viam::component::switch::v1::GetNumberOfPositionsRequest, ::viam::component::switch::v1::GetNumberOfPositionsResponse>* allocator) { + ::grpc::experimental::MessageAllocator< ::viam::component::switch_::v1::GetNumberOfPositionsRequest, ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); #else ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(2); #endif - static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch::v1::GetNumberOfPositionsRequest, ::viam::component::switch::v1::GetNumberOfPositionsResponse>*>(handler) + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::component::switch_::v1::GetNumberOfPositionsRequest, ::viam::component::switch_::v1::GetNumberOfPositionsResponse>*>(handler) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_GetNumberOfPositions() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) override { + ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL virtual ::grpc::ServerUnaryReactor* GetNumberOfPositions( - ::grpc::CallbackServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) + ::grpc::CallbackServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) #else virtual ::grpc::experimental::ServerUnaryReactor* GetNumberOfPositions( - ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) #endif { return nullptr; } }; @@ -554,7 +554,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) override { + ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -571,7 +571,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) override { + ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -588,7 +588,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) override { + ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -622,7 +622,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) override { + ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -642,7 +642,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) override { + ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -662,7 +662,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) override { + ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -715,7 +715,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) override { + ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -753,7 +753,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) override { + ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -791,7 +791,7 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) override { + ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -850,10 +850,10 @@ class SwitchService final { WithStreamedUnaryMethod_SetPosition() { ::grpc::Service::MarkMethodStreamed(0, new ::grpc::internal::StreamedUnaryHandler< - ::viam::component::switch::v1::SetPositionRequest, ::viam::component::switch::v1::SetPositionResponse>( + ::viam::component::switch_::v1::SetPositionRequest, ::viam::component::switch_::v1::SetPositionResponse>( [this](::grpc_impl::ServerContext* context, ::grpc_impl::ServerUnaryStreamer< - ::viam::component::switch::v1::SetPositionRequest, ::viam::component::switch::v1::SetPositionResponse>* streamer) { + ::viam::component::switch_::v1::SetPositionRequest, ::viam::component::switch_::v1::SetPositionResponse>* streamer) { return this->StreamedSetPosition(context, streamer); })); @@ -862,12 +862,12 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::SetPositionRequest* /*request*/, ::viam::component::switch::v1::SetPositionResponse* /*response*/) override { + ::grpc::Status SetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::SetPositionRequest* /*request*/, ::viam::component::switch_::v1::SetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetPosition(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::component::switch::v1::SetPositionRequest,::viam::component::switch::v1::SetPositionResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedSetPosition(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::component::switch_::v1::SetPositionRequest,::viam::component::switch_::v1::SetPositionResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_GetPosition : public BaseClass { @@ -877,10 +877,10 @@ class SwitchService final { WithStreamedUnaryMethod_GetPosition() { ::grpc::Service::MarkMethodStreamed(1, new ::grpc::internal::StreamedUnaryHandler< - ::viam::component::switch::v1::GetPositionRequest, ::viam::component::switch::v1::GetPositionResponse>( + ::viam::component::switch_::v1::GetPositionRequest, ::viam::component::switch_::v1::GetPositionResponse>( [this](::grpc_impl::ServerContext* context, ::grpc_impl::ServerUnaryStreamer< - ::viam::component::switch::v1::GetPositionRequest, ::viam::component::switch::v1::GetPositionResponse>* streamer) { + ::viam::component::switch_::v1::GetPositionRequest, ::viam::component::switch_::v1::GetPositionResponse>* streamer) { return this->StreamedGetPosition(context, streamer); })); @@ -889,12 +889,12 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetPositionRequest* /*request*/, ::viam::component::switch::v1::GetPositionResponse* /*response*/) override { + ::grpc::Status GetPosition(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetPositionRequest* /*request*/, ::viam::component::switch_::v1::GetPositionResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetPosition(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::component::switch::v1::GetPositionRequest,::viam::component::switch::v1::GetPositionResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedGetPosition(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::component::switch_::v1::GetPositionRequest,::viam::component::switch_::v1::GetPositionResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_GetNumberOfPositions : public BaseClass { @@ -904,10 +904,10 @@ class SwitchService final { WithStreamedUnaryMethod_GetNumberOfPositions() { ::grpc::Service::MarkMethodStreamed(2, new ::grpc::internal::StreamedUnaryHandler< - ::viam::component::switch::v1::GetNumberOfPositionsRequest, ::viam::component::switch::v1::GetNumberOfPositionsResponse>( + ::viam::component::switch_::v1::GetNumberOfPositionsRequest, ::viam::component::switch_::v1::GetNumberOfPositionsResponse>( [this](::grpc_impl::ServerContext* context, ::grpc_impl::ServerUnaryStreamer< - ::viam::component::switch::v1::GetNumberOfPositionsRequest, ::viam::component::switch::v1::GetNumberOfPositionsResponse>* streamer) { + ::viam::component::switch_::v1::GetNumberOfPositionsRequest, ::viam::component::switch_::v1::GetNumberOfPositionsResponse>* streamer) { return this->StreamedGetNumberOfPositions(context, streamer); })); @@ -916,12 +916,12 @@ class SwitchService final { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch::v1::GetNumberOfPositionsResponse* /*response*/) override { + ::grpc::Status GetNumberOfPositions(::grpc::ServerContext* /*context*/, const ::viam::component::switch_::v1::GetNumberOfPositionsRequest* /*request*/, ::viam::component::switch_::v1::GetNumberOfPositionsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetNumberOfPositions(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::component::switch::v1::GetNumberOfPositionsRequest,::viam::component::switch::v1::GetNumberOfPositionsResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedGetNumberOfPositions(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::component::switch_::v1::GetNumberOfPositionsRequest,::viam::component::switch_::v1::GetNumberOfPositionsResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_DoCommand : public BaseClass { diff --git a/src/viam/api/component/switch/v1/switch.pb.cc b/src/viam/api/component/switch/v1/switch.pb.cc index 7a4ed71fc..5b8c16700 100644 --- a/src/viam/api/component/switch/v1/switch.pb.cc +++ b/src/viam/api/component/switch/v1/switch.pb.cc @@ -22,7 +22,7 @@ namespace _pbi = _pb::internal; namespace viam { namespace component { -namespace switch { +namespace switch_ { namespace v1 { PROTOBUF_CONSTEXPR SetPositionRequest::SetPositionRequest( ::_pbi::ConstantInitialized) @@ -109,67 +109,67 @@ static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors const uint32_t TableStruct_component_2fswitch_2fv1_2fswitch_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::SetPositionRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::SetPositionRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::SetPositionRequest, name_), - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::SetPositionRequest, position_), - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::SetPositionRequest, extra_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::SetPositionRequest, name_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::SetPositionRequest, position_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::SetPositionRequest, extra_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::SetPositionResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::SetPositionResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetPositionRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetPositionRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetPositionRequest, name_), - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetPositionRequest, extra_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetPositionRequest, name_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetPositionRequest, extra_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetPositionResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetPositionResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetPositionResponse, position_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetPositionResponse, position_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetNumberOfPositionsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetNumberOfPositionsRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetNumberOfPositionsRequest, name_), - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetNumberOfPositionsRequest, extra_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetNumberOfPositionsRequest, name_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetNumberOfPositionsRequest, extra_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetNumberOfPositionsResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetNumberOfPositionsResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::viam::component::switch::v1::GetNumberOfPositionsResponse, number_of_positions_), + PROTOBUF_FIELD_OFFSET(::viam::component::switch_::v1::GetNumberOfPositionsResponse, number_of_positions_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::viam::component::switch::v1::SetPositionRequest)}, - { 9, -1, -1, sizeof(::viam::component::switch::v1::SetPositionResponse)}, - { 15, -1, -1, sizeof(::viam::component::switch::v1::GetPositionRequest)}, - { 23, -1, -1, sizeof(::viam::component::switch::v1::GetPositionResponse)}, - { 30, -1, -1, sizeof(::viam::component::switch::v1::GetNumberOfPositionsRequest)}, - { 38, -1, -1, sizeof(::viam::component::switch::v1::GetNumberOfPositionsResponse)}, + { 0, -1, -1, sizeof(::viam::component::switch_::v1::SetPositionRequest)}, + { 9, -1, -1, sizeof(::viam::component::switch_::v1::SetPositionResponse)}, + { 15, -1, -1, sizeof(::viam::component::switch_::v1::GetPositionRequest)}, + { 23, -1, -1, sizeof(::viam::component::switch_::v1::GetPositionResponse)}, + { 30, -1, -1, sizeof(::viam::component::switch_::v1::GetNumberOfPositionsRequest)}, + { 38, -1, -1, sizeof(::viam::component::switch_::v1::GetNumberOfPositionsResponse)}, }; static const ::_pb::Message* const file_default_instances[] = { - &::viam::component::switch::v1::_SetPositionRequest_default_instance_._instance, - &::viam::component::switch::v1::_SetPositionResponse_default_instance_._instance, - &::viam::component::switch::v1::_GetPositionRequest_default_instance_._instance, - &::viam::component::switch::v1::_GetPositionResponse_default_instance_._instance, - &::viam::component::switch::v1::_GetNumberOfPositionsRequest_default_instance_._instance, - &::viam::component::switch::v1::_GetNumberOfPositionsResponse_default_instance_._instance, + &::viam::component::switch_::v1::_SetPositionRequest_default_instance_._instance, + &::viam::component::switch_::v1::_SetPositionResponse_default_instance_._instance, + &::viam::component::switch_::v1::_GetPositionRequest_default_instance_._instance, + &::viam::component::switch_::v1::_GetPositionResponse_default_instance_._instance, + &::viam::component::switch_::v1::_GetNumberOfPositionsRequest_default_instance_._instance, + &::viam::component::switch_::v1::_GetNumberOfPositionsResponse_default_instance_._instance, }; const char descriptor_table_protodef_component_2fswitch_2fv1_2fswitch_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -231,7 +231,7 @@ PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_componen PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_component_2fswitch_2fv1_2fswitch_2eproto(&descriptor_table_component_2fswitch_2fv1_2fswitch_2eproto); namespace viam { namespace component { -namespace switch { +namespace switch_ { namespace v1 { // =================================================================== @@ -1382,29 +1382,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata GetNumberOfPositionsResponse::GetMetadata() co } // namespace component } // namespace viam PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::viam::component::switch::v1::SetPositionRequest* -Arena::CreateMaybeMessage< ::viam::component::switch::v1::SetPositionRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::viam::component::switch::v1::SetPositionRequest >(arena); +template<> PROTOBUF_NOINLINE ::viam::component::switch_::v1::SetPositionRequest* +Arena::CreateMaybeMessage< ::viam::component::switch_::v1::SetPositionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::component::switch_::v1::SetPositionRequest >(arena); } -template<> PROTOBUF_NOINLINE ::viam::component::switch::v1::SetPositionResponse* -Arena::CreateMaybeMessage< ::viam::component::switch::v1::SetPositionResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::viam::component::switch::v1::SetPositionResponse >(arena); +template<> PROTOBUF_NOINLINE ::viam::component::switch_::v1::SetPositionResponse* +Arena::CreateMaybeMessage< ::viam::component::switch_::v1::SetPositionResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::component::switch_::v1::SetPositionResponse >(arena); } -template<> PROTOBUF_NOINLINE ::viam::component::switch::v1::GetPositionRequest* -Arena::CreateMaybeMessage< ::viam::component::switch::v1::GetPositionRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::viam::component::switch::v1::GetPositionRequest >(arena); +template<> PROTOBUF_NOINLINE ::viam::component::switch_::v1::GetPositionRequest* +Arena::CreateMaybeMessage< ::viam::component::switch_::v1::GetPositionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::component::switch_::v1::GetPositionRequest >(arena); } -template<> PROTOBUF_NOINLINE ::viam::component::switch::v1::GetPositionResponse* -Arena::CreateMaybeMessage< ::viam::component::switch::v1::GetPositionResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::viam::component::switch::v1::GetPositionResponse >(arena); +template<> PROTOBUF_NOINLINE ::viam::component::switch_::v1::GetPositionResponse* +Arena::CreateMaybeMessage< ::viam::component::switch_::v1::GetPositionResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::component::switch_::v1::GetPositionResponse >(arena); } -template<> PROTOBUF_NOINLINE ::viam::component::switch::v1::GetNumberOfPositionsRequest* -Arena::CreateMaybeMessage< ::viam::component::switch::v1::GetNumberOfPositionsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::viam::component::switch::v1::GetNumberOfPositionsRequest >(arena); +template<> PROTOBUF_NOINLINE ::viam::component::switch_::v1::GetNumberOfPositionsRequest* +Arena::CreateMaybeMessage< ::viam::component::switch_::v1::GetNumberOfPositionsRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::component::switch_::v1::GetNumberOfPositionsRequest >(arena); } -template<> PROTOBUF_NOINLINE ::viam::component::switch::v1::GetNumberOfPositionsResponse* -Arena::CreateMaybeMessage< ::viam::component::switch::v1::GetNumberOfPositionsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::viam::component::switch::v1::GetNumberOfPositionsResponse >(arena); +template<> PROTOBUF_NOINLINE ::viam::component::switch_::v1::GetNumberOfPositionsResponse* +Arena::CreateMaybeMessage< ::viam::component::switch_::v1::GetNumberOfPositionsResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::component::switch_::v1::GetNumberOfPositionsResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/src/viam/api/component/switch/v1/switch.pb.h b/src/viam/api/component/switch/v1/switch.pb.h index 10801e1f6..87fb8dc05 100644 --- a/src/viam/api/component/switch/v1/switch.pb.h +++ b/src/viam/api/component/switch/v1/switch.pb.h @@ -50,7 +50,7 @@ struct TableStruct_component_2fswitch_2fv1_2fswitch_2eproto { extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_component_2fswitch_2fv1_2fswitch_2eproto; namespace viam { namespace component { -namespace switch { +namespace switch_ { namespace v1 { class GetNumberOfPositionsRequest; struct GetNumberOfPositionsRequestDefaultTypeInternal; @@ -75,16 +75,16 @@ extern SetPositionResponseDefaultTypeInternal _SetPositionResponse_default_insta } // namespace component } // namespace viam PROTOBUF_NAMESPACE_OPEN -template<> ::viam::component::switch::v1::GetNumberOfPositionsRequest* Arena::CreateMaybeMessage<::viam::component::switch::v1::GetNumberOfPositionsRequest>(Arena*); -template<> ::viam::component::switch::v1::GetNumberOfPositionsResponse* Arena::CreateMaybeMessage<::viam::component::switch::v1::GetNumberOfPositionsResponse>(Arena*); -template<> ::viam::component::switch::v1::GetPositionRequest* Arena::CreateMaybeMessage<::viam::component::switch::v1::GetPositionRequest>(Arena*); -template<> ::viam::component::switch::v1::GetPositionResponse* Arena::CreateMaybeMessage<::viam::component::switch::v1::GetPositionResponse>(Arena*); -template<> ::viam::component::switch::v1::SetPositionRequest* Arena::CreateMaybeMessage<::viam::component::switch::v1::SetPositionRequest>(Arena*); -template<> ::viam::component::switch::v1::SetPositionResponse* Arena::CreateMaybeMessage<::viam::component::switch::v1::SetPositionResponse>(Arena*); +template<> ::viam::component::switch_::v1::GetNumberOfPositionsRequest* Arena::CreateMaybeMessage<::viam::component::switch_::v1::GetNumberOfPositionsRequest>(Arena*); +template<> ::viam::component::switch_::v1::GetNumberOfPositionsResponse* Arena::CreateMaybeMessage<::viam::component::switch_::v1::GetNumberOfPositionsResponse>(Arena*); +template<> ::viam::component::switch_::v1::GetPositionRequest* Arena::CreateMaybeMessage<::viam::component::switch_::v1::GetPositionRequest>(Arena*); +template<> ::viam::component::switch_::v1::GetPositionResponse* Arena::CreateMaybeMessage<::viam::component::switch_::v1::GetPositionResponse>(Arena*); +template<> ::viam::component::switch_::v1::SetPositionRequest* Arena::CreateMaybeMessage<::viam::component::switch_::v1::SetPositionRequest>(Arena*); +template<> ::viam::component::switch_::v1::SetPositionResponse* Arena::CreateMaybeMessage<::viam::component::switch_::v1::SetPositionResponse>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace viam { namespace component { -namespace switch { +namespace switch_ { namespace v1 { // ===================================================================