diff --git a/src/viam/api/app/v1/app.grpc.pb.cc b/src/viam/api/app/v1/app.grpc.pb.cc index 61f2de6c0..8d814f5bf 100644 --- a/src/viam/api/app/v1/app.grpc.pb.cc +++ b/src/viam/api/app/v1/app.grpc.pb.cc @@ -73,6 +73,8 @@ 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/ListMachineFragments", + "/viam.app.v1.AppService/GetFragmentHistory", "/viam.app.v1.AppService/AddRole", "/viam.app.v1.AppService/RemoveRole", "/viam.app.v1.AppService/ChangeRole", @@ -153,28 +155,30 @@ AppService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel , rpcmethod_CreateFragment_(AppService_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateFragment_(AppService_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteFragment_(AppService_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AddRole_(AppService_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RemoveRole_(AppService_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ChangeRole_(AppService_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListAuthorizations_(AppService_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CheckPermissions_(AppService_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRegistryItem_(AppService_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateRegistryItem_(AppService_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateRegistryItem_(AppService_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListRegistryItems_(AppService_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteRegistryItem_(AppService_method_names[58], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_TransferRegistryItem_(AppService_method_names[59], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateModule_(AppService_method_names[60], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateModule_(AppService_method_names[61], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UploadModuleFile_(AppService_method_names[62], options.suffix_for_stats(),::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) - , rpcmethod_GetModule_(AppService_method_names[63], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListModules_(AppService_method_names[64], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateKey_(AppService_method_names[65], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteKey_(AppService_method_names[66], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListKeys_(AppService_method_names[67], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RenameKey_(AppService_method_names[68], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RotateKey_(AppService_method_names[69], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateKeyFromExistingKeyAuthorizations_(AppService_method_names[70], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListMachineFragments_(AppService_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetFragmentHistory_(AppService_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AddRole_(AppService_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RemoveRole_(AppService_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ChangeRole_(AppService_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListAuthorizations_(AppService_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CheckPermissions_(AppService_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRegistryItem_(AppService_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateRegistryItem_(AppService_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRegistryItem_(AppService_method_names[58], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListRegistryItems_(AppService_method_names[59], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteRegistryItem_(AppService_method_names[60], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_TransferRegistryItem_(AppService_method_names[61], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateModule_(AppService_method_names[62], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateModule_(AppService_method_names[63], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UploadModuleFile_(AppService_method_names[64], options.suffix_for_stats(),::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) + , rpcmethod_GetModule_(AppService_method_names[65], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListModules_(AppService_method_names[66], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateKey_(AppService_method_names[67], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteKey_(AppService_method_names[68], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListKeys_(AppService_method_names[69], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RenameKey_(AppService_method_names[70], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RotateKey_(AppService_method_names[71], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateKeyFromExistingKeyAuthorizations_(AppService_method_names[72], options.suffix_for_stats(),::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) { @@ -1297,6 +1301,52 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteFragmentResponse>* App return result; } +::grpc::Status AppService::Stub::ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::viam::app::v1::ListMachineFragmentsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ListMachineFragments_, context, request, response); +} + +void AppService::Stub::async::ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListMachineFragments_, context, request, response, std::move(f)); +} + +void AppService::Stub::async::ListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListMachineFragments_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>* AppService::Stub::PrepareAsyncListMachineFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::viam::app::v1::ListMachineFragmentsResponse, ::viam::app::v1::ListMachineFragmentsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ListMachineFragments_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>* AppService::Stub::AsyncListMachineFragmentsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncListMachineFragmentsRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status AppService::Stub::GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::viam::app::v1::GetFragmentHistoryResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetFragmentHistory_, context, request, response); +} + +void AppService::Stub::async::GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetFragmentHistory_, context, request, response, std::move(f)); +} + +void AppService::Stub::async::GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetFragmentHistory_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>* AppService::Stub::PrepareAsyncGetFragmentHistoryRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::viam::app::v1::GetFragmentHistoryResponse, ::viam::app::v1::GetFragmentHistoryRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetFragmentHistory_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>* AppService::Stub::AsyncGetFragmentHistoryRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetFragmentHistoryRaw(context, request, cq); + result->StartCall(); + return result; +} + ::grpc::Status AppService::Stub::AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::viam::app::v1::AddRoleResponse* response) { return ::grpc::internal::BlockingUnaryCall< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AddRole_, context, request, response); } @@ -2290,6 +2340,26 @@ AppService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( AppService_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](AppService::Service* service, + ::grpc::ServerContext* ctx, + const ::viam::app::v1::ListMachineFragmentsRequest* req, + ::viam::app::v1::ListMachineFragmentsResponse* resp) { + return service->ListMachineFragments(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[50], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](AppService::Service* service, + ::grpc::ServerContext* ctx, + const ::viam::app::v1::GetFragmentHistoryRequest* req, + ::viam::app::v1::GetFragmentHistoryResponse* resp) { + return service->GetFragmentHistory(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[51], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, ::grpc::ServerContext* ctx, @@ -2298,7 +2368,7 @@ AppService::Service::Service() { return service->AddRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[50], + AppService_method_names[52], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2308,7 +2378,7 @@ AppService::Service::Service() { return service->RemoveRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[51], + AppService_method_names[53], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2318,7 +2388,7 @@ AppService::Service::Service() { return service->ChangeRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[52], + AppService_method_names[54], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2328,7 +2398,7 @@ AppService::Service::Service() { return service->ListAuthorizations(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[53], + AppService_method_names[55], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2338,7 +2408,7 @@ AppService::Service::Service() { return service->CheckPermissions(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[54], + AppService_method_names[56], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2348,7 +2418,7 @@ AppService::Service::Service() { return service->GetRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[55], + AppService_method_names[57], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2358,7 +2428,7 @@ AppService::Service::Service() { return service->CreateRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[56], + AppService_method_names[58], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2368,7 +2438,7 @@ AppService::Service::Service() { return service->UpdateRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[57], + AppService_method_names[59], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2378,7 +2448,7 @@ AppService::Service::Service() { return service->ListRegistryItems(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[58], + AppService_method_names[60], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2388,7 +2458,7 @@ AppService::Service::Service() { return service->DeleteRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[59], + AppService_method_names[61], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2398,7 +2468,7 @@ AppService::Service::Service() { return service->TransferRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[60], + AppService_method_names[62], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2408,7 +2478,7 @@ AppService::Service::Service() { return service->CreateModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[61], + AppService_method_names[63], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2418,7 +2488,7 @@ AppService::Service::Service() { return service->UpdateModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[62], + AppService_method_names[64], ::grpc::internal::RpcMethod::CLIENT_STREAMING, new ::grpc::internal::ClientStreamingHandler< AppService::Service, ::viam::app::v1::UploadModuleFileRequest, ::viam::app::v1::UploadModuleFileResponse>( [](AppService::Service* service, @@ -2428,7 +2498,7 @@ AppService::Service::Service() { return service->UploadModuleFile(ctx, reader, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[63], + AppService_method_names[65], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2438,7 +2508,7 @@ AppService::Service::Service() { return service->GetModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[64], + AppService_method_names[66], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2448,7 +2518,7 @@ AppService::Service::Service() { return service->ListModules(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[65], + AppService_method_names[67], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2458,7 +2528,7 @@ AppService::Service::Service() { return service->CreateKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[66], + AppService_method_names[68], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2468,7 +2538,7 @@ AppService::Service::Service() { return service->DeleteKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[67], + AppService_method_names[69], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2478,7 +2548,7 @@ AppService::Service::Service() { return service->ListKeys(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[68], + AppService_method_names[70], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2488,7 +2558,7 @@ AppService::Service::Service() { return service->RenameKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[69], + AppService_method_names[71], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2498,7 +2568,7 @@ AppService::Service::Service() { return service->RotateKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[70], + AppService_method_names[72], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AppService::Service* service, @@ -2855,6 +2925,20 @@ ::grpc::Status AppService::Service::DeleteFragment(::grpc::ServerContext* contex 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; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status AppService::Service::GetFragmentHistory(::grpc::ServerContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::AddRole(::grpc::ServerContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* 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 5e28ba6ba..57792f20a 100644 --- a/src/viam/api/app/v1/app.grpc.pb.h +++ b/src/viam/api/app/v1/app.grpc.pb.h @@ -440,6 +440,22 @@ 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)); } + // 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) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineFragmentsResponse>>(AsyncListMachineFragmentsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineFragmentsResponse>> PrepareAsyncListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListMachineFragmentsResponse>>(PrepareAsyncListMachineFragmentsRaw(context, request, cq)); + } + // Gets fragment history + virtual ::grpc::Status GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::viam::app::v1::GetFragmentHistoryResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetFragmentHistoryResponse>> AsyncGetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetFragmentHistoryResponse>>(AsyncGetFragmentHistoryRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetFragmentHistoryResponse>> PrepareAsyncGetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetFragmentHistoryResponse>>(PrepareAsyncGetFragmentHistoryRaw(context, request, cq)); + } // Creates an IdentityAuthorization virtual ::grpc::Status AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::viam::app::v1::AddRoleResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::AddRoleResponse>> AsyncAddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::grpc::CompletionQueue* cq) { @@ -759,6 +775,12 @@ class AppService final { // Deletes a fragment virtual void DeleteFragment(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest* request, ::viam::app::v1::DeleteFragmentResponse* response, std::function) = 0; virtual void DeleteFragment(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest* request, ::viam::app::v1::DeleteFragmentResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // 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 ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // Gets fragment history + virtual void GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response, std::function) = 0; + virtual void GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; // Creates an IdentityAuthorization virtual void AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* response, std::function) = 0; virtual void AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; @@ -911,6 +933,10 @@ 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::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::GetFragmentHistoryResponse>* AsyncGetFragmentHistoryRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetFragmentHistoryResponse>* PrepareAsyncGetFragmentHistoryRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::AddRoleResponse>* AsyncAddRoleRaw(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::AddRoleResponse>* PrepareAsyncAddRoleRaw(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::RemoveRoleResponse>* AsyncRemoveRoleRaw(::grpc::ClientContext* context, const ::viam::app::v1::RemoveRoleRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -1305,6 +1331,20 @@ 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 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)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>> PrepareAsyncListMachineFragments(::grpc::ClientContext* context, const ::viam::app::v1::ListMachineFragmentsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListMachineFragmentsResponse>>(PrepareAsyncListMachineFragmentsRaw(context, request, cq)); + } + ::grpc::Status GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::viam::app::v1::GetFragmentHistoryResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>> AsyncGetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>>(AsyncGetFragmentHistoryRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>> PrepareAsyncGetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>>(PrepareAsyncGetFragmentHistoryRaw(context, request, cq)); + } ::grpc::Status AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::viam::app::v1::AddRoleResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::AddRoleResponse>> AsyncAddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::AddRoleResponse>>(AsyncAddRoleRaw(context, request, cq)); @@ -1561,6 +1601,10 @@ class AppService final { void UpdateFragment(::grpc::ClientContext* context, const ::viam::app::v1::UpdateFragmentRequest* request, ::viam::app::v1::UpdateFragmentResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void DeleteFragment(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest* request, ::viam::app::v1::DeleteFragmentResponse* response, std::function) override; void DeleteFragment(::grpc::ClientContext* context, const ::viam::app::v1::DeleteFragmentRequest* request, ::viam::app::v1::DeleteFragmentResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + 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 ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response, std::function) override; + void GetFragmentHistory(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* response, std::function) override; void AddRole(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void RemoveRole(::grpc::ClientContext* context, const ::viam::app::v1::RemoveRoleRequest* request, ::viam::app::v1::RemoveRoleResponse* response, std::function) override; @@ -1714,6 +1758,10 @@ 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::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::GetFragmentHistoryResponse>* AsyncGetFragmentHistoryRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetFragmentHistoryResponse>* PrepareAsyncGetFragmentHistoryRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetFragmentHistoryRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::AddRoleResponse>* AsyncAddRoleRaw(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::AddRoleResponse>* PrepareAsyncAddRoleRaw(::grpc::ClientContext* context, const ::viam::app::v1::AddRoleRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::RemoveRoleResponse>* AsyncRemoveRoleRaw(::grpc::ClientContext* context, const ::viam::app::v1::RemoveRoleRequest& request, ::grpc::CompletionQueue* cq) override; @@ -1808,6 +1856,8 @@ 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_ListMachineFragments_; + const ::grpc::internal::RpcMethod rpcmethod_GetFragmentHistory_; const ::grpc::internal::RpcMethod rpcmethod_AddRole_; const ::grpc::internal::RpcMethod rpcmethod_RemoveRole_; const ::grpc::internal::RpcMethod rpcmethod_ChangeRole_; @@ -1944,6 +1994,10 @@ 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); + // 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); + // Gets fragment history + virtual ::grpc::Status GetFragmentHistory(::grpc::ServerContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response); // Creates an IdentityAuthorization virtual ::grpc::Status AddRole(::grpc::ServerContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* response); // Deletes an IdentityAuthorization @@ -2953,12 +3007,52 @@ class AppService final { } }; template + class WithAsyncMethod_ListMachineFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_ListMachineFragments() { + ::grpc::Service::MarkMethodAsync(49); + } + ~WithAsyncMethod_ListMachineFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListMachineFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) override { + abort(); + 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(49, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetFragmentHistory : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetFragmentHistory() { + ::grpc::Service::MarkMethodAsync(50); + } + ~WithAsyncMethod_GetFragmentHistory() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetFragmentHistory(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) override { + abort(); + 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(50, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_AddRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_AddRole() { - ::grpc::Service::MarkMethodAsync(49); + ::grpc::Service::MarkMethodAsync(51); } ~WithAsyncMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -2969,7 +3063,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(49, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2978,7 +3072,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RemoveRole() { - ::grpc::Service::MarkMethodAsync(50); + ::grpc::Service::MarkMethodAsync(52); } ~WithAsyncMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -2989,7 +3083,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(50, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2998,7 +3092,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ChangeRole() { - ::grpc::Service::MarkMethodAsync(51); + ::grpc::Service::MarkMethodAsync(53); } ~WithAsyncMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -3009,7 +3103,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(51, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3018,7 +3112,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodAsync(52); + ::grpc::Service::MarkMethodAsync(54); } ~WithAsyncMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -3029,7 +3123,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(52, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3038,7 +3132,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CheckPermissions() { - ::grpc::Service::MarkMethodAsync(53); + ::grpc::Service::MarkMethodAsync(55); } ~WithAsyncMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -3049,7 +3143,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(53, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3058,7 +3152,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodAsync(54); + ::grpc::Service::MarkMethodAsync(56); } ~WithAsyncMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -3069,7 +3163,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(54, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3078,7 +3172,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodAsync(55); + ::grpc::Service::MarkMethodAsync(57); } ~WithAsyncMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -3089,7 +3183,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(55, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3098,7 +3192,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodAsync(56); + ::grpc::Service::MarkMethodAsync(58); } ~WithAsyncMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -3109,7 +3203,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(56, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(58, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3118,7 +3212,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodAsync(57); + ::grpc::Service::MarkMethodAsync(59); } ~WithAsyncMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -3129,7 +3223,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(57, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3138,7 +3232,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodAsync(58); + ::grpc::Service::MarkMethodAsync(60); } ~WithAsyncMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -3149,7 +3243,7 @@ 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(58, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(60, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3158,7 +3252,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodAsync(59); + ::grpc::Service::MarkMethodAsync(61); } ~WithAsyncMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -3169,7 +3263,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(59, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(61, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3178,7 +3272,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateModule() { - ::grpc::Service::MarkMethodAsync(60); + ::grpc::Service::MarkMethodAsync(62); } ~WithAsyncMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -3189,7 +3283,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(60, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(62, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3198,7 +3292,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateModule() { - ::grpc::Service::MarkMethodAsync(61); + ::grpc::Service::MarkMethodAsync(63); } ~WithAsyncMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -3209,7 +3303,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(61, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(63, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3218,7 +3312,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodAsync(62); + ::grpc::Service::MarkMethodAsync(64); } ~WithAsyncMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -3229,7 +3323,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(62, context, reader, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncClientStreaming(64, context, reader, new_call_cq, notification_cq, tag); } }; template @@ -3238,7 +3332,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetModule() { - ::grpc::Service::MarkMethodAsync(63); + ::grpc::Service::MarkMethodAsync(65); } ~WithAsyncMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -3249,7 +3343,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(63, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(65, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3258,7 +3352,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListModules() { - ::grpc::Service::MarkMethodAsync(64); + ::grpc::Service::MarkMethodAsync(66); } ~WithAsyncMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -3269,7 +3363,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(64, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(66, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3278,7 +3372,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateKey() { - ::grpc::Service::MarkMethodAsync(65); + ::grpc::Service::MarkMethodAsync(67); } ~WithAsyncMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -3289,7 +3383,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(65, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(67, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3298,7 +3392,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteKey() { - ::grpc::Service::MarkMethodAsync(66); + ::grpc::Service::MarkMethodAsync(68); } ~WithAsyncMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -3309,7 +3403,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(66, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(68, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3318,7 +3412,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListKeys() { - ::grpc::Service::MarkMethodAsync(67); + ::grpc::Service::MarkMethodAsync(69); } ~WithAsyncMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -3329,7 +3423,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(67, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(69, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3338,7 +3432,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RenameKey() { - ::grpc::Service::MarkMethodAsync(68); + ::grpc::Service::MarkMethodAsync(70); } ~WithAsyncMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -3349,7 +3443,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(68, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(70, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3358,7 +3452,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RotateKey() { - ::grpc::Service::MarkMethodAsync(69); + ::grpc::Service::MarkMethodAsync(71); } ~WithAsyncMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -3369,7 +3463,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(69, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(71, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -3378,7 +3472,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodAsync(70); + ::grpc::Service::MarkMethodAsync(72); } ~WithAsyncMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -3389,10 +3483,10 @@ 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(70, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(72, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_GetUserIDByEmail : public BaseClass { private: @@ -4712,18 +4806,72 @@ class AppService final { ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::DeleteFragmentRequest* /*request*/, ::viam::app::v1::DeleteFragmentResponse* /*response*/) { return nullptr; } }; template + class WithCallbackMethod_ListMachineFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_ListMachineFragments() { + ::grpc::Service::MarkMethodCallback(49, + new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::viam::app::v1::ListMachineFragmentsRequest* request, ::viam::app::v1::ListMachineFragmentsResponse* response) { return this->ListMachineFragments(context, request, response); }));} + void SetMessageAllocatorFor_ListMachineFragments( + ::grpc::MessageAllocator< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); + static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_ListMachineFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListMachineFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* ListMachineFragments( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_GetFragmentHistory : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetFragmentHistory() { + ::grpc::Service::MarkMethodCallback(50, + new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::viam::app::v1::GetFragmentHistoryRequest* request, ::viam::app::v1::GetFragmentHistoryResponse* response) { return this->GetFragmentHistory(context, request, response); }));} + void SetMessageAllocatorFor_GetFragmentHistory( + ::grpc::MessageAllocator< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); + static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetFragmentHistory() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetFragmentHistory(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetFragmentHistory( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) { return nullptr; } + }; + template class WithCallbackMethod_AddRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_AddRole() { - ::grpc::Service::MarkMethodCallback(49, + ::grpc::Service::MarkMethodCallback(51, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::AddRoleRequest* request, ::viam::app::v1::AddRoleResponse* response) { return this->AddRole(context, request, response); }));} void SetMessageAllocatorFor_AddRole( ::grpc::MessageAllocator< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4744,13 +4892,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RemoveRole() { - ::grpc::Service::MarkMethodCallback(50, + ::grpc::Service::MarkMethodCallback(52, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::RemoveRoleRequest* request, ::viam::app::v1::RemoveRoleResponse* response) { return this->RemoveRole(context, request, response); }));} void SetMessageAllocatorFor_RemoveRole( ::grpc::MessageAllocator< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4771,13 +4919,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ChangeRole() { - ::grpc::Service::MarkMethodCallback(51, + ::grpc::Service::MarkMethodCallback(53, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::ChangeRoleRequest* request, ::viam::app::v1::ChangeRoleResponse* response) { return this->ChangeRole(context, request, response); }));} void SetMessageAllocatorFor_ChangeRole( ::grpc::MessageAllocator< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4798,13 +4946,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodCallback(52, + ::grpc::Service::MarkMethodCallback(54, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::ListAuthorizationsRequest* request, ::viam::app::v1::ListAuthorizationsResponse* response) { return this->ListAuthorizations(context, request, response); }));} void SetMessageAllocatorFor_ListAuthorizations( ::grpc::MessageAllocator< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4825,13 +4973,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CheckPermissions() { - ::grpc::Service::MarkMethodCallback(53, + ::grpc::Service::MarkMethodCallback(55, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::CheckPermissionsRequest* request, ::viam::app::v1::CheckPermissionsResponse* response) { return this->CheckPermissions(context, request, response); }));} void SetMessageAllocatorFor_CheckPermissions( ::grpc::MessageAllocator< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4852,13 +5000,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodCallback(54, + ::grpc::Service::MarkMethodCallback(56, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::GetRegistryItemRequest* request, ::viam::app::v1::GetRegistryItemResponse* response) { return this->GetRegistryItem(context, request, response); }));} void SetMessageAllocatorFor_GetRegistryItem( ::grpc::MessageAllocator< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4879,13 +5027,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodCallback(55, + ::grpc::Service::MarkMethodCallback(57, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::CreateRegistryItemRequest* request, ::viam::app::v1::CreateRegistryItemResponse* response) { return this->CreateRegistryItem(context, request, response); }));} void SetMessageAllocatorFor_CreateRegistryItem( ::grpc::MessageAllocator< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4906,13 +5054,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodCallback(56, + ::grpc::Service::MarkMethodCallback(58, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::UpdateRegistryItemRequest* request, ::viam::app::v1::UpdateRegistryItemResponse* response) { return this->UpdateRegistryItem(context, request, response); }));} void SetMessageAllocatorFor_UpdateRegistryItem( ::grpc::MessageAllocator< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(58); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4933,13 +5081,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodCallback(57, + ::grpc::Service::MarkMethodCallback(59, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::ListRegistryItemsRequest* request, ::viam::app::v1::ListRegistryItemsResponse* response) { return this->ListRegistryItems(context, request, response); }));} void SetMessageAllocatorFor_ListRegistryItems( ::grpc::MessageAllocator< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(59); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4960,13 +5108,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodCallback(58, + ::grpc::Service::MarkMethodCallback(60, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::DeleteRegistryItemRequest* request, ::viam::app::v1::DeleteRegistryItemResponse* response) { return this->DeleteRegistryItem(context, request, response); }));} void SetMessageAllocatorFor_DeleteRegistryItem( ::grpc::MessageAllocator< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(58); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(60); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4987,13 +5135,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodCallback(59, + ::grpc::Service::MarkMethodCallback(61, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::TransferRegistryItemRequest* request, ::viam::app::v1::TransferRegistryItemResponse* response) { return this->TransferRegistryItem(context, request, response); }));} void SetMessageAllocatorFor_TransferRegistryItem( ::grpc::MessageAllocator< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(59); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(61); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5014,13 +5162,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CreateModule() { - ::grpc::Service::MarkMethodCallback(60, + ::grpc::Service::MarkMethodCallback(62, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::CreateModuleRequest* request, ::viam::app::v1::CreateModuleResponse* response) { return this->CreateModule(context, request, response); }));} void SetMessageAllocatorFor_CreateModule( ::grpc::MessageAllocator< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(60); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(62); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5041,13 +5189,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_UpdateModule() { - ::grpc::Service::MarkMethodCallback(61, + ::grpc::Service::MarkMethodCallback(63, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::UpdateModuleRequest* request, ::viam::app::v1::UpdateModuleResponse* response) { return this->UpdateModule(context, request, response); }));} void SetMessageAllocatorFor_UpdateModule( ::grpc::MessageAllocator< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(61); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(63); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5068,7 +5216,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodCallback(62, + ::grpc::Service::MarkMethodCallback(64, new ::grpc::internal::CallbackClientStreamingHandler< ::viam::app::v1::UploadModuleFileRequest, ::viam::app::v1::UploadModuleFileResponse>( [this]( ::grpc::CallbackServerContext* context, ::viam::app::v1::UploadModuleFileResponse* response) { return this->UploadModuleFile(context, response); })); @@ -5090,13 +5238,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_GetModule() { - ::grpc::Service::MarkMethodCallback(63, + ::grpc::Service::MarkMethodCallback(65, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::GetModuleRequest* request, ::viam::app::v1::GetModuleResponse* response) { return this->GetModule(context, request, response); }));} void SetMessageAllocatorFor_GetModule( ::grpc::MessageAllocator< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(63); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(65); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5117,13 +5265,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ListModules() { - ::grpc::Service::MarkMethodCallback(64, + ::grpc::Service::MarkMethodCallback(66, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::ListModulesRequest* request, ::viam::app::v1::ListModulesResponse* response) { return this->ListModules(context, request, response); }));} void SetMessageAllocatorFor_ListModules( ::grpc::MessageAllocator< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(64); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(66); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5144,13 +5292,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CreateKey() { - ::grpc::Service::MarkMethodCallback(65, + ::grpc::Service::MarkMethodCallback(67, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::CreateKeyRequest* request, ::viam::app::v1::CreateKeyResponse* response) { return this->CreateKey(context, request, response); }));} void SetMessageAllocatorFor_CreateKey( ::grpc::MessageAllocator< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(65); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(67); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5171,13 +5319,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_DeleteKey() { - ::grpc::Service::MarkMethodCallback(66, + ::grpc::Service::MarkMethodCallback(68, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::DeleteKeyRequest* request, ::viam::app::v1::DeleteKeyResponse* response) { return this->DeleteKey(context, request, response); }));} void SetMessageAllocatorFor_DeleteKey( ::grpc::MessageAllocator< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(66); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(68); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5198,13 +5346,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ListKeys() { - ::grpc::Service::MarkMethodCallback(67, + ::grpc::Service::MarkMethodCallback(69, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::ListKeysRequest* request, ::viam::app::v1::ListKeysResponse* response) { return this->ListKeys(context, request, response); }));} void SetMessageAllocatorFor_ListKeys( ::grpc::MessageAllocator< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(67); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(69); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5225,13 +5373,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RenameKey() { - ::grpc::Service::MarkMethodCallback(68, + ::grpc::Service::MarkMethodCallback(70, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::RenameKeyRequest* request, ::viam::app::v1::RenameKeyResponse* response) { return this->RenameKey(context, request, response); }));} void SetMessageAllocatorFor_RenameKey( ::grpc::MessageAllocator< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(68); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(70); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5252,13 +5400,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RotateKey() { - ::grpc::Service::MarkMethodCallback(69, + ::grpc::Service::MarkMethodCallback(71, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::RotateKeyRequest* request, ::viam::app::v1::RotateKeyResponse* response) { return this->RotateKey(context, request, response); }));} void SetMessageAllocatorFor_RotateKey( ::grpc::MessageAllocator< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(69); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(71); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5279,13 +5427,13 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodCallback(70, + ::grpc::Service::MarkMethodCallback(72, new ::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest* request, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse* response) { return this->CreateKeyFromExistingKeyAuthorizations(context, request, response); }));} void SetMessageAllocatorFor_CreateKeyFromExistingKeyAuthorizations( ::grpc::MessageAllocator< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(70); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(72); static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -5300,7 +5448,7 @@ class AppService final { virtual ::grpc::ServerUnaryReactor* CreateKeyFromExistingKeyAuthorizations( ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest* /*request*/, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; + typedef WithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_GetUserIDByEmail : public BaseClass { @@ -6136,81 +6284,115 @@ class AppService final { } }; template - class WithGenericMethod_AddRole : public BaseClass { + class WithGenericMethod_ListMachineFragments : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AddRole() { + WithGenericMethod_ListMachineFragments() { ::grpc::Service::MarkMethodGeneric(49); } - ~WithGenericMethod_AddRole() override { + ~WithGenericMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AddRole(::grpc::ServerContext* /*context*/, const ::viam::app::v1::AddRoleRequest* /*request*/, ::viam::app::v1::AddRoleResponse* /*response*/) override { + ::grpc::Status ListMachineFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_RemoveRole : public BaseClass { + class WithGenericMethod_GetFragmentHistory : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_RemoveRole() { + WithGenericMethod_GetFragmentHistory() { ::grpc::Service::MarkMethodGeneric(50); } - ~WithGenericMethod_RemoveRole() override { + ~WithGenericMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status RemoveRole(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RemoveRoleRequest* /*request*/, ::viam::app::v1::RemoveRoleResponse* /*response*/) override { + ::grpc::Status GetFragmentHistory(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_ChangeRole : public BaseClass { + class WithGenericMethod_AddRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_ChangeRole() { + WithGenericMethod_AddRole() { ::grpc::Service::MarkMethodGeneric(51); } - ~WithGenericMethod_ChangeRole() override { + ~WithGenericMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ChangeRole(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ChangeRoleRequest* /*request*/, ::viam::app::v1::ChangeRoleResponse* /*response*/) override { + ::grpc::Status AddRole(::grpc::ServerContext* /*context*/, const ::viam::app::v1::AddRoleRequest* /*request*/, ::viam::app::v1::AddRoleResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_ListAuthorizations : public BaseClass { + class WithGenericMethod_RemoveRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_ListAuthorizations() { + WithGenericMethod_RemoveRole() { ::grpc::Service::MarkMethodGeneric(52); } - ~WithGenericMethod_ListAuthorizations() override { + ~WithGenericMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ListAuthorizations(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListAuthorizationsRequest* /*request*/, ::viam::app::v1::ListAuthorizationsResponse* /*response*/) override { + ::grpc::Status RemoveRole(::grpc::ServerContext* /*context*/, const ::viam::app::v1::RemoveRoleRequest* /*request*/, ::viam::app::v1::RemoveRoleResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_CheckPermissions : public BaseClass { + class WithGenericMethod_ChangeRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_CheckPermissions() { + WithGenericMethod_ChangeRole() { ::grpc::Service::MarkMethodGeneric(53); } + ~WithGenericMethod_ChangeRole() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ChangeRole(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ChangeRoleRequest* /*request*/, ::viam::app::v1::ChangeRoleResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_ListAuthorizations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_ListAuthorizations() { + ::grpc::Service::MarkMethodGeneric(54); + } + ~WithGenericMethod_ListAuthorizations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListAuthorizations(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListAuthorizationsRequest* /*request*/, ::viam::app::v1::ListAuthorizationsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_CheckPermissions : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_CheckPermissions() { + ::grpc::Service::MarkMethodGeneric(55); + } ~WithGenericMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); } @@ -6226,7 +6408,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodGeneric(54); + ::grpc::Service::MarkMethodGeneric(56); } ~WithGenericMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6243,7 +6425,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodGeneric(55); + ::grpc::Service::MarkMethodGeneric(57); } ~WithGenericMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6260,7 +6442,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodGeneric(56); + ::grpc::Service::MarkMethodGeneric(58); } ~WithGenericMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6277,7 +6459,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodGeneric(57); + ::grpc::Service::MarkMethodGeneric(59); } ~WithGenericMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -6294,7 +6476,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodGeneric(58); + ::grpc::Service::MarkMethodGeneric(60); } ~WithGenericMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6311,7 +6493,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodGeneric(59); + ::grpc::Service::MarkMethodGeneric(61); } ~WithGenericMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -6328,7 +6510,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateModule() { - ::grpc::Service::MarkMethodGeneric(60); + ::grpc::Service::MarkMethodGeneric(62); } ~WithGenericMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -6345,7 +6527,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateModule() { - ::grpc::Service::MarkMethodGeneric(61); + ::grpc::Service::MarkMethodGeneric(63); } ~WithGenericMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -6362,7 +6544,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodGeneric(62); + ::grpc::Service::MarkMethodGeneric(64); } ~WithGenericMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -6379,7 +6561,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetModule() { - ::grpc::Service::MarkMethodGeneric(63); + ::grpc::Service::MarkMethodGeneric(65); } ~WithGenericMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -6396,7 +6578,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListModules() { - ::grpc::Service::MarkMethodGeneric(64); + ::grpc::Service::MarkMethodGeneric(66); } ~WithGenericMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -6413,7 +6595,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateKey() { - ::grpc::Service::MarkMethodGeneric(65); + ::grpc::Service::MarkMethodGeneric(67); } ~WithGenericMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -6430,7 +6612,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteKey() { - ::grpc::Service::MarkMethodGeneric(66); + ::grpc::Service::MarkMethodGeneric(68); } ~WithGenericMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -6447,7 +6629,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListKeys() { - ::grpc::Service::MarkMethodGeneric(67); + ::grpc::Service::MarkMethodGeneric(69); } ~WithGenericMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -6464,7 +6646,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RenameKey() { - ::grpc::Service::MarkMethodGeneric(68); + ::grpc::Service::MarkMethodGeneric(70); } ~WithGenericMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -6481,7 +6663,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RotateKey() { - ::grpc::Service::MarkMethodGeneric(69); + ::grpc::Service::MarkMethodGeneric(71); } ~WithGenericMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -6498,7 +6680,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodGeneric(70); + ::grpc::Service::MarkMethodGeneric(72); } ~WithGenericMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -7490,12 +7672,52 @@ class AppService final { } }; template + class WithRawMethod_ListMachineFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_ListMachineFragments() { + ::grpc::Service::MarkMethodRaw(49); + } + ~WithRawMethod_ListMachineFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListMachineFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) override { + abort(); + 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(49, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetFragmentHistory : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetFragmentHistory() { + ::grpc::Service::MarkMethodRaw(50); + } + ~WithRawMethod_GetFragmentHistory() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetFragmentHistory(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) override { + abort(); + 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(50, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_AddRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_AddRole() { - ::grpc::Service::MarkMethodRaw(49); + ::grpc::Service::MarkMethodRaw(51); } ~WithRawMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -7506,7 +7728,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(49, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7515,7 +7737,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RemoveRole() { - ::grpc::Service::MarkMethodRaw(50); + ::grpc::Service::MarkMethodRaw(52); } ~WithRawMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -7526,7 +7748,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(50, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7535,7 +7757,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ChangeRole() { - ::grpc::Service::MarkMethodRaw(51); + ::grpc::Service::MarkMethodRaw(53); } ~WithRawMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -7546,7 +7768,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(51, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7555,7 +7777,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodRaw(52); + ::grpc::Service::MarkMethodRaw(54); } ~WithRawMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -7566,7 +7788,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(52, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7575,7 +7797,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CheckPermissions() { - ::grpc::Service::MarkMethodRaw(53); + ::grpc::Service::MarkMethodRaw(55); } ~WithRawMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -7586,7 +7808,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(53, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7595,7 +7817,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodRaw(54); + ::grpc::Service::MarkMethodRaw(56); } ~WithRawMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -7606,7 +7828,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(54, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7615,7 +7837,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodRaw(55); + ::grpc::Service::MarkMethodRaw(57); } ~WithRawMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -7626,7 +7848,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(55, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7635,7 +7857,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodRaw(56); + ::grpc::Service::MarkMethodRaw(58); } ~WithRawMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -7646,7 +7868,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(56, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(58, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7655,7 +7877,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodRaw(57); + ::grpc::Service::MarkMethodRaw(59); } ~WithRawMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -7666,7 +7888,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(57, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7675,7 +7897,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodRaw(58); + ::grpc::Service::MarkMethodRaw(60); } ~WithRawMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -7686,7 +7908,7 @@ class AppService final { 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(58, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(60, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7695,7 +7917,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodRaw(59); + ::grpc::Service::MarkMethodRaw(61); } ~WithRawMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -7706,7 +7928,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(59, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(61, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7715,7 +7937,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateModule() { - ::grpc::Service::MarkMethodRaw(60); + ::grpc::Service::MarkMethodRaw(62); } ~WithRawMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -7726,7 +7948,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(60, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(62, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7735,7 +7957,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateModule() { - ::grpc::Service::MarkMethodRaw(61); + ::grpc::Service::MarkMethodRaw(63); } ~WithRawMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -7746,7 +7968,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(61, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(63, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7755,7 +7977,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodRaw(62); + ::grpc::Service::MarkMethodRaw(64); } ~WithRawMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -7766,7 +7988,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(62, context, reader, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncClientStreaming(64, context, reader, new_call_cq, notification_cq, tag); } }; template @@ -7775,7 +7997,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetModule() { - ::grpc::Service::MarkMethodRaw(63); + ::grpc::Service::MarkMethodRaw(65); } ~WithRawMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -7786,7 +8008,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(63, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(65, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7795,7 +8017,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListModules() { - ::grpc::Service::MarkMethodRaw(64); + ::grpc::Service::MarkMethodRaw(66); } ~WithRawMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -7806,7 +8028,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(64, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(66, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7815,7 +8037,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateKey() { - ::grpc::Service::MarkMethodRaw(65); + ::grpc::Service::MarkMethodRaw(67); } ~WithRawMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -7826,7 +8048,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(65, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(67, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7835,7 +8057,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteKey() { - ::grpc::Service::MarkMethodRaw(66); + ::grpc::Service::MarkMethodRaw(68); } ~WithRawMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -7846,7 +8068,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(66, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(68, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7855,7 +8077,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListKeys() { - ::grpc::Service::MarkMethodRaw(67); + ::grpc::Service::MarkMethodRaw(69); } ~WithRawMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -7866,7 +8088,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(67, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(69, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7875,7 +8097,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RenameKey() { - ::grpc::Service::MarkMethodRaw(68); + ::grpc::Service::MarkMethodRaw(70); } ~WithRawMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -7886,7 +8108,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(68, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(70, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7895,7 +8117,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RotateKey() { - ::grpc::Service::MarkMethodRaw(69); + ::grpc::Service::MarkMethodRaw(71); } ~WithRawMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -7906,7 +8128,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(69, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(71, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7915,7 +8137,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodRaw(70); + ::grpc::Service::MarkMethodRaw(72); } ~WithRawMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -7926,7 +8148,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(70, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(72, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -9008,12 +9230,56 @@ class AppService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template + class WithRawCallbackMethod_ListMachineFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_ListMachineFragments() { + ::grpc::Service::MarkMethodRawCallback(49, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListMachineFragments(context, request, response); })); + } + ~WithRawCallbackMethod_ListMachineFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ListMachineFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* ListMachineFragments( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_GetFragmentHistory : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetFragmentHistory() { + ::grpc::Service::MarkMethodRawCallback(50, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetFragmentHistory(context, request, response); })); + } + ~WithRawCallbackMethod_GetFragmentHistory() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetFragmentHistory(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetFragmentHistory( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template class WithRawCallbackMethod_AddRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_AddRole() { - ::grpc::Service::MarkMethodRawCallback(49, + ::grpc::Service::MarkMethodRawCallback(51, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AddRole(context, request, response); })); @@ -9035,7 +9301,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RemoveRole() { - ::grpc::Service::MarkMethodRawCallback(50, + ::grpc::Service::MarkMethodRawCallback(52, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RemoveRole(context, request, response); })); @@ -9057,7 +9323,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ChangeRole() { - ::grpc::Service::MarkMethodRawCallback(51, + ::grpc::Service::MarkMethodRawCallback(53, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ChangeRole(context, request, response); })); @@ -9079,7 +9345,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodRawCallback(52, + ::grpc::Service::MarkMethodRawCallback(54, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListAuthorizations(context, request, response); })); @@ -9101,7 +9367,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CheckPermissions() { - ::grpc::Service::MarkMethodRawCallback(53, + ::grpc::Service::MarkMethodRawCallback(55, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CheckPermissions(context, request, response); })); @@ -9123,7 +9389,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodRawCallback(54, + ::grpc::Service::MarkMethodRawCallback(56, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetRegistryItem(context, request, response); })); @@ -9145,7 +9411,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodRawCallback(55, + ::grpc::Service::MarkMethodRawCallback(57, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateRegistryItem(context, request, response); })); @@ -9167,7 +9433,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodRawCallback(56, + ::grpc::Service::MarkMethodRawCallback(58, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateRegistryItem(context, request, response); })); @@ -9189,7 +9455,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodRawCallback(57, + ::grpc::Service::MarkMethodRawCallback(59, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListRegistryItems(context, request, response); })); @@ -9211,7 +9477,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodRawCallback(58, + ::grpc::Service::MarkMethodRawCallback(60, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteRegistryItem(context, request, response); })); @@ -9233,7 +9499,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodRawCallback(59, + ::grpc::Service::MarkMethodRawCallback(61, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->TransferRegistryItem(context, request, response); })); @@ -9255,7 +9521,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CreateModule() { - ::grpc::Service::MarkMethodRawCallback(60, + ::grpc::Service::MarkMethodRawCallback(62, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateModule(context, request, response); })); @@ -9277,7 +9543,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_UpdateModule() { - ::grpc::Service::MarkMethodRawCallback(61, + ::grpc::Service::MarkMethodRawCallback(63, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateModule(context, request, response); })); @@ -9299,7 +9565,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodRawCallback(62, + ::grpc::Service::MarkMethodRawCallback(64, new ::grpc::internal::CallbackClientStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, ::grpc::ByteBuffer* response) { return this->UploadModuleFile(context, response); })); @@ -9321,7 +9587,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_GetModule() { - ::grpc::Service::MarkMethodRawCallback(63, + ::grpc::Service::MarkMethodRawCallback(65, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetModule(context, request, response); })); @@ -9343,7 +9609,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ListModules() { - ::grpc::Service::MarkMethodRawCallback(64, + ::grpc::Service::MarkMethodRawCallback(66, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListModules(context, request, response); })); @@ -9365,7 +9631,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CreateKey() { - ::grpc::Service::MarkMethodRawCallback(65, + ::grpc::Service::MarkMethodRawCallback(67, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateKey(context, request, response); })); @@ -9387,7 +9653,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_DeleteKey() { - ::grpc::Service::MarkMethodRawCallback(66, + ::grpc::Service::MarkMethodRawCallback(68, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteKey(context, request, response); })); @@ -9409,7 +9675,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ListKeys() { - ::grpc::Service::MarkMethodRawCallback(67, + ::grpc::Service::MarkMethodRawCallback(69, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListKeys(context, request, response); })); @@ -9431,7 +9697,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RenameKey() { - ::grpc::Service::MarkMethodRawCallback(68, + ::grpc::Service::MarkMethodRawCallback(70, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RenameKey(context, request, response); })); @@ -9453,7 +9719,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RotateKey() { - ::grpc::Service::MarkMethodRawCallback(69, + ::grpc::Service::MarkMethodRawCallback(71, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RotateKey(context, request, response); })); @@ -9475,7 +9741,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodRawCallback(70, + ::grpc::Service::MarkMethodRawCallback(72, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateKeyFromExistingKeyAuthorizations(context, request, response); })); @@ -10788,12 +11054,66 @@ 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_ListMachineFragments : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_ListMachineFragments() { + ::grpc::Service::MarkMethodStreamed(49, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>* streamer) { + return this->StreamedListMachineFragments(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_ListMachineFragments() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status ListMachineFragments(::grpc::ServerContext* /*context*/, const ::viam::app::v1::ListMachineFragmentsRequest* /*request*/, ::viam::app::v1::ListMachineFragmentsResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedListMachineFragments(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::ListMachineFragmentsRequest,::viam::app::v1::ListMachineFragmentsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetFragmentHistory : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetFragmentHistory() { + ::grpc::Service::MarkMethodStreamed(50, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>* streamer) { + return this->StreamedGetFragmentHistory(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetFragmentHistory() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetFragmentHistory(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetFragmentHistoryRequest* /*request*/, ::viam::app::v1::GetFragmentHistoryResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetFragmentHistory(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetFragmentHistoryRequest,::viam::app::v1::GetFragmentHistoryResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_AddRole : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_AddRole() { - ::grpc::Service::MarkMethodStreamed(49, + ::grpc::Service::MarkMethodStreamed(51, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [this](::grpc::ServerContext* context, @@ -10820,7 +11140,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RemoveRole() { - ::grpc::Service::MarkMethodStreamed(50, + ::grpc::Service::MarkMethodStreamed(52, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [this](::grpc::ServerContext* context, @@ -10847,7 +11167,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ChangeRole() { - ::grpc::Service::MarkMethodStreamed(51, + ::grpc::Service::MarkMethodStreamed(53, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [this](::grpc::ServerContext* context, @@ -10874,7 +11194,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodStreamed(52, + ::grpc::Service::MarkMethodStreamed(54, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [this](::grpc::ServerContext* context, @@ -10901,7 +11221,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CheckPermissions() { - ::grpc::Service::MarkMethodStreamed(53, + ::grpc::Service::MarkMethodStreamed(55, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [this](::grpc::ServerContext* context, @@ -10928,7 +11248,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodStreamed(54, + ::grpc::Service::MarkMethodStreamed(56, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [this](::grpc::ServerContext* context, @@ -10955,7 +11275,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodStreamed(55, + ::grpc::Service::MarkMethodStreamed(57, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [this](::grpc::ServerContext* context, @@ -10982,7 +11302,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodStreamed(56, + ::grpc::Service::MarkMethodStreamed(58, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [this](::grpc::ServerContext* context, @@ -11009,7 +11329,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodStreamed(57, + ::grpc::Service::MarkMethodStreamed(59, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [this](::grpc::ServerContext* context, @@ -11036,7 +11356,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodStreamed(58, + ::grpc::Service::MarkMethodStreamed(60, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [this](::grpc::ServerContext* context, @@ -11063,7 +11383,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodStreamed(59, + ::grpc::Service::MarkMethodStreamed(61, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [this](::grpc::ServerContext* context, @@ -11090,7 +11410,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateModule() { - ::grpc::Service::MarkMethodStreamed(60, + ::grpc::Service::MarkMethodStreamed(62, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [this](::grpc::ServerContext* context, @@ -11117,7 +11437,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateModule() { - ::grpc::Service::MarkMethodStreamed(61, + ::grpc::Service::MarkMethodStreamed(63, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [this](::grpc::ServerContext* context, @@ -11144,7 +11464,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetModule() { - ::grpc::Service::MarkMethodStreamed(63, + ::grpc::Service::MarkMethodStreamed(65, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [this](::grpc::ServerContext* context, @@ -11171,7 +11491,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListModules() { - ::grpc::Service::MarkMethodStreamed(64, + ::grpc::Service::MarkMethodStreamed(66, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [this](::grpc::ServerContext* context, @@ -11198,7 +11518,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateKey() { - ::grpc::Service::MarkMethodStreamed(65, + ::grpc::Service::MarkMethodStreamed(67, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [this](::grpc::ServerContext* context, @@ -11225,7 +11545,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteKey() { - ::grpc::Service::MarkMethodStreamed(66, + ::grpc::Service::MarkMethodStreamed(68, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [this](::grpc::ServerContext* context, @@ -11252,7 +11572,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListKeys() { - ::grpc::Service::MarkMethodStreamed(67, + ::grpc::Service::MarkMethodStreamed(69, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [this](::grpc::ServerContext* context, @@ -11279,7 +11599,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RenameKey() { - ::grpc::Service::MarkMethodStreamed(68, + ::grpc::Service::MarkMethodStreamed(70, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [this](::grpc::ServerContext* context, @@ -11306,7 +11626,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RotateKey() { - ::grpc::Service::MarkMethodStreamed(69, + ::grpc::Service::MarkMethodStreamed(71, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [this](::grpc::ServerContext* context, @@ -11333,7 +11653,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodStreamed(70, + ::grpc::Service::MarkMethodStreamed(72, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [this](::grpc::ServerContext* context, @@ -11354,7 +11674,7 @@ class AppService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedCreateKeyFromExistingKeyAuthorizations(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest,::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; template class WithSplitStreamingMethod_TailRobotPartLogs : public BaseClass { private: @@ -11383,7 +11703,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 1687208f1..cbaa28050 100644 --- a/src/viam/api/app/v1/app.pb.cc +++ b/src/viam/api/app/v1/app.pb.cc @@ -957,6 +957,28 @@ struct ListModulesRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListModulesRequestDefaultTypeInternal _ListModulesRequest_default_instance_; +inline constexpr ListMachineFragmentsRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : additional_fragment_ids_{}, + machine_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ListMachineFragmentsRequest::ListMachineFragmentsRequest(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct ListMachineFragmentsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ListMachineFragmentsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ListMachineFragmentsRequestDefaultTypeInternal() {} + union { + ListMachineFragmentsRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListMachineFragmentsRequestDefaultTypeInternal _ListMachineFragmentsRequest_default_instance_; + inline constexpr ListLocationsRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : organization_id_( @@ -1407,6 +1429,31 @@ struct GetFragmentRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetFragmentRequestDefaultTypeInternal _GetFragmentRequest_default_instance_; + +inline constexpr GetFragmentHistoryRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + page_token_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + page_limit_{::int64_t{0}} {} + +template +PROTOBUF_CONSTEXPR GetFragmentHistoryRequest::GetFragmentHistoryRequest(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct GetFragmentHistoryRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetFragmentHistoryRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetFragmentHistoryRequestDefaultTypeInternal() {} + union { + GetFragmentHistoryRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetFragmentHistoryRequestDefaultTypeInternal _GetFragmentHistoryRequest_default_instance_; template PROTOBUF_CONSTEXPR DeleteRobotResponse::DeleteRobotResponse(::_pbi::ConstantInitialized) {} struct DeleteRobotResponseDefaultTypeInternal { @@ -3116,6 +3163,25 @@ struct ListOrganizationMembersResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListOrganizationMembersResponseDefaultTypeInternal _ListOrganizationMembersResponse_default_instance_; +inline constexpr ListMachineFragmentsResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : fragments_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ListMachineFragmentsResponse::ListMachineFragmentsResponse(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct ListMachineFragmentsResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ListMachineFragmentsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ListMachineFragmentsResponseDefaultTypeInternal() {} + union { + ListMachineFragmentsResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListMachineFragmentsResponseDefaultTypeInternal _ListMachineFragmentsResponse_default_instance_; + inline constexpr ListFragmentsResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : fragments_{}, @@ -3214,6 +3280,30 @@ struct GetFragmentResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetFragmentResponseDefaultTypeInternal _GetFragmentResponse_default_instance_; +inline constexpr FragmentHistoryEntry::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + fragment_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + edited_on_{nullptr}, + old_{nullptr}, + edited_by_{nullptr} {} + +template +PROTOBUF_CONSTEXPR FragmentHistoryEntry::FragmentHistoryEntry(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct FragmentHistoryEntryDefaultTypeInternal { + PROTOBUF_CONSTEXPR FragmentHistoryEntryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FragmentHistoryEntryDefaultTypeInternal() {} + union { + FragmentHistoryEntry _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FragmentHistoryEntryDefaultTypeInternal _FragmentHistoryEntry_default_instance_; + inline constexpr CreateOrganizationResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, @@ -3534,6 +3624,28 @@ struct GetRobotAPIKeysResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotAPIKeysResponseDefaultTypeInternal _GetRobotAPIKeysResponse_default_instance_; +inline constexpr GetFragmentHistoryResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : history_{}, + next_page_token_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR GetFragmentHistoryResponse::GetFragmentHistoryResponse(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct GetFragmentHistoryResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetFragmentHistoryResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetFragmentHistoryResponseDefaultTypeInternal() {} + union { + GetFragmentHistoryResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetFragmentHistoryResponseDefaultTypeInternal _GetFragmentHistoryResponse_default_instance_; + inline constexpr CreateRobotPartSecretResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, @@ -3791,7 +3903,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT } // namespace v1 } // namespace app } // namespace viam -static ::_pb::Metadata file_level_metadata_app_2fv1_2fapp_2eproto[174]; +static ::_pb::Metadata file_level_metadata_app_2fv1_2fapp_2eproto[179]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_app_2fv1_2fapp_2eproto[5]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_app_2fv1_2fapp_2eproto = nullptr; @@ -4749,6 +4861,22 @@ const ::uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_ ~0u, ~0u, ~0u, + PROTOBUF_FIELD_OFFSET(::viam::app::v1::FragmentHistoryEntry, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::FragmentHistoryEntry, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::FragmentHistoryEntry, _impl_.fragment_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::FragmentHistoryEntry, _impl_.edited_on_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::FragmentHistoryEntry, _impl_.old_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::FragmentHistoryEntry, _impl_.edited_by_), + ~0u, + 0, + 1, + 2, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListFragmentsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -4857,6 +4985,30 @@ const ::uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryRequest, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryRequest, _impl_.page_token_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryRequest, _impl_.page_limit_), + ~0u, + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryResponse, _impl_.history_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetFragmentHistoryResponse, _impl_.next_page_token_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListRobotsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -4867,6 +5019,25 @@ const ::uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListRobotsRequest, _impl_.location_id_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, _impl_.machine_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, _impl_.additional_fragment_ids_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsResponse, _impl_.fragments_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListRobotsResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -5787,96 +5958,101 @@ static const ::_pbi::MigrationSchema {905, -1, -1, sizeof(::viam::app::v1::GetRobotAPIKeysResponse)}, {914, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartResponse)}, {922, 941, -1, sizeof(::viam::app::v1::Fragment)}, - {952, -1, -1, sizeof(::viam::app::v1::ListFragmentsRequest)}, - {963, -1, -1, sizeof(::viam::app::v1::ListFragmentsResponse)}, - {972, -1, -1, sizeof(::viam::app::v1::GetFragmentRequest)}, - {981, 990, -1, sizeof(::viam::app::v1::GetFragmentResponse)}, - {991, 1002, -1, sizeof(::viam::app::v1::CreateFragmentRequest)}, - {1005, 1014, -1, sizeof(::viam::app::v1::CreateFragmentResponse)}, - {1015, 1028, -1, sizeof(::viam::app::v1::UpdateFragmentRequest)}, - {1033, 1042, -1, sizeof(::viam::app::v1::UpdateFragmentResponse)}, - {1043, -1, -1, sizeof(::viam::app::v1::DeleteFragmentRequest)}, - {1052, -1, -1, sizeof(::viam::app::v1::DeleteFragmentResponse)}, - {1060, -1, -1, sizeof(::viam::app::v1::ListRobotsRequest)}, - {1069, -1, -1, sizeof(::viam::app::v1::ListRobotsResponse)}, - {1078, -1, -1, sizeof(::viam::app::v1::NewRobotRequest)}, - {1088, -1, -1, sizeof(::viam::app::v1::NewRobotResponse)}, - {1097, -1, -1, sizeof(::viam::app::v1::UpdateRobotRequest)}, - {1108, 1117, -1, sizeof(::viam::app::v1::UpdateRobotResponse)}, - {1118, -1, -1, sizeof(::viam::app::v1::DeleteRobotRequest)}, - {1127, -1, -1, sizeof(::viam::app::v1::DeleteRobotResponse)}, - {1135, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainRequest)}, - {1144, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainResponse)}, - {1152, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartRequest)}, - {1161, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartResponse)}, - {1169, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretRequest)}, - {1178, 1187, -1, sizeof(::viam::app::v1::CreateRobotPartSecretResponse)}, - {1188, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretRequest)}, - {1198, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretResponse)}, - {1206, -1, -1, sizeof(::viam::app::v1::Authorization)}, - {1221, 1230, -1, sizeof(::viam::app::v1::AddRoleRequest)}, - {1231, -1, -1, sizeof(::viam::app::v1::AddRoleResponse)}, - {1239, 1248, -1, sizeof(::viam::app::v1::RemoveRoleRequest)}, - {1249, -1, -1, sizeof(::viam::app::v1::RemoveRoleResponse)}, - {1257, 1267, -1, sizeof(::viam::app::v1::ChangeRoleRequest)}, - {1269, -1, -1, sizeof(::viam::app::v1::ChangeRoleResponse)}, - {1277, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsRequest)}, - {1287, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsResponse)}, - {1296, -1, -1, sizeof(::viam::app::v1::CheckPermissionsRequest)}, - {1305, -1, -1, sizeof(::viam::app::v1::AuthorizedPermissions)}, - {1316, -1, -1, sizeof(::viam::app::v1::CheckPermissionsResponse)}, - {1325, -1, -1, sizeof(::viam::app::v1::ModuleVersion)}, - {1337, -1, -1, sizeof(::viam::app::v1::ModuleMetadata)}, - {1348, -1, -1, sizeof(::viam::app::v1::MLModelMetadata)}, - {1359, 1369, -1, sizeof(::viam::app::v1::MLTrainingVersion)}, - {1371, -1, -1, sizeof(::viam::app::v1::MLTrainingMetadata)}, - {1383, 1409, -1, sizeof(::viam::app::v1::RegistryItem)}, - {1426, -1, -1, sizeof(::viam::app::v1::GetRegistryItemRequest)}, - {1435, 1444, -1, sizeof(::viam::app::v1::GetRegistryItemResponse)}, - {1445, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemRequest)}, - {1456, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemResponse)}, - {1464, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemRequest)}, - {1476, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemResponse)}, - {1484, 1500, -1, sizeof(::viam::app::v1::ListRegistryItemsRequest)}, - {1508, -1, -1, sizeof(::viam::app::v1::ListRegistryItemsResponse)}, - {1517, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemRequest)}, - {1526, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemResponse)}, - {1534, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemRequest)}, - {1544, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemResponse)}, - {1552, -1, -1, sizeof(::viam::app::v1::CreateModuleRequest)}, - {1562, -1, -1, sizeof(::viam::app::v1::CreateModuleResponse)}, - {1572, -1, -1, sizeof(::viam::app::v1::UpdateModuleRequest)}, - {1586, -1, -1, sizeof(::viam::app::v1::UpdateModuleResponse)}, - {1595, -1, -1, sizeof(::viam::app::v1::Model)}, - {1605, -1, -1, sizeof(::viam::app::v1::ModuleFileInfo)}, - {1616, -1, -1, sizeof(::viam::app::v1::UploadModuleFileRequest)}, - {1627, -1, -1, sizeof(::viam::app::v1::UploadModuleFileResponse)}, - {1636, -1, -1, sizeof(::viam::app::v1::GetModuleRequest)}, - {1645, 1654, -1, sizeof(::viam::app::v1::GetModuleResponse)}, - {1655, -1, -1, sizeof(::viam::app::v1::Module)}, - {1675, -1, -1, sizeof(::viam::app::v1::VersionHistory)}, - {1687, 1697, -1, sizeof(::viam::app::v1::Uploads)}, - {1699, 1708, -1, sizeof(::viam::app::v1::ListModulesRequest)}, - {1709, -1, -1, sizeof(::viam::app::v1::ListModulesResponse)}, - {1718, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailRequest)}, - {1727, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailResponse)}, - {1736, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserRequest)}, - {1745, -1, -1, sizeof(::viam::app::v1::OrgDetails)}, - {1755, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserResponse)}, - {1764, -1, -1, sizeof(::viam::app::v1::CreateKeyRequest)}, - {1774, -1, -1, sizeof(::viam::app::v1::CreateKeyResponse)}, - {1784, -1, -1, sizeof(::viam::app::v1::DeleteKeyRequest)}, - {1793, -1, -1, sizeof(::viam::app::v1::DeleteKeyResponse)}, - {1801, -1, -1, sizeof(::viam::app::v1::RenameKeyRequest)}, - {1811, -1, -1, sizeof(::viam::app::v1::RenameKeyResponse)}, - {1821, -1, -1, sizeof(::viam::app::v1::AuthorizationDetails)}, - {1834, 1844, -1, sizeof(::viam::app::v1::APIKeyWithAuthorizations)}, - {1846, -1, -1, sizeof(::viam::app::v1::ListKeysRequest)}, - {1855, -1, -1, sizeof(::viam::app::v1::ListKeysResponse)}, - {1864, -1, -1, sizeof(::viam::app::v1::RotateKeyRequest)}, - {1873, -1, -1, sizeof(::viam::app::v1::RotateKeyResponse)}, - {1883, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest)}, - {1892, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse)}, + {952, 964, -1, sizeof(::viam::app::v1::FragmentHistoryEntry)}, + {968, -1, -1, sizeof(::viam::app::v1::ListFragmentsRequest)}, + {979, -1, -1, sizeof(::viam::app::v1::ListFragmentsResponse)}, + {988, -1, -1, sizeof(::viam::app::v1::GetFragmentRequest)}, + {997, 1006, -1, sizeof(::viam::app::v1::GetFragmentResponse)}, + {1007, 1018, -1, sizeof(::viam::app::v1::CreateFragmentRequest)}, + {1021, 1030, -1, sizeof(::viam::app::v1::CreateFragmentResponse)}, + {1031, 1044, -1, sizeof(::viam::app::v1::UpdateFragmentRequest)}, + {1049, 1058, -1, sizeof(::viam::app::v1::UpdateFragmentResponse)}, + {1059, -1, -1, sizeof(::viam::app::v1::DeleteFragmentRequest)}, + {1068, -1, -1, sizeof(::viam::app::v1::DeleteFragmentResponse)}, + {1076, 1087, -1, sizeof(::viam::app::v1::GetFragmentHistoryRequest)}, + {1090, -1, -1, sizeof(::viam::app::v1::GetFragmentHistoryResponse)}, + {1100, -1, -1, sizeof(::viam::app::v1::ListRobotsRequest)}, + {1109, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsRequest)}, + {1119, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsResponse)}, + {1128, -1, -1, sizeof(::viam::app::v1::ListRobotsResponse)}, + {1137, -1, -1, sizeof(::viam::app::v1::NewRobotRequest)}, + {1147, -1, -1, sizeof(::viam::app::v1::NewRobotResponse)}, + {1156, -1, -1, sizeof(::viam::app::v1::UpdateRobotRequest)}, + {1167, 1176, -1, sizeof(::viam::app::v1::UpdateRobotResponse)}, + {1177, -1, -1, sizeof(::viam::app::v1::DeleteRobotRequest)}, + {1186, -1, -1, sizeof(::viam::app::v1::DeleteRobotResponse)}, + {1194, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainRequest)}, + {1203, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainResponse)}, + {1211, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartRequest)}, + {1220, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartResponse)}, + {1228, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretRequest)}, + {1237, 1246, -1, sizeof(::viam::app::v1::CreateRobotPartSecretResponse)}, + {1247, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretRequest)}, + {1257, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretResponse)}, + {1265, -1, -1, sizeof(::viam::app::v1::Authorization)}, + {1280, 1289, -1, sizeof(::viam::app::v1::AddRoleRequest)}, + {1290, -1, -1, sizeof(::viam::app::v1::AddRoleResponse)}, + {1298, 1307, -1, sizeof(::viam::app::v1::RemoveRoleRequest)}, + {1308, -1, -1, sizeof(::viam::app::v1::RemoveRoleResponse)}, + {1316, 1326, -1, sizeof(::viam::app::v1::ChangeRoleRequest)}, + {1328, -1, -1, sizeof(::viam::app::v1::ChangeRoleResponse)}, + {1336, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsRequest)}, + {1346, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsResponse)}, + {1355, -1, -1, sizeof(::viam::app::v1::CheckPermissionsRequest)}, + {1364, -1, -1, sizeof(::viam::app::v1::AuthorizedPermissions)}, + {1375, -1, -1, sizeof(::viam::app::v1::CheckPermissionsResponse)}, + {1384, -1, -1, sizeof(::viam::app::v1::ModuleVersion)}, + {1396, -1, -1, sizeof(::viam::app::v1::ModuleMetadata)}, + {1407, -1, -1, sizeof(::viam::app::v1::MLModelMetadata)}, + {1418, 1428, -1, sizeof(::viam::app::v1::MLTrainingVersion)}, + {1430, -1, -1, sizeof(::viam::app::v1::MLTrainingMetadata)}, + {1442, 1468, -1, sizeof(::viam::app::v1::RegistryItem)}, + {1485, -1, -1, sizeof(::viam::app::v1::GetRegistryItemRequest)}, + {1494, 1503, -1, sizeof(::viam::app::v1::GetRegistryItemResponse)}, + {1504, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemRequest)}, + {1515, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemResponse)}, + {1523, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemRequest)}, + {1535, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemResponse)}, + {1543, 1559, -1, sizeof(::viam::app::v1::ListRegistryItemsRequest)}, + {1567, -1, -1, sizeof(::viam::app::v1::ListRegistryItemsResponse)}, + {1576, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemRequest)}, + {1585, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemResponse)}, + {1593, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemRequest)}, + {1603, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemResponse)}, + {1611, -1, -1, sizeof(::viam::app::v1::CreateModuleRequest)}, + {1621, -1, -1, sizeof(::viam::app::v1::CreateModuleResponse)}, + {1631, -1, -1, sizeof(::viam::app::v1::UpdateModuleRequest)}, + {1645, -1, -1, sizeof(::viam::app::v1::UpdateModuleResponse)}, + {1654, -1, -1, sizeof(::viam::app::v1::Model)}, + {1664, -1, -1, sizeof(::viam::app::v1::ModuleFileInfo)}, + {1675, -1, -1, sizeof(::viam::app::v1::UploadModuleFileRequest)}, + {1686, -1, -1, sizeof(::viam::app::v1::UploadModuleFileResponse)}, + {1695, -1, -1, sizeof(::viam::app::v1::GetModuleRequest)}, + {1704, 1713, -1, sizeof(::viam::app::v1::GetModuleResponse)}, + {1714, -1, -1, sizeof(::viam::app::v1::Module)}, + {1734, -1, -1, sizeof(::viam::app::v1::VersionHistory)}, + {1746, 1756, -1, sizeof(::viam::app::v1::Uploads)}, + {1758, 1767, -1, sizeof(::viam::app::v1::ListModulesRequest)}, + {1768, -1, -1, sizeof(::viam::app::v1::ListModulesResponse)}, + {1777, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailRequest)}, + {1786, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailResponse)}, + {1795, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserRequest)}, + {1804, -1, -1, sizeof(::viam::app::v1::OrgDetails)}, + {1814, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserResponse)}, + {1823, -1, -1, sizeof(::viam::app::v1::CreateKeyRequest)}, + {1833, -1, -1, sizeof(::viam::app::v1::CreateKeyResponse)}, + {1843, -1, -1, sizeof(::viam::app::v1::DeleteKeyRequest)}, + {1852, -1, -1, sizeof(::viam::app::v1::DeleteKeyResponse)}, + {1860, -1, -1, sizeof(::viam::app::v1::RenameKeyRequest)}, + {1870, -1, -1, sizeof(::viam::app::v1::RenameKeyResponse)}, + {1880, -1, -1, sizeof(::viam::app::v1::AuthorizationDetails)}, + {1893, 1903, -1, sizeof(::viam::app::v1::APIKeyWithAuthorizations)}, + {1905, -1, -1, sizeof(::viam::app::v1::ListKeysRequest)}, + {1914, -1, -1, sizeof(::viam::app::v1::ListKeysResponse)}, + {1923, -1, -1, sizeof(::viam::app::v1::RotateKeyRequest)}, + {1932, -1, -1, sizeof(::viam::app::v1::RotateKeyResponse)}, + {1942, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest)}, + {1951, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5964,6 +6140,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_GetRobotAPIKeysResponse_default_instance_._instance, &::viam::app::v1::_DeleteRobotPartResponse_default_instance_._instance, &::viam::app::v1::_Fragment_default_instance_._instance, + &::viam::app::v1::_FragmentHistoryEntry_default_instance_._instance, &::viam::app::v1::_ListFragmentsRequest_default_instance_._instance, &::viam::app::v1::_ListFragmentsResponse_default_instance_._instance, &::viam::app::v1::_GetFragmentRequest_default_instance_._instance, @@ -5974,7 +6151,11 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_UpdateFragmentResponse_default_instance_._instance, &::viam::app::v1::_DeleteFragmentRequest_default_instance_._instance, &::viam::app::v1::_DeleteFragmentResponse_default_instance_._instance, + &::viam::app::v1::_GetFragmentHistoryRequest_default_instance_._instance, + &::viam::app::v1::_GetFragmentHistoryResponse_default_instance_._instance, &::viam::app::v1::_ListRobotsRequest_default_instance_._instance, + &::viam::app::v1::_ListMachineFragmentsRequest_default_instance_._instance, + &::viam::app::v1::_ListMachineFragmentsResponse_default_instance_._instance, &::viam::app::v1::_ListRobotsResponse_default_instance_._instance, &::viam::app::v1::_NewRobotRequest_default_instance_._instance, &::viam::app::v1::_NewRobotResponse_default_instance_._instance, @@ -6321,431 +6502,457 @@ const char descriptor_table_protodef_app_2fv1_2fapp_2eproto[] PROTOBUF_SECTION_V "anizationCount\022+\n\022only_used_by_owner\030\013 \001" "(\010R\017onlyUsedByOwner\022\?\n\nvisibility\030\014 \001(\0162" "\037.viam.app.v1.FragmentVisibilityR\nvisibi" - "lity\"\262\001\n\024ListFragmentsRequest\022\'\n\017organiz" - "ation_id\030\001 \001(\tR\016organizationId\022\037\n\013show_p" - "ublic\030\002 \001(\010R\nshowPublic\022P\n\023fragment_visi" - "bility\030\003 \003(\0162\037.viam.app.v1.FragmentVisib" - "ilityR\022fragmentVisibility\"L\n\025ListFragmen" + "lity\"\343\002\n\024FragmentHistoryEntry\022@\n\010fragmen" + "t\030\001 \001(\tB$\232\204\236\003\037bson:\"fragment\" json:\"frag" + "ment\"R\010fragment\022_\n\tedited_on\030\002 \001(\0132\032.goo" + "gle.protobuf.TimestampB&\232\204\236\003!bson:\"edite" + "d_on\" json:\"edited_on\"R\010editedOn\022C\n\003old\030" + "\003 \001(\0132\025.viam.app.v1.FragmentB\032\232\204\236\003\025bson:" + "\"old\" json:\"old\"R\003old\022c\n\tedited_by\030\004 \001(\013" + "2\036.viam.app.v1.AuthenticatorInfoB&\232\204\236\003!b" + "son:\"edited_by\" json:\"edited_by\"R\010edited" + "By\"\262\001\n\024ListFragmentsRequest\022\'\n\017organizat" + "ion_id\030\001 \001(\tR\016organizationId\022\037\n\013show_pub" + "lic\030\002 \001(\010R\nshowPublic\022P\n\023fragment_visibi" + "lity\030\003 \003(\0162\037.viam.app.v1.FragmentVisibil" + "ityR\022fragmentVisibility\"L\n\025ListFragments" + "Response\0223\n\tfragments\030\001 \003(\0132\025.viam.app.v" + "1.FragmentR\tfragments\"$\n\022GetFragmentRequ" + "est\022\016\n\002id\030\001 \001(\tR\002id\"H\n\023GetFragmentRespon" + "se\0221\n\010fragment\030\001 \001(\0132\025.viam.app.v1.Fragm" + "entR\010fragment\"\205\001\n\025CreateFragmentRequest\022" + "\022\n\004name\030\001 \001(\tR\004name\022/\n\006config\030\002 \001(\0132\027.go" + "ogle.protobuf.StructR\006config\022\'\n\017organiza" + "tion_id\030\003 \001(\tR\016organizationId\"K\n\026CreateF" + "ragmentResponse\0221\n\010fragment\030\001 \001(\0132\025.viam" + ".app.v1.FragmentR\010fragment\"\351\001\n\025UpdateFra" + "gmentRequest\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001" + "(\tR\004name\022/\n\006config\030\003 \001(\0132\027.google.protob" + "uf.StructR\006config\022\033\n\006public\030\004 \001(\010H\000R\006pub" + "lic\210\001\001\022D\n\nvisibility\030\005 \001(\0162\037.viam.app.v1" + ".FragmentVisibilityH\001R\nvisibility\210\001\001B\t\n\007" + "_publicB\r\n\013_visibility\"K\n\026UpdateFragment" + "Response\0221\n\010fragment\030\001 \001(\0132\025.viam.app.v1" + ".FragmentR\010fragment\"\'\n\025DeleteFragmentReq" + "uest\022\016\n\002id\030\001 \001(\tR\002id\"\030\n\026DeleteFragmentRe" + "sponse\"\221\001\n\031GetFragmentHistoryRequest\022\016\n\002" + "id\030\001 \001(\tR\002id\022\"\n\npage_token\030\002 \001(\tH\000R\tpage" + "Token\210\001\001\022\"\n\npage_limit\030\003 \001(\003H\001R\tpageLimi" + "t\210\001\001B\r\n\013_page_tokenB\r\n\013_page_limit\"\201\001\n\032G" + "etFragmentHistoryResponse\022;\n\007history\030\001 \003" + "(\0132!.viam.app.v1.FragmentHistoryEntryR\007h" + "istory\022&\n\017next_page_token\030\002 \001(\tR\rnextPag" + "eToken\"4\n\021ListRobotsRequest\022\037\n\013location_" + "id\030\001 \001(\tR\nlocationId\"t\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\"S\n\034ListMachineFragmen" "tsResponse\0223\n\tfragments\030\001 \003(\0132\025.viam.app" - ".v1.FragmentR\tfragments\"$\n\022GetFragmentRe" - "quest\022\016\n\002id\030\001 \001(\tR\002id\"H\n\023GetFragmentResp" - "onse\0221\n\010fragment\030\001 \001(\0132\025.viam.app.v1.Fra" - "gmentR\010fragment\"\205\001\n\025CreateFragmentReques" - "t\022\022\n\004name\030\001 \001(\tR\004name\022/\n\006config\030\002 \001(\0132\027." - "google.protobuf.StructR\006config\022\'\n\017organi" - "zation_id\030\003 \001(\tR\016organizationId\"K\n\026Creat" - "eFragmentResponse\0221\n\010fragment\030\001 \001(\0132\025.vi" - "am.app.v1.FragmentR\010fragment\"\351\001\n\025UpdateF" - "ragmentRequest\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002" - " \001(\tR\004name\022/\n\006config\030\003 \001(\0132\027.google.prot" - "obuf.StructR\006config\022\033\n\006public\030\004 \001(\010H\000R\006p" - "ublic\210\001\001\022D\n\nvisibility\030\005 \001(\0162\037.viam.app." - "v1.FragmentVisibilityH\001R\nvisibility\210\001\001B\t" - "\n\007_publicB\r\n\013_visibility\"K\n\026UpdateFragme" - "ntResponse\0221\n\010fragment\030\001 \001(\0132\025.viam.app." - "v1.FragmentR\010fragment\"\'\n\025DeleteFragmentR" - "equest\022\016\n\002id\030\001 \001(\tR\002id\"\030\n\026DeleteFragment" - "Response\"4\n\021ListRobotsRequest\022\037\n\013locatio" - "n_id\030\001 \001(\tR\nlocationId\"@\n\022ListRobotsResp" - "onse\022*\n\006robots\030\001 \003(\0132\022.viam.app.v1.Robot" - "R\006robots\"A\n\017NewRobotRequest\022\022\n\004name\030\001 \001(" - "\tR\004name\022\032\n\010location\030\002 \001(\tR\010location\"\"\n\020N" - "ewRobotResponse\022\016\n\002id\030\001 \001(\tR\002id\"T\n\022Updat" - "eRobotRequest\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\010location\"\?\n" - "\023UpdateRobotResponse\022(\n\005robot\030\001 \001(\0132\022.vi" - "am.app.v1.RobotR\005robot\"$\n\022DeleteRobotReq" - "uest\022\016\n\002id\030\001 \001(\tR\002id\"\025\n\023DeleteRobotRespo" - "nse\"0\n\025MarkPartAsMainRequest\022\027\n\007part_id\030" - "\001 \001(\tR\006partId\"\030\n\026MarkPartAsMainResponse\"" - "4\n\031MarkPartForRestartRequest\022\027\n\007part_id\030" - "\001 \001(\tR\006partId\"\034\n\032MarkPartForRestartRespo" - "nse\"7\n\034CreateRobotPartSecretRequest\022\027\n\007p" - "art_id\030\001 \001(\tR\006partId\"K\n\035CreateRobotPartS" - "ecretResponse\022*\n\004part\030\001 \001(\0132\026.viam.app.v" - "1.RobotPartR\004part\"T\n\034DeleteRobotPartSecr" - "etRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\022\033\n\tse" - "cret_id\030\002 \001(\tR\010secretId\"\037\n\035DeleteRobotPa" - "rtSecretResponse\"\236\002\n\rAuthorization\022-\n\022au" - "thorization_type\030\001 \001(\tR\021authorizationTyp" - "e\022)\n\020authorization_id\030\002 \001(\tR\017authorizati" - "onId\022#\n\rresource_type\030\003 \001(\tR\014resourceTyp" - "e\022\037\n\013resource_id\030\004 \001(\tR\nresourceId\022\037\n\013id" - "entity_id\030\005 \001(\tR\nidentityId\022\'\n\017organizat" - "ion_id\030\006 \001(\tR\016organizationId\022#\n\ridentity" - "_type\030\007 \001(\tR\014identityType\"R\n\016AddRoleRequ" - "est\022@\n\rauthorization\030\001 \001(\0132\032.viam.app.v1" - ".AuthorizationR\rauthorization\"\021\n\017AddRole" - "Response\"U\n\021RemoveRoleRequest\022@\n\rauthori" - "zation\030\001 \001(\0132\032.viam.app.v1.Authorization" - "R\rauthorization\"\024\n\022RemoveRoleResponse\"\245\001" - "\n\021ChangeRoleRequest\022G\n\021old_authorization" - "\030\001 \001(\0132\032.viam.app.v1.AuthorizationR\020oldA" - "uthorization\022G\n\021new_authorization\030\002 \001(\0132" - "\032.viam.app.v1.AuthorizationR\020newAuthoriz" - "ation\"\024\n\022ChangeRoleResponse\"g\n\031ListAutho" - "rizationsRequest\022\'\n\017organization_id\030\001 \001(" - "\tR\016organizationId\022!\n\014resource_ids\030\002 \003(\tR" - "\013resourceIds\"`\n\032ListAuthorizationsRespon" - "se\022B\n\016authorizations\030\001 \003(\0132\032.viam.app.v1" - ".AuthorizationR\016authorizations\"_\n\027CheckP" - "ermissionsRequest\022D\n\013permissions\030\001 \003(\0132\"" - ".viam.app.v1.AuthorizedPermissionsR\013perm" - "issions\"\177\n\025AuthorizedPermissions\022#\n\rreso" - "urce_type\030\001 \001(\tR\014resourceType\022\037\n\013resourc" - "e_id\030\002 \001(\tR\nresourceId\022 \n\013permissions\030\003 " - "\003(\tR\013permissions\"u\n\030CheckPermissionsResp" - "onse\022Y\n\026authorized_permissions\030\001 \003(\0132\".v" - "iam.app.v1.AuthorizedPermissionsR\025author" - "izedPermissions\"\241\001\n\rModuleVersion\022\030\n\007ver" - "sion\030\001 \001(\tR\007version\022*\n\005files\030\002 \003(\0132\024.via" - "m.app.v1.UploadsR\005files\022*\n\006models\030\003 \003(\0132" - "\022.viam.app.v1.ModelR\006models\022\036\n\nentrypoin" - "t\030\004 \001(\tR\nentrypoint\"\224\001\n\016ModuleMetadata\022*" - "\n\006models\030\001 \003(\0132\022.viam.app.v1.ModelR\006mode" - "ls\0226\n\010versions\030\002 \003(\0132\032.viam.app.v1.Modul" - "eVersionR\010versions\022\036\n\nentrypoint\030\003 \001(\tR\n" - "entrypoint\"\300\001\n\017MLModelMetadata\022\032\n\010versio" - "ns\030\001 \003(\tR\010versions\022@\n\nmodel_type\030\002 \001(\0162!" - ".viam.app.mltraining.v1.ModelTypeR\tmodel" - "Type\022O\n\017model_framework\030\003 \001(\0162&.viam.app" - ".mltraining.v1.ModelFrameworkR\016modelFram" - "ework\"h\n\021MLTrainingVersion\022\030\n\007version\030\001 " - "\001(\tR\007version\0229\n\ncreated_on\030\002 \001(\0132\032.googl" - "e.protobuf.TimestampR\tcreatedOn\"\377\001\n\022MLTr" - "ainingMetadata\022:\n\010versions\030\005 \003(\0132\036.viam." - "app.v1.MLTrainingVersionR\010versions\022@\n\nmo" - "del_type\030\002 \001(\0162!.viam.app.mltraining.v1." - "ModelTypeR\tmodelType\022O\n\017model_framework\030" - "\003 \001(\0162&.viam.app.mltraining.v1.ModelFram" - "eworkR\016modelFramework\022\024\n\005draft\030\004 \001(\010R\005dr" - "aftJ\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\016or" - "ganizationId\022)\n\020public_namespace\030\003 \001(\tR\017" - "publicNamespace\022\022\n\004name\030\004 \001(\tR\004name\0225\n\004t" - "ype\030\005 \001(\0162!.viam.app.packages.v1.Package" - "TypeR\004type\0227\n\nvisibility\030\006 \001(\0162\027.viam.ap" - "p.v1.VisibilityR\nvisibility\022\020\n\003url\030\007 \001(\t" - "R\003url\022 \n\013description\030\010 \001(\tR\013description\022" - "*\n\021total_robot_usage\030\t \001(\003R\017totalRobotUs" - "age\022;\n\032total_external_robot_usage\030\r \001(\003R" - "\027totalExternalRobotUsage\0228\n\030total_organi" - "zation_usage\030\n \001(\003R\026totalOrganizationUsa" - "ge\022I\n!total_external_organization_usage\030" - "\016 \001(\003R\036totalExternalOrganizationUsage\022F\n" - "\017module_metadata\030\013 \001(\0132\033.viam.app.v1.Mod" - "uleMetadataH\000R\016moduleMetadata\022J\n\021ml_mode" - "l_metadata\030\014 \001(\0132\034.viam.app.v1.MLModelMe" - "tadataH\000R\017mlModelMetadata\022S\n\024ml_training" - "_metadata\030\022 \001(\0132\037.viam.app.v1.MLTraining" - "MetadataH\000R\022mlTrainingMetadata\0229\n\ncreate" - "d_at\030\017 \001(\0132\032.google.protobuf.TimestampR\t" - "createdAt\0229\n\nupdated_at\030\020 \001(\0132\032.google.p" - "rotobuf.TimestampR\tupdatedAtB\n\n\010metadata" - "\"1\n\026GetRegistryItemRequest\022\027\n\007item_id\030\001 " - "\001(\tR\006itemId\"H\n\027GetRegistryItemResponse\022-" - "\n\004item\030\001 \001(\0132\031.viam.app.v1.RegistryItemR" - "\004item\"\217\001\n\031CreateRegistryItemRequest\022\'\n\017o" - "rganization_id\030\001 \001(\tR\016organizationId\022\022\n\004" - "name\030\002 \001(\tR\004name\0225\n\004type\030\003 \001(\0162!.viam.ap" - "p.packages.v1.PackageTypeR\004type\"\034\n\032Creat" - "eRegistryItemResponse\"\306\001\n\031UpdateRegistry" - "ItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\0225\n\004" - "type\030\002 \001(\0162!.viam.app.packages.v1.Packag" - "eTypeR\004type\022 \n\013description\030\003 \001(\tR\013descri" - "ption\0227\n\nvisibility\030\004 \001(\0162\027.viam.app.v1." - "VisibilityR\nvisibility\"\034\n\032UpdateRegistry" - "ItemResponse\"\303\003\n\030ListRegistryItemsReques" - "t\022,\n\017organization_id\030\001 \001(\tH\000R\016organizati" - "onId\210\001\001\0227\n\005types\030\002 \003(\0162!.viam.app.packag" - "es.v1.PackageTypeR\005types\022;\n\014visibilities" - "\030\003 \003(\0162\027.viam.app.v1.VisibilityR\014visibil" - "ities\022\034\n\tplatforms\030\004 \003(\tR\tplatforms\022;\n\010s" - "tatuses\030\005 \003(\0162\037.viam.app.v1.RegistryItem" - "StatusR\010statuses\022$\n\013search_term\030\006 \001(\tH\001R" - "\nsearchTerm\210\001\001\022\"\n\npage_token\030\007 \001(\tH\002R\tpa" - "geToken\210\001\001\022+\n\021public_namespaces\030\010 \003(\tR\020p" - "ublicNamespacesB\022\n\020_organization_idB\016\n\014_" - "search_termB\r\n\013_page_token\"L\n\031ListRegist" - "ryItemsResponse\022/\n\005items\030\001 \003(\0132\031.viam.ap" - "p.v1.RegistryItemR\005items\"4\n\031DeleteRegist" - "ryItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\"\034" - "\n\032DeleteRegistryItemResponse\"h\n\033Transfer" - "RegistryItemRequest\022\027\n\007item_id\030\001 \001(\tR\006it" - "emId\0220\n\024new_public_namespace\030\002 \001(\tR\022newP" - "ublicNamespace\"\036\n\034TransferRegistryItemRe" - "sponse\"R\n\023CreateModuleRequest\022\'\n\017organiz" - "ation_id\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002" - " \001(\tR\004name\"E\n\024CreateModuleResponse\022\033\n\tmo" - "dule_id\030\001 \001(\tR\010moduleId\022\020\n\003url\030\002 \001(\tR\003ur" - "l\"\353\001\n\023UpdateModuleRequest\022\033\n\tmodule_id\030\001" - " \001(\tR\010moduleId\0227\n\nvisibility\030\002 \001(\0162\027.via" - "m.app.v1.VisibilityR\nvisibility\022\020\n\003url\030\003" - " \001(\tR\003url\022 \n\013description\030\004 \001(\tR\013descript" - "ion\022*\n\006models\030\005 \003(\0132\022.viam.app.v1.ModelR" - "\006models\022\036\n\nentrypoint\030\006 \001(\tR\nentrypoint\"" - "(\n\024UpdateModuleResponse\022\020\n\003url\030\001 \001(\tR\003ur" - "l\"/\n\005Model\022\020\n\003api\030\001 \001(\tR\003api\022\024\n\005model\030\002 " - "\001(\tR\005model\"c\n\016ModuleFileInfo\022\033\n\tmodule_i" - "d\030\001 \001(\tR\010moduleId\022\030\n\007version\030\002 \001(\tR\007vers" - "ion\022\032\n\010platform\030\003 \001(\tR\010platform\"\207\001\n\027Uplo" - "adModuleFileRequest\022G\n\020module_file_info\030" - "\001 \001(\0132\033.viam.app.v1.ModuleFileInfoH\000R\016mo" - "duleFileInfo\022\024\n\004file\030\002 \001(\014H\000R\004fileB\r\n\013mo" - "dule_file\",\n\030UploadModuleFileResponse\022\020\n" - "\003url\030\001 \001(\tR\003url\"/\n\020GetModuleRequest\022\033\n\tm" - "odule_id\030\001 \001(\tR\010moduleId\"@\n\021GetModuleRes" - "ponse\022+\n\006module\030\001 \001(\0132\023.viam.app.v1.Modu" - "leR\006module\"\345\003\n\006Module\022\033\n\tmodule_id\030\001 \001(\t" - "R\010moduleId\022\022\n\004name\030\002 \001(\tR\004name\0227\n\nvisibi" - "lity\030\003 \001(\0162\027.viam.app.v1.VisibilityR\nvis" - "ibility\0227\n\010versions\030\004 \003(\0132\033.viam.app.v1." - "VersionHistoryR\010versions\022\020\n\003url\030\005 \001(\tR\003u" - "rl\022 \n\013description\030\006 \001(\tR\013description\022*\n\006" - "models\030\007 \003(\0132\022.viam.app.v1.ModelR\006models" - "\022*\n\021total_robot_usage\030\010 \001(\003R\017totalRobotU" - "sage\0228\n\030total_organization_usage\030\t \001(\003R\026" - "totalOrganizationUsage\022\'\n\017organization_i" - "d\030\n \001(\tR\016organizationId\022\036\n\nentrypoint\030\013 " - "\001(\tR\nentrypoint\022)\n\020public_namespace\030\014 \001(" - "\tR\017publicNamespace\"\242\001\n\016VersionHistory\022\030\n" - "\007version\030\001 \001(\tR\007version\022*\n\005files\030\002 \003(\0132\024" - ".viam.app.v1.UploadsR\005files\022*\n\006models\030\003 " - "\003(\0132\022.viam.app.v1.ModelR\006models\022\036\n\nentry" - "point\030\004 \001(\tR\nentrypoint\"b\n\007Uploads\022\032\n\010pl" - "atform\030\001 \001(\tR\010platform\022;\n\013uploaded_at\030\002 " - "\001(\0132\032.google.protobuf.TimestampR\nuploade" - "dAt\"V\n\022ListModulesRequest\022,\n\017organizatio" - "n_id\030\001 \001(\tH\000R\016organizationId\210\001\001B\022\n\020_orga" - "nization_id\"D\n\023ListModulesResponse\022-\n\007mo" - "dules\030\001 \003(\0132\023.viam.app.v1.ModuleR\007module" - "s\"/\n\027GetUserIDByEmailRequest\022\024\n\005email\030\001 " - "\001(\tR\005email\"3\n\030GetUserIDByEmailResponse\022\027" - "\n\007user_id\030\001 \001(\tR\006userId\"9\n\036ListOrganizat" - "ionsByUserRequest\022\027\n\007user_id\030\001 \001(\tR\006user" - "Id\">\n\nOrgDetails\022\025\n\006org_id\030\001 \001(\tR\005orgId\022" - "\031\n\010org_name\030\002 \001(\tR\007orgName\"N\n\037ListOrgani" - "zationsByUserResponse\022+\n\004orgs\030\001 \003(\0132\027.vi" - "am.app.v1.OrgDetailsR\004orgs\"j\n\020CreateKeyR" - "equest\022B\n\016authorizations\030\001 \003(\0132\032.viam.ap" - "p.v1.AuthorizationR\016authorizations\022\022\n\004na" - "me\030\002 \001(\tR\004name\"5\n\021CreateKeyResponse\022\020\n\003k" - "ey\030\001 \001(\tR\003key\022\016\n\002id\030\002 \001(\tR\002id\"\"\n\020DeleteK" - "eyRequest\022\016\n\002id\030\001 \001(\tR\002id\"\023\n\021DeleteKeyRe" - "sponse\"6\n\020RenameKeyRequest\022\016\n\002id\030\001 \001(\tR\002" - "id\022\022\n\004name\030\002 \001(\tR\004name\"7\n\021RenameKeyRespo" - "nse\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\"" - "\315\001\n\024AuthorizationDetails\022-\n\022authorizatio" - "n_type\030\001 \001(\tR\021authorizationType\022)\n\020autho" - "rization_id\030\002 \001(\tR\017authorizationId\022#\n\rre" - "source_type\030\003 \001(\tR\014resourceType\022\037\n\013resou" - "rce_id\030\004 \001(\tR\nresourceId\022\025\n\006org_id\030\005 \001(\t" - "R\005orgId\"\223\001\n\030APIKeyWithAuthorizations\022,\n\007" - "api_key\030\001 \001(\0132\023.viam.app.v1.APIKeyR\006apiK" - "ey\022I\n\016authorizations\030\002 \003(\0132!.viam.app.v1" - ".AuthorizationDetailsR\016authorizations\"(\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.APIKeyWithAuthorizationsR\007ap" - "iKeys\"\"\n\020RotateKeyRequest\022\016\n\002id\030\001 \001(\tR\002i" - "d\"5\n\021RotateKeyResponse\022\016\n\002id\030\001 \001(\tR\002id\022\020" - "\n\003key\030\002 \001(\tR\003key\"\?\n-CreateKeyFromExistin" - "gKeyAuthorizationsRequest\022\016\n\002id\030\001 \001(\tR\002i" - "d\"R\n.CreateKeyFromExistingKeyAuthorizati" - "onsResponse\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001(\t" - "R\003key*\321\001\n\022AuthenticationType\022#\n\037AUTHENTI" - "CATION_TYPE_UNSPECIFIED\020\000\022!\n\035AUTHENTICAT" - "ION_TYPE_WEB_OAUTH\020\001\022\037\n\033AUTHENTICATION_T" - "YPE_API_KEY\020\002\022)\n%AUTHENTICATION_TYPE_ROB" - "OT_PART_SECRET\020\003\022\'\n#AUTHENTICATION_TYPE_" - "LOCATION_SECRET\020\004*\243\001\n\022FragmentVisibility" - "\022#\n\037FRAGMENT_VISIBILITY_UNSPECIFIED\020\000\022\037\n" - "\033FRAGMENT_VISIBILITY_PRIVATE\020\001\022\036\n\032FRAGME" - "NT_VISIBILITY_PUBLIC\020\002\022\'\n#FRAGMENT_VISIB" - "ILITY_PUBLIC_UNLISTED\020\003*\207\001\n\022RegistryItem" - "Status\022$\n REGISTRY_ITEM_STATUS_UNSPECIFI" - "ED\020\000\022\"\n\036REGISTRY_ITEM_STATUS_PUBLISHED\020\001" - "\022\'\n#REGISTRY_ITEM_STATUS_IN_DEVELOPMENT\020" - "\002*W\n\nVisibility\022\032\n\026VISIBILITY_UNSPECIFIE" - "D\020\000\022\026\n\022VISIBILITY_PRIVATE\020\001\022\025\n\021VISIBILIT" - "Y_PUBLIC\020\0022\2506\n\nAppService\022_\n\020GetUserIDBy" - "Email\022$.viam.app.v1.GetUserIDByEmailRequ" - "est\032%.viam.app.v1.GetUserIDByEmailRespon" - "se\022e\n\022CreateOrganization\022&.viam.app.v1.C" - "reateOrganizationRequest\032\'.viam.app.v1.C" - "reateOrganizationResponse\022b\n\021ListOrganiz" - "ations\022%.viam.app.v1.ListOrganizationsRe" - "quest\032&.viam.app.v1.ListOrganizationsRes" - "ponse\022\233\001\n$GetOrganizationsWithAccessToLo" - "cation\0228.viam.app.v1.GetOrganizationsWit" - "hAccessToLocationRequest\0329.viam.app.v1.G" - "etOrganizationsWithAccessToLocationRespo" - "nse\022t\n\027ListOrganizationsByUser\022+.viam.ap" - "p.v1.ListOrganizationsByUserRequest\032,.vi" - "am.app.v1.ListOrganizationsByUserRespons" - "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\027ListOrganizationM" - "embers\022+.viam.app.v1.ListOrganizationMem" - "bersRequest\032,.viam.app.v1.ListOrganizati" - "onMembersResponse\022w\n\030CreateOrganizationI" - "nvite\022,.viam.app.v1.CreateOrganizationIn" - "viteRequest\032-.viam.app.v1.CreateOrganiza" - "tionInviteResponse\022\241\001\n&UpdateOrganizatio" - "nInviteAuthorizations\022:.viam.app.v1.Upda" - "teOrganizationInviteAuthorizationsReques" - "t\032;.viam.app.v1.UpdateOrganizationInvite" - "AuthorizationsResponse\022w\n\030DeleteOrganiza" - "tionMember\022,.viam.app.v1.DeleteOrganizat" - "ionMemberRequest\032-.viam.app.v1.DeleteOrg" - "anizationMemberResponse\022w\n\030DeleteOrganiz" - "ationInvite\022,.viam.app.v1.DeleteOrganiza" - "tionInviteRequest\032-.viam.app.v1.DeleteOr" - "ganizationInviteResponse\022w\n\030ResendOrgani" - "zationInvite\022,.viam.app.v1.ResendOrganiz" - "ationInviteRequest\032-.viam.app.v1.ResendO" - "rganizationInviteResponse\022Y\n\016CreateLocat" - "ion\022\".viam.app.v1.CreateLocationRequest\032" - "#.viam.app.v1.CreateLocationResponse\022P\n\013" - "GetLocation\022\037.viam.app.v1.GetLocationReq" - "uest\032 .viam.app.v1.GetLocationResponse\022Y" - "\n\016UpdateLocation\022\".viam.app.v1.UpdateLoc" - "ationRequest\032#.viam.app.v1.UpdateLocatio" - "nResponse\022Y\n\016DeleteLocation\022\".viam.app.v" - "1.DeleteLocationRequest\032#.viam.app.v1.De" - "leteLocationResponse\022V\n\rListLocations\022!." - "viam.app.v1.ListLocationsRequest\032\".viam." - "app.v1.ListLocationsResponse\022V\n\rShareLoc" - "ation\022!.viam.app.v1.ShareLocationRequest" - "\032\".viam.app.v1.ShareLocationResponse\022\\\n\017" - "UnshareLocation\022#.viam.app.v1.UnshareLoc" - "ationRequest\032$.viam.app.v1.UnshareLocati" - "onResponse\022S\n\014LocationAuth\022 .viam.app.v1" - ".LocationAuthRequest\032!.viam.app.v1.Locat" - "ionAuthResponse\022k\n\024CreateLocationSecret\022" - "(.viam.app.v1.CreateLocationSecretReques" - "t\032).viam.app.v1.CreateLocationSecretResp" - "onse\022k\n\024DeleteLocationSecret\022(.viam.app." - "v1.DeleteLocationSecretRequest\032).viam.ap" - "p.v1.DeleteLocationSecretResponse\022G\n\010Get" - "Robot\022\034.viam.app.v1.GetRobotRequest\032\035.vi" - "am.app.v1.GetRobotResponse\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\022\\\n\017GetRobotAPIKeys\022#.viam.app.v1." - "GetRobotAPIKeysRequest\032$.viam.app.v1.Get" - "RobotAPIKeysResponse\022Y\n\016MarkPartAsMain\022\"" - ".viam.app.v1.MarkPartAsMainRequest\032#.via" - "m.app.v1.MarkPartAsMainResponse\022e\n\022MarkP" - "artForRestart\022&.viam.app.v1.MarkPartForR" - "estartRequest\032\'.viam.app.v1.MarkPartForR" - "estartResponse\022n\n\025CreateRobotPartSecret\022" - ").viam.app.v1.CreateRobotPartSecretReque" - "st\032*.viam.app.v1.CreateRobotPartSecretRe" - "sponse\022n\n\025DeleteRobotPartSecret\022).viam.a" - "pp.v1.DeleteRobotPartSecretRequest\032*.via" - "m.app.v1.DeleteRobotPartSecretResponse\022M" - "\n\nListRobots\022\036.viam.app.v1.ListRobotsReq" - "uest\032\037.viam.app.v1.ListRobotsResponse\022G\n" - "\010NewRobot\022\034.viam.app.v1.NewRobotRequest\032" - "\035.viam.app.v1.NewRobotResponse\022P\n\013Update" - "Robot\022\037.viam.app.v1.UpdateRobotRequest\032 " - ".viam.app.v1.UpdateRobotResponse\022P\n\013Dele" - "teRobot\022\037.viam.app.v1.DeleteRobotRequest" - "\032 .viam.app.v1.DeleteRobotResponse\022V\n\rLi" - "stFragments\022!.viam.app.v1.ListFragmentsR" - "equest\032\".viam.app.v1.ListFragmentsRespon" - "se\022P\n\013GetFragment\022\037.viam.app.v1.GetFragm" - "entRequest\032 .viam.app.v1.GetFragmentResp" - "onse\022Y\n\016CreateFragment\022\".viam.app.v1.Cre" - "ateFragmentRequest\032#.viam.app.v1.CreateF" - "ragmentResponse\022Y\n\016UpdateFragment\022\".viam" - ".app.v1.UpdateFragmentRequest\032#.viam.app" - ".v1.UpdateFragmentResponse\022Y\n\016DeleteFrag" - "ment\022\".viam.app.v1.DeleteFragmentRequest" - "\032#.viam.app.v1.DeleteFragmentResponse\022D\n" - "\007AddRole\022\033.viam.app.v1.AddRoleRequest\032\034." - "viam.app.v1.AddRoleResponse\022M\n\nRemoveRol" - "e\022\036.viam.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\022ListAuthori" - "zations\022&.viam.app.v1.ListAuthorizations" - "Request\032\'.viam.app.v1.ListAuthorizations" - "Response\022_\n\020CheckPermissions\022$.viam.app." - "v1.CheckPermissionsRequest\032%.viam.app.v1" - ".CheckPermissionsResponse\022\\\n\017GetRegistry" - "Item\022#.viam.app.v1.GetRegistryItemReques" - "t\032$.viam.app.v1.GetRegistryItemResponse\022" - "e\n\022CreateRegistryItem\022&.viam.app.v1.Crea" - "teRegistryItemRequest\032\'.viam.app.v1.Crea" - "teRegistryItemResponse\022e\n\022UpdateRegistry" - "Item\022&.viam.app.v1.UpdateRegistryItemReq" - "uest\032\'.viam.app.v1.UpdateRegistryItemRes" - "ponse\022b\n\021ListRegistryItems\022%.viam.app.v1" - ".ListRegistryItemsRequest\032&.viam.app.v1." - "ListRegistryItemsResponse\022e\n\022DeleteRegis" - "tryItem\022&.viam.app.v1.DeleteRegistryItem" - "Request\032\'.viam.app.v1.DeleteRegistryItem" - "Response\022k\n\024TransferRegistryItem\022(.viam." - "app.v1.TransferRegistryItemRequest\032).via" - "m.app.v1.TransferRegistryItemResponse\022S\n" - "\014CreateModule\022 .viam.app.v1.CreateModule" - "Request\032!.viam.app.v1.CreateModuleRespon" - "se\022S\n\014UpdateModule\022 .viam.app.v1.UpdateM" - "oduleRequest\032!.viam.app.v1.UpdateModuleR" - "esponse\022a\n\020UploadModuleFile\022$.viam.app.v" - "1.UploadModuleFileRequest\032%.viam.app.v1." - "UploadModuleFileResponse(\001\022J\n\tGetModule\022" - "\035.viam.app.v1.GetModuleRequest\032\036.viam.ap" - "p.v1.GetModuleResponse\022P\n\013ListModules\022\037." - "viam.app.v1.ListModulesRequest\032 .viam.ap" - "p.v1.ListModulesResponse\022J\n\tCreateKey\022\035." - "viam.app.v1.CreateKeyRequest\032\036.viam.app." - "v1.CreateKeyResponse\022J\n\tDeleteKey\022\035.viam" - ".app.v1.DeleteKeyRequest\032\036.viam.app.v1.D" - "eleteKeyResponse\022G\n\010ListKeys\022\034.viam.app." - "v1.ListKeysRequest\032\035.viam.app.v1.ListKey" - "sResponse\022J\n\tRenameKey\022\035.viam.app.v1.Ren" - "ameKeyRequest\032\036.viam.app.v1.RenameKeyRes" - "ponse\022J\n\tRotateKey\022\035.viam.app.v1.RotateK" - "eyRequest\032\036.viam.app.v1.RotateKeyRespons" - "e\022\241\001\n&CreateKeyFromExistingKeyAuthorizat" - "ions\022:.viam.app.v1.CreateKeyFromExisting" - "KeyAuthorizationsRequest\032;.viam.app.v1.C" - "reateKeyFromExistingKeyAuthorizationsRes" - "ponseB\201\001\n\017com.viam.app.v1B\010AppProtoP\001Z\026g" - "o.viam.com/api/app/v1\242\002\003VAX\252\002\013Viam.App.V" - "1\312\002\013Viam\\App\\V1\342\002\027Viam\\App\\V1\\GPBMetadat" - "a\352\002\rViam::App::V1b\006proto3" + ".v1.FragmentR\tfragments\"@\n\022ListRobotsRes" + "ponse\022*\n\006robots\030\001 \003(\0132\022.viam.app.v1.Robo" + "tR\006robots\"A\n\017NewRobotRequest\022\022\n\004name\030\001 \001" + "(\tR\004name\022\032\n\010location\030\002 \001(\tR\010location\"\"\n\020" + "NewRobotResponse\022\016\n\002id\030\001 \001(\tR\002id\"T\n\022Upda" + "teRobotRequest\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\010location\"\?" + "\n\023UpdateRobotResponse\022(\n\005robot\030\001 \001(\0132\022.v" + "iam.app.v1.RobotR\005robot\"$\n\022DeleteRobotRe" + "quest\022\016\n\002id\030\001 \001(\tR\002id\"\025\n\023DeleteRobotResp" + "onse\"0\n\025MarkPartAsMainRequest\022\027\n\007part_id" + "\030\001 \001(\tR\006partId\"\030\n\026MarkPartAsMainResponse" + "\"4\n\031MarkPartForRestartRequest\022\027\n\007part_id" + "\030\001 \001(\tR\006partId\"\034\n\032MarkPartForRestartResp" + "onse\"7\n\034CreateRobotPartSecretRequest\022\027\n\007" + "part_id\030\001 \001(\tR\006partId\"K\n\035CreateRobotPart" + "SecretResponse\022*\n\004part\030\001 \001(\0132\026.viam.app." + "v1.RobotPartR\004part\"T\n\034DeleteRobotPartSec" + "retRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\022\033\n\ts" + "ecret_id\030\002 \001(\tR\010secretId\"\037\n\035DeleteRobotP" + "artSecretResponse\"\236\002\n\rAuthorization\022-\n\022a" + "uthorization_type\030\001 \001(\tR\021authorizationTy" + "pe\022)\n\020authorization_id\030\002 \001(\tR\017authorizat" + "ionId\022#\n\rresource_type\030\003 \001(\tR\014resourceTy" + "pe\022\037\n\013resource_id\030\004 \001(\tR\nresourceId\022\037\n\013i" + "dentity_id\030\005 \001(\tR\nidentityId\022\'\n\017organiza" + "tion_id\030\006 \001(\tR\016organizationId\022#\n\ridentit" + "y_type\030\007 \001(\tR\014identityType\"R\n\016AddRoleReq" + "uest\022@\n\rauthorization\030\001 \001(\0132\032.viam.app.v" + "1.AuthorizationR\rauthorization\"\021\n\017AddRol" + "eResponse\"U\n\021RemoveRoleRequest\022@\n\rauthor" + "ization\030\001 \001(\0132\032.viam.app.v1.Authorizatio" + "nR\rauthorization\"\024\n\022RemoveRoleResponse\"\245" + "\001\n\021ChangeRoleRequest\022G\n\021old_authorizatio" + "n\030\001 \001(\0132\032.viam.app.v1.AuthorizationR\020old" + "Authorization\022G\n\021new_authorization\030\002 \001(\013" + "2\032.viam.app.v1.AuthorizationR\020newAuthori" + "zation\"\024\n\022ChangeRoleResponse\"g\n\031ListAuth" + "orizationsRequest\022\'\n\017organization_id\030\001 \001" + "(\tR\016organizationId\022!\n\014resource_ids\030\002 \003(\t" + "R\013resourceIds\"`\n\032ListAuthorizationsRespo" + "nse\022B\n\016authorizations\030\001 \003(\0132\032.viam.app.v" + "1.AuthorizationR\016authorizations\"_\n\027Check" + "PermissionsRequest\022D\n\013permissions\030\001 \003(\0132" + "\".viam.app.v1.AuthorizedPermissionsR\013per" + "missions\"\177\n\025AuthorizedPermissions\022#\n\rres" + "ource_type\030\001 \001(\tR\014resourceType\022\037\n\013resour" + "ce_id\030\002 \001(\tR\nresourceId\022 \n\013permissions\030\003" + " \003(\tR\013permissions\"u\n\030CheckPermissionsRes" + "ponse\022Y\n\026authorized_permissions\030\001 \003(\0132\"." + "viam.app.v1.AuthorizedPermissionsR\025autho" + "rizedPermissions\"\241\001\n\rModuleVersion\022\030\n\007ve" + "rsion\030\001 \001(\tR\007version\022*\n\005files\030\002 \003(\0132\024.vi" + "am.app.v1.UploadsR\005files\022*\n\006models\030\003 \003(\013" + "2\022.viam.app.v1.ModelR\006models\022\036\n\nentrypoi" + "nt\030\004 \001(\tR\nentrypoint\"\224\001\n\016ModuleMetadata\022" + "*\n\006models\030\001 \003(\0132\022.viam.app.v1.ModelR\006mod" + "els\0226\n\010versions\030\002 \003(\0132\032.viam.app.v1.Modu" + "leVersionR\010versions\022\036\n\nentrypoint\030\003 \001(\tR" + "\nentrypoint\"\300\001\n\017MLModelMetadata\022\032\n\010versi" + "ons\030\001 \003(\tR\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\"h\n\021MLTrainingVersion\022\030\n\007version\030\001" + " \001(\tR\007version\0229\n\ncreated_on\030\002 \001(\0132\032.goog" + "le.protobuf.TimestampR\tcreatedOn\"\377\001\n\022MLT" + "rainingMetadata\022:\n\010versions\030\005 \003(\0132\036.viam" + ".app.v1.MLTrainingVersionR\010versions\022@\n\nm" + "odel_type\030\002 \001(\0162!.viam.app.mltraining.v1" + ".ModelTypeR\tmodelType\022O\n\017model_framework" + "\030\003 \001(\0162&.viam.app.mltraining.v1.ModelFra" + "meworkR\016modelFramework\022\024\n\005draft\030\004 \001(\010R\005d" + "raftJ\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\016o" + "rganizationId\022)\n\020public_namespace\030\003 \001(\tR" + "\017publicNamespace\022\022\n\004name\030\004 \001(\tR\004name\0225\n\004" + "type\030\005 \001(\0162!.viam.app.packages.v1.Packag" + "eTypeR\004type\0227\n\nvisibility\030\006 \001(\0162\027.viam.a" + "pp.v1.VisibilityR\nvisibility\022\020\n\003url\030\007 \001(" + "\tR\003url\022 \n\013description\030\010 \001(\tR\013description" + "\022*\n\021total_robot_usage\030\t \001(\003R\017totalRobotU" + "sage\022;\n\032total_external_robot_usage\030\r \001(\003" + "R\027totalExternalRobotUsage\0228\n\030total_organ" + "ization_usage\030\n \001(\003R\026totalOrganizationUs" + "age\022I\n!total_external_organization_usage" + "\030\016 \001(\003R\036totalExternalOrganizationUsage\022F" + "\n\017module_metadata\030\013 \001(\0132\033.viam.app.v1.Mo" + "duleMetadataH\000R\016moduleMetadata\022J\n\021ml_mod" + "el_metadata\030\014 \001(\0132\034.viam.app.v1.MLModelM" + "etadataH\000R\017mlModelMetadata\022S\n\024ml_trainin" + "g_metadata\030\022 \001(\0132\037.viam.app.v1.MLTrainin" + "gMetadataH\000R\022mlTrainingMetadata\0229\n\ncreat" + "ed_at\030\017 \001(\0132\032.google.protobuf.TimestampR" + "\tcreatedAt\0229\n\nupdated_at\030\020 \001(\0132\032.google." + "protobuf.TimestampR\tupdatedAtB\n\n\010metadat" + "a\"1\n\026GetRegistryItemRequest\022\027\n\007item_id\030\001" + " \001(\tR\006itemId\"H\n\027GetRegistryItemResponse\022" + "-\n\004item\030\001 \001(\0132\031.viam.app.v1.RegistryItem" + "R\004item\"\217\001\n\031CreateRegistryItemRequest\022\'\n\017" + "organization_id\030\001 \001(\tR\016organizationId\022\022\n" + "\004name\030\002 \001(\tR\004name\0225\n\004type\030\003 \001(\0162!.viam.a" + "pp.packages.v1.PackageTypeR\004type\"\034\n\032Crea" + "teRegistryItemResponse\"\306\001\n\031UpdateRegistr" + "yItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\0225\n" + "\004type\030\002 \001(\0162!.viam.app.packages.v1.Packa" + "geTypeR\004type\022 \n\013description\030\003 \001(\tR\013descr" + "iption\0227\n\nvisibility\030\004 \001(\0162\027.viam.app.v1" + ".VisibilityR\nvisibility\"\034\n\032UpdateRegistr" + "yItemResponse\"\303\003\n\030ListRegistryItemsReque" + "st\022,\n\017organization_id\030\001 \001(\tH\000R\016organizat" + "ionId\210\001\001\0227\n\005types\030\002 \003(\0162!.viam.app.packa" + "ges.v1.PackageTypeR\005types\022;\n\014visibilitie" + "s\030\003 \003(\0162\027.viam.app.v1.VisibilityR\014visibi" + "lities\022\034\n\tplatforms\030\004 \003(\tR\tplatforms\022;\n\010" + "statuses\030\005 \003(\0162\037.viam.app.v1.RegistryIte" + "mStatusR\010statuses\022$\n\013search_term\030\006 \001(\tH\001" + "R\nsearchTerm\210\001\001\022\"\n\npage_token\030\007 \001(\tH\002R\tp" + "ageToken\210\001\001\022+\n\021public_namespaces\030\010 \003(\tR\020" + "publicNamespacesB\022\n\020_organization_idB\016\n\014" + "_search_termB\r\n\013_page_token\"L\n\031ListRegis" + "tryItemsResponse\022/\n\005items\030\001 \003(\0132\031.viam.a" + "pp.v1.RegistryItemR\005items\"4\n\031DeleteRegis" + "tryItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\"" + "\034\n\032DeleteRegistryItemResponse\"h\n\033Transfe" + "rRegistryItemRequest\022\027\n\007item_id\030\001 \001(\tR\006i" + "temId\0220\n\024new_public_namespace\030\002 \001(\tR\022new" + "PublicNamespace\"\036\n\034TransferRegistryItemR" + "esponse\"R\n\023CreateModuleRequest\022\'\n\017organi" + "zation_id\030\001 \001(\tR\016organizationId\022\022\n\004name\030" + "\002 \001(\tR\004name\"E\n\024CreateModuleResponse\022\033\n\tm" + "odule_id\030\001 \001(\tR\010moduleId\022\020\n\003url\030\002 \001(\tR\003u" + "rl\"\353\001\n\023UpdateModuleRequest\022\033\n\tmodule_id\030" + "\001 \001(\tR\010moduleId\0227\n\nvisibility\030\002 \001(\0162\027.vi" + "am.app.v1.VisibilityR\nvisibility\022\020\n\003url\030" + "\003 \001(\tR\003url\022 \n\013description\030\004 \001(\tR\013descrip" + "tion\022*\n\006models\030\005 \003(\0132\022.viam.app.v1.Model" + "R\006models\022\036\n\nentrypoint\030\006 \001(\tR\nentrypoint" + "\"(\n\024UpdateModuleResponse\022\020\n\003url\030\001 \001(\tR\003u" + "rl\"/\n\005Model\022\020\n\003api\030\001 \001(\tR\003api\022\024\n\005model\030\002" + " \001(\tR\005model\"c\n\016ModuleFileInfo\022\033\n\tmodule_" + "id\030\001 \001(\tR\010moduleId\022\030\n\007version\030\002 \001(\tR\007ver" + "sion\022\032\n\010platform\030\003 \001(\tR\010platform\"\207\001\n\027Upl" + "oadModuleFileRequest\022G\n\020module_file_info" + "\030\001 \001(\0132\033.viam.app.v1.ModuleFileInfoH\000R\016m" + "oduleFileInfo\022\024\n\004file\030\002 \001(\014H\000R\004fileB\r\n\013m" + "odule_file\",\n\030UploadModuleFileResponse\022\020" + "\n\003url\030\001 \001(\tR\003url\"/\n\020GetModuleRequest\022\033\n\t" + "module_id\030\001 \001(\tR\010moduleId\"@\n\021GetModuleRe" + "sponse\022+\n\006module\030\001 \001(\0132\023.viam.app.v1.Mod" + "uleR\006module\"\345\003\n\006Module\022\033\n\tmodule_id\030\001 \001(" + "\tR\010moduleId\022\022\n\004name\030\002 \001(\tR\004name\0227\n\nvisib" + "ility\030\003 \001(\0162\027.viam.app.v1.VisibilityR\nvi" + "sibility\0227\n\010versions\030\004 \003(\0132\033.viam.app.v1" + ".VersionHistoryR\010versions\022\020\n\003url\030\005 \001(\tR\003" + "url\022 \n\013description\030\006 \001(\tR\013description\022*\n" + "\006models\030\007 \003(\0132\022.viam.app.v1.ModelR\006model" + "s\022*\n\021total_robot_usage\030\010 \001(\003R\017totalRobot" + "Usage\0228\n\030total_organization_usage\030\t \001(\003R" + "\026totalOrganizationUsage\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\017publicNamespace\"\242\001\n\016VersionHistory\022\030" + "\n\007version\030\001 \001(\tR\007version\022*\n\005files\030\002 \003(\0132" + "\024.viam.app.v1.UploadsR\005files\022*\n\006models\030\003" + " \003(\0132\022.viam.app.v1.ModelR\006models\022\036\n\nentr" + "ypoint\030\004 \001(\tR\nentrypoint\"b\n\007Uploads\022\032\n\010p" + "latform\030\001 \001(\tR\010platform\022;\n\013uploaded_at\030\002" + " \001(\0132\032.google.protobuf.TimestampR\nupload" + "edAt\"V\n\022ListModulesRequest\022,\n\017organizati" + "on_id\030\001 \001(\tH\000R\016organizationId\210\001\001B\022\n\020_org" + "anization_id\"D\n\023ListModulesResponse\022-\n\007m" + "odules\030\001 \003(\0132\023.viam.app.v1.ModuleR\007modul" + "es\"/\n\027GetUserIDByEmailRequest\022\024\n\005email\030\001" + " \001(\tR\005email\"3\n\030GetUserIDByEmailResponse\022" + "\027\n\007user_id\030\001 \001(\tR\006userId\"9\n\036ListOrganiza" + "tionsByUserRequest\022\027\n\007user_id\030\001 \001(\tR\006use" + "rId\">\n\nOrgDetails\022\025\n\006org_id\030\001 \001(\tR\005orgId" + "\022\031\n\010org_name\030\002 \001(\tR\007orgName\"N\n\037ListOrgan" + "izationsByUserResponse\022+\n\004orgs\030\001 \003(\0132\027.v" + "iam.app.v1.OrgDetailsR\004orgs\"j\n\020CreateKey" + "Request\022B\n\016authorizations\030\001 \003(\0132\032.viam.a" + "pp.v1.AuthorizationR\016authorizations\022\022\n\004n" + "ame\030\002 \001(\tR\004name\"5\n\021CreateKeyResponse\022\020\n\003" + "key\030\001 \001(\tR\003key\022\016\n\002id\030\002 \001(\tR\002id\"\"\n\020Delete" + "KeyRequest\022\016\n\002id\030\001 \001(\tR\002id\"\023\n\021DeleteKeyR" + "esponse\"6\n\020RenameKeyRequest\022\016\n\002id\030\001 \001(\tR" + "\002id\022\022\n\004name\030\002 \001(\tR\004name\"7\n\021RenameKeyResp" + "onse\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name" + "\"\315\001\n\024AuthorizationDetails\022-\n\022authorizati" + "on_type\030\001 \001(\tR\021authorizationType\022)\n\020auth" + "orization_id\030\002 \001(\tR\017authorizationId\022#\n\rr" + "esource_type\030\003 \001(\tR\014resourceType\022\037\n\013reso" + "urce_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\006api" + "Key\022I\n\016authorizations\030\002 \003(\0132!.viam.app.v" + "1.AuthorizationDetailsR\016authorizations\"(" + "\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.APIKeyWithAuthorizationsR\007a" + "piKeys\"\"\n\020RotateKeyRequest\022\016\n\002id\030\001 \001(\tR\002" + "id\"5\n\021RotateKeyResponse\022\016\n\002id\030\001 \001(\tR\002id\022" + "\020\n\003key\030\002 \001(\tR\003key\"\?\n-CreateKeyFromExisti" + "ngKeyAuthorizationsRequest\022\016\n\002id\030\001 \001(\tR\002" + "id\"R\n.CreateKeyFromExistingKeyAuthorizat" + "ionsResponse\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001(" + "\tR\003key*\321\001\n\022AuthenticationType\022#\n\037AUTHENT" + "ICATION_TYPE_UNSPECIFIED\020\000\022!\n\035AUTHENTICA" + "TION_TYPE_WEB_OAUTH\020\001\022\037\n\033AUTHENTICATION_" + "TYPE_API_KEY\020\002\022)\n%AUTHENTICATION_TYPE_RO" + "BOT_PART_SECRET\020\003\022\'\n#AUTHENTICATION_TYPE" + "_LOCATION_SECRET\020\004*\243\001\n\022FragmentVisibilit" + "y\022#\n\037FRAGMENT_VISIBILITY_UNSPECIFIED\020\000\022\037" + "\n\033FRAGMENT_VISIBILITY_PRIVATE\020\001\022\036\n\032FRAGM" + "ENT_VISIBILITY_PUBLIC\020\002\022\'\n#FRAGMENT_VISI" + "BILITY_PUBLIC_UNLISTED\020\003*\207\001\n\022RegistryIte" + "mStatus\022$\n REGISTRY_ITEM_STATUS_UNSPECIF" + "IED\020\000\022\"\n\036REGISTRY_ITEM_STATUS_PUBLISHED\020" + "\001\022\'\n#REGISTRY_ITEM_STATUS_IN_DEVELOPMENT" + "\020\002*W\n\nVisibility\022\032\n\026VISIBILITY_UNSPECIFI" + "ED\020\000\022\026\n\022VISIBILITY_PRIVATE\020\001\022\025\n\021VISIBILI" + "TY_PUBLIC\020\0022\3747\n\nAppService\022_\n\020GetUserIDB" + "yEmail\022$.viam.app.v1.GetUserIDByEmailReq" + "uest\032%.viam.app.v1.GetUserIDByEmailRespo" + "nse\022e\n\022CreateOrganization\022&.viam.app.v1." + "CreateOrganizationRequest\032\'.viam.app.v1." + "CreateOrganizationResponse\022b\n\021ListOrgani" + "zations\022%.viam.app.v1.ListOrganizationsR" + "equest\032&.viam.app.v1.ListOrganizationsRe" + "sponse\022\233\001\n$GetOrganizationsWithAccessToL" + "ocation\0228.viam.app.v1.GetOrganizationsWi" + "thAccessToLocationRequest\0329.viam.app.v1." + "GetOrganizationsWithAccessToLocationResp" + "onse\022t\n\027ListOrganizationsByUser\022+.viam.a" + "pp.v1.ListOrganizationsByUserRequest\032,.v" + "iam.app.v1.ListOrganizationsByUserRespon" + "se\022\\\n\017GetOrganization\022#.viam.app.v1.GetO" + "rganizationRequest\032$.viam.app.v1.GetOrga" + "nizationResponse\022\233\001\n$GetOrganizationName" + "spaceAvailability\0228.viam.app.v1.GetOrgan" + "izationNamespaceAvailabilityRequest\0329.vi" + "am.app.v1.GetOrganizationNamespaceAvaila" + "bilityResponse\022e\n\022UpdateOrganization\022&.v" + "iam.app.v1.UpdateOrganizationRequest\032\'.v" + "iam.app.v1.UpdateOrganizationResponse\022e\n" + "\022DeleteOrganization\022&.viam.app.v1.Delete" + "OrganizationRequest\032\'.viam.app.v1.Delete" + "OrganizationResponse\022t\n\027ListOrganization" + "Members\022+.viam.app.v1.ListOrganizationMe" + "mbersRequest\032,.viam.app.v1.ListOrganizat" + "ionMembersResponse\022w\n\030CreateOrganization" + "Invite\022,.viam.app.v1.CreateOrganizationI" + "nviteRequest\032-.viam.app.v1.CreateOrganiz" + "ationInviteResponse\022\241\001\n&UpdateOrganizati" + "onInviteAuthorizations\022:.viam.app.v1.Upd" + "ateOrganizationInviteAuthorizationsReque" + "st\032;.viam.app.v1.UpdateOrganizationInvit" + "eAuthorizationsResponse\022w\n\030DeleteOrganiz" + "ationMember\022,.viam.app.v1.DeleteOrganiza" + "tionMemberRequest\032-.viam.app.v1.DeleteOr" + "ganizationMemberResponse\022w\n\030DeleteOrgani" + "zationInvite\022,.viam.app.v1.DeleteOrganiz" + "ationInviteRequest\032-.viam.app.v1.DeleteO" + "rganizationInviteResponse\022w\n\030ResendOrgan" + "izationInvite\022,.viam.app.v1.ResendOrgani" + "zationInviteRequest\032-.viam.app.v1.Resend" + "OrganizationInviteResponse\022Y\n\016CreateLoca" + "tion\022\".viam.app.v1.CreateLocationRequest" + "\032#.viam.app.v1.CreateLocationResponse\022P\n" + "\013GetLocation\022\037.viam.app.v1.GetLocationRe" + "quest\032 .viam.app.v1.GetLocationResponse\022" + "Y\n\016UpdateLocation\022\".viam.app.v1.UpdateLo" + "cationRequest\032#.viam.app.v1.UpdateLocati" + "onResponse\022Y\n\016DeleteLocation\022\".viam.app." + "v1.DeleteLocationRequest\032#.viam.app.v1.D" + "eleteLocationResponse\022V\n\rListLocations\022!" + ".viam.app.v1.ListLocationsRequest\032\".viam" + ".app.v1.ListLocationsResponse\022V\n\rShareLo" + "cation\022!.viam.app.v1.ShareLocationReques" + "t\032\".viam.app.v1.ShareLocationResponse\022\\\n" + "\017UnshareLocation\022#.viam.app.v1.UnshareLo" + "cationRequest\032$.viam.app.v1.UnshareLocat" + "ionResponse\022S\n\014LocationAuth\022 .viam.app.v" + "1.LocationAuthRequest\032!.viam.app.v1.Loca" + "tionAuthResponse\022k\n\024CreateLocationSecret" + "\022(.viam.app.v1.CreateLocationSecretReque" + "st\032).viam.app.v1.CreateLocationSecretRes" + "ponse\022k\n\024DeleteLocationSecret\022(.viam.app" + ".v1.DeleteLocationSecretRequest\032).viam.a" + "pp.v1.DeleteLocationSecretResponse\022G\n\010Ge" + "tRobot\022\034.viam.app.v1.GetRobotRequest\032\035.v" + "iam.app.v1.GetRobotResponse\022k\n\024GetRoverR" + "entalRobots\022(.viam.app.v1.GetRoverRental" + "RobotsRequest\032).viam.app.v1.GetRoverRent" + "alRobotsResponse\022V\n\rGetRobotParts\022!.viam" + ".app.v1.GetRobotPartsRequest\032\".viam.app." + "v1.GetRobotPartsResponse\022S\n\014GetRobotPart" + "\022 .viam.app.v1.GetRobotPartRequest\032!.via" + "m.app.v1.GetRobotPartResponse\022_\n\020GetRobo" + "tPartLogs\022$.viam.app.v1.GetRobotPartLogs" + "Request\032%.viam.app.v1.GetRobotPartLogsRe" + "sponse\022d\n\021TailRobotPartLogs\022%.viam.app.v" + "1.TailRobotPartLogsRequest\032&.viam.app.v1" + ".TailRobotPartLogsResponse0\001\022h\n\023GetRobot" + "PartHistory\022\'.viam.app.v1.GetRobotPartHi" + "storyRequest\032(.viam.app.v1.GetRobotPartH" + "istoryResponse\022\\\n\017UpdateRobotPart\022#.viam" + ".app.v1.UpdateRobotPartRequest\032$.viam.ap" + "p.v1.UpdateRobotPartResponse\022S\n\014NewRobot" + "Part\022 .viam.app.v1.NewRobotPartRequest\032!" + ".viam.app.v1.NewRobotPartResponse\022\\\n\017Del" + "eteRobotPart\022#.viam.app.v1.DeleteRobotPa" + "rtRequest\032$.viam.app.v1.DeleteRobotPartR" + "esponse\022\\\n\017GetRobotAPIKeys\022#.viam.app.v1" + ".GetRobotAPIKeysRequest\032$.viam.app.v1.Ge" + "tRobotAPIKeysResponse\022Y\n\016MarkPartAsMain\022" + "\".viam.app.v1.MarkPartAsMainRequest\032#.vi" + "am.app.v1.MarkPartAsMainResponse\022e\n\022Mark" + "PartForRestart\022&.viam.app.v1.MarkPartFor" + "RestartRequest\032\'.viam.app.v1.MarkPartFor" + "RestartResponse\022n\n\025CreateRobotPartSecret" + "\022).viam.app.v1.CreateRobotPartSecretRequ" + "est\032*.viam.app.v1.CreateRobotPartSecretR" + "esponse\022n\n\025DeleteRobotPartSecret\022).viam." + "app.v1.DeleteRobotPartSecretRequest\032*.vi" + "am.app.v1.DeleteRobotPartSecretResponse\022" + "M\n\nListRobots\022\036.viam.app.v1.ListRobotsRe" + "quest\032\037.viam.app.v1.ListRobotsResponse\022G" + "\n\010NewRobot\022\034.viam.app.v1.NewRobotRequest" + "\032\035.viam.app.v1.NewRobotResponse\022P\n\013Updat" + "eRobot\022\037.viam.app.v1.UpdateRobotRequest\032" + " .viam.app.v1.UpdateRobotResponse\022P\n\013Del" + "eteRobot\022\037.viam.app.v1.DeleteRobotReques" + "t\032 .viam.app.v1.DeleteRobotResponse\022V\n\rL" + "istFragments\022!.viam.app.v1.ListFragments" + "Request\032\".viam.app.v1.ListFragmentsRespo" + "nse\022P\n\013GetFragment\022\037.viam.app.v1.GetFrag" + "mentRequest\032 .viam.app.v1.GetFragmentRes" + "ponse\022Y\n\016CreateFragment\022\".viam.app.v1.Cr" + "eateFragmentRequest\032#.viam.app.v1.Create" + "FragmentResponse\022Y\n\016UpdateFragment\022\".via" + "m.app.v1.UpdateFragmentRequest\032#.viam.ap" + "p.v1.UpdateFragmentResponse\022Y\n\016DeleteFra" + "gment\022\".viam.app.v1.DeleteFragmentReques" + "t\032#.viam.app.v1.DeleteFragmentResponse\022k" + "\n\024ListMachineFragments\022(.viam.app.v1.Lis" + "tMachineFragmentsRequest\032).viam.app.v1.L" + "istMachineFragmentsResponse\022e\n\022GetFragme" + "ntHistory\022&.viam.app.v1.GetFragmentHisto" + "ryRequest\032\'.viam.app.v1.GetFragmentHisto" + "ryResponse\022D\n\007AddRole\022\033.viam.app.v1.AddR" + "oleRequest\032\034.viam.app.v1.AddRoleResponse" + "\022M\n\nRemoveRole\022\036.viam.app.v1.RemoveRoleR" + "equest\032\037.viam.app.v1.RemoveRoleResponse\022" + "M\n\nChangeRole\022\036.viam.app.v1.ChangeRoleRe" + "quest\032\037.viam.app.v1.ChangeRoleResponse\022e" + "\n\022ListAuthorizations\022&.viam.app.v1.ListA" + "uthorizationsRequest\032\'.viam.app.v1.ListA" + "uthorizationsResponse\022_\n\020CheckPermission" + "s\022$.viam.app.v1.CheckPermissionsRequest\032" + "%.viam.app.v1.CheckPermissionsResponse\022\\" + "\n\017GetRegistryItem\022#.viam.app.v1.GetRegis" + "tryItemRequest\032$.viam.app.v1.GetRegistry" + "ItemResponse\022e\n\022CreateRegistryItem\022&.via" + "m.app.v1.CreateRegistryItemRequest\032\'.via" + "m.app.v1.CreateRegistryItemResponse\022e\n\022U" + "pdateRegistryItem\022&.viam.app.v1.UpdateRe" + "gistryItemRequest\032\'.viam.app.v1.UpdateRe" + "gistryItemResponse\022b\n\021ListRegistryItems\022" + "%.viam.app.v1.ListRegistryItemsRequest\032&" + ".viam.app.v1.ListRegistryItemsResponse\022e" + "\n\022DeleteRegistryItem\022&.viam.app.v1.Delet" + "eRegistryItemRequest\032\'.viam.app.v1.Delet" + "eRegistryItemResponse\022k\n\024TransferRegistr" + "yItem\022(.viam.app.v1.TransferRegistryItem" + "Request\032).viam.app.v1.TransferRegistryIt" + "emResponse\022S\n\014CreateModule\022 .viam.app.v1" + ".CreateModuleRequest\032!.viam.app.v1.Creat" + "eModuleResponse\022S\n\014UpdateModule\022 .viam.a" + "pp.v1.UpdateModuleRequest\032!.viam.app.v1." + "UpdateModuleResponse\022a\n\020UploadModuleFile" + "\022$.viam.app.v1.UploadModuleFileRequest\032%" + ".viam.app.v1.UploadModuleFileResponse(\001\022" + "J\n\tGetModule\022\035.viam.app.v1.GetModuleRequ" + "est\032\036.viam.app.v1.GetModuleResponse\022P\n\013L" + "istModules\022\037.viam.app.v1.ListModulesRequ" + "est\032 .viam.app.v1.ListModulesResponse\022J\n" + "\tCreateKey\022\035.viam.app.v1.CreateKeyReques" + "t\032\036.viam.app.v1.CreateKeyResponse\022J\n\tDel" + "eteKey\022\035.viam.app.v1.DeleteKeyRequest\032\036." + "viam.app.v1.DeleteKeyResponse\022G\n\010ListKey" + "s\022\034.viam.app.v1.ListKeysRequest\032\035.viam.a" + "pp.v1.ListKeysResponse\022J\n\tRenameKey\022\035.vi" + "am.app.v1.RenameKeyRequest\032\036.viam.app.v1" + ".RenameKeyResponse\022J\n\tRotateKey\022\035.viam.a" + "pp.v1.RotateKeyRequest\032\036.viam.app.v1.Rot" + "ateKeyResponse\022\241\001\n&CreateKeyFromExisting" + "KeyAuthorizations\022:.viam.app.v1.CreateKe" + "yFromExistingKeyAuthorizationsRequest\032;." + "viam.app.v1.CreateKeyFromExistingKeyAuth" + "orizationsResponseB\201\001\n\017com.viam.app.v1B\010" + "AppProtoP\001Z\026go.viam.com/api/app/v1\242\002\003VAX" + "\252\002\013Viam.App.V1\312\002\013Viam\\App\\V1\342\002\027Viam\\App\\" + "V1\\GPBMetadata\352\002\rViam::App::V1b\006proto3" }; static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2fapp_2eproto_deps[6] = { @@ -6760,13 +6967,13 @@ static ::absl::once_flag descriptor_table_app_2fv1_2fapp_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_app_2fv1_2fapp_2eproto = { false, false, - 27585, + 28638, 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, - 174, + 179, schemas, file_default_instances, TableStruct_app_2fv1_2fapp_2eproto::offsets, @@ -25050,6 +25257,346 @@ ::google::protobuf::Metadata Fragment::GetMetadata() const { } // =================================================================== +class FragmentHistoryEntry::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_._has_bits_); + static const ::google::protobuf::Timestamp& edited_on(const FragmentHistoryEntry* msg); + static void set_has_edited_on(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::viam::app::v1::Fragment& old(const FragmentHistoryEntry* msg); + static void set_has_old(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::viam::app::v1::AuthenticatorInfo& edited_by(const FragmentHistoryEntry* msg); + static void set_has_edited_by(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::google::protobuf::Timestamp& FragmentHistoryEntry::_Internal::edited_on(const FragmentHistoryEntry* msg) { + return *msg->_impl_.edited_on_; +} +const ::viam::app::v1::Fragment& FragmentHistoryEntry::_Internal::old(const FragmentHistoryEntry* msg) { + return *msg->_impl_.old_; +} +const ::viam::app::v1::AuthenticatorInfo& FragmentHistoryEntry::_Internal::edited_by(const FragmentHistoryEntry* msg) { + return *msg->_impl_.edited_by_; +} +void FragmentHistoryEntry::clear_edited_on() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (_impl_.edited_on_ != nullptr) _impl_.edited_on_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +FragmentHistoryEntry::FragmentHistoryEntry(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentHistoryEntry) +} +inline PROTOBUF_NDEBUG_INLINE FragmentHistoryEntry::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + fragment_(arena, from.fragment_) {} + +FragmentHistoryEntry::FragmentHistoryEntry( + ::google::protobuf::Arena* arena, + const FragmentHistoryEntry& from) + : ::google::protobuf::Message(arena) { + FragmentHistoryEntry* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.edited_on_ = (cached_has_bits & 0x00000001u) + ? CreateMaybeMessage<::google::protobuf::Timestamp>(arena, *from._impl_.edited_on_) + : nullptr; + _impl_.old_ = (cached_has_bits & 0x00000002u) + ? CreateMaybeMessage<::viam::app::v1::Fragment>(arena, *from._impl_.old_) + : nullptr; + _impl_.edited_by_ = (cached_has_bits & 0x00000004u) + ? CreateMaybeMessage<::viam::app::v1::AuthenticatorInfo>(arena, *from._impl_.edited_by_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentHistoryEntry) +} +inline PROTOBUF_NDEBUG_INLINE FragmentHistoryEntry::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + fragment_(arena) {} + +inline void FragmentHistoryEntry::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, edited_on_), + 0, + offsetof(Impl_, edited_by_) - + offsetof(Impl_, edited_on_) + + sizeof(Impl_::edited_by_)); +} +FragmentHistoryEntry::~FragmentHistoryEntry() { + // @@protoc_insertion_point(destructor:viam.app.v1.FragmentHistoryEntry) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void FragmentHistoryEntry::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.fragment_.Destroy(); + delete _impl_.edited_on_; + delete _impl_.old_; + delete _impl_.edited_by_; + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void FragmentHistoryEntry::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentHistoryEntry) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fragment_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.edited_on_ != nullptr); + _impl_.edited_on_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.old_ != nullptr); + _impl_.old_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.edited_by_ != nullptr); + _impl_.edited_by_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* FragmentHistoryEntry::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 49, 2> FragmentHistoryEntry::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + &_FragmentHistoryEntry_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + {::_pbi::TcParser::FastMtS1, + {34, 2, 2, PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.edited_by_)}}, + // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.fragment_)}}, + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.edited_on_)}}, + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.old_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + {PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.fragment_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + {PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.edited_on_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + {PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.old_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + {PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.edited_by_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::viam::app::v1::Fragment>()}, + {::_pbi::TcParser::GetTable<::viam::app::v1::AuthenticatorInfo>()}, + }}, {{ + "\40\10\0\0\0\0\0\0" + "viam.app.v1.FragmentHistoryEntry" + "fragment" + }}, +}; + +::uint8_t* FragmentHistoryEntry::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentHistoryEntry) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + if (!this->_internal_fragment().empty()) { + const std::string& _s = this->_internal_fragment(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.FragmentHistoryEntry.fragment"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, _Internal::edited_on(this), + _Internal::edited_on(this).GetCachedSize(), target, stream); + } + + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, _Internal::old(this), + _Internal::old(this).GetCachedSize(), target, stream); + } + + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, _Internal::edited_by(this), + _Internal::edited_by(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentHistoryEntry) + return target; +} + +::size_t FragmentHistoryEntry::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentHistoryEntry) + ::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 fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + if (!this->_internal_fragment().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_fragment()); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + if (cached_has_bits & 0x00000001u) { + total_size += + 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.edited_on_); + } + + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + if (cached_has_bits & 0x00000002u) { + total_size += + 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.old_); + } + + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + if (cached_has_bits & 0x00000004u) { + total_size += + 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.edited_by_); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData FragmentHistoryEntry::_class_data_ = { + FragmentHistoryEntry::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* FragmentHistoryEntry::GetClassData() const { + return &_class_data_; +} + +void FragmentHistoryEntry::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentHistoryEntry) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_fragment().empty()) { + _this->_internal_set_fragment(from._internal_fragment()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_edited_on()->::google::protobuf::Timestamp::MergeFrom( + from._internal_edited_on()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_old()->::viam::app::v1::Fragment::MergeFrom( + from._internal_old()); + } + if (cached_has_bits & 0x00000004u) { + _this->_internal_mutable_edited_by()->::viam::app::v1::AuthenticatorInfo::MergeFrom( + from._internal_edited_by()); + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void FragmentHistoryEntry::CopyFrom(const FragmentHistoryEntry& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentHistoryEntry) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool FragmentHistoryEntry::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* FragmentHistoryEntry::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void FragmentHistoryEntry::InternalSwap(FragmentHistoryEntry* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fragment_, &other->_impl_.fragment_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.edited_by_) + + sizeof(FragmentHistoryEntry::_impl_.edited_by_) + - PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, _impl_.edited_on_)>( + reinterpret_cast(&_impl_.edited_on_), + reinterpret_cast(&other->_impl_.edited_on_)); +} + +::google::protobuf::Metadata FragmentHistoryEntry::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[84]); +} +// =================================================================== + class ListFragmentsRequest::_Internal { public: }; @@ -25301,7 +25848,7 @@ void ListFragmentsRequest::InternalSwap(ListFragmentsRequest* PROTOBUF_RESTRICT ::google::protobuf::Metadata ListFragmentsRequest::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[84]); + file_level_metadata_app_2fv1_2fapp_2eproto[85]); } // =================================================================== @@ -25484,7 +26031,7 @@ void ListFragmentsResponse::InternalSwap(ListFragmentsResponse* PROTOBUF_RESTRIC ::google::protobuf::Metadata ListFragmentsResponse::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[85]); + file_level_metadata_app_2fv1_2fapp_2eproto[86]); } // =================================================================== @@ -25674,7 +26221,7 @@ void GetFragmentRequest::InternalSwap(GetFragmentRequest* PROTOBUF_RESTRICT othe ::google::protobuf::Metadata GetFragmentRequest::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[86]); + file_level_metadata_app_2fv1_2fapp_2eproto[87]); } // =================================================================== @@ -25881,7 +26428,7 @@ void GetFragmentResponse::InternalSwap(GetFragmentResponse* PROTOBUF_RESTRICT ot ::google::protobuf::Metadata GetFragmentResponse::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[87]); + file_level_metadata_app_2fv1_2fapp_2eproto[88]); } // =================================================================== @@ -26156,7 +26703,7 @@ void CreateFragmentRequest::InternalSwap(CreateFragmentRequest* PROTOBUF_RESTRIC ::google::protobuf::Metadata CreateFragmentRequest::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[88]); + file_level_metadata_app_2fv1_2fapp_2eproto[89]); } // =================================================================== @@ -26363,7 +26910,7 @@ void CreateFragmentResponse::InternalSwap(CreateFragmentResponse* PROTOBUF_RESTR ::google::protobuf::Metadata CreateFragmentResponse::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[89]); + file_level_metadata_app_2fv1_2fapp_2eproto[90]); } // =================================================================== @@ -26717,7 +27264,7 @@ void UpdateFragmentRequest::InternalSwap(UpdateFragmentRequest* PROTOBUF_RESTRIC ::google::protobuf::Metadata UpdateFragmentRequest::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[90]); + file_level_metadata_app_2fv1_2fapp_2eproto[91]); } // =================================================================== @@ -26924,7 +27471,7 @@ void UpdateFragmentResponse::InternalSwap(UpdateFragmentResponse* PROTOBUF_RESTR ::google::protobuf::Metadata UpdateFragmentResponse::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[91]); + file_level_metadata_app_2fv1_2fapp_2eproto[92]); } // =================================================================== @@ -27114,7 +27661,7 @@ void DeleteFragmentRequest::InternalSwap(DeleteFragmentRequest* PROTOBUF_RESTRIC ::google::protobuf::Metadata DeleteFragmentRequest::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[92]); + file_level_metadata_app_2fv1_2fapp_2eproto[93]); } // =================================================================== @@ -27149,7 +27696,492 @@ DeleteFragmentResponse::DeleteFragmentResponse( ::google::protobuf::Metadata DeleteFragmentResponse::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[93]); + file_level_metadata_app_2fv1_2fapp_2eproto[94]); +} +// =================================================================== + +class GetFragmentHistoryRequest::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_._has_bits_); + static void set_has_page_token(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_page_limit(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +GetFragmentHistoryRequest::GetFragmentHistoryRequest(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentHistoryRequest) +} +inline PROTOBUF_NDEBUG_INLINE GetFragmentHistoryRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + id_(arena, from.id_), + page_token_(arena, from.page_token_) {} + +GetFragmentHistoryRequest::GetFragmentHistoryRequest( + ::google::protobuf::Arena* arena, + const GetFragmentHistoryRequest& from) + : ::google::protobuf::Message(arena) { + GetFragmentHistoryRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + _impl_.page_limit_ = from._impl_.page_limit_; + + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentHistoryRequest) +} +inline PROTOBUF_NDEBUG_INLINE GetFragmentHistoryRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + id_(arena), + page_token_(arena) {} + +inline void GetFragmentHistoryRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.page_limit_ = {}; +} +GetFragmentHistoryRequest::~GetFragmentHistoryRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentHistoryRequest) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void GetFragmentHistoryRequest::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.id_.Destroy(); + _impl_.page_token_.Destroy(); + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void GetFragmentHistoryRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentHistoryRequest) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.page_token_.ClearNonDefaultToEmpty(); + } + _impl_.page_limit_ = ::int64_t{0}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* GetFragmentHistoryRequest::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 58, 2> GetFragmentHistoryRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + &_GetFragmentHistoryRequest_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string id = 1 [json_name = "id"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_.id_)}}, + // optional string page_token = 2 [json_name = "pageToken"]; + {::_pbi::TcParser::FastUS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_.page_token_)}}, + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetFragmentHistoryRequest, _impl_.page_limit_), 1>(), + {24, 1, 0, PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_.page_limit_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string id = 1 [json_name = "id"]; + {PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_.id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional string page_token = 2 [json_name = "pageToken"]; + {PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_.page_token_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + {PROTOBUF_FIELD_OFFSET(GetFragmentHistoryRequest, _impl_.page_limit_), _Internal::kHasBitsOffset + 1, 0, + (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + }}, + // no aux_entries + {{ + "\45\2\12\0\0\0\0\0" + "viam.app.v1.GetFragmentHistoryRequest" + "id" + "page_token" + }}, +}; + +::uint8_t* GetFragmentHistoryRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentHistoryRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + const std::string& _s = this->_internal_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.GetFragmentHistoryRequest.id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = _impl_._has_bits_[0]; + // optional string page_token = 2 [json_name = "pageToken"]; + if (cached_has_bits & 0x00000001u) { + const std::string& _s = this->_internal_page_token(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.GetFragmentHistoryRequest.page_token"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt64ToArrayWithField<3>( + stream, this->_internal_page_limit(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentHistoryRequest) + return target; +} + +::size_t GetFragmentHistoryRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentHistoryRequest) + ::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 id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string page_token = 2 [json_name = "pageToken"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_page_token()); + } + + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + if (cached_has_bits & 0x00000002u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this->_internal_page_limit()); + } + + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData GetFragmentHistoryRequest::_class_data_ = { + GetFragmentHistoryRequest::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* GetFragmentHistoryRequest::GetClassData() const { + return &_class_data_; +} + +void GetFragmentHistoryRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentHistoryRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_page_token(from._internal_page_token()); + } + if (cached_has_bits & 0x00000002u) { + _this->_impl_.page_limit_ = from._impl_.page_limit_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetFragmentHistoryRequest::CopyFrom(const GetFragmentHistoryRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentHistoryRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool GetFragmentHistoryRequest::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* GetFragmentHistoryRequest::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void GetFragmentHistoryRequest::InternalSwap(GetFragmentHistoryRequest* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.page_token_, &other->_impl_.page_token_, arena); + swap(_impl_.page_limit_, other->_impl_.page_limit_); +} + +::google::protobuf::Metadata GetFragmentHistoryRequest::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[95]); +} +// =================================================================== + +class GetFragmentHistoryResponse::_Internal { + public: +}; + +GetFragmentHistoryResponse::GetFragmentHistoryResponse(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentHistoryResponse) +} +inline PROTOBUF_NDEBUG_INLINE GetFragmentHistoryResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : history_{visibility, arena, from.history_}, + next_page_token_(arena, from.next_page_token_), + _cached_size_{0} {} + +GetFragmentHistoryResponse::GetFragmentHistoryResponse( + ::google::protobuf::Arena* arena, + const GetFragmentHistoryResponse& from) + : ::google::protobuf::Message(arena) { + GetFragmentHistoryResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentHistoryResponse) +} +inline PROTOBUF_NDEBUG_INLINE GetFragmentHistoryResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : history_{visibility, arena}, + next_page_token_(arena), + _cached_size_{0} {} + +inline void GetFragmentHistoryResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GetFragmentHistoryResponse::~GetFragmentHistoryResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentHistoryResponse) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void GetFragmentHistoryResponse::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.next_page_token_.Destroy(); + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void GetFragmentHistoryResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentHistoryResponse) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.history_.Clear(); + _impl_.next_page_token_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* GetFragmentHistoryResponse::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 62, 2> GetFragmentHistoryResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + &_GetFragmentHistoryResponse_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + // string next_page_token = 2 [json_name = "nextPageToken"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(GetFragmentHistoryResponse, _impl_.next_page_token_)}}, + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetFragmentHistoryResponse, _impl_.history_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + {PROTOBUF_FIELD_OFFSET(GetFragmentHistoryResponse, _impl_.history_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // string next_page_token = 2 [json_name = "nextPageToken"]; + {PROTOBUF_FIELD_OFFSET(GetFragmentHistoryResponse, _impl_.next_page_token_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, {{ + {::_pbi::TcParser::GetTable<::viam::app::v1::FragmentHistoryEntry>()}, + }}, {{ + "\46\0\17\0\0\0\0\0" + "viam.app.v1.GetFragmentHistoryResponse" + "next_page_token" + }}, +}; + +::uint8_t* GetFragmentHistoryResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentHistoryResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + for (unsigned i = 0, + n = static_cast(this->_internal_history_size()); i < n; i++) { + const auto& repfield = this->_internal_history().Get(i); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // string next_page_token = 2 [json_name = "nextPageToken"]; + if (!this->_internal_next_page_token().empty()) { + const std::string& _s = this->_internal_next_page_token(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.GetFragmentHistoryResponse.next_page_token"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentHistoryResponse) + return target; +} + +::size_t GetFragmentHistoryResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentHistoryResponse) + ::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.FragmentHistoryEntry history = 1 [json_name = "history"]; + total_size += 1UL * this->_internal_history_size(); + for (const auto& msg : this->_internal_history()) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + // string next_page_token = 2 [json_name = "nextPageToken"]; + if (!this->_internal_next_page_token().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_next_page_token()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData GetFragmentHistoryResponse::_class_data_ = { + GetFragmentHistoryResponse::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* GetFragmentHistoryResponse::GetClassData() const { + return &_class_data_; +} + +void GetFragmentHistoryResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentHistoryResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_history()->MergeFrom( + from._internal_history()); + if (!from._internal_next_page_token().empty()) { + _this->_internal_set_next_page_token(from._internal_next_page_token()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetFragmentHistoryResponse::CopyFrom(const GetFragmentHistoryResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentHistoryResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool GetFragmentHistoryResponse::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* GetFragmentHistoryResponse::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void GetFragmentHistoryResponse::InternalSwap(GetFragmentHistoryResponse* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.history_.InternalSwap(&other->_impl_.history_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.next_page_token_, &other->_impl_.next_page_token_, arena); +} + +::google::protobuf::Metadata GetFragmentHistoryResponse::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[96]); } // =================================================================== @@ -27339,7 +28371,406 @@ void ListRobotsRequest::InternalSwap(ListRobotsRequest* PROTOBUF_RESTRICT other) ::google::protobuf::Metadata ListRobotsRequest::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[94]); + file_level_metadata_app_2fv1_2fapp_2eproto[97]); +} +// =================================================================== + +class ListMachineFragmentsRequest::_Internal { + public: +}; + +ListMachineFragmentsRequest::ListMachineFragmentsRequest(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsRequest) +} +inline PROTOBUF_NDEBUG_INLINE ListMachineFragmentsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : additional_fragment_ids_{visibility, arena, from.additional_fragment_ids_}, + machine_id_(arena, from.machine_id_), + _cached_size_{0} {} + +ListMachineFragmentsRequest::ListMachineFragmentsRequest( + ::google::protobuf::Arena* arena, + const ListMachineFragmentsRequest& from) + : ::google::protobuf::Message(arena) { + ListMachineFragmentsRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsRequest) +} +inline PROTOBUF_NDEBUG_INLINE ListMachineFragmentsRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : additional_fragment_ids_{visibility, arena}, + machine_id_(arena), + _cached_size_{0} {} + +inline void ListMachineFragmentsRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsRequest) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void ListMachineFragmentsRequest::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.machine_id_.Destroy(); + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void ListMachineFragmentsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsRequest) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.additional_fragment_ids_.Clear(); + _impl_.machine_id_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* ListMachineFragmentsRequest::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 81, 2> ListMachineFragmentsRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + &_ListMachineFragmentsRequest_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + {::_pbi::TcParser::FastUR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ListMachineFragmentsRequest, _impl_.additional_fragment_ids_)}}, + // string machine_id = 1 [json_name = "machineId"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ListMachineFragmentsRequest, _impl_.machine_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string machine_id = 1 [json_name = "machineId"]; + {PROTOBUF_FIELD_OFFSET(ListMachineFragmentsRequest, _impl_.machine_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + {PROTOBUF_FIELD_OFFSET(ListMachineFragmentsRequest, _impl_.additional_fragment_ids_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + }}, + // no aux_entries + {{ + "\47\12\27\0\0\0\0\0" + "viam.app.v1.ListMachineFragmentsRequest" + "machine_id" + "additional_fragment_ids" + }}, +}; + +::uint8_t* ListMachineFragmentsRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListMachineFragmentsRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string machine_id = 1 [json_name = "machineId"]; + if (!this->_internal_machine_id().empty()) { + const std::string& _s = this->_internal_machine_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.ListMachineFragmentsRequest.machine_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + for (int i = 0, n = this->_internal_additional_fragment_ids_size(); i < n; ++i) { + const auto& s = this->_internal_additional_fragment_ids().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids"); + target = stream->WriteString(2, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListMachineFragmentsRequest) + return target; +} + +::size_t ListMachineFragmentsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListMachineFragmentsRequest) + ::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 string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_additional_fragment_ids().size()); + for (int i = 0, n = _internal_additional_fragment_ids().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + _internal_additional_fragment_ids().Get(i)); + } + // string machine_id = 1 [json_name = "machineId"]; + if (!this->_internal_machine_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_machine_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData ListMachineFragmentsRequest::_class_data_ = { + ListMachineFragmentsRequest::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* ListMachineFragmentsRequest::GetClassData() const { + return &_class_data_; +} + +void ListMachineFragmentsRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListMachineFragmentsRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_additional_fragment_ids()->MergeFrom(from._internal_additional_fragment_ids()); + if (!from._internal_machine_id().empty()) { + _this->_internal_set_machine_id(from._internal_machine_id()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ListMachineFragmentsRequest::CopyFrom(const ListMachineFragmentsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListMachineFragmentsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool ListMachineFragmentsRequest::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* ListMachineFragmentsRequest::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void ListMachineFragmentsRequest::InternalSwap(ListMachineFragmentsRequest* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.additional_fragment_ids_.InternalSwap(&other->_impl_.additional_fragment_ids_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.machine_id_, &other->_impl_.machine_id_, arena); +} + +::google::protobuf::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[98]); +} +// =================================================================== + +class ListMachineFragmentsResponse::_Internal { + public: +}; + +ListMachineFragmentsResponse::ListMachineFragmentsResponse(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsResponse) +} +inline PROTOBUF_NDEBUG_INLINE ListMachineFragmentsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : fragments_{visibility, arena, from.fragments_}, + _cached_size_{0} {} + +ListMachineFragmentsResponse::ListMachineFragmentsResponse( + ::google::protobuf::Arena* arena, + const ListMachineFragmentsResponse& from) + : ::google::protobuf::Message(arena) { + ListMachineFragmentsResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsResponse) +} +inline PROTOBUF_NDEBUG_INLINE ListMachineFragmentsResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : fragments_{visibility, arena}, + _cached_size_{0} {} + +inline void ListMachineFragmentsResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ListMachineFragmentsResponse::~ListMachineFragmentsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsResponse) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void ListMachineFragmentsResponse::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void ListMachineFragmentsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsResponse) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fragments_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* ListMachineFragmentsResponse::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListMachineFragmentsResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + &_ListMachineFragmentsResponse_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ListMachineFragmentsResponse, _impl_.fragments_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + {PROTOBUF_FIELD_OFFSET(ListMachineFragmentsResponse, _impl_.fragments_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::viam::app::v1::Fragment>()}, + }}, {{ + }}, +}; + +::uint8_t* ListMachineFragmentsResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListMachineFragmentsResponse) + ::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().Get(i); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListMachineFragmentsResponse) + return target; +} + +::size_t ListMachineFragmentsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListMachineFragmentsResponse) + ::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->_internal_fragments()) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData ListMachineFragmentsResponse::_class_data_ = { + ListMachineFragmentsResponse::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* ListMachineFragmentsResponse::GetClassData() const { + return &_class_data_; +} + +void ListMachineFragmentsResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListMachineFragmentsResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_fragments()->MergeFrom( + from._internal_fragments()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ListMachineFragmentsResponse::CopyFrom(const ListMachineFragmentsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListMachineFragmentsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool ListMachineFragmentsResponse::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* ListMachineFragmentsResponse::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void ListMachineFragmentsResponse::InternalSwap(ListMachineFragmentsResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.fragments_.InternalSwap(&other->_impl_.fragments_); +} + +::google::protobuf::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[99]); } // =================================================================== @@ -27522,7 +28953,7 @@ void ListRobotsResponse::InternalSwap(ListRobotsResponse* PROTOBUF_RESTRICT othe ::google::protobuf::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[95]); + file_level_metadata_app_2fv1_2fapp_2eproto[100]); } // =================================================================== @@ -27741,7 +29172,7 @@ void NewRobotRequest::InternalSwap(NewRobotRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[96]); + file_level_metadata_app_2fv1_2fapp_2eproto[101]); } // =================================================================== @@ -27931,7 +29362,7 @@ void NewRobotResponse::InternalSwap(NewRobotResponse* PROTOBUF_RESTRICT other) { ::google::protobuf::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[97]); + file_level_metadata_app_2fv1_2fapp_2eproto[102]); } // =================================================================== @@ -28180,7 +29611,7 @@ void UpdateRobotRequest::InternalSwap(UpdateRobotRequest* PROTOBUF_RESTRICT othe ::google::protobuf::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[98]); + file_level_metadata_app_2fv1_2fapp_2eproto[103]); } // =================================================================== @@ -28387,7 +29818,7 @@ void UpdateRobotResponse::InternalSwap(UpdateRobotResponse* PROTOBUF_RESTRICT ot ::google::protobuf::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[99]); + file_level_metadata_app_2fv1_2fapp_2eproto[104]); } // =================================================================== @@ -28577,7 +30008,7 @@ void DeleteRobotRequest::InternalSwap(DeleteRobotRequest* PROTOBUF_RESTRICT othe ::google::protobuf::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[100]); + file_level_metadata_app_2fv1_2fapp_2eproto[105]); } // =================================================================== @@ -28612,7 +30043,7 @@ DeleteRobotResponse::DeleteRobotResponse( ::google::protobuf::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[101]); + file_level_metadata_app_2fv1_2fapp_2eproto[106]); } // =================================================================== @@ -28802,7 +30233,7 @@ void MarkPartAsMainRequest::InternalSwap(MarkPartAsMainRequest* PROTOBUF_RESTRIC ::google::protobuf::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[102]); + file_level_metadata_app_2fv1_2fapp_2eproto[107]); } // =================================================================== @@ -28837,7 +30268,7 @@ MarkPartAsMainResponse::MarkPartAsMainResponse( ::google::protobuf::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[103]); + file_level_metadata_app_2fv1_2fapp_2eproto[108]); } // =================================================================== @@ -29027,7 +30458,7 @@ void MarkPartForRestartRequest::InternalSwap(MarkPartForRestartRequest* PROTOBUF ::google::protobuf::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[104]); + file_level_metadata_app_2fv1_2fapp_2eproto[109]); } // =================================================================== @@ -29062,7 +30493,7 @@ MarkPartForRestartResponse::MarkPartForRestartResponse( ::google::protobuf::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[105]); + file_level_metadata_app_2fv1_2fapp_2eproto[110]); } // =================================================================== @@ -29252,7 +30683,7 @@ void CreateRobotPartSecretRequest::InternalSwap(CreateRobotPartSecretRequest* PR ::google::protobuf::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[106]); + file_level_metadata_app_2fv1_2fapp_2eproto[111]); } // =================================================================== @@ -29459,7 +30890,7 @@ void CreateRobotPartSecretResponse::InternalSwap(CreateRobotPartSecretResponse* ::google::protobuf::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[107]); + file_level_metadata_app_2fv1_2fapp_2eproto[112]); } // =================================================================== @@ -29678,7 +31109,7 @@ void DeleteRobotPartSecretRequest::InternalSwap(DeleteRobotPartSecretRequest* PR ::google::protobuf::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[108]); + file_level_metadata_app_2fv1_2fapp_2eproto[113]); } // =================================================================== @@ -29713,7 +31144,7 @@ DeleteRobotPartSecretResponse::DeleteRobotPartSecretResponse( ::google::protobuf::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[109]); + file_level_metadata_app_2fv1_2fapp_2eproto[114]); } // =================================================================== @@ -30078,7 +31509,7 @@ void Authorization::InternalSwap(Authorization* PROTOBUF_RESTRICT other) { ::google::protobuf::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[110]); + file_level_metadata_app_2fv1_2fapp_2eproto[115]); } // =================================================================== @@ -30285,7 +31716,7 @@ void AddRoleRequest::InternalSwap(AddRoleRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[111]); + file_level_metadata_app_2fv1_2fapp_2eproto[116]); } // =================================================================== @@ -30320,7 +31751,7 @@ AddRoleResponse::AddRoleResponse( ::google::protobuf::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[112]); + file_level_metadata_app_2fv1_2fapp_2eproto[117]); } // =================================================================== @@ -30527,7 +31958,7 @@ void RemoveRoleRequest::InternalSwap(RemoveRoleRequest* PROTOBUF_RESTRICT other) ::google::protobuf::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[113]); + file_level_metadata_app_2fv1_2fapp_2eproto[118]); } // =================================================================== @@ -30562,7 +31993,7 @@ RemoveRoleResponse::RemoveRoleResponse( ::google::protobuf::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[114]); + file_level_metadata_app_2fv1_2fapp_2eproto[119]); } // =================================================================== @@ -30825,7 +32256,7 @@ void ChangeRoleRequest::InternalSwap(ChangeRoleRequest* PROTOBUF_RESTRICT other) ::google::protobuf::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[115]); + file_level_metadata_app_2fv1_2fapp_2eproto[120]); } // =================================================================== @@ -30860,7 +32291,7 @@ ChangeRoleResponse::ChangeRoleResponse( ::google::protobuf::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[116]); + file_level_metadata_app_2fv1_2fapp_2eproto[121]); } // =================================================================== @@ -31076,7 +32507,7 @@ void ListAuthorizationsRequest::InternalSwap(ListAuthorizationsRequest* PROTOBUF ::google::protobuf::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[117]); + file_level_metadata_app_2fv1_2fapp_2eproto[122]); } // =================================================================== @@ -31259,7 +32690,7 @@ void ListAuthorizationsResponse::InternalSwap(ListAuthorizationsResponse* PROTOB ::google::protobuf::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[118]); + file_level_metadata_app_2fv1_2fapp_2eproto[123]); } // =================================================================== @@ -31442,7 +32873,7 @@ void CheckPermissionsRequest::InternalSwap(CheckPermissionsRequest* PROTOBUF_RES ::google::protobuf::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[119]); + file_level_metadata_app_2fv1_2fapp_2eproto[124]); } // =================================================================== @@ -31688,7 +33119,7 @@ void AuthorizedPermissions::InternalSwap(AuthorizedPermissions* PROTOBUF_RESTRIC ::google::protobuf::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[120]); + file_level_metadata_app_2fv1_2fapp_2eproto[125]); } // =================================================================== @@ -31871,7 +33302,7 @@ void CheckPermissionsResponse::InternalSwap(CheckPermissionsResponse* PROTOBUF_R ::google::protobuf::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[121]); + file_level_metadata_app_2fv1_2fapp_2eproto[126]); } // =================================================================== @@ -32143,7 +33574,7 @@ void ModuleVersion::InternalSwap(ModuleVersion* PROTOBUF_RESTRICT other) { ::google::protobuf::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[122]); + file_level_metadata_app_2fv1_2fapp_2eproto[127]); } // =================================================================== @@ -32387,7 +33818,7 @@ void ModuleMetadata::InternalSwap(ModuleMetadata* PROTOBUF_RESTRICT other) { ::google::protobuf::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[123]); + file_level_metadata_app_2fv1_2fapp_2eproto[128]); } // =================================================================== @@ -32639,7 +34070,7 @@ void MLModelMetadata::InternalSwap(MLModelMetadata* PROTOBUF_RESTRICT other) { ::google::protobuf::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[124]); + file_level_metadata_app_2fv1_2fapp_2eproto[129]); } // =================================================================== @@ -32884,7 +34315,7 @@ void MLTrainingVersion::InternalSwap(MLTrainingVersion* PROTOBUF_RESTRICT other) ::google::protobuf::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[125]); + file_level_metadata_app_2fv1_2fapp_2eproto[130]); } // =================================================================== @@ -33154,7 +34585,7 @@ void MLTrainingMetadata::InternalSwap(MLTrainingMetadata* PROTOBUF_RESTRICT othe ::google::protobuf::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[126]); + file_level_metadata_app_2fv1_2fapp_2eproto[131]); } // =================================================================== @@ -33933,7 +35364,7 @@ void RegistryItem::InternalSwap(RegistryItem* PROTOBUF_RESTRICT other) { ::google::protobuf::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[127]); + file_level_metadata_app_2fv1_2fapp_2eproto[132]); } // =================================================================== @@ -34123,7 +35554,7 @@ void GetRegistryItemRequest::InternalSwap(GetRegistryItemRequest* PROTOBUF_RESTR ::google::protobuf::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[128]); + file_level_metadata_app_2fv1_2fapp_2eproto[133]); } // =================================================================== @@ -34330,7 +35761,7 @@ void GetRegistryItemResponse::InternalSwap(GetRegistryItemResponse* PROTOBUF_RES ::google::protobuf::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[129]); + file_level_metadata_app_2fv1_2fapp_2eproto[134]); } // =================================================================== @@ -34576,7 +36007,7 @@ void CreateRegistryItemRequest::InternalSwap(CreateRegistryItemRequest* PROTOBUF ::google::protobuf::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[130]); + file_level_metadata_app_2fv1_2fapp_2eproto[135]); } // =================================================================== @@ -34611,7 +36042,7 @@ CreateRegistryItemResponse::CreateRegistryItemResponse( ::google::protobuf::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[131]); + file_level_metadata_app_2fv1_2fapp_2eproto[136]); } // =================================================================== @@ -34896,7 +36327,7 @@ void UpdateRegistryItemRequest::InternalSwap(UpdateRegistryItemRequest* PROTOBUF ::google::protobuf::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[132]); + file_level_metadata_app_2fv1_2fapp_2eproto[137]); } // =================================================================== @@ -34931,7 +36362,7 @@ UpdateRegistryItemResponse::UpdateRegistryItemResponse( ::google::protobuf::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[133]); + file_level_metadata_app_2fv1_2fapp_2eproto[138]); } // =================================================================== @@ -35379,7 +36810,7 @@ void ListRegistryItemsRequest::InternalSwap(ListRegistryItemsRequest* PROTOBUF_R ::google::protobuf::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[134]); + file_level_metadata_app_2fv1_2fapp_2eproto[139]); } // =================================================================== @@ -35562,7 +36993,7 @@ void ListRegistryItemsResponse::InternalSwap(ListRegistryItemsResponse* PROTOBUF ::google::protobuf::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[135]); + file_level_metadata_app_2fv1_2fapp_2eproto[140]); } // =================================================================== @@ -35752,7 +37183,7 @@ void DeleteRegistryItemRequest::InternalSwap(DeleteRegistryItemRequest* PROTOBUF ::google::protobuf::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[136]); + file_level_metadata_app_2fv1_2fapp_2eproto[141]); } // =================================================================== @@ -35787,7 +37218,7 @@ DeleteRegistryItemResponse::DeleteRegistryItemResponse( ::google::protobuf::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[137]); + file_level_metadata_app_2fv1_2fapp_2eproto[142]); } // =================================================================== @@ -36006,7 +37437,7 @@ void TransferRegistryItemRequest::InternalSwap(TransferRegistryItemRequest* PROT ::google::protobuf::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[138]); + file_level_metadata_app_2fv1_2fapp_2eproto[143]); } // =================================================================== @@ -36041,7 +37472,7 @@ TransferRegistryItemResponse::TransferRegistryItemResponse( ::google::protobuf::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[139]); + file_level_metadata_app_2fv1_2fapp_2eproto[144]); } // =================================================================== @@ -36260,7 +37691,7 @@ void CreateModuleRequest::InternalSwap(CreateModuleRequest* PROTOBUF_RESTRICT ot ::google::protobuf::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[140]); + file_level_metadata_app_2fv1_2fapp_2eproto[145]); } // =================================================================== @@ -36479,7 +37910,7 @@ void CreateModuleResponse::InternalSwap(CreateModuleResponse* PROTOBUF_RESTRICT ::google::protobuf::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[141]); + file_level_metadata_app_2fv1_2fapp_2eproto[146]); } // =================================================================== @@ -36810,7 +38241,7 @@ void UpdateModuleRequest::InternalSwap(UpdateModuleRequest* PROTOBUF_RESTRICT ot ::google::protobuf::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[142]); + file_level_metadata_app_2fv1_2fapp_2eproto[147]); } // =================================================================== @@ -37000,7 +38431,7 @@ void UpdateModuleResponse::InternalSwap(UpdateModuleResponse* PROTOBUF_RESTRICT ::google::protobuf::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[143]); + file_level_metadata_app_2fv1_2fapp_2eproto[148]); } // =================================================================== @@ -37219,7 +38650,7 @@ void Model::InternalSwap(Model* PROTOBUF_RESTRICT other) { ::google::protobuf::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[144]); + file_level_metadata_app_2fv1_2fapp_2eproto[149]); } // =================================================================== @@ -37468,7 +38899,7 @@ void ModuleFileInfo::InternalSwap(ModuleFileInfo* PROTOBUF_RESTRICT other) { ::google::protobuf::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[145]); + file_level_metadata_app_2fv1_2fapp_2eproto[150]); } // =================================================================== @@ -37739,7 +39170,7 @@ void UploadModuleFileRequest::InternalSwap(UploadModuleFileRequest* PROTOBUF_RES ::google::protobuf::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[146]); + file_level_metadata_app_2fv1_2fapp_2eproto[151]); } // =================================================================== @@ -37929,7 +39360,7 @@ void UploadModuleFileResponse::InternalSwap(UploadModuleFileResponse* PROTOBUF_R ::google::protobuf::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[147]); + file_level_metadata_app_2fv1_2fapp_2eproto[152]); } // =================================================================== @@ -38119,7 +39550,7 @@ void GetModuleRequest::InternalSwap(GetModuleRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[148]); + file_level_metadata_app_2fv1_2fapp_2eproto[153]); } // =================================================================== @@ -38326,7 +39757,7 @@ void GetModuleResponse::InternalSwap(GetModuleResponse* PROTOBUF_RESTRICT other) ::google::protobuf::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[149]); + file_level_metadata_app_2fv1_2fapp_2eproto[154]); } // =================================================================== @@ -38835,7 +40266,7 @@ void Module::InternalSwap(Module* PROTOBUF_RESTRICT other) { ::google::protobuf::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[150]); + file_level_metadata_app_2fv1_2fapp_2eproto[155]); } // =================================================================== @@ -39107,7 +40538,7 @@ void VersionHistory::InternalSwap(VersionHistory* PROTOBUF_RESTRICT other) { ::google::protobuf::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[151]); + file_level_metadata_app_2fv1_2fapp_2eproto[156]); } // =================================================================== @@ -39352,7 +40783,7 @@ void Uploads::InternalSwap(Uploads* PROTOBUF_RESTRICT other) { ::google::protobuf::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[152]); + file_level_metadata_app_2fv1_2fapp_2eproto[157]); } // =================================================================== @@ -39556,7 +40987,7 @@ void ListModulesRequest::InternalSwap(ListModulesRequest* PROTOBUF_RESTRICT othe ::google::protobuf::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[153]); + file_level_metadata_app_2fv1_2fapp_2eproto[158]); } // =================================================================== @@ -39739,7 +41170,7 @@ void ListModulesResponse::InternalSwap(ListModulesResponse* PROTOBUF_RESTRICT ot ::google::protobuf::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[154]); + file_level_metadata_app_2fv1_2fapp_2eproto[159]); } // =================================================================== @@ -39929,7 +41360,7 @@ void GetUserIDByEmailRequest::InternalSwap(GetUserIDByEmailRequest* PROTOBUF_RES ::google::protobuf::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[155]); + file_level_metadata_app_2fv1_2fapp_2eproto[160]); } // =================================================================== @@ -40119,7 +41550,7 @@ void GetUserIDByEmailResponse::InternalSwap(GetUserIDByEmailResponse* PROTOBUF_R ::google::protobuf::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[156]); + file_level_metadata_app_2fv1_2fapp_2eproto[161]); } // =================================================================== @@ -40309,7 +41740,7 @@ void ListOrganizationsByUserRequest::InternalSwap(ListOrganizationsByUserRequest ::google::protobuf::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[157]); + file_level_metadata_app_2fv1_2fapp_2eproto[162]); } // =================================================================== @@ -40528,7 +41959,7 @@ void OrgDetails::InternalSwap(OrgDetails* PROTOBUF_RESTRICT other) { ::google::protobuf::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[158]); + file_level_metadata_app_2fv1_2fapp_2eproto[163]); } // =================================================================== @@ -40711,7 +42142,7 @@ void ListOrganizationsByUserResponse::InternalSwap(ListOrganizationsByUserRespon ::google::protobuf::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[159]); + file_level_metadata_app_2fv1_2fapp_2eproto[164]); } // =================================================================== @@ -40927,7 +42358,7 @@ void CreateKeyRequest::InternalSwap(CreateKeyRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[160]); + file_level_metadata_app_2fv1_2fapp_2eproto[165]); } // =================================================================== @@ -41146,7 +42577,7 @@ void CreateKeyResponse::InternalSwap(CreateKeyResponse* PROTOBUF_RESTRICT other) ::google::protobuf::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[161]); + file_level_metadata_app_2fv1_2fapp_2eproto[166]); } // =================================================================== @@ -41336,7 +42767,7 @@ void DeleteKeyRequest::InternalSwap(DeleteKeyRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[162]); + file_level_metadata_app_2fv1_2fapp_2eproto[167]); } // =================================================================== @@ -41371,7 +42802,7 @@ DeleteKeyResponse::DeleteKeyResponse( ::google::protobuf::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[163]); + file_level_metadata_app_2fv1_2fapp_2eproto[168]); } // =================================================================== @@ -41590,7 +43021,7 @@ void RenameKeyRequest::InternalSwap(RenameKeyRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[164]); + file_level_metadata_app_2fv1_2fapp_2eproto[169]); } // =================================================================== @@ -41809,7 +43240,7 @@ void RenameKeyResponse::InternalSwap(RenameKeyResponse* PROTOBUF_RESTRICT other) ::google::protobuf::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[165]); + file_level_metadata_app_2fv1_2fapp_2eproto[170]); } // =================================================================== @@ -42118,7 +43549,7 @@ void AuthorizationDetails::InternalSwap(AuthorizationDetails* PROTOBUF_RESTRICT ::google::protobuf::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[166]); + file_level_metadata_app_2fv1_2fapp_2eproto[171]); } // =================================================================== @@ -42352,7 +43783,7 @@ void APIKeyWithAuthorizations::InternalSwap(APIKeyWithAuthorizations* PROTOBUF_R ::google::protobuf::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[167]); + file_level_metadata_app_2fv1_2fapp_2eproto[172]); } // =================================================================== @@ -42542,7 +43973,7 @@ void ListKeysRequest::InternalSwap(ListKeysRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[168]); + file_level_metadata_app_2fv1_2fapp_2eproto[173]); } // =================================================================== @@ -42725,7 +44156,7 @@ void ListKeysResponse::InternalSwap(ListKeysResponse* PROTOBUF_RESTRICT other) { ::google::protobuf::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[169]); + file_level_metadata_app_2fv1_2fapp_2eproto[174]); } // =================================================================== @@ -42915,7 +44346,7 @@ void RotateKeyRequest::InternalSwap(RotateKeyRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::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[170]); + file_level_metadata_app_2fv1_2fapp_2eproto[175]); } // =================================================================== @@ -43134,7 +44565,7 @@ void RotateKeyResponse::InternalSwap(RotateKeyResponse* PROTOBUF_RESTRICT other) ::google::protobuf::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[171]); + file_level_metadata_app_2fv1_2fapp_2eproto[176]); } // =================================================================== @@ -43324,7 +44755,7 @@ void CreateKeyFromExistingKeyAuthorizationsRequest::InternalSwap(CreateKeyFromEx ::google::protobuf::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[172]); + file_level_metadata_app_2fv1_2fapp_2eproto[177]); } // =================================================================== @@ -43543,7 +44974,7 @@ void CreateKeyFromExistingKeyAuthorizationsResponse::InternalSwap(CreateKeyFromE ::google::protobuf::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[173]); + file_level_metadata_app_2fv1_2fapp_2eproto[178]); } // @@protoc_insertion_point(namespace_scope) } // namespace v1 diff --git a/src/viam/api/app/v1/app.pb.h b/src/viam/api/app/v1/app.pb.h index f7366a2cd..e5405cbe8 100644 --- a/src/viam/api/app/v1/app.pb.h +++ b/src/viam/api/app/v1/app.pb.h @@ -231,6 +231,15 @@ extern DeleteRobotResponseDefaultTypeInternal _DeleteRobotResponse_default_insta class Fragment; struct FragmentDefaultTypeInternal; extern FragmentDefaultTypeInternal _Fragment_default_instance_; +class FragmentHistoryEntry; +struct FragmentHistoryEntryDefaultTypeInternal; +extern FragmentHistoryEntryDefaultTypeInternal _FragmentHistoryEntry_default_instance_; +class GetFragmentHistoryRequest; +struct GetFragmentHistoryRequestDefaultTypeInternal; +extern GetFragmentHistoryRequestDefaultTypeInternal _GetFragmentHistoryRequest_default_instance_; +class GetFragmentHistoryResponse; +struct GetFragmentHistoryResponseDefaultTypeInternal; +extern GetFragmentHistoryResponseDefaultTypeInternal _GetFragmentHistoryResponse_default_instance_; class GetFragmentRequest; struct GetFragmentRequestDefaultTypeInternal; extern GetFragmentRequestDefaultTypeInternal _GetFragmentRequest_default_instance_; @@ -345,6 +354,12 @@ extern ListLocationsRequestDefaultTypeInternal _ListLocationsRequest_default_ins class ListLocationsResponse; struct ListLocationsResponseDefaultTypeInternal; extern ListLocationsResponseDefaultTypeInternal _ListLocationsResponse_default_instance_; +class ListMachineFragmentsRequest; +struct ListMachineFragmentsRequestDefaultTypeInternal; +extern ListMachineFragmentsRequestDefaultTypeInternal _ListMachineFragmentsRequest_default_instance_; +class ListMachineFragmentsResponse; +struct ListMachineFragmentsResponseDefaultTypeInternal; +extern ListMachineFragmentsResponseDefaultTypeInternal _ListMachineFragmentsResponse_default_instance_; class ListModulesRequest; struct ListModulesRequestDefaultTypeInternal; extern ListModulesRequestDefaultTypeInternal _ListModulesRequest_default_instance_; @@ -837,7 +852,7 @@ class UploadModuleFileResponse final : &_UploadModuleFileResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 147; + 152; friend void swap(UploadModuleFileResponse& a, UploadModuleFileResponse& b) { a.Swap(&b); @@ -1018,7 +1033,7 @@ class UpdateRobotRequest final : &_UpdateRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 98; + 103; friend void swap(UpdateRobotRequest& a, UpdateRobotRequest& b) { a.Swap(&b); @@ -1234,7 +1249,7 @@ class UpdateRegistryItemResponse final : &_UpdateRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 133; + 138; friend void swap(UpdateRegistryItemResponse& a, UpdateRegistryItemResponse& b) { a.Swap(&b); @@ -1371,7 +1386,7 @@ class UpdateRegistryItemRequest final : &_UpdateRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 132; + 137; friend void swap(UpdateRegistryItemRequest& a, UpdateRegistryItemRequest& b) { a.Swap(&b); @@ -1852,7 +1867,7 @@ class UpdateModuleResponse final : &_UpdateModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 143; + 148; friend void swap(UpdateModuleResponse& a, UpdateModuleResponse& b) { a.Swap(&b); @@ -2606,7 +2621,7 @@ class TransferRegistryItemResponse final : &_TransferRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 139; + 144; friend void swap(TransferRegistryItemResponse& a, TransferRegistryItemResponse& b) { a.Swap(&b); @@ -2743,7 +2758,7 @@ class TransferRegistryItemRequest final : &_TransferRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 138; + 143; friend void swap(TransferRegistryItemRequest& a, TransferRegistryItemRequest& b) { a.Swap(&b); @@ -3906,7 +3921,7 @@ class RotateKeyResponse final : &_RotateKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 171; + 176; friend void swap(RotateKeyResponse& a, RotateKeyResponse& b) { a.Swap(&b); @@ -4105,7 +4120,7 @@ class RotateKeyRequest final : &_RotateKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 170; + 175; friend void swap(RotateKeyRequest& a, RotateKeyRequest& b) { a.Swap(&b); @@ -4485,7 +4500,7 @@ class RenameKeyResponse final : &_RenameKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 165; + 170; friend void swap(RenameKeyResponse& a, RenameKeyResponse& b) { a.Swap(&b); @@ -4684,7 +4699,7 @@ class RenameKeyRequest final : &_RenameKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 164; + 169; friend void swap(RenameKeyRequest& a, RenameKeyRequest& b) { a.Swap(&b); @@ -4882,7 +4897,7 @@ class RemoveRoleResponse final : &_RemoveRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 114; + 119; friend void swap(RemoveRoleResponse& a, RemoveRoleResponse& b) { a.Swap(&b); @@ -5218,7 +5233,7 @@ class OrgDetails final : &_OrgDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 158; + 163; friend void swap(OrgDetails& a, OrgDetails& b) { a.Swap(&b); @@ -5417,7 +5432,7 @@ class NewRobotResponse final : &_NewRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 97; + 102; friend void swap(NewRobotResponse& a, NewRobotResponse& b) { a.Swap(&b); @@ -5598,7 +5613,7 @@ class NewRobotRequest final : &_NewRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 96; + 101; friend void swap(NewRobotRequest& a, NewRobotRequest& b) { a.Swap(&b); @@ -6177,7 +6192,7 @@ class ModuleFileInfo final : &_ModuleFileInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 145; + 150; friend void swap(ModuleFileInfo& a, ModuleFileInfo& b) { a.Swap(&b); @@ -6394,7 +6409,7 @@ class Model final : &_Model_default_instance_); } static constexpr int kIndexInFileMessages = - 144; + 149; friend void swap(Model& a, Model& b) { a.Swap(&b); @@ -6592,7 +6607,7 @@ class MarkPartForRestartResponse final : &_MarkPartForRestartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 105; + 110; friend void swap(MarkPartForRestartResponse& a, MarkPartForRestartResponse& b) { a.Swap(&b); @@ -6729,7 +6744,7 @@ class MarkPartForRestartRequest final : &_MarkPartForRestartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 104; + 109; friend void swap(MarkPartForRestartRequest& a, MarkPartForRestartRequest& b) { a.Swap(&b); @@ -6909,7 +6924,7 @@ class MarkPartAsMainResponse final : &_MarkPartAsMainResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 103; + 108; friend void swap(MarkPartAsMainResponse& a, MarkPartAsMainResponse& b) { a.Swap(&b); @@ -7046,7 +7061,7 @@ class MarkPartAsMainRequest final : &_MarkPartAsMainRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 102; + 107; friend void swap(MarkPartAsMainRequest& a, MarkPartAsMainRequest& b) { a.Swap(&b); @@ -7227,7 +7242,7 @@ class MLModelMetadata final : &_MLModelMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 124; + 129; friend void swap(MLModelMetadata& a, MLModelMetadata& b) { a.Swap(&b); @@ -7818,7 +7833,7 @@ class ListRobotsRequest final : &_ListRobotsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 94; + 97; friend void swap(ListRobotsRequest& a, ListRobotsRequest& b) { a.Swap(&b); @@ -7999,7 +8014,7 @@ class ListRegistryItemsRequest final : &_ListRegistryItemsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 134; + 139; friend void swap(ListRegistryItemsRequest& a, ListRegistryItemsRequest& b) { a.Swap(&b); @@ -8482,7 +8497,7 @@ class ListOrganizationsByUserRequest final : &_ListOrganizationsByUserRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 157; + 162; friend void swap(ListOrganizationsByUserRequest& a, ListOrganizationsByUserRequest& b) { a.Swap(&b); @@ -8844,7 +8859,7 @@ class ListModulesRequest final : &_ListModulesRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 153; + 158; friend void swap(ListModulesRequest& a, ListModulesRequest& b) { a.Swap(&b); @@ -8968,26 +8983,26 @@ class ListModulesRequest final : friend struct ::TableStruct_app_2fv1_2fapp_2eproto; };// ------------------------------------------------------------------- -class ListLocationsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListLocationsRequest) */ { +class ListMachineFragmentsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsRequest) */ { public: - inline ListLocationsRequest() : ListLocationsRequest(nullptr) {} - ~ListLocationsRequest() override; + inline ListMachineFragmentsRequest() : ListMachineFragmentsRequest(nullptr) {} + ~ListMachineFragmentsRequest() override; template - explicit PROTOBUF_CONSTEXPR ListLocationsRequest(::google::protobuf::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ListMachineFragmentsRequest(::google::protobuf::internal::ConstantInitialized); - inline ListLocationsRequest(const ListLocationsRequest& from) - : ListLocationsRequest(nullptr, from) {} - ListLocationsRequest(ListLocationsRequest&& from) noexcept - : ListLocationsRequest() { + inline ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from) + : ListMachineFragmentsRequest(nullptr, from) {} + ListMachineFragmentsRequest(ListMachineFragmentsRequest&& from) noexcept + : ListMachineFragmentsRequest() { *this = ::std::move(from); } - inline ListLocationsRequest& operator=(const ListLocationsRequest& from) { + inline ListMachineFragmentsRequest& operator=(const ListMachineFragmentsRequest& from) { CopyFrom(from); return *this; } - inline ListLocationsRequest& operator=(ListLocationsRequest&& from) noexcept { + inline ListMachineFragmentsRequest& operator=(ListMachineFragmentsRequest&& from) noexcept { if (this == &from) return *this; if (GetArena() == from.GetArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -9019,20 +9034,20 @@ class ListLocationsRequest final : static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListLocationsRequest& default_instance() { + static const ListMachineFragmentsRequest& default_instance() { return *internal_default_instance(); } - static inline const ListLocationsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListLocationsRequest_default_instance_); + static inline const ListMachineFragmentsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListMachineFragmentsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 98; - friend void swap(ListLocationsRequest& a, ListLocationsRequest& b) { + friend void swap(ListMachineFragmentsRequest& a, ListMachineFragmentsRequest& b) { a.Swap(&b); } - inline void Swap(ListLocationsRequest* other) { + inline void Swap(ListMachineFragmentsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && @@ -9045,7 +9060,7 @@ class ListLocationsRequest final : ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListLocationsRequest* other) { + void UnsafeArenaSwap(ListMachineFragmentsRequest* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -9053,14 +9068,14 @@ class ListLocationsRequest final : // implements Message ---------------------------------------------- - ListLocationsRequest* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListMachineFragmentsRequest* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ListLocationsRequest& from); + void CopyFrom(const ListMachineFragmentsRequest& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const ListLocationsRequest& from) { - ListLocationsRequest::MergeImpl(*this, from); + void MergeFrom( const ListMachineFragmentsRequest& from) { + ListMachineFragmentsRequest::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); @@ -9078,16 +9093,16 @@ class ListLocationsRequest final : ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); - void InternalSwap(ListLocationsRequest* other); + void InternalSwap(ListMachineFragmentsRequest* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "viam.app.v1.ListLocationsRequest"; + return "viam.app.v1.ListMachineFragmentsRequest"; } protected: - explicit ListLocationsRequest(::google::protobuf::Arena* arena); - ListLocationsRequest(::google::protobuf::Arena* arena, const ListLocationsRequest& from); + explicit ListMachineFragmentsRequest(::google::protobuf::Arena* arena); + ListMachineFragmentsRequest(::google::protobuf::Arena* arena, const ListMachineFragmentsRequest& from); public: static const ClassData _class_data_; @@ -9100,213 +9115,61 @@ class ListLocationsRequest final : // accessors ------------------------------------------------------- enum : int { - kOrganizationIdFieldNumber = 1, + kAdditionalFragmentIdsFieldNumber = 2, + kMachineIdFieldNumber = 1, }; - // string organization_id = 1 [json_name = "organizationId"]; - void clear_organization_id() ; - const std::string& organization_id() const; - template - void set_organization_id(Arg_&& arg, Args_... args); - std::string* mutable_organization_id(); - PROTOBUF_NODISCARD std::string* release_organization_id(); - void set_allocated_organization_id(std::string* value); - + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + int additional_fragment_ids_size() const; private: - const std::string& _internal_organization_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_id( - const std::string& value); - std::string* _internal_mutable_organization_id(); - - public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ListLocationsRequest) - private: - class _Internal; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 56, 2> - _table_; - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); - ::google::protobuf::internal::ArenaStringPtr organization_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_app_2fv1_2fapp_2eproto; -};// ------------------------------------------------------------------- - -class ListKeysRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListKeysRequest) */ { - public: - inline ListKeysRequest() : ListKeysRequest(nullptr) {} - ~ListKeysRequest() override; - template - explicit PROTOBUF_CONSTEXPR ListKeysRequest(::google::protobuf::internal::ConstantInitialized); - - inline ListKeysRequest(const ListKeysRequest& from) - : ListKeysRequest(nullptr, from) {} - ListKeysRequest(ListKeysRequest&& from) noexcept - : ListKeysRequest() { - *this = ::std::move(from); - } - - inline ListKeysRequest& operator=(const ListKeysRequest& from) { - CopyFrom(from); - return *this; - } - inline ListKeysRequest& operator=(ListKeysRequest&& from) noexcept { - if (this == &from) return *this; - if (GetArena() == from.GetArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } + int _internal_additional_fragment_ids_size() const; - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListKeysRequest& default_instance() { - return *internal_default_instance(); - } - static inline const ListKeysRequest* internal_default_instance() { - return reinterpret_cast( - &_ListKeysRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 168; - - friend void swap(ListKeysRequest& a, ListKeysRequest& b) { - a.Swap(&b); - } - inline void Swap(ListKeysRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() == other->GetArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListKeysRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListKeysRequest* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ListKeysRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const ListKeysRequest& from) { - ListKeysRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - ::size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const { return _impl_._cached_size_.Get(); } + void clear_additional_fragment_ids() ; + const std::string& additional_fragment_ids(int index) const; + std::string* mutable_additional_fragment_ids(int index); + void set_additional_fragment_ids(int index, const std::string& value); + void set_additional_fragment_ids(int index, std::string&& value); + void set_additional_fragment_ids(int index, const char* value); + void set_additional_fragment_ids(int index, const char* value, std::size_t size); + void set_additional_fragment_ids(int index, absl::string_view value); + std::string* add_additional_fragment_ids(); + void add_additional_fragment_ids(const std::string& value); + void add_additional_fragment_ids(std::string&& value); + void add_additional_fragment_ids(const char* value); + void add_additional_fragment_ids(const char* value, std::size_t size); + void add_additional_fragment_ids(absl::string_view value); + const ::google::protobuf::RepeatedPtrField& additional_fragment_ids() const; + ::google::protobuf::RepeatedPtrField* mutable_additional_fragment_ids(); private: - ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; - void SharedCtor(::google::protobuf::Arena* arena); - void SharedDtor(); - void InternalSwap(ListKeysRequest* other); + const ::google::protobuf::RepeatedPtrField& _internal_additional_fragment_ids() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_additional_fragment_ids(); - private: - friend class ::google::protobuf::internal::AnyMetadata; - static ::absl::string_view FullMessageName() { - return "viam.app.v1.ListKeysRequest"; - } - protected: - explicit ListKeysRequest(::google::protobuf::Arena* arena); - ListKeysRequest(::google::protobuf::Arena* arena, const ListKeysRequest& from); public: - - static const ClassData _class_data_; - const ::google::protobuf::Message::ClassData*GetClassData() const final; - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOrgIdFieldNumber = 1, - }; - // string org_id = 1 [json_name = "orgId"]; - void clear_org_id() ; - const std::string& org_id() const; + // string machine_id = 1 [json_name = "machineId"]; + void clear_machine_id() ; + const std::string& machine_id() const; template - void set_org_id(Arg_&& arg, Args_... args); - std::string* mutable_org_id(); - PROTOBUF_NODISCARD std::string* release_org_id(); - void set_allocated_org_id(std::string* value); + void set_machine_id(Arg_&& arg, Args_... args); + std::string* mutable_machine_id(); + PROTOBUF_NODISCARD std::string* release_machine_id(); + void set_allocated_machine_id(std::string* value); private: - const std::string& _internal_org_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_org_id( + const std::string& _internal_machine_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_machine_id( const std::string& value); - std::string* _internal_mutable_org_id(); + std::string* _internal_mutable_machine_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ListKeysRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListMachineFragmentsRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 42, 2> + 1, 2, 0, + 81, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -9322,7 +9185,8 @@ class ListKeysRequest final : ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from); - ::google::protobuf::internal::ArenaStringPtr org_id_; + ::google::protobuf::RepeatedPtrField additional_fragment_ids_; + ::google::protobuf::internal::ArenaStringPtr machine_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -9330,26 +9194,388 @@ class ListKeysRequest final : friend struct ::TableStruct_app_2fv1_2fapp_2eproto; };// ------------------------------------------------------------------- -class ListFragmentsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListFragmentsRequest) */ { +class ListLocationsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListLocationsRequest) */ { public: - inline ListFragmentsRequest() : ListFragmentsRequest(nullptr) {} - ~ListFragmentsRequest() override; + inline ListLocationsRequest() : ListLocationsRequest(nullptr) {} + ~ListLocationsRequest() override; template - explicit PROTOBUF_CONSTEXPR ListFragmentsRequest(::google::protobuf::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR ListLocationsRequest(::google::protobuf::internal::ConstantInitialized); - inline ListFragmentsRequest(const ListFragmentsRequest& from) - : ListFragmentsRequest(nullptr, from) {} - ListFragmentsRequest(ListFragmentsRequest&& from) noexcept - : ListFragmentsRequest() { + inline ListLocationsRequest(const ListLocationsRequest& from) + : ListLocationsRequest(nullptr, from) {} + ListLocationsRequest(ListLocationsRequest&& from) noexcept + : ListLocationsRequest() { *this = ::std::move(from); } - inline ListFragmentsRequest& operator=(const ListFragmentsRequest& from) { + inline ListLocationsRequest& operator=(const ListLocationsRequest& from) { CopyFrom(from); return *this; } - inline ListFragmentsRequest& operator=(ListFragmentsRequest&& from) noexcept { + inline ListLocationsRequest& operator=(ListLocationsRequest&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListLocationsRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ListLocationsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListLocationsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(ListLocationsRequest& a, ListLocationsRequest& b) { + a.Swap(&b); + } + inline void Swap(ListLocationsRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListLocationsRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListLocationsRequest* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ListLocationsRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const ListLocationsRequest& from) { + ListLocationsRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(ListLocationsRequest* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.ListLocationsRequest"; + } + protected: + explicit ListLocationsRequest(::google::protobuf::Arena* arena); + ListLocationsRequest(::google::protobuf::Arena* arena, const ListLocationsRequest& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kOrganizationIdFieldNumber = 1, + }; + // string organization_id = 1 [json_name = "organizationId"]; + void clear_organization_id() ; + const std::string& organization_id() const; + template + void set_organization_id(Arg_&& arg, Args_... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* value); + + private: + const std::string& _internal_organization_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_id( + const std::string& value); + std::string* _internal_mutable_organization_id(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.ListLocationsRequest) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 56, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::internal::ArenaStringPtr organization_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +};// ------------------------------------------------------------------- + +class ListKeysRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListKeysRequest) */ { + public: + inline ListKeysRequest() : ListKeysRequest(nullptr) {} + ~ListKeysRequest() override; + template + explicit PROTOBUF_CONSTEXPR ListKeysRequest(::google::protobuf::internal::ConstantInitialized); + + inline ListKeysRequest(const ListKeysRequest& from) + : ListKeysRequest(nullptr, from) {} + ListKeysRequest(ListKeysRequest&& from) noexcept + : ListKeysRequest() { + *this = ::std::move(from); + } + + inline ListKeysRequest& operator=(const ListKeysRequest& from) { + CopyFrom(from); + return *this; + } + inline ListKeysRequest& operator=(ListKeysRequest&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListKeysRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ListKeysRequest* internal_default_instance() { + return reinterpret_cast( + &_ListKeysRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 173; + + friend void swap(ListKeysRequest& a, ListKeysRequest& b) { + a.Swap(&b); + } + inline void Swap(ListKeysRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListKeysRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListKeysRequest* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ListKeysRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const ListKeysRequest& from) { + ListKeysRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(ListKeysRequest* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.ListKeysRequest"; + } + protected: + explicit ListKeysRequest(::google::protobuf::Arena* arena); + ListKeysRequest(::google::protobuf::Arena* arena, const ListKeysRequest& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kOrgIdFieldNumber = 1, + }; + // string org_id = 1 [json_name = "orgId"]; + void clear_org_id() ; + const std::string& org_id() const; + template + void set_org_id(Arg_&& arg, Args_... args); + std::string* mutable_org_id(); + PROTOBUF_NODISCARD std::string* release_org_id(); + void set_allocated_org_id(std::string* value); + + private: + const std::string& _internal_org_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_org_id( + const std::string& value); + std::string* _internal_mutable_org_id(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.ListKeysRequest) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 42, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::internal::ArenaStringPtr org_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +};// ------------------------------------------------------------------- + +class ListFragmentsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListFragmentsRequest) */ { + public: + inline ListFragmentsRequest() : ListFragmentsRequest(nullptr) {} + ~ListFragmentsRequest() override; + template + explicit PROTOBUF_CONSTEXPR ListFragmentsRequest(::google::protobuf::internal::ConstantInitialized); + + inline ListFragmentsRequest(const ListFragmentsRequest& from) + : ListFragmentsRequest(nullptr, from) {} + ListFragmentsRequest(ListFragmentsRequest&& from) noexcept + : ListFragmentsRequest() { + *this = ::std::move(from); + } + + inline ListFragmentsRequest& operator=(const ListFragmentsRequest& from) { + CopyFrom(from); + return *this; + } + inline ListFragmentsRequest& operator=(ListFragmentsRequest&& from) noexcept { if (this == &from) return *this; if (GetArena() == from.GetArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -9389,7 +9615,7 @@ class ListFragmentsRequest final : &_ListFragmentsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 84; + 85; friend void swap(ListFragmentsRequest& a, ListFragmentsRequest& b) { a.Swap(&b); @@ -9604,7 +9830,7 @@ class ListAuthorizationsRequest final : &_ListAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 117; + 122; friend void swap(ListAuthorizationsRequest& a, ListAuthorizationsRequest& b) { a.Swap(&b); @@ -9815,7 +10041,7 @@ class GetUserIDByEmailResponse final : &_GetUserIDByEmailResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 156; + 161; friend void swap(GetUserIDByEmailResponse& a, GetUserIDByEmailResponse& b) { a.Swap(&b); @@ -9996,7 +10222,7 @@ class GetUserIDByEmailRequest final : &_GetUserIDByEmailRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 155; + 160; friend void swap(GetUserIDByEmailRequest& a, GetUserIDByEmailRequest& b) { a.Swap(&b); @@ -11525,7 +11751,7 @@ class GetRegistryItemRequest final : &_GetRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 128; + 133; friend void swap(GetRegistryItemRequest& a, GetRegistryItemRequest& b) { a.Swap(&b); @@ -12424,7 +12650,7 @@ class GetModuleRequest final : &_GetModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 148; + 153; friend void swap(GetModuleRequest& a, GetModuleRequest& b) { a.Swap(&b); @@ -12786,7 +13012,7 @@ class GetFragmentRequest final : &_GetFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 86; + 87; friend void swap(GetFragmentRequest& a, GetFragmentRequest& b) { a.Swap(&b); @@ -12908,6 +13134,220 @@ class GetFragmentRequest final : friend struct ::TableStruct_app_2fv1_2fapp_2eproto; };// ------------------------------------------------------------------- +class GetFragmentHistoryRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentHistoryRequest) */ { + public: + inline GetFragmentHistoryRequest() : GetFragmentHistoryRequest(nullptr) {} + ~GetFragmentHistoryRequest() override; + template + explicit PROTOBUF_CONSTEXPR GetFragmentHistoryRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetFragmentHistoryRequest(const GetFragmentHistoryRequest& from) + : GetFragmentHistoryRequest(nullptr, from) {} + GetFragmentHistoryRequest(GetFragmentHistoryRequest&& from) noexcept + : GetFragmentHistoryRequest() { + *this = ::std::move(from); + } + + inline GetFragmentHistoryRequest& operator=(const GetFragmentHistoryRequest& from) { + CopyFrom(from); + return *this; + } + inline GetFragmentHistoryRequest& operator=(GetFragmentHistoryRequest&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetFragmentHistoryRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetFragmentHistoryRequest* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentHistoryRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 95; + + friend void swap(GetFragmentHistoryRequest& a, GetFragmentHistoryRequest& b) { + a.Swap(&b); + } + inline void Swap(GetFragmentHistoryRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetFragmentHistoryRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetFragmentHistoryRequest* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetFragmentHistoryRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const GetFragmentHistoryRequest& from) { + GetFragmentHistoryRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(GetFragmentHistoryRequest* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.GetFragmentHistoryRequest"; + } + protected: + explicit GetFragmentHistoryRequest(::google::protobuf::Arena* arena); + GetFragmentHistoryRequest(::google::protobuf::Arena* arena, const GetFragmentHistoryRequest& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIdFieldNumber = 1, + kPageTokenFieldNumber = 2, + kPageLimitFieldNumber = 3, + }; + // string id = 1 [json_name = "id"]; + void clear_id() ; + const std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* value); + + private: + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( + const std::string& value); + std::string* _internal_mutable_id(); + + public: + // optional string page_token = 2 [json_name = "pageToken"]; + bool has_page_token() const; + void clear_page_token() ; + const std::string& page_token() const; + template + void set_page_token(Arg_&& arg, Args_... args); + std::string* mutable_page_token(); + PROTOBUF_NODISCARD std::string* release_page_token(); + void set_allocated_page_token(std::string* value); + + private: + const std::string& _internal_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_page_token( + const std::string& value); + std::string* _internal_mutable_page_token(); + + public: + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + bool has_page_limit() const; + void clear_page_limit() ; + ::int64_t page_limit() const; + void set_page_limit(::int64_t value); + + private: + ::int64_t _internal_page_limit() const; + void _internal_set_page_limit(::int64_t value); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentHistoryRequest) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 58, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr id_; + ::google::protobuf::internal::ArenaStringPtr page_token_; + ::int64_t page_limit_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +};// ------------------------------------------------------------------- + class DeleteRobotResponse final : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotResponse) */ { public: @@ -12966,7 +13406,7 @@ class DeleteRobotResponse final : &_DeleteRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 101; + 106; friend void swap(DeleteRobotResponse& a, DeleteRobotResponse& b) { a.Swap(&b); @@ -13103,7 +13543,7 @@ class DeleteRobotRequest final : &_DeleteRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 100; + 105; friend void swap(DeleteRobotRequest& a, DeleteRobotRequest& b) { a.Swap(&b); @@ -13283,7 +13723,7 @@ class DeleteRobotPartSecretResponse final : &_DeleteRobotPartSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 109; + 114; friend void swap(DeleteRobotPartSecretResponse& a, DeleteRobotPartSecretResponse& b) { a.Swap(&b); @@ -13420,7 +13860,7 @@ class DeleteRobotPartSecretRequest final : &_DeleteRobotPartSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 108; + 113; friend void swap(DeleteRobotPartSecretRequest& a, DeleteRobotPartSecretRequest& b) { a.Swap(&b); @@ -13935,7 +14375,7 @@ class DeleteRegistryItemResponse final : &_DeleteRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 137; + 142; friend void swap(DeleteRegistryItemResponse& a, DeleteRegistryItemResponse& b) { a.Swap(&b); @@ -14072,7 +14512,7 @@ class DeleteRegistryItemRequest final : &_DeleteRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 136; + 141; friend void swap(DeleteRegistryItemRequest& a, DeleteRegistryItemRequest& b) { a.Swap(&b); @@ -15891,7 +16331,7 @@ class DeleteKeyResponse final : &_DeleteKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 163; + 168; friend void swap(DeleteKeyResponse& a, DeleteKeyResponse& b) { a.Swap(&b); @@ -16028,7 +16468,7 @@ class DeleteKeyRequest final : &_DeleteKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 162; + 167; friend void swap(DeleteKeyRequest& a, DeleteKeyRequest& b) { a.Swap(&b); @@ -16208,7 +16648,7 @@ class DeleteFragmentResponse final : &_DeleteFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 93; + 94; friend void swap(DeleteFragmentResponse& a, DeleteFragmentResponse& b) { a.Swap(&b); @@ -16345,7 +16785,7 @@ class DeleteFragmentRequest final : &_DeleteFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 92; + 93; friend void swap(DeleteFragmentRequest& a, DeleteFragmentRequest& b) { a.Swap(&b); @@ -16526,7 +16966,7 @@ class CreateRobotPartSecretRequest final : &_CreateRobotPartSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 106; + 111; friend void swap(CreateRobotPartSecretRequest& a, CreateRobotPartSecretRequest& b) { a.Swap(&b); @@ -16706,7 +17146,7 @@ class CreateRegistryItemResponse final : &_CreateRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 131; + 136; friend void swap(CreateRegistryItemResponse& a, CreateRegistryItemResponse& b) { a.Swap(&b); @@ -16843,7 +17283,7 @@ class CreateRegistryItemRequest final : &_CreateRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 130; + 135; friend void swap(CreateRegistryItemRequest& a, CreateRegistryItemRequest& b) { a.Swap(&b); @@ -17235,7 +17675,7 @@ class CreateModuleResponse final : &_CreateModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 141; + 146; friend void swap(CreateModuleResponse& a, CreateModuleResponse& b) { a.Swap(&b); @@ -17434,7 +17874,7 @@ class CreateModuleRequest final : &_CreateModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 140; + 145; friend void swap(CreateModuleRequest& a, CreateModuleRequest& b) { a.Swap(&b); @@ -18033,7 +18473,7 @@ class CreateKeyResponse final : &_CreateKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 161; + 166; friend void swap(CreateKeyResponse& a, CreateKeyResponse& b) { a.Swap(&b); @@ -18232,7 +18672,7 @@ class CreateKeyFromExistingKeyAuthorizationsResponse final : &_CreateKeyFromExistingKeyAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 173; + 178; friend void swap(CreateKeyFromExistingKeyAuthorizationsResponse& a, CreateKeyFromExistingKeyAuthorizationsResponse& b) { a.Swap(&b); @@ -18431,7 +18871,7 @@ class CreateKeyFromExistingKeyAuthorizationsRequest final : &_CreateKeyFromExistingKeyAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 172; + 177; friend void swap(CreateKeyFromExistingKeyAuthorizationsRequest& a, CreateKeyFromExistingKeyAuthorizationsRequest& b) { a.Swap(&b); @@ -18611,7 +19051,7 @@ class ChangeRoleResponse final : &_ChangeRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 116; + 121; friend void swap(ChangeRoleResponse& a, ChangeRoleResponse& b) { a.Swap(&b); @@ -18748,7 +19188,7 @@ class AuthorizedPermissions final : &_AuthorizedPermissions_default_instance_); } static constexpr int kIndexInFileMessages = - 120; + 125; friend void swap(AuthorizedPermissions& a, AuthorizedPermissions& b) { a.Swap(&b); @@ -18977,7 +19417,7 @@ class AuthorizationDetails final : &_AuthorizationDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 166; + 171; friend void swap(AuthorizationDetails& a, AuthorizationDetails& b) { a.Swap(&b); @@ -19230,7 +19670,7 @@ class Authorization final : &_Authorization_default_instance_); } static constexpr int kIndexInFileMessages = - 110; + 115; friend void swap(Authorization& a, Authorization& b) { a.Swap(&b); @@ -19723,7 +20163,7 @@ class AddRoleResponse final : &_AddRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 112; + 117; friend void swap(AddRoleResponse& a, AddRoleResponse& b) { a.Swap(&b); @@ -19860,7 +20300,7 @@ class Uploads final : &_Uploads_default_instance_); } static constexpr int kIndexInFileMessages = - 152; + 157; friend void swap(Uploads& a, Uploads& b) { a.Swap(&b); @@ -20065,7 +20505,7 @@ class UploadModuleFileRequest final : &_UploadModuleFileRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 146; + 151; friend void swap(UploadModuleFileRequest& a, UploadModuleFileRequest& b) { a.Swap(&b); @@ -20737,7 +21177,7 @@ class UpdateModuleRequest final : &_UpdateModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 142; + 147; friend void swap(UpdateModuleRequest& a, UpdateModuleRequest& b) { a.Swap(&b); @@ -21004,7 +21444,7 @@ class UpdateFragmentRequest final : &_UpdateFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 90; + 91; friend void swap(UpdateFragmentRequest& a, UpdateFragmentRequest& b) { a.Swap(&b); @@ -21749,7 +22189,7 @@ class RemoveRoleRequest final : &_RemoveRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 113; + 118; friend void swap(RemoveRoleRequest& a, RemoveRoleRequest& b) { a.Swap(&b); @@ -22685,7 +23125,7 @@ class MLTrainingVersion final : &_MLTrainingVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 125; + 130; friend void swap(MLTrainingVersion& a, MLTrainingVersion& b) { a.Swap(&b); @@ -22884,7 +23324,7 @@ class ListOrganizationsByUserResponse final : &_ListOrganizationsByUserResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 159; + 164; friend void swap(ListOrganizationsByUserResponse& a, ListOrganizationsByUserResponse& b) { a.Swap(&b); @@ -23067,7 +23507,7 @@ class ListAuthorizationsResponse final : &_ListAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 118; + 123; friend void swap(ListAuthorizationsResponse& a, ListAuthorizationsResponse& b) { a.Swap(&b); @@ -24179,7 +24619,7 @@ class CreateKeyRequest final : &_CreateKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 160; + 165; friend void swap(CreateKeyRequest& a, CreateKeyRequest& b) { a.Swap(&b); @@ -24380,7 +24820,7 @@ class CreateFragmentRequest final : &_CreateFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 88; + 89; friend void swap(CreateFragmentRequest& a, CreateFragmentRequest& b) { a.Swap(&b); @@ -24597,7 +25037,7 @@ class CheckPermissionsResponse final : &_CheckPermissionsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 121; + 126; friend void swap(CheckPermissionsResponse& a, CheckPermissionsResponse& b) { a.Swap(&b); @@ -24780,7 +25220,7 @@ class CheckPermissionsRequest final : &_CheckPermissionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 119; + 124; friend void swap(CheckPermissionsRequest& a, CheckPermissionsRequest& b) { a.Swap(&b); @@ -24963,7 +25403,7 @@ class ChangeRoleRequest final : &_ChangeRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 115; + 120; friend void swap(ChangeRoleRequest& a, ChangeRoleRequest& b) { a.Swap(&b); @@ -25161,7 +25601,7 @@ class AddRoleRequest final : &_AddRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 111; + 116; friend void swap(AddRoleRequest& a, AddRoleRequest& b) { a.Swap(&b); @@ -25577,7 +26017,7 @@ class VersionHistory final : &_VersionHistory_default_instance_); } static constexpr int kIndexInFileMessages = - 151; + 156; friend void swap(VersionHistory& a, VersionHistory& b) { a.Swap(&b); @@ -25816,7 +26256,7 @@ class UpdateRobotResponse final : &_UpdateRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 99; + 104; friend void swap(UpdateRobotResponse& a, UpdateRobotResponse& b) { a.Swap(&b); @@ -26359,7 +26799,7 @@ class UpdateFragmentResponse final : &_UpdateFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 91; + 92; friend void swap(UpdateFragmentResponse& a, UpdateFragmentResponse& b) { a.Swap(&b); @@ -27312,7 +27752,7 @@ class ModuleVersion final : &_ModuleVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 122; + 127; friend void swap(ModuleVersion& a, ModuleVersion& b) { a.Swap(&b); @@ -27551,7 +27991,7 @@ class MLTrainingMetadata final : &_MLTrainingMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 126; + 131; friend void swap(MLTrainingMetadata& a, MLTrainingMetadata& b) { a.Swap(&b); @@ -27989,7 +28429,7 @@ class ListRobotsResponse final : &_ListRobotsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 95; + 100; friend void swap(ListRobotsResponse& a, ListRobotsResponse& b) { a.Swap(&b); @@ -28347,20 +28787,241 @@ class ListOrganizationMembersResponse final : static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListOrganizationMembersResponse& default_instance() { + static const ListOrganizationMembersResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ListOrganizationMembersResponse* internal_default_instance() { + return reinterpret_cast( + &_ListOrganizationMembersResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(ListOrganizationMembersResponse& a, ListOrganizationMembersResponse& b) { + a.Swap(&b); + } + inline void Swap(ListOrganizationMembersResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ListOrganizationMembersResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ListOrganizationMembersResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ListOrganizationMembersResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const ListOrganizationMembersResponse& from) { + ListOrganizationMembersResponse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(ListOrganizationMembersResponse* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.ListOrganizationMembersResponse"; + } + protected: + explicit ListOrganizationMembersResponse(::google::protobuf::Arena* arena); + ListOrganizationMembersResponse(::google::protobuf::Arena* arena, const ListOrganizationMembersResponse& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kMembersFieldNumber = 2, + kInvitesFieldNumber = 3, + kOrganizationIdFieldNumber = 1, + }; + // repeated .viam.app.v1.OrganizationMember members = 2 [json_name = "members"]; + int members_size() const; + private: + int _internal_members_size() const; + + public: + void clear_members() ; + ::viam::app::v1::OrganizationMember* mutable_members(int index); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationMember >* + mutable_members(); + private: + const ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationMember>& _internal_members() const; + ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationMember>* _internal_mutable_members(); + public: + const ::viam::app::v1::OrganizationMember& members(int index) const; + ::viam::app::v1::OrganizationMember* add_members(); + const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationMember >& + members() const; + // repeated .viam.app.v1.OrganizationInvite invites = 3 [json_name = "invites"]; + int invites_size() const; + private: + int _internal_invites_size() const; + + public: + void clear_invites() ; + ::viam::app::v1::OrganizationInvite* mutable_invites(int index); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationInvite >* + mutable_invites(); + private: + const ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationInvite>& _internal_invites() const; + ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationInvite>* _internal_mutable_invites(); + public: + const ::viam::app::v1::OrganizationInvite& invites(int index) const; + ::viam::app::v1::OrganizationInvite* add_invites(); + const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationInvite >& + invites() const; + // string organization_id = 1 [json_name = "organizationId"]; + void clear_organization_id() ; + const std::string& organization_id() const; + template + void set_organization_id(Arg_&& arg, Args_... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* value); + + private: + const std::string& _internal_organization_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_id( + const std::string& value); + std::string* _internal_mutable_organization_id(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.ListOrganizationMembersResponse) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 67, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationMember > members_; + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationInvite > invites_; + ::google::protobuf::internal::ArenaStringPtr organization_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +};// ------------------------------------------------------------------- + +class ListMachineFragmentsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsResponse) */ { + public: + inline ListMachineFragmentsResponse() : ListMachineFragmentsResponse(nullptr) {} + ~ListMachineFragmentsResponse() override; + template + explicit PROTOBUF_CONSTEXPR ListMachineFragmentsResponse(::google::protobuf::internal::ConstantInitialized); + + inline ListMachineFragmentsResponse(const ListMachineFragmentsResponse& from) + : ListMachineFragmentsResponse(nullptr, from) {} + ListMachineFragmentsResponse(ListMachineFragmentsResponse&& from) noexcept + : ListMachineFragmentsResponse() { + *this = ::std::move(from); + } + + inline ListMachineFragmentsResponse& operator=(const ListMachineFragmentsResponse& from) { + CopyFrom(from); + return *this; + } + inline ListMachineFragmentsResponse& operator=(ListMachineFragmentsResponse&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ListMachineFragmentsResponse& default_instance() { return *internal_default_instance(); } - static inline const ListOrganizationMembersResponse* internal_default_instance() { - return reinterpret_cast( - &_ListOrganizationMembersResponse_default_instance_); + static inline const ListMachineFragmentsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListMachineFragmentsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 99; - friend void swap(ListOrganizationMembersResponse& a, ListOrganizationMembersResponse& b) { + friend void swap(ListMachineFragmentsResponse& a, ListMachineFragmentsResponse& b) { a.Swap(&b); } - inline void Swap(ListOrganizationMembersResponse* other) { + inline void Swap(ListMachineFragmentsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && @@ -28373,7 +29034,7 @@ class ListOrganizationMembersResponse final : ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListOrganizationMembersResponse* other) { + void UnsafeArenaSwap(ListMachineFragmentsResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -28381,14 +29042,14 @@ class ListOrganizationMembersResponse final : // implements Message ---------------------------------------------- - ListOrganizationMembersResponse* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListMachineFragmentsResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ListOrganizationMembersResponse& from); + void CopyFrom(const ListMachineFragmentsResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const ListOrganizationMembersResponse& from) { - ListOrganizationMembersResponse::MergeImpl(*this, from); + void MergeFrom( const ListMachineFragmentsResponse& from) { + ListMachineFragmentsResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); @@ -28406,16 +29067,16 @@ class ListOrganizationMembersResponse final : ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); - void InternalSwap(ListOrganizationMembersResponse* other); + void InternalSwap(ListMachineFragmentsResponse* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "viam.app.v1.ListOrganizationMembersResponse"; + return "viam.app.v1.ListMachineFragmentsResponse"; } protected: - explicit ListOrganizationMembersResponse(::google::protobuf::Arena* arena); - ListOrganizationMembersResponse(::google::protobuf::Arena* arena, const ListOrganizationMembersResponse& from); + explicit ListMachineFragmentsResponse(::google::protobuf::Arena* arena); + ListMachineFragmentsResponse(::google::protobuf::Arena* arena, const ListMachineFragmentsResponse& from); public: static const ClassData _class_data_; @@ -28428,70 +29089,34 @@ class ListOrganizationMembersResponse final : // accessors ------------------------------------------------------- enum : int { - kMembersFieldNumber = 2, - kInvitesFieldNumber = 3, - kOrganizationIdFieldNumber = 1, + kFragmentsFieldNumber = 1, }; - // repeated .viam.app.v1.OrganizationMember members = 2 [json_name = "members"]; - int members_size() const; - private: - int _internal_members_size() const; - - public: - void clear_members() ; - ::viam::app::v1::OrganizationMember* mutable_members(int index); - ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationMember >* - mutable_members(); - private: - const ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationMember>& _internal_members() const; - ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationMember>* _internal_mutable_members(); - public: - const ::viam::app::v1::OrganizationMember& members(int index) const; - ::viam::app::v1::OrganizationMember* add_members(); - const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationMember >& - members() const; - // repeated .viam.app.v1.OrganizationInvite invites = 3 [json_name = "invites"]; - int invites_size() const; + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + int fragments_size() const; private: - int _internal_invites_size() const; + int _internal_fragments_size() const; public: - void clear_invites() ; - ::viam::app::v1::OrganizationInvite* mutable_invites(int index); - ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationInvite >* - mutable_invites(); - private: - const ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationInvite>& _internal_invites() const; - ::google::protobuf::RepeatedPtrField<::viam::app::v1::OrganizationInvite>* _internal_mutable_invites(); - public: - const ::viam::app::v1::OrganizationInvite& invites(int index) const; - ::viam::app::v1::OrganizationInvite* add_invites(); - const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationInvite >& - invites() const; - // string organization_id = 1 [json_name = "organizationId"]; - void clear_organization_id() ; - const std::string& organization_id() const; - template - void set_organization_id(Arg_&& arg, Args_... args); - std::string* mutable_organization_id(); - PROTOBUF_NODISCARD std::string* release_organization_id(); - void set_allocated_organization_id(std::string* value); - + void clear_fragments() ; + ::viam::app::v1::Fragment* mutable_fragments(int index); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::Fragment >* + mutable_fragments(); private: - const std::string& _internal_organization_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_id( - const std::string& value); - std::string* _internal_mutable_organization_id(); - + const ::google::protobuf::RepeatedPtrField<::viam::app::v1::Fragment>& _internal_fragments() const; + ::google::protobuf::RepeatedPtrField<::viam::app::v1::Fragment>* _internal_mutable_fragments(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ListOrganizationMembersResponse) + const ::viam::app::v1::Fragment& fragments(int index) const; + ::viam::app::v1::Fragment* add_fragments(); + const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::Fragment >& + fragments() const; + // @@protoc_insertion_point(class_scope:viam.app.v1.ListMachineFragmentsResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 2, 3, 2, - 67, 2> + 0, 1, 1, + 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -28507,9 +29132,7 @@ class ListOrganizationMembersResponse final : ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from); - ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationMember > members_; - ::google::protobuf::RepeatedPtrField< ::viam::app::v1::OrganizationInvite > invites_; - ::google::protobuf::internal::ArenaStringPtr organization_id_; + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::Fragment > fragments_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -28576,7 +29199,7 @@ class ListFragmentsResponse final : &_ListFragmentsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 85; + 86; friend void swap(ListFragmentsResponse& a, ListFragmentsResponse& b) { a.Swap(&b); @@ -29133,20 +29756,201 @@ class GetOrganizationResponse final : static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetOrganizationResponse& default_instance() { + static const GetOrganizationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetOrganizationResponse* internal_default_instance() { + return reinterpret_cast( + &_GetOrganizationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(GetOrganizationResponse& a, GetOrganizationResponse& b) { + a.Swap(&b); + } + inline void Swap(GetOrganizationResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetOrganizationResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetOrganizationResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetOrganizationResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const GetOrganizationResponse& from) { + GetOrganizationResponse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(GetOrganizationResponse* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.GetOrganizationResponse"; + } + protected: + explicit GetOrganizationResponse(::google::protobuf::Arena* arena); + GetOrganizationResponse(::google::protobuf::Arena* arena, const GetOrganizationResponse& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kOrganizationFieldNumber = 1, + }; + // .viam.app.v1.Organization organization = 1 [json_name = "organization"]; + bool has_organization() const; + void clear_organization() ; + const ::viam::app::v1::Organization& organization() const; + PROTOBUF_NODISCARD ::viam::app::v1::Organization* release_organization(); + ::viam::app::v1::Organization* mutable_organization(); + void set_allocated_organization(::viam::app::v1::Organization* value); + void unsafe_arena_set_allocated_organization(::viam::app::v1::Organization* value); + ::viam::app::v1::Organization* unsafe_arena_release_organization(); + + private: + const ::viam::app::v1::Organization& _internal_organization() const; + ::viam::app::v1::Organization* _internal_mutable_organization(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationResponse) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::viam::app::v1::Organization* organization_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +};// ------------------------------------------------------------------- + +class GetFragmentResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentResponse) */ { + public: + inline GetFragmentResponse() : GetFragmentResponse(nullptr) {} + ~GetFragmentResponse() override; + template + explicit PROTOBUF_CONSTEXPR GetFragmentResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetFragmentResponse(const GetFragmentResponse& from) + : GetFragmentResponse(nullptr, from) {} + GetFragmentResponse(GetFragmentResponse&& from) noexcept + : GetFragmentResponse() { + *this = ::std::move(from); + } + + inline GetFragmentResponse& operator=(const GetFragmentResponse& from) { + CopyFrom(from); + return *this; + } + inline GetFragmentResponse& operator=(GetFragmentResponse&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetFragmentResponse& default_instance() { return *internal_default_instance(); } - static inline const GetOrganizationResponse* internal_default_instance() { - return reinterpret_cast( - &_GetOrganizationResponse_default_instance_); + static inline const GetFragmentResponse* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 88; - friend void swap(GetOrganizationResponse& a, GetOrganizationResponse& b) { + friend void swap(GetFragmentResponse& a, GetFragmentResponse& b) { a.Swap(&b); } - inline void Swap(GetOrganizationResponse* other) { + inline void Swap(GetFragmentResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && @@ -29159,7 +29963,7 @@ class GetOrganizationResponse final : ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetOrganizationResponse* other) { + void UnsafeArenaSwap(GetFragmentResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -29167,14 +29971,14 @@ class GetOrganizationResponse final : // implements Message ---------------------------------------------- - GetOrganizationResponse* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetOrganizationResponse& from); + void CopyFrom(const GetFragmentResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const GetOrganizationResponse& from) { - GetOrganizationResponse::MergeImpl(*this, from); + void MergeFrom( const GetFragmentResponse& from) { + GetFragmentResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); @@ -29192,16 +29996,16 @@ class GetOrganizationResponse final : ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); - void InternalSwap(GetOrganizationResponse* other); + void InternalSwap(GetFragmentResponse* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "viam.app.v1.GetOrganizationResponse"; + return "viam.app.v1.GetFragmentResponse"; } protected: - explicit GetOrganizationResponse(::google::protobuf::Arena* arena); - GetOrganizationResponse(::google::protobuf::Arena* arena, const GetOrganizationResponse& from); + explicit GetFragmentResponse(::google::protobuf::Arena* arena); + GetFragmentResponse(::google::protobuf::Arena* arena, const GetFragmentResponse& from); public: static const ClassData _class_data_; @@ -29214,24 +30018,24 @@ class GetOrganizationResponse final : // accessors ------------------------------------------------------- enum : int { - kOrganizationFieldNumber = 1, + kFragmentFieldNumber = 1, }; - // .viam.app.v1.Organization organization = 1 [json_name = "organization"]; - bool has_organization() const; - void clear_organization() ; - const ::viam::app::v1::Organization& organization() const; - PROTOBUF_NODISCARD ::viam::app::v1::Organization* release_organization(); - ::viam::app::v1::Organization* mutable_organization(); - void set_allocated_organization(::viam::app::v1::Organization* value); - void unsafe_arena_set_allocated_organization(::viam::app::v1::Organization* value); - ::viam::app::v1::Organization* unsafe_arena_release_organization(); + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + bool has_fragment() const; + void clear_fragment() ; + const ::viam::app::v1::Fragment& fragment() const; + PROTOBUF_NODISCARD ::viam::app::v1::Fragment* release_fragment(); + ::viam::app::v1::Fragment* mutable_fragment(); + void set_allocated_fragment(::viam::app::v1::Fragment* value); + void unsafe_arena_set_allocated_fragment(::viam::app::v1::Fragment* value); + ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); private: - const ::viam::app::v1::Organization& _internal_organization() const; - ::viam::app::v1::Organization* _internal_mutable_organization(); + const ::viam::app::v1::Fragment& _internal_fragment() const; + ::viam::app::v1::Fragment* _internal_mutable_fragment(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentResponse) private: class _Internal; @@ -29256,33 +30060,33 @@ class GetOrganizationResponse final : ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::viam::app::v1::Organization* organization_; + ::viam::app::v1::Fragment* fragment_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; };// ------------------------------------------------------------------- -class GetFragmentResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentResponse) */ { +class FragmentHistoryEntry final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentHistoryEntry) */ { public: - inline GetFragmentResponse() : GetFragmentResponse(nullptr) {} - ~GetFragmentResponse() override; + inline FragmentHistoryEntry() : FragmentHistoryEntry(nullptr) {} + ~FragmentHistoryEntry() override; template - explicit PROTOBUF_CONSTEXPR GetFragmentResponse(::google::protobuf::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR FragmentHistoryEntry(::google::protobuf::internal::ConstantInitialized); - inline GetFragmentResponse(const GetFragmentResponse& from) - : GetFragmentResponse(nullptr, from) {} - GetFragmentResponse(GetFragmentResponse&& from) noexcept - : GetFragmentResponse() { + inline FragmentHistoryEntry(const FragmentHistoryEntry& from) + : FragmentHistoryEntry(nullptr, from) {} + FragmentHistoryEntry(FragmentHistoryEntry&& from) noexcept + : FragmentHistoryEntry() { *this = ::std::move(from); } - inline GetFragmentResponse& operator=(const GetFragmentResponse& from) { + inline FragmentHistoryEntry& operator=(const FragmentHistoryEntry& from) { CopyFrom(from); return *this; } - inline GetFragmentResponse& operator=(GetFragmentResponse&& from) noexcept { + inline FragmentHistoryEntry& operator=(FragmentHistoryEntry&& from) noexcept { if (this == &from) return *this; if (GetArena() == from.GetArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -29314,20 +30118,20 @@ class GetFragmentResponse final : static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentResponse& default_instance() { + static const FragmentHistoryEntry& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentResponse* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentResponse_default_instance_); + static inline const FragmentHistoryEntry* internal_default_instance() { + return reinterpret_cast( + &_FragmentHistoryEntry_default_instance_); } static constexpr int kIndexInFileMessages = - 87; + 84; - friend void swap(GetFragmentResponse& a, GetFragmentResponse& b) { + friend void swap(FragmentHistoryEntry& a, FragmentHistoryEntry& b) { a.Swap(&b); } - inline void Swap(GetFragmentResponse* other) { + inline void Swap(FragmentHistoryEntry* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && @@ -29340,7 +30144,7 @@ class GetFragmentResponse final : ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentResponse* other) { + void UnsafeArenaSwap(FragmentHistoryEntry* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -29348,14 +30152,14 @@ class GetFragmentResponse final : // implements Message ---------------------------------------------- - GetFragmentResponse* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + FragmentHistoryEntry* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetFragmentResponse& from); + void CopyFrom(const FragmentHistoryEntry& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const GetFragmentResponse& from) { - GetFragmentResponse::MergeImpl(*this, from); + void MergeFrom( const FragmentHistoryEntry& from) { + FragmentHistoryEntry::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); @@ -29373,16 +30177,16 @@ class GetFragmentResponse final : ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); - void InternalSwap(GetFragmentResponse* other); + void InternalSwap(FragmentHistoryEntry* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "viam.app.v1.GetFragmentResponse"; + return "viam.app.v1.FragmentHistoryEntry"; } protected: - explicit GetFragmentResponse(::google::protobuf::Arena* arena); - GetFragmentResponse(::google::protobuf::Arena* arena, const GetFragmentResponse& from); + explicit FragmentHistoryEntry(::google::protobuf::Arena* arena); + FragmentHistoryEntry(::google::protobuf::Arena* arena, const FragmentHistoryEntry& from); public: static const ClassData _class_data_; @@ -29396,30 +30200,79 @@ class GetFragmentResponse final : enum : int { kFragmentFieldNumber = 1, + kEditedOnFieldNumber = 2, + kOldFieldNumber = 3, + kEditedByFieldNumber = 4, }; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - bool has_fragment() const; + // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; void clear_fragment() ; - const ::viam::app::v1::Fragment& fragment() const; - PROTOBUF_NODISCARD ::viam::app::v1::Fragment* release_fragment(); - ::viam::app::v1::Fragment* mutable_fragment(); - void set_allocated_fragment(::viam::app::v1::Fragment* value); - void unsafe_arena_set_allocated_fragment(::viam::app::v1::Fragment* value); - ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); + const std::string& fragment() const; + template + void set_fragment(Arg_&& arg, Args_... args); + std::string* mutable_fragment(); + PROTOBUF_NODISCARD std::string* release_fragment(); + void set_allocated_fragment(std::string* value); private: - const ::viam::app::v1::Fragment& _internal_fragment() const; - ::viam::app::v1::Fragment* _internal_mutable_fragment(); + const std::string& _internal_fragment() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment( + const std::string& value); + std::string* _internal_mutable_fragment(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentResponse) + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + bool has_edited_on() const; + void clear_edited_on() ; + const ::google::protobuf::Timestamp& edited_on() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_edited_on(); + ::google::protobuf::Timestamp* mutable_edited_on(); + void set_allocated_edited_on(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_edited_on(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_edited_on(); + + private: + const ::google::protobuf::Timestamp& _internal_edited_on() const; + ::google::protobuf::Timestamp* _internal_mutable_edited_on(); + + public: + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + bool has_old() const; + void clear_old() ; + const ::viam::app::v1::Fragment& old() const; + PROTOBUF_NODISCARD ::viam::app::v1::Fragment* release_old(); + ::viam::app::v1::Fragment* mutable_old(); + void set_allocated_old(::viam::app::v1::Fragment* value); + void unsafe_arena_set_allocated_old(::viam::app::v1::Fragment* value); + ::viam::app::v1::Fragment* unsafe_arena_release_old(); + + private: + const ::viam::app::v1::Fragment& _internal_old() const; + ::viam::app::v1::Fragment* _internal_mutable_old(); + + public: + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + bool has_edited_by() const; + void clear_edited_by() ; + const ::viam::app::v1::AuthenticatorInfo& edited_by() const; + PROTOBUF_NODISCARD ::viam::app::v1::AuthenticatorInfo* release_edited_by(); + ::viam::app::v1::AuthenticatorInfo* mutable_edited_by(); + void set_allocated_edited_by(::viam::app::v1::AuthenticatorInfo* value); + void unsafe_arena_set_allocated_edited_by(::viam::app::v1::AuthenticatorInfo* value); + ::viam::app::v1::AuthenticatorInfo* unsafe_arena_release_edited_by(); + + private: + const ::viam::app::v1::AuthenticatorInfo& _internal_edited_by() const; + ::viam::app::v1::AuthenticatorInfo* _internal_mutable_edited_by(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentHistoryEntry) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 0, 1, 1, - 0, 2> + 2, 4, 3, + 49, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -29437,7 +30290,10 @@ class GetFragmentResponse final : ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::viam::app::v1::Fragment* fragment_; + ::google::protobuf::internal::ArenaStringPtr fragment_; + ::google::protobuf::Timestamp* edited_on_; + ::viam::app::v1::Fragment* old_; + ::viam::app::v1::AuthenticatorInfo* edited_by_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -29865,7 +30721,7 @@ class CreateFragmentResponse final : &_CreateFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 89; + 90; friend void swap(CreateFragmentResponse& a, CreateFragmentResponse& b) { a.Swap(&b); @@ -30046,7 +30902,7 @@ class APIKeyWithAuthorizations final : &_APIKeyWithAuthorizations_default_instance_); } static constexpr int kIndexInFileMessages = - 167; + 172; friend void swap(APIKeyWithAuthorizations& a, APIKeyWithAuthorizations& b) { a.Swap(&b); @@ -30679,7 +31535,7 @@ class ModuleMetadata final : &_ModuleMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 123; + 128; friend void swap(ModuleMetadata& a, ModuleMetadata& b) { a.Swap(&b); @@ -30900,7 +31756,7 @@ class Module final : &_Module_default_instance_); } static constexpr int kIndexInFileMessages = - 150; + 155; friend void swap(Module& a, Module& b) { a.Swap(&b); @@ -31747,7 +32603,7 @@ class ListKeysResponse final : &_ListKeysResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 169; + 174; friend void swap(ListKeysResponse& a, ListKeysResponse& b) { a.Swap(&b); @@ -32304,20 +33160,203 @@ class GetRobotAPIKeysResponse final : static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotAPIKeysResponse& default_instance() { + static const GetRobotAPIKeysResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetRobotAPIKeysResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotAPIKeysResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 81; + + friend void swap(GetRobotAPIKeysResponse& a, GetRobotAPIKeysResponse& b) { + a.Swap(&b); + } + inline void Swap(GetRobotAPIKeysResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRobotAPIKeysResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRobotAPIKeysResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetRobotAPIKeysResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const GetRobotAPIKeysResponse& from) { + GetRobotAPIKeysResponse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(GetRobotAPIKeysResponse* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.GetRobotAPIKeysResponse"; + } + protected: + explicit GetRobotAPIKeysResponse(::google::protobuf::Arena* arena); + GetRobotAPIKeysResponse(::google::protobuf::Arena* arena, const GetRobotAPIKeysResponse& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kApiKeysFieldNumber = 1, + }; + // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; + int api_keys_size() const; + private: + int _internal_api_keys_size() const; + + public: + void clear_api_keys() ; + ::viam::app::v1::APIKeyWithAuthorizations* mutable_api_keys(int index); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >* + mutable_api_keys(); + private: + const ::google::protobuf::RepeatedPtrField<::viam::app::v1::APIKeyWithAuthorizations>& _internal_api_keys() const; + ::google::protobuf::RepeatedPtrField<::viam::app::v1::APIKeyWithAuthorizations>* _internal_mutable_api_keys(); + public: + const ::viam::app::v1::APIKeyWithAuthorizations& api_keys(int index) const; + ::viam::app::v1::APIKeyWithAuthorizations* add_api_keys(); + const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >& + api_keys() const; + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotAPIKeysResponse) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations > api_keys_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +};// ------------------------------------------------------------------- + +class GetFragmentHistoryResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentHistoryResponse) */ { + public: + inline GetFragmentHistoryResponse() : GetFragmentHistoryResponse(nullptr) {} + ~GetFragmentHistoryResponse() override; + template + explicit PROTOBUF_CONSTEXPR GetFragmentHistoryResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetFragmentHistoryResponse(const GetFragmentHistoryResponse& from) + : GetFragmentHistoryResponse(nullptr, from) {} + GetFragmentHistoryResponse(GetFragmentHistoryResponse&& from) noexcept + : GetFragmentHistoryResponse() { + *this = ::std::move(from); + } + + inline GetFragmentHistoryResponse& operator=(const GetFragmentHistoryResponse& from) { + CopyFrom(from); + return *this; + } + inline GetFragmentHistoryResponse& operator=(GetFragmentHistoryResponse&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetFragmentHistoryResponse& default_instance() { return *internal_default_instance(); } - static inline const GetRobotAPIKeysResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotAPIKeysResponse_default_instance_); + static inline const GetFragmentHistoryResponse* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentHistoryResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 81; + 96; - friend void swap(GetRobotAPIKeysResponse& a, GetRobotAPIKeysResponse& b) { + friend void swap(GetFragmentHistoryResponse& a, GetFragmentHistoryResponse& b) { a.Swap(&b); } - inline void Swap(GetRobotAPIKeysResponse* other) { + inline void Swap(GetFragmentHistoryResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && @@ -32330,7 +33369,7 @@ class GetRobotAPIKeysResponse final : ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotAPIKeysResponse* other) { + void UnsafeArenaSwap(GetFragmentHistoryResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -32338,14 +33377,14 @@ class GetRobotAPIKeysResponse final : // implements Message ---------------------------------------------- - GetRobotAPIKeysResponse* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentHistoryResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetRobotAPIKeysResponse& from); + void CopyFrom(const GetFragmentHistoryResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const GetRobotAPIKeysResponse& from) { - GetRobotAPIKeysResponse::MergeImpl(*this, from); + void MergeFrom( const GetFragmentHistoryResponse& from) { + GetFragmentHistoryResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); @@ -32363,16 +33402,16 @@ class GetRobotAPIKeysResponse final : ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); - void InternalSwap(GetRobotAPIKeysResponse* other); + void InternalSwap(GetFragmentHistoryResponse* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "viam.app.v1.GetRobotAPIKeysResponse"; + return "viam.app.v1.GetFragmentHistoryResponse"; } protected: - explicit GetRobotAPIKeysResponse(::google::protobuf::Arena* arena); - GetRobotAPIKeysResponse(::google::protobuf::Arena* arena, const GetRobotAPIKeysResponse& from); + explicit GetFragmentHistoryResponse(::google::protobuf::Arena* arena); + GetFragmentHistoryResponse(::google::protobuf::Arena* arena, const GetFragmentHistoryResponse& from); public: static const ClassData _class_data_; @@ -32385,34 +33424,51 @@ class GetRobotAPIKeysResponse final : // accessors ------------------------------------------------------- enum : int { - kApiKeysFieldNumber = 1, + kHistoryFieldNumber = 1, + kNextPageTokenFieldNumber = 2, }; - // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; - int api_keys_size() const; + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + int history_size() const; private: - int _internal_api_keys_size() const; + int _internal_history_size() const; public: - void clear_api_keys() ; - ::viam::app::v1::APIKeyWithAuthorizations* mutable_api_keys(int index); - ::google::protobuf::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >* - mutable_api_keys(); + void clear_history() ; + ::viam::app::v1::FragmentHistoryEntry* mutable_history(int index); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry >* + mutable_history(); private: - const ::google::protobuf::RepeatedPtrField<::viam::app::v1::APIKeyWithAuthorizations>& _internal_api_keys() const; - ::google::protobuf::RepeatedPtrField<::viam::app::v1::APIKeyWithAuthorizations>* _internal_mutable_api_keys(); + const ::google::protobuf::RepeatedPtrField<::viam::app::v1::FragmentHistoryEntry>& _internal_history() const; + ::google::protobuf::RepeatedPtrField<::viam::app::v1::FragmentHistoryEntry>* _internal_mutable_history(); public: - const ::viam::app::v1::APIKeyWithAuthorizations& api_keys(int index) const; - ::viam::app::v1::APIKeyWithAuthorizations* add_api_keys(); - const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >& - api_keys() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotAPIKeysResponse) + const ::viam::app::v1::FragmentHistoryEntry& history(int index) const; + ::viam::app::v1::FragmentHistoryEntry* add_history(); + const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry >& + history() const; + // string next_page_token = 2 [json_name = "nextPageToken"]; + void clear_next_page_token() ; + const std::string& next_page_token() const; + template + void set_next_page_token(Arg_&& arg, Args_... args); + std::string* mutable_next_page_token(); + PROTOBUF_NODISCARD std::string* release_next_page_token(); + void set_allocated_next_page_token(std::string* value); + + private: + const std::string& _internal_next_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_next_page_token( + const std::string& value); + std::string* _internal_mutable_next_page_token(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentHistoryResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 0, 1, 1, - 0, 2> + 1, 2, 1, + 62, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -32428,7 +33484,8 @@ class GetRobotAPIKeysResponse final : ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from); - ::google::protobuf::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations > api_keys_; + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry > history_; + ::google::protobuf::internal::ArenaStringPtr next_page_token_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -32495,7 +33552,7 @@ class CreateRobotPartSecretResponse final : &_CreateRobotPartSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 107; + 112; friend void swap(CreateRobotPartSecretResponse& a, CreateRobotPartSecretResponse& b) { a.Swap(&b); @@ -33045,7 +34102,7 @@ class RegistryItem final : &_RegistryItem_default_instance_); } static constexpr int kIndexInFileMessages = - 127; + 132; friend void swap(RegistryItem& a, RegistryItem& b) { a.Swap(&b); @@ -33500,7 +34557,7 @@ class ListModulesResponse final : &_ListModulesResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 154; + 159; friend void swap(ListModulesResponse& a, ListModulesResponse& b) { a.Swap(&b); @@ -34049,7 +35106,7 @@ class GetModuleResponse final : &_GetModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 149; + 154; friend void swap(GetModuleResponse& a, GetModuleResponse& b) { a.Swap(&b); @@ -34592,7 +35649,7 @@ class ListRegistryItemsResponse final : &_ListRegistryItemsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 135; + 140; friend void swap(ListRegistryItemsResponse& a, ListRegistryItemsResponse& b) { a.Swap(&b); @@ -34775,7 +35832,7 @@ class GetRegistryItemResponse final : &_GetRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 129; + 134; friend void swap(GetRegistryItemResponse& a, GetRegistryItemResponse& b) { a.Swap(&b); @@ -45623,6 +46680,346 @@ inline void Fragment::_internal_set_visibility(::viam::app::v1::FragmentVisibili // ------------------------------------------------------------------- +// FragmentHistoryEntry + +// string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; +inline void FragmentHistoryEntry::clear_fragment() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.fragment_.ClearToEmpty(); +} +inline const std::string& FragmentHistoryEntry::fragment() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.FragmentHistoryEntry.fragment) + return _internal_fragment(); +} +template +inline PROTOBUF_ALWAYS_INLINE void FragmentHistoryEntry::set_fragment(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.fragment_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.FragmentHistoryEntry.fragment) +} +inline std::string* FragmentHistoryEntry::mutable_fragment() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_fragment(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.FragmentHistoryEntry.fragment) + return _s; +} +inline const std::string& FragmentHistoryEntry::_internal_fragment() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.fragment_.Get(); +} +inline void FragmentHistoryEntry::_internal_set_fragment(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.fragment_.Set(value, GetArena()); +} +inline std::string* FragmentHistoryEntry::_internal_mutable_fragment() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.fragment_.Mutable( GetArena()); +} +inline std::string* FragmentHistoryEntry::release_fragment() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.FragmentHistoryEntry.fragment) + return _impl_.fragment_.Release(); +} +inline void FragmentHistoryEntry::set_allocated_fragment(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.fragment_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.fragment_.IsDefault()) { + _impl_.fragment_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.FragmentHistoryEntry.fragment) +} + +// .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; +inline bool FragmentHistoryEntry::has_edited_on() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.edited_on_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& FragmentHistoryEntry::_internal_edited_on() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + const ::google::protobuf::Timestamp* p = _impl_.edited_on_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& FragmentHistoryEntry::edited_on() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.FragmentHistoryEntry.edited_on) + return _internal_edited_on(); +} +inline void FragmentHistoryEntry::unsafe_arena_set_allocated_edited_on(::google::protobuf::Timestamp* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.edited_on_); + } + _impl_.edited_on_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:viam.app.v1.FragmentHistoryEntry.edited_on) +} +inline ::google::protobuf::Timestamp* FragmentHistoryEntry::release_edited_on() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.edited_on_; + _impl_.edited_on_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return released; +} +inline ::google::protobuf::Timestamp* FragmentHistoryEntry::unsafe_arena_release_edited_on() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.FragmentHistoryEntry.edited_on) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.edited_on_; + _impl_.edited_on_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* FragmentHistoryEntry::_internal_mutable_edited_on() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.edited_on_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArena()); + _impl_.edited_on_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.edited_on_; +} +inline ::google::protobuf::Timestamp* FragmentHistoryEntry::mutable_edited_on() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::Timestamp* _msg = _internal_mutable_edited_on(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.FragmentHistoryEntry.edited_on) + return _msg; +} +inline void FragmentHistoryEntry::set_allocated_edited_on(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.edited_on_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.edited_on_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.FragmentHistoryEntry.edited_on) +} + +// .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; +inline bool FragmentHistoryEntry::has_old() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.old_ != nullptr); + return value; +} +inline void FragmentHistoryEntry::clear_old() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (_impl_.old_ != nullptr) _impl_.old_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::viam::app::v1::Fragment& FragmentHistoryEntry::_internal_old() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + const ::viam::app::v1::Fragment* p = _impl_.old_; + return p != nullptr ? *p : reinterpret_cast(::viam::app::v1::_Fragment_default_instance_); +} +inline const ::viam::app::v1::Fragment& FragmentHistoryEntry::old() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.FragmentHistoryEntry.old) + return _internal_old(); +} +inline void FragmentHistoryEntry::unsafe_arena_set_allocated_old(::viam::app::v1::Fragment* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.old_); + } + _impl_.old_ = reinterpret_cast<::viam::app::v1::Fragment*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:viam.app.v1.FragmentHistoryEntry.old) +} +inline ::viam::app::v1::Fragment* FragmentHistoryEntry::release_old() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::viam::app::v1::Fragment* released = _impl_.old_; + _impl_.old_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return released; +} +inline ::viam::app::v1::Fragment* FragmentHistoryEntry::unsafe_arena_release_old() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.FragmentHistoryEntry.old) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::viam::app::v1::Fragment* temp = _impl_.old_; + _impl_.old_ = nullptr; + return temp; +} +inline ::viam::app::v1::Fragment* FragmentHistoryEntry::_internal_mutable_old() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.old_ == nullptr) { + auto* p = CreateMaybeMessage<::viam::app::v1::Fragment>(GetArena()); + _impl_.old_ = reinterpret_cast<::viam::app::v1::Fragment*>(p); + } + return _impl_.old_; +} +inline ::viam::app::v1::Fragment* FragmentHistoryEntry::mutable_old() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::viam::app::v1::Fragment* _msg = _internal_mutable_old(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.FragmentHistoryEntry.old) + return _msg; +} +inline void FragmentHistoryEntry::set_allocated_old(::viam::app::v1::Fragment* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (message_arena == nullptr) { + delete reinterpret_cast<::viam::app::v1::Fragment*>(_impl_.old_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::viam::app::v1::Fragment*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.old_ = reinterpret_cast<::viam::app::v1::Fragment*>(value); + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.FragmentHistoryEntry.old) +} + +// .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; +inline bool FragmentHistoryEntry::has_edited_by() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.edited_by_ != nullptr); + return value; +} +inline void FragmentHistoryEntry::clear_edited_by() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (_impl_.edited_by_ != nullptr) _impl_.edited_by_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::viam::app::v1::AuthenticatorInfo& FragmentHistoryEntry::_internal_edited_by() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + const ::viam::app::v1::AuthenticatorInfo* p = _impl_.edited_by_; + return p != nullptr ? *p : reinterpret_cast(::viam::app::v1::_AuthenticatorInfo_default_instance_); +} +inline const ::viam::app::v1::AuthenticatorInfo& FragmentHistoryEntry::edited_by() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.FragmentHistoryEntry.edited_by) + return _internal_edited_by(); +} +inline void FragmentHistoryEntry::unsafe_arena_set_allocated_edited_by(::viam::app::v1::AuthenticatorInfo* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.edited_by_); + } + _impl_.edited_by_ = reinterpret_cast<::viam::app::v1::AuthenticatorInfo*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:viam.app.v1.FragmentHistoryEntry.edited_by) +} +inline ::viam::app::v1::AuthenticatorInfo* FragmentHistoryEntry::release_edited_by() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::viam::app::v1::AuthenticatorInfo* released = _impl_.edited_by_; + _impl_.edited_by_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return released; +} +inline ::viam::app::v1::AuthenticatorInfo* FragmentHistoryEntry::unsafe_arena_release_edited_by() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.FragmentHistoryEntry.edited_by) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::viam::app::v1::AuthenticatorInfo* temp = _impl_.edited_by_; + _impl_.edited_by_ = nullptr; + return temp; +} +inline ::viam::app::v1::AuthenticatorInfo* FragmentHistoryEntry::_internal_mutable_edited_by() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000004u; + if (_impl_.edited_by_ == nullptr) { + auto* p = CreateMaybeMessage<::viam::app::v1::AuthenticatorInfo>(GetArena()); + _impl_.edited_by_ = reinterpret_cast<::viam::app::v1::AuthenticatorInfo*>(p); + } + return _impl_.edited_by_; +} +inline ::viam::app::v1::AuthenticatorInfo* FragmentHistoryEntry::mutable_edited_by() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::viam::app::v1::AuthenticatorInfo* _msg = _internal_mutable_edited_by(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.FragmentHistoryEntry.edited_by) + return _msg; +} +inline void FragmentHistoryEntry::set_allocated_edited_by(::viam::app::v1::AuthenticatorInfo* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (message_arena == nullptr) { + delete reinterpret_cast<::viam::app::v1::AuthenticatorInfo*>(_impl_.edited_by_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::viam::app::v1::AuthenticatorInfo*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.edited_by_ = reinterpret_cast<::viam::app::v1::AuthenticatorInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.FragmentHistoryEntry.edited_by) +} + +// ------------------------------------------------------------------- + // ListFragmentsRequest // string organization_id = 1 [json_name = "organizationId"]; @@ -46676,6 +48073,268 @@ inline void DeleteFragmentRequest::set_allocated_id(std::string* value) { // ------------------------------------------------------------------- +// GetFragmentHistoryRequest + +// string id = 1 [json_name = "id"]; +inline void GetFragmentHistoryRequest::clear_id() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.id_.ClearToEmpty(); +} +inline const std::string& GetFragmentHistoryRequest::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.GetFragmentHistoryRequest.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void GetFragmentHistoryRequest::set_id(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetFragmentHistoryRequest.id) +} +inline std::string* GetFragmentHistoryRequest::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetFragmentHistoryRequest.id) + return _s; +} +inline const std::string& GetFragmentHistoryRequest::_internal_id() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.id_.Get(); +} +inline void GetFragmentHistoryRequest::_internal_set_id(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.id_.Set(value, GetArena()); +} +inline std::string* GetFragmentHistoryRequest::_internal_mutable_id() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.id_.Mutable( GetArena()); +} +inline std::string* GetFragmentHistoryRequest::release_id() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.GetFragmentHistoryRequest.id) + return _impl_.id_.Release(); +} +inline void GetFragmentHistoryRequest::set_allocated_id(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.id_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetFragmentHistoryRequest.id) +} + +// optional string page_token = 2 [json_name = "pageToken"]; +inline bool GetFragmentHistoryRequest::has_page_token() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline void GetFragmentHistoryRequest::clear_page_token() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.page_token_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const std::string& GetFragmentHistoryRequest::page_token() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.GetFragmentHistoryRequest.page_token) + return _internal_page_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE void GetFragmentHistoryRequest::set_page_token(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.page_token_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetFragmentHistoryRequest.page_token) +} +inline std::string* GetFragmentHistoryRequest::mutable_page_token() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_page_token(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetFragmentHistoryRequest.page_token) + return _s; +} +inline const std::string& GetFragmentHistoryRequest::_internal_page_token() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.page_token_.Get(); +} +inline void GetFragmentHistoryRequest::_internal_set_page_token(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.page_token_.Set(value, GetArena()); +} +inline std::string* GetFragmentHistoryRequest::_internal_mutable_page_token() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.page_token_.Mutable( GetArena()); +} +inline std::string* GetFragmentHistoryRequest::release_page_token() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.GetFragmentHistoryRequest.page_token) + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.page_token_.Release(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.page_token_.Set("", GetArena()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return released; +} +inline void GetFragmentHistoryRequest::set_allocated_page_token(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.page_token_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.page_token_.IsDefault()) { + _impl_.page_token_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetFragmentHistoryRequest.page_token) +} + +// optional int64 page_limit = 3 [json_name = "pageLimit"]; +inline bool GetFragmentHistoryRequest::has_page_limit() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline void GetFragmentHistoryRequest::clear_page_limit() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.page_limit_ = ::int64_t{0}; + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline ::int64_t GetFragmentHistoryRequest::page_limit() const { + // @@protoc_insertion_point(field_get:viam.app.v1.GetFragmentHistoryRequest.page_limit) + return _internal_page_limit(); +} +inline void GetFragmentHistoryRequest::set_page_limit(::int64_t value) { + _internal_set_page_limit(value); + // @@protoc_insertion_point(field_set:viam.app.v1.GetFragmentHistoryRequest.page_limit) +} +inline ::int64_t GetFragmentHistoryRequest::_internal_page_limit() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.page_limit_; +} +inline void GetFragmentHistoryRequest::_internal_set_page_limit(::int64_t value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.page_limit_ = value; +} + +// ------------------------------------------------------------------- + +// GetFragmentHistoryResponse + +// repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; +inline int GetFragmentHistoryResponse::_internal_history_size() const { + return _internal_history().size(); +} +inline int GetFragmentHistoryResponse::history_size() const { + return _internal_history_size(); +} +inline void GetFragmentHistoryResponse::clear_history() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.history_.Clear(); +} +inline ::viam::app::v1::FragmentHistoryEntry* GetFragmentHistoryResponse::mutable_history(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetFragmentHistoryResponse.history) + return _internal_mutable_history()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::viam::app::v1::FragmentHistoryEntry>* GetFragmentHistoryResponse::mutable_history() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.GetFragmentHistoryResponse.history) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + return _internal_mutable_history(); +} +inline const ::viam::app::v1::FragmentHistoryEntry& GetFragmentHistoryResponse::history(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.GetFragmentHistoryResponse.history) + return _internal_history().Get(index); +} +inline ::viam::app::v1::FragmentHistoryEntry* GetFragmentHistoryResponse::add_history() ABSL_ATTRIBUTE_LIFETIME_BOUND { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::viam::app::v1::FragmentHistoryEntry* _add = _internal_mutable_history()->Add(); + // @@protoc_insertion_point(field_add:viam.app.v1.GetFragmentHistoryResponse.history) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::viam::app::v1::FragmentHistoryEntry>& GetFragmentHistoryResponse::history() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:viam.app.v1.GetFragmentHistoryResponse.history) + return _internal_history(); +} +inline const ::google::protobuf::RepeatedPtrField<::viam::app::v1::FragmentHistoryEntry>& +GetFragmentHistoryResponse::_internal_history() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.history_; +} +inline ::google::protobuf::RepeatedPtrField<::viam::app::v1::FragmentHistoryEntry>* +GetFragmentHistoryResponse::_internal_mutable_history() { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return &_impl_.history_; +} + +// string next_page_token = 2 [json_name = "nextPageToken"]; +inline void GetFragmentHistoryResponse::clear_next_page_token() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.next_page_token_.ClearToEmpty(); +} +inline const std::string& GetFragmentHistoryResponse::next_page_token() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.GetFragmentHistoryResponse.next_page_token) + return _internal_next_page_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE void GetFragmentHistoryResponse::set_next_page_token(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.next_page_token_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetFragmentHistoryResponse.next_page_token) +} +inline std::string* GetFragmentHistoryResponse::mutable_next_page_token() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_next_page_token(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetFragmentHistoryResponse.next_page_token) + return _s; +} +inline const std::string& GetFragmentHistoryResponse::_internal_next_page_token() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.next_page_token_.Get(); +} +inline void GetFragmentHistoryResponse::_internal_set_next_page_token(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.next_page_token_.Set(value, GetArena()); +} +inline std::string* GetFragmentHistoryResponse::_internal_mutable_next_page_token() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.next_page_token_.Mutable( GetArena()); +} +inline std::string* GetFragmentHistoryResponse::release_next_page_token() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.GetFragmentHistoryResponse.next_page_token) + return _impl_.next_page_token_.Release(); +} +inline void GetFragmentHistoryResponse::set_allocated_next_page_token(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.next_page_token_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.next_page_token_.IsDefault()) { + _impl_.next_page_token_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetFragmentHistoryResponse.next_page_token) +} + +// ------------------------------------------------------------------- + // ListRobotsRequest // string location_id = 1 [json_name = "locationId"]; @@ -46733,6 +48392,217 @@ inline void ListRobotsRequest::set_allocated_location_id(std::string* value) { // ------------------------------------------------------------------- +// ListMachineFragmentsRequest + +// string machine_id = 1 [json_name = "machineId"]; +inline void ListMachineFragmentsRequest::clear_machine_id() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.machine_id_.ClearToEmpty(); +} +inline const std::string& ListMachineFragmentsRequest::machine_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.ListMachineFragmentsRequest.machine_id) + return _internal_machine_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ListMachineFragmentsRequest::set_machine_id(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.machine_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.ListMachineFragmentsRequest.machine_id) +} +inline std::string* ListMachineFragmentsRequest::mutable_machine_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_machine_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListMachineFragmentsRequest.machine_id) + return _s; +} +inline const std::string& ListMachineFragmentsRequest::_internal_machine_id() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.machine_id_.Get(); +} +inline void ListMachineFragmentsRequest::_internal_set_machine_id(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.machine_id_.Set(value, GetArena()); +} +inline std::string* ListMachineFragmentsRequest::_internal_mutable_machine_id() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.machine_id_.Mutable( GetArena()); +} +inline std::string* ListMachineFragmentsRequest::release_machine_id() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.ListMachineFragmentsRequest.machine_id) + return _impl_.machine_id_.Release(); +} +inline void ListMachineFragmentsRequest::set_allocated_machine_id(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.machine_id_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.machine_id_.IsDefault()) { + _impl_.machine_id_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.ListMachineFragmentsRequest.machine_id) +} + +// repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; +inline int ListMachineFragmentsRequest::_internal_additional_fragment_ids_size() const { + return _internal_additional_fragment_ids().size(); +} +inline int ListMachineFragmentsRequest::additional_fragment_ids_size() const { + return _internal_additional_fragment_ids_size(); +} +inline void ListMachineFragmentsRequest::clear_additional_fragment_ids() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.additional_fragment_ids_.Clear(); +} +inline std::string* ListMachineFragmentsRequest::add_additional_fragment_ids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + std::string* _s = _internal_mutable_additional_fragment_ids()->Add(); + // @@protoc_insertion_point(field_add_mutable:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) + return _s; +} +inline const std::string& ListMachineFragmentsRequest::additional_fragment_ids(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) + return _internal_additional_fragment_ids().Get(index); +} +inline std::string* ListMachineFragmentsRequest::mutable_additional_fragment_ids(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) + return _internal_mutable_additional_fragment_ids()->Mutable(index); +} +inline void ListMachineFragmentsRequest::set_additional_fragment_ids(int index, const std::string& value) { + _internal_mutable_additional_fragment_ids()->Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::set_additional_fragment_ids(int index, std::string&& value) { + _internal_mutable_additional_fragment_ids()->Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::set_additional_fragment_ids(int index, const char* value) { + ABSL_DCHECK(value != nullptr); + _internal_mutable_additional_fragment_ids()->Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::set_additional_fragment_ids(int index, const char* value, + std::size_t size) { + _internal_mutable_additional_fragment_ids()->Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::set_additional_fragment_ids(int index, absl::string_view value) { + _internal_mutable_additional_fragment_ids()->Mutable(index)->assign(value.data(), + value.size()); + // @@protoc_insertion_point(field_set_string_piece:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::add_additional_fragment_ids(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _internal_mutable_additional_fragment_ids()->Add()->assign(value); + // @@protoc_insertion_point(field_add:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::add_additional_fragment_ids(std::string&& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _internal_mutable_additional_fragment_ids()->Add(std::move(value)); + // @@protoc_insertion_point(field_add:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::add_additional_fragment_ids(const char* value) { + ABSL_DCHECK(value != nullptr); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _internal_mutable_additional_fragment_ids()->Add()->assign(value); + // @@protoc_insertion_point(field_add_char:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::add_additional_fragment_ids(const char* value, std::size_t size) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _internal_mutable_additional_fragment_ids()->Add()->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline void ListMachineFragmentsRequest::add_additional_fragment_ids(absl::string_view value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _internal_mutable_additional_fragment_ids()->Add()->assign(value.data(), value.size()); + // @@protoc_insertion_point(field_add_string_piece:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) +} +inline const ::google::protobuf::RepeatedPtrField& +ListMachineFragmentsRequest::additional_fragment_ids() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) + return _internal_additional_fragment_ids(); +} +inline ::google::protobuf::RepeatedPtrField* +ListMachineFragmentsRequest::mutable_additional_fragment_ids() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + return _internal_mutable_additional_fragment_ids(); +} +inline const ::google::protobuf::RepeatedPtrField& +ListMachineFragmentsRequest::_internal_additional_fragment_ids() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.additional_fragment_ids_; +} +inline ::google::protobuf::RepeatedPtrField* +ListMachineFragmentsRequest::_internal_mutable_additional_fragment_ids() { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return &_impl_.additional_fragment_ids_; +} + +// ------------------------------------------------------------------- + +// ListMachineFragmentsResponse + +// repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; +inline int ListMachineFragmentsResponse::_internal_fragments_size() const { + return _internal_fragments().size(); +} +inline int ListMachineFragmentsResponse::fragments_size() const { + return _internal_fragments_size(); +} +inline void ListMachineFragmentsResponse::clear_fragments() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.fragments_.Clear(); +} +inline ::viam::app::v1::Fragment* ListMachineFragmentsResponse::mutable_fragments(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListMachineFragmentsResponse.fragments) + return _internal_mutable_fragments()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::viam::app::v1::Fragment>* ListMachineFragmentsResponse::mutable_fragments() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.ListMachineFragmentsResponse.fragments) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + return _internal_mutable_fragments(); +} +inline const ::viam::app::v1::Fragment& ListMachineFragmentsResponse::fragments(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.ListMachineFragmentsResponse.fragments) + return _internal_fragments().Get(index); +} +inline ::viam::app::v1::Fragment* ListMachineFragmentsResponse::add_fragments() ABSL_ATTRIBUTE_LIFETIME_BOUND { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::viam::app::v1::Fragment* _add = _internal_mutable_fragments()->Add(); + // @@protoc_insertion_point(field_add:viam.app.v1.ListMachineFragmentsResponse.fragments) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::viam::app::v1::Fragment>& ListMachineFragmentsResponse::fragments() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:viam.app.v1.ListMachineFragmentsResponse.fragments) + return _internal_fragments(); +} +inline const ::google::protobuf::RepeatedPtrField<::viam::app::v1::Fragment>& +ListMachineFragmentsResponse::_internal_fragments() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.fragments_; +} +inline ::google::protobuf::RepeatedPtrField<::viam::app::v1::Fragment>* +ListMachineFragmentsResponse::_internal_mutable_fragments() { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return &_impl_.fragments_; +} + +// ------------------------------------------------------------------- + // ListRobotsResponse // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; diff --git a/src/viam/api/app/v1/robot.pb.cc b/src/viam/api/app/v1/robot.pb.cc index 6e5b03e0b..e4feffc5a 100644 --- a/src/viam/api/app/v1/robot.pb.cc +++ b/src/viam/api/app/v1/robot.pb.cc @@ -245,6 +245,30 @@ struct LogResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LogResponseDefaultTypeInternal _LogResponse_default_instance_; +inline constexpr LogPatternConfig::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : pattern_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + level_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR LogPatternConfig::LogPatternConfig(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct LogPatternConfigDefaultTypeInternal { + PROTOBUF_CONSTEXPR LogPatternConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LogPatternConfigDefaultTypeInternal() {} + union { + LogPatternConfig _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LogPatternConfigDefaultTypeInternal _LogPatternConfig_default_instance_; + inline constexpr LogConfiguration::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : level_( @@ -947,6 +971,7 @@ inline constexpr RobotConfig::Impl_::Impl_( modules_{}, packages_{}, overwrite_fragment_status_{}, + log_{}, cloud_{nullptr}, network_{nullptr}, auth_{nullptr}, @@ -989,7 +1014,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT } // namespace v1 } // namespace app } // namespace viam -static ::_pb::Metadata file_level_metadata_app_2fv1_2frobot_2eproto[40]; +static ::_pb::Metadata file_level_metadata_app_2fv1_2frobot_2eproto[41]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_app_2fv1_2frobot_2eproto[1]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_app_2fv1_2frobot_2eproto = nullptr; @@ -1016,6 +1041,7 @@ const ::uint32_t TableStruct_app_2fv1_2frobot_2eproto::offsets[] PROTOBUF_SECTIO PROTOBUF_FIELD_OFFSET(::viam::app::v1::RobotConfig, _impl_.packages_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::RobotConfig, _impl_.overwrite_fragment_status_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::RobotConfig, _impl_.enable_web_profile_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::RobotConfig, _impl_.log_), 0, ~0u, ~0u, @@ -1029,6 +1055,17 @@ const ::uint32_t TableStruct_app_2fv1_2frobot_2eproto::offsets[] PROTOBUF_SECTIO ~0u, ~0u, ~0u, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::LogPatternConfig, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::app::v1::LogPatternConfig, _impl_.pattern_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::LogPatternConfig, _impl_.level_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::LocationSecret, _internal_metadata_), ~0u, // no _extensions_ @@ -1573,50 +1610,52 @@ const ::uint32_t TableStruct_app_2fv1_2frobot_2eproto::offsets[] PROTOBUF_SECTIO static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - {0, 21, -1, sizeof(::viam::app::v1::RobotConfig)}, - {34, -1, -1, sizeof(::viam::app::v1::LocationSecret)}, - {44, -1, -1, sizeof(::viam::app::v1::AppValidationStatus)}, - {53, -1, -1, sizeof(::viam::app::v1::CloudConfig)}, - {73, 91, -1, sizeof(::viam::app::v1::ComponentConfig)}, - {101, 111, -1, sizeof(::viam::app::v1::ResourceLevelServiceConfig)}, - {113, 123, -1, sizeof(::viam::app::v1::ProcessConfig_EnvEntry_DoNotUse)}, - {125, 142, -1, sizeof(::viam::app::v1::ProcessConfig)}, - {151, 168, -1, sizeof(::viam::app::v1::ServiceConfig)}, - {177, 190, -1, sizeof(::viam::app::v1::NetworkConfig)}, - {195, 204, -1, sizeof(::viam::app::v1::SessionsConfig)}, - {205, 216, -1, sizeof(::viam::app::v1::AuthConfig)}, - {219, 228, -1, sizeof(::viam::app::v1::JWKSFile)}, - {229, 238, -1, sizeof(::viam::app::v1::ExternalAuthConfig)}, - {239, 249, -1, sizeof(::viam::app::v1::AuthHandlerConfig)}, - {251, 263, -1, sizeof(::viam::app::v1::Frame)}, - {267, -1, -1, sizeof(::viam::app::v1::LogConfiguration)}, - {276, -1, -1, sizeof(::viam::app::v1::Translation)}, - {287, -1, -1, sizeof(::viam::app::v1::Orientation_NoOrientation)}, - {295, -1, -1, sizeof(::viam::app::v1::Orientation_OrientationVectorRadians)}, - {307, -1, -1, sizeof(::viam::app::v1::Orientation_OrientationVectorDegrees)}, - {319, -1, -1, sizeof(::viam::app::v1::Orientation_EulerAngles)}, - {330, -1, -1, sizeof(::viam::app::v1::Orientation_AxisAngles)}, - {342, -1, -1, sizeof(::viam::app::v1::Orientation_Quaternion)}, - {354, -1, -1, sizeof(::viam::app::v1::Orientation)}, - {369, 387, -1, sizeof(::viam::app::v1::RemoteConfig)}, - {397, -1, -1, sizeof(::viam::app::v1::RemoteAuth_Credentials)}, - {407, 417, -1, sizeof(::viam::app::v1::RemoteAuth)}, - {419, 433, -1, sizeof(::viam::app::v1::AgentInfo)}, - {439, 449, -1, sizeof(::viam::app::v1::ConfigRequest)}, - {451, 460, -1, sizeof(::viam::app::v1::ConfigResponse)}, - {461, -1, -1, sizeof(::viam::app::v1::CertificateRequest)}, - {470, -1, -1, sizeof(::viam::app::v1::CertificateResponse)}, - {481, -1, -1, sizeof(::viam::app::v1::LogRequest)}, - {491, -1, -1, sizeof(::viam::app::v1::LogResponse)}, - {499, -1, -1, sizeof(::viam::app::v1::NeedsRestartRequest)}, - {508, 519, -1, sizeof(::viam::app::v1::NeedsRestartResponse)}, - {522, 532, -1, sizeof(::viam::app::v1::ModuleConfig_EnvEntry_DoNotUse)}, - {534, 549, -1, sizeof(::viam::app::v1::ModuleConfig)}, - {556, 569, -1, sizeof(::viam::app::v1::PackageConfig)}, + {0, 22, -1, sizeof(::viam::app::v1::RobotConfig)}, + {36, -1, -1, sizeof(::viam::app::v1::LogPatternConfig)}, + {46, -1, -1, sizeof(::viam::app::v1::LocationSecret)}, + {56, -1, -1, sizeof(::viam::app::v1::AppValidationStatus)}, + {65, -1, -1, sizeof(::viam::app::v1::CloudConfig)}, + {85, 103, -1, sizeof(::viam::app::v1::ComponentConfig)}, + {113, 123, -1, sizeof(::viam::app::v1::ResourceLevelServiceConfig)}, + {125, 135, -1, sizeof(::viam::app::v1::ProcessConfig_EnvEntry_DoNotUse)}, + {137, 154, -1, sizeof(::viam::app::v1::ProcessConfig)}, + {163, 180, -1, sizeof(::viam::app::v1::ServiceConfig)}, + {189, 202, -1, sizeof(::viam::app::v1::NetworkConfig)}, + {207, 216, -1, sizeof(::viam::app::v1::SessionsConfig)}, + {217, 228, -1, sizeof(::viam::app::v1::AuthConfig)}, + {231, 240, -1, sizeof(::viam::app::v1::JWKSFile)}, + {241, 250, -1, sizeof(::viam::app::v1::ExternalAuthConfig)}, + {251, 261, -1, sizeof(::viam::app::v1::AuthHandlerConfig)}, + {263, 275, -1, sizeof(::viam::app::v1::Frame)}, + {279, -1, -1, sizeof(::viam::app::v1::LogConfiguration)}, + {288, -1, -1, sizeof(::viam::app::v1::Translation)}, + {299, -1, -1, sizeof(::viam::app::v1::Orientation_NoOrientation)}, + {307, -1, -1, sizeof(::viam::app::v1::Orientation_OrientationVectorRadians)}, + {319, -1, -1, sizeof(::viam::app::v1::Orientation_OrientationVectorDegrees)}, + {331, -1, -1, sizeof(::viam::app::v1::Orientation_EulerAngles)}, + {342, -1, -1, sizeof(::viam::app::v1::Orientation_AxisAngles)}, + {354, -1, -1, sizeof(::viam::app::v1::Orientation_Quaternion)}, + {366, -1, -1, sizeof(::viam::app::v1::Orientation)}, + {381, 399, -1, sizeof(::viam::app::v1::RemoteConfig)}, + {409, -1, -1, sizeof(::viam::app::v1::RemoteAuth_Credentials)}, + {419, 429, -1, sizeof(::viam::app::v1::RemoteAuth)}, + {431, 445, -1, sizeof(::viam::app::v1::AgentInfo)}, + {451, 461, -1, sizeof(::viam::app::v1::ConfigRequest)}, + {463, 472, -1, sizeof(::viam::app::v1::ConfigResponse)}, + {473, -1, -1, sizeof(::viam::app::v1::CertificateRequest)}, + {482, -1, -1, sizeof(::viam::app::v1::CertificateResponse)}, + {493, -1, -1, sizeof(::viam::app::v1::LogRequest)}, + {503, -1, -1, sizeof(::viam::app::v1::LogResponse)}, + {511, -1, -1, sizeof(::viam::app::v1::NeedsRestartRequest)}, + {520, 531, -1, sizeof(::viam::app::v1::NeedsRestartResponse)}, + {534, 544, -1, sizeof(::viam::app::v1::ModuleConfig_EnvEntry_DoNotUse)}, + {546, 561, -1, sizeof(::viam::app::v1::ModuleConfig)}, + {568, 581, -1, sizeof(::viam::app::v1::PackageConfig)}, }; static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_RobotConfig_default_instance_._instance, + &::viam::app::v1::_LogPatternConfig_default_instance_._instance, &::viam::app::v1::_LocationSecret_default_instance_._instance, &::viam::app::v1::_AppValidationStatus_default_instance_._instance, &::viam::app::v1::_CloudConfig_default_instance_._instance, @@ -1661,7 +1700,7 @@ const char descriptor_table_protodef_app_2fv1_2frobot_2eproto[] PROTOBUF_SECTION "\n\022app/v1/robot.proto\022\013viam.app.v1\032\026commo" "n/v1/common.proto\032\036google/protobuf/durat" "ion.proto\032\034google/protobuf/struct.proto\032" - "\026tagger/v1/tagger.proto\"\225\006\n\013RobotConfig\022" + "\026tagger/v1/tagger.proto\"\306\006\n\013RobotConfig\022" ".\n\005cloud\030\001 \001(\0132\030.viam.app.v1.CloudConfig" "R\005cloud\0223\n\007remotes\030\002 \003(\0132\031.viam.app.v1.R" "emoteConfigR\007remotes\022<\n\ncomponents\030\003 \003(\013" @@ -1679,172 +1718,175 @@ const char descriptor_table_protodef_app_2fv1_2frobot_2eproto[] PROTOBUF_SECTION "geConfigR\010packages\022\\\n\031overwrite_fragment" "_status\030\014 \003(\0132 .viam.app.v1.AppValidatio" "nStatusR\027overwriteFragmentStatus\022,\n\022enab" - "le_web_profile\030\r \001(\010R\020enableWebProfileB\n" - "\n\010_networkB\007\n\005_authB\010\n\006_debugB\030\n\026_disabl" - "e_partial_start\"8\n\016LocationSecret\022\016\n\002id\030" - "\001 \001(\tR\002id\022\026\n\006secret\030\002 \001(\tR\006secret\"+\n\023App" - "ValidationStatus\022\024\n\005error\030\001 \001(\tR\005error\"\276" - "\003\n\013CloudConfig\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004fqdn\030\002" - " \001(\tR\004fqdn\022\035\n\nlocal_fqdn\030\003 \001(\tR\tlocalFqd" - "n\022\035\n\nmanaged_by\030\004 \001(\tR\tmanagedBy\022+\n\021sign" - "aling_address\030\005 \001(\tR\020signalingAddress\022-\n" - "\022signaling_insecure\030\006 \001(\010R\021signalingInse" - "cure\022+\n\017location_secret\030\007 \001(\tB\002\030\001R\016locat" - "ionSecret\022\026\n\006secret\030\010 \001(\tR\006secret\022F\n\020loc" - "ation_secrets\030\t \003(\0132\033.viam.app.v1.Locati" - "onSecretR\017locationSecrets\022$\n\016primary_org" - "_id\030\n \001(\tR\014primaryOrgId\022\037\n\013location_id\030\013" - " \001(\tR\nlocationId\022\035\n\nmachine_id\030\014 \001(\tR\tma" - "chineId\"\273\003\n\017ComponentConfig\022\022\n\004name\030\001 \001(" - "\tR\004name\022\034\n\tnamespace\030\002 \001(\tR\tnamespace\022\022\n" - "\004type\030\003 \001(\tR\004type\022\024\n\005model\030\004 \001(\tR\005model\022" - "(\n\005frame\030\005 \001(\0132\022.viam.app.v1.FrameR\005fram" - "e\022\035\n\ndepends_on\030\006 \003(\tR\tdependsOn\022l\n\017serv" - "ice_configs\030\007 \003(\0132\'.viam.app.v1.Resource" - "LevelServiceConfigB\032\232\204\236\003\025json:\"service_c" - "onfig\"R\016serviceConfigs\0227\n\nattributes\030\010 \001" - "(\0132\027.google.protobuf.StructR\nattributes\022" - "\020\n\003api\030\t \001(\tR\003api\022J\n\021log_configuration\030\n" - " \001(\0132\035.viam.app.v1.LogConfigurationR\020log" - "Configuration\"i\n\032ResourceLevelServiceCon" - "fig\022\022\n\004type\030\001 \001(\tR\004type\0227\n\nattributes\030\002 " - "\001(\0132\027.google.protobuf.StructR\nattributes" - "\"\324\002\n\rProcessConfig\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004na" - "me\030\002 \001(\tR\004name\022\022\n\004args\030\003 \003(\tR\004args\022\020\n\003cw" - "d\030\004 \001(\tR\003cwd\022\031\n\010one_shot\030\005 \001(\010R\007oneShot\022" - "\020\n\003log\030\006 \001(\010R\003log\022\037\n\013stop_signal\030\007 \001(\005R\n" - "stopSignal\022<\n\014stop_timeout\030\010 \001(\0132\031.googl" - "e.protobuf.DurationR\013stopTimeout\0225\n\003env\030" - "\t \003(\0132#.viam.app.v1.ProcessConfig.EnvEnt" - "ryR\003env\0326\n\010EnvEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n" - "\005value\030\002 \001(\tR\005value:\0028\001\"\217\003\n\rServiceConfi" - "g\022\022\n\004name\030\001 \001(\tR\004name\022\034\n\tnamespace\030\002 \001(\t" - "R\tnamespace\022\022\n\004type\030\003 \001(\tR\004type\0227\n\nattri" - "butes\030\004 \001(\0132\027.google.protobuf.StructR\nat" - "tributes\022\035\n\ndepends_on\030\005 \003(\tR\tdependsOn\022" - "\024\n\005model\030\006 \001(\tR\005model\022\020\n\003api\030\t \001(\tR\003api\022" - "l\n\017service_configs\030\n \003(\0132\'.viam.app.v1.R" - "esourceLevelServiceConfigB\032\232\204\236\003\025json:\"se" - "rvice_config\"R\016serviceConfigs\022J\n\021log_con" - "figuration\030\013 \001(\0132\035.viam.app.v1.LogConfig" - "urationR\020logConfiguration\"\305\001\n\rNetworkCon" - "fig\022\022\n\004fqdn\030\001 \001(\tR\004fqdn\022!\n\014bind_address\030" - "\002 \001(\tR\013bindAddress\022\"\n\rtls_cert_file\030\003 \001(" - "\tR\013tlsCertFile\022 \n\014tls_key_file\030\004 \001(\tR\ntl" - "sKeyFile\0227\n\010sessions\030\005 \001(\0132\033.viam.app.v1" - ".SessionsConfigR\010sessions\"V\n\016SessionsCon" - "fig\022D\n\020heartbeat_window\030\001 \001(\0132\031.google.p" - "rotobuf.DurationR\017heartbeatWindow\"\345\001\n\nAu" - "thConfig\022:\n\010handlers\030\001 \003(\0132\036.viam.app.v1" - ".AuthHandlerConfigR\010handlers\022*\n\021tls_auth" - "_entities\030\002 \003(\tR\017tlsAuthEntities\022V\n\024exte" - "rnal_auth_config\030\003 \001(\0132\037.viam.app.v1.Ext" - "ernalAuthConfigH\000R\022externalAuthConfig\210\001\001" - "B\027\n\025_external_auth_config\"7\n\010JWKSFile\022+\n" - "\004json\030\001 \001(\0132\027.google.protobuf.StructR\004js" - "on\"\?\n\022ExternalAuthConfig\022)\n\004jwks\030\001 \001(\0132\025" - ".viam.app.v1.JWKSFileR\004jwks\"v\n\021AuthHandl" - "erConfig\0220\n\004type\030\001 \001(\0162\034.viam.app.v1.Cre" - "dentialsTypeR\004type\022/\n\006config\030\005 \001(\0132\027.goo" - "gle.protobuf.StructR\006config\"\315\001\n\005Frame\022\026\n" - "\006parent\030\001 \001(\tR\006parent\022:\n\013translation\030\002 \001" - "(\0132\030.viam.app.v1.TranslationR\013translatio" - "n\022:\n\013orientation\030\003 \001(\0132\030.viam.app.v1.Ori" - "entationR\013orientation\0224\n\010geometry\030\004 \001(\0132" - "\030.viam.common.v1.GeometryR\010geometry\"(\n\020L" - "ogConfiguration\022\024\n\005level\030\001 \001(\tR\005level\"7\n" - "\013Translation\022\014\n\001x\030\001 \001(\001R\001x\022\014\n\001y\030\002 \001(\001R\001y" - "\022\014\n\001z\030\003 \001(\001R\001z\"\320\007\n\013Orientation\022O\n\016no_ori" - "entation\030\001 \001(\0132&.viam.app.v1.Orientation" - ".NoOrientationH\000R\rnoOrientation\022Z\n\016vecto" - "r_radians\030\002 \001(\01321.viam.app.v1.Orientatio" - "n.OrientationVectorRadiansH\000R\rvectorRadi" - "ans\022Z\n\016vector_degrees\030\003 \001(\01321.viam.app.v" - "1.Orientation.OrientationVectorDegreesH\000" - "R\rvectorDegrees\022I\n\014euler_angles\030\004 \001(\0132$." - "viam.app.v1.Orientation.EulerAnglesH\000R\013e" - "ulerAngles\022F\n\013axis_angles\030\005 \001(\0132#.viam.a" - "pp.v1.Orientation.AxisAnglesH\000R\naxisAngl" - "es\022E\n\nquaternion\030\006 \001(\0132#.viam.app.v1.Ori" - "entation.QuaternionH\000R\nquaternion\032\017\n\rNoO" - "rientation\032j\n\030OrientationVectorRadians\022$" - "\n\005theta\030\001 \001(\001B\016\232\204\236\003\tjson:\"th\"R\005theta\022\014\n\001" - "x\030\002 \001(\001R\001x\022\014\n\001y\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001z\032j" - "\n\030OrientationVectorDegrees\022$\n\005theta\030\001 \001(" - "\001B\016\232\204\236\003\tjson:\"th\"R\005theta\022\014\n\001x\030\002 \001(\001R\001x\022\014" - "\n\001y\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001z\032I\n\013EulerAngle" - "s\022\022\n\004roll\030\001 \001(\001R\004roll\022\024\n\005pitch\030\002 \001(\001R\005pi" - "tch\022\020\n\003yaw\030\003 \001(\001R\003yaw\032\\\n\nAxisAngles\022$\n\005t" + "le_web_profile\030\r \001(\010R\020enableWebProfile\022/" + "\n\003log\030\016 \003(\0132\035.viam.app.v1.LogPatternConf" + "igR\003logB\n\n\010_networkB\007\n\005_authB\010\n\006_debugB\030" + "\n\026_disable_partial_start\"B\n\020LogPatternCo" + "nfig\022\030\n\007pattern\030\001 \001(\tR\007pattern\022\024\n\005level\030" + "\002 \001(\tR\005level\"8\n\016LocationSecret\022\016\n\002id\030\001 \001" + "(\tR\002id\022\026\n\006secret\030\002 \001(\tR\006secret\"+\n\023AppVal" + "idationStatus\022\024\n\005error\030\001 \001(\tR\005error\"\276\003\n\013" + "CloudConfig\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004fqdn\030\002 \001(" + "\tR\004fqdn\022\035\n\nlocal_fqdn\030\003 \001(\tR\tlocalFqdn\022\035" + "\n\nmanaged_by\030\004 \001(\tR\tmanagedBy\022+\n\021signali" + "ng_address\030\005 \001(\tR\020signalingAddress\022-\n\022si" + "gnaling_insecure\030\006 \001(\010R\021signalingInsecur" + "e\022+\n\017location_secret\030\007 \001(\tB\002\030\001R\016location" + "Secret\022\026\n\006secret\030\010 \001(\tR\006secret\022F\n\020locati" + "on_secrets\030\t \003(\0132\033.viam.app.v1.LocationS" + "ecretR\017locationSecrets\022$\n\016primary_org_id" + "\030\n \001(\tR\014primaryOrgId\022\037\n\013location_id\030\013 \001(" + "\tR\nlocationId\022\035\n\nmachine_id\030\014 \001(\tR\tmachi" + "neId\"\273\003\n\017ComponentConfig\022\022\n\004name\030\001 \001(\tR\004" + "name\022\034\n\tnamespace\030\002 \001(\tR\tnamespace\022\022\n\004ty" + "pe\030\003 \001(\tR\004type\022\024\n\005model\030\004 \001(\tR\005model\022(\n\005" + "frame\030\005 \001(\0132\022.viam.app.v1.FrameR\005frame\022\035" + "\n\ndepends_on\030\006 \003(\tR\tdependsOn\022l\n\017service" + "_configs\030\007 \003(\0132\'.viam.app.v1.ResourceLev" + "elServiceConfigB\032\232\204\236\003\025json:\"service_conf" + "ig\"R\016serviceConfigs\0227\n\nattributes\030\010 \001(\0132" + "\027.google.protobuf.StructR\nattributes\022\020\n\003" + "api\030\t \001(\tR\003api\022J\n\021log_configuration\030\n \001(" + "\0132\035.viam.app.v1.LogConfigurationR\020logCon" + "figuration\"i\n\032ResourceLevelServiceConfig" + "\022\022\n\004type\030\001 \001(\tR\004type\0227\n\nattributes\030\002 \001(\013" + "2\027.google.protobuf.StructR\nattributes\"\324\002" + "\n\rProcessConfig\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030" + "\002 \001(\tR\004name\022\022\n\004args\030\003 \003(\tR\004args\022\020\n\003cwd\030\004" + " \001(\tR\003cwd\022\031\n\010one_shot\030\005 \001(\010R\007oneShot\022\020\n\003" + "log\030\006 \001(\010R\003log\022\037\n\013stop_signal\030\007 \001(\005R\nsto" + "pSignal\022<\n\014stop_timeout\030\010 \001(\0132\031.google.p" + "rotobuf.DurationR\013stopTimeout\0225\n\003env\030\t \003" + "(\0132#.viam.app.v1.ProcessConfig.EnvEntryR" + "\003env\0326\n\010EnvEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n\005va" + "lue\030\002 \001(\tR\005value:\0028\001\"\217\003\n\rServiceConfig\022\022" + "\n\004name\030\001 \001(\tR\004name\022\034\n\tnamespace\030\002 \001(\tR\tn" + "amespace\022\022\n\004type\030\003 \001(\tR\004type\0227\n\nattribut" + "es\030\004 \001(\0132\027.google.protobuf.StructR\nattri" + "butes\022\035\n\ndepends_on\030\005 \003(\tR\tdependsOn\022\024\n\005" + "model\030\006 \001(\tR\005model\022\020\n\003api\030\t \001(\tR\003api\022l\n\017" + "service_configs\030\n \003(\0132\'.viam.app.v1.Reso" + "urceLevelServiceConfigB\032\232\204\236\003\025json:\"servi" + "ce_config\"R\016serviceConfigs\022J\n\021log_config" + "uration\030\013 \001(\0132\035.viam.app.v1.LogConfigura" + "tionR\020logConfiguration\"\305\001\n\rNetworkConfig" + "\022\022\n\004fqdn\030\001 \001(\tR\004fqdn\022!\n\014bind_address\030\002 \001" + "(\tR\013bindAddress\022\"\n\rtls_cert_file\030\003 \001(\tR\013" + "tlsCertFile\022 \n\014tls_key_file\030\004 \001(\tR\ntlsKe" + "yFile\0227\n\010sessions\030\005 \001(\0132\033.viam.app.v1.Se" + "ssionsConfigR\010sessions\"V\n\016SessionsConfig" + "\022D\n\020heartbeat_window\030\001 \001(\0132\031.google.prot" + "obuf.DurationR\017heartbeatWindow\"\345\001\n\nAuthC" + "onfig\022:\n\010handlers\030\001 \003(\0132\036.viam.app.v1.Au" + "thHandlerConfigR\010handlers\022*\n\021tls_auth_en" + "tities\030\002 \003(\tR\017tlsAuthEntities\022V\n\024externa" + "l_auth_config\030\003 \001(\0132\037.viam.app.v1.Extern" + "alAuthConfigH\000R\022externalAuthConfig\210\001\001B\027\n" + "\025_external_auth_config\"7\n\010JWKSFile\022+\n\004js" + "on\030\001 \001(\0132\027.google.protobuf.StructR\004json\"" + "\?\n\022ExternalAuthConfig\022)\n\004jwks\030\001 \001(\0132\025.vi" + "am.app.v1.JWKSFileR\004jwks\"v\n\021AuthHandlerC" + "onfig\0220\n\004type\030\001 \001(\0162\034.viam.app.v1.Creden" + "tialsTypeR\004type\022/\n\006config\030\005 \001(\0132\027.google" + ".protobuf.StructR\006config\"\315\001\n\005Frame\022\026\n\006pa" + "rent\030\001 \001(\tR\006parent\022:\n\013translation\030\002 \001(\0132" + "\030.viam.app.v1.TranslationR\013translation\022:" + "\n\013orientation\030\003 \001(\0132\030.viam.app.v1.Orient" + "ationR\013orientation\0224\n\010geometry\030\004 \001(\0132\030.v" + "iam.common.v1.GeometryR\010geometry\"(\n\020LogC" + "onfiguration\022\024\n\005level\030\001 \001(\tR\005level\"7\n\013Tr" + "anslation\022\014\n\001x\030\001 \001(\001R\001x\022\014\n\001y\030\002 \001(\001R\001y\022\014\n" + "\001z\030\003 \001(\001R\001z\"\320\007\n\013Orientation\022O\n\016no_orient" + "ation\030\001 \001(\0132&.viam.app.v1.Orientation.No" + "OrientationH\000R\rnoOrientation\022Z\n\016vector_r" + "adians\030\002 \001(\01321.viam.app.v1.Orientation.O" + "rientationVectorRadiansH\000R\rvectorRadians" + "\022Z\n\016vector_degrees\030\003 \001(\01321.viam.app.v1.O" + "rientation.OrientationVectorDegreesH\000R\rv" + "ectorDegrees\022I\n\014euler_angles\030\004 \001(\0132$.via" + "m.app.v1.Orientation.EulerAnglesH\000R\013eule" + "rAngles\022F\n\013axis_angles\030\005 \001(\0132#.viam.app." + "v1.Orientation.AxisAnglesH\000R\naxisAngles\022" + "E\n\nquaternion\030\006 \001(\0132#.viam.app.v1.Orient" + "ation.QuaternionH\000R\nquaternion\032\017\n\rNoOrie" + "ntation\032j\n\030OrientationVectorRadians\022$\n\005t" "heta\030\001 \001(\001B\016\232\204\236\003\tjson:\"th\"R\005theta\022\014\n\001x\030\002" - " \001(\001R\001x\022\014\n\001y\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001z\032D\n\nQ" - "uaternion\022\014\n\001w\030\001 \001(\001R\001w\022\014\n\001x\030\002 \001(\001R\001x\022\014\n" - "\001y\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001zB\006\n\004type\"\365\003\n\014Re" - "moteConfig\022\022\n\004name\030\001 \001(\tR\004name\022\030\n\007addres" - "s\030\002 \001(\tR\007address\022(\n\005frame\030\003 \001(\0132\022.viam.a" - "pp.v1.FrameR\005frame\022+\n\004auth\030\004 \001(\0132\027.viam." - "app.v1.RemoteAuthR\004auth\022\035\n\nmanaged_by\030\005 " - "\001(\tR\tmanagedBy\022\032\n\010insecure\030\006 \001(\010R\010insecu" - "re\022U\n\031connection_check_interval\030\007 \001(\0132\031." - "google.protobuf.DurationR\027connectionChec" - "kInterval\022H\n\022reconnect_interval\030\010 \001(\0132\031." - "google.protobuf.DurationR\021reconnectInter" - "val\022l\n\017service_configs\030\t \003(\0132\'.viam.app." - "v1.ResourceLevelServiceConfigB\032\232\204\236\003\025json" - ":\"service_config\"R\016serviceConfigs\022\026\n\006sec" - "ret\030\n \001(\tR\006secret\"\306\001\n\nRemoteAuth\022E\n\013cred" - "entials\030\001 \001(\0132#.viam.app.v1.RemoteAuth.C" - "redentialsR\013credentials\022\026\n\006entity\030\002 \001(\tR" - "\006entity\032Y\n\013Credentials\0220\n\004type\030\001 \001(\0162\034.v" - "iam.app.v1.CredentialsTypeR\004type\022\030\n\007payl" - "oad\030\002 \001(\tR\007payload\"\254\001\n\tAgentInfo\022\022\n\004host" - "\030\001 \001(\tR\004host\022\016\n\002os\030\002 \001(\tR\002os\022\020\n\003ips\030\003 \003(" - "\tR\003ips\022\030\n\007version\030\004 \001(\tR\007version\022!\n\014git_" - "revision\030\005 \001(\tR\013gitRevision\022\037\n\010platform\030" - "\006 \001(\tH\000R\010platform\210\001\001B\013\n\t_platform\"j\n\rCon" - "figRequest\022\016\n\002id\030\001 \001(\tR\002id\022:\n\nagent_info" - "\030\002 \001(\0132\026.viam.app.v1.AgentInfoH\000R\tagentI" - "nfo\210\001\001B\r\n\013_agent_info\"B\n\016ConfigResponse\022" - "0\n\006config\030\001 \001(\0132\030.viam.app.v1.RobotConfi" - "gR\006config\"$\n\022CertificateRequest\022\016\n\002id\030\001 " - "\001(\tR\002id\"v\n\023CertificateResponse\022\016\n\002id\030\001 \001" - "(\tR\002id\022\'\n\017tls_certificate\030\002 \001(\tR\016tlsCert" - "ificate\022&\n\017tls_private_key\030\003 \001(\tR\rtlsPri" - "vateKey\"J\n\nLogRequest\022\016\n\002id\030\001 \001(\tR\002id\022,\n" - "\004logs\030\002 \003(\0132\030.viam.common.v1.LogEntryR\004l" - "ogs\"\r\n\013LogResponse\"%\n\023NeedsRestartReques" - "t\022\016\n\002id\030\001 \001(\tR\002id\"\232\001\n\024NeedsRestartRespon" - "se\022\016\n\002id\030\001 \001(\tR\002id\022!\n\014must_restart\030\002 \001(\010" - "R\013mustRestart\022O\n\026restart_check_interval\030" - "\003 \001(\0132\031.google.protobuf.DurationR\024restar" - "tCheckInterval\"\254\002\n\014ModuleConfig\022\022\n\004name\030" - "\001 \001(\tR\004name\022\022\n\004path\030\002 \001(\tR\004path\022\033\n\tlog_l" - "evel\030\003 \001(\tR\010logLevel\022\022\n\004type\030\004 \001(\tR\004type" - "\022\033\n\tmodule_id\030\005 \001(\tR\010moduleId\0224\n\003env\030\006 \003" - "(\0132\".viam.app.v1.ModuleConfig.EnvEntryR\003" - "env\0228\n\006status\030\007 \001(\0132 .viam.app.v1.AppVal" - "idationStatusR\006status\0326\n\010EnvEntry\022\020\n\003key" - "\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\"\245\001" - "\n\rPackageConfig\022\022\n\004name\030\001 \001(\tR\004name\022\030\n\007p" - "ackage\030\002 \001(\tR\007package\022\030\n\007version\030\003 \001(\tR\007" - "version\022\022\n\004type\030\004 \001(\tR\004type\0228\n\006status\030\005 " - "\001(\0132 .viam.app.v1.AppValidationStatusR\006s" - "tatus*\277\001\n\017CredentialsType\022 \n\034CREDENTIALS" - "_TYPE_UNSPECIFIED\020\000\022\035\n\031CREDENTIALS_TYPE_" - "INTERNAL\020\001\022\034\n\030CREDENTIALS_TYPE_API_KEY\020\002" - "\022!\n\035CREDENTIALS_TYPE_ROBOT_SECRET\020\003\022*\n&C" - "REDENTIALS_TYPE_ROBOT_LOCATION_SECRET\020\0042" - "\262\002\n\014RobotService\022A\n\006Config\022\032.viam.app.v1" - ".ConfigRequest\032\033.viam.app.v1.ConfigRespo" - "nse\022P\n\013Certificate\022\037.viam.app.v1.Certifi" - "cateRequest\032 .viam.app.v1.CertificateRes" - "ponse\0228\n\003Log\022\027.viam.app.v1.LogRequest\032\030." - "viam.app.v1.LogResponse\022S\n\014NeedsRestart\022" - " .viam.app.v1.NeedsRestartRequest\032!.viam" - ".app.v1.NeedsRestartResponseB\203\001\n\017com.via" - "m.app.v1B\nRobotProtoP\001Z\026go.viam.com/api/" - "app/v1\242\002\003VAX\252\002\013Viam.App.V1\312\002\013Viam\\App\\V1" - "\342\002\027Viam\\App\\V1\\GPBMetadata\352\002\rViam::App::" - "V1b\006proto3" + " \001(\001R\001x\022\014\n\001y\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001z\032j\n\030O" + "rientationVectorDegrees\022$\n\005theta\030\001 \001(\001B\016" + "\232\204\236\003\tjson:\"th\"R\005theta\022\014\n\001x\030\002 \001(\001R\001x\022\014\n\001y" + "\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001z\032I\n\013EulerAngles\022\022" + "\n\004roll\030\001 \001(\001R\004roll\022\024\n\005pitch\030\002 \001(\001R\005pitch" + "\022\020\n\003yaw\030\003 \001(\001R\003yaw\032\\\n\nAxisAngles\022$\n\005thet" + "a\030\001 \001(\001B\016\232\204\236\003\tjson:\"th\"R\005theta\022\014\n\001x\030\002 \001(" + "\001R\001x\022\014\n\001y\030\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001z\032D\n\nQuat" + "ernion\022\014\n\001w\030\001 \001(\001R\001w\022\014\n\001x\030\002 \001(\001R\001x\022\014\n\001y\030" + "\003 \001(\001R\001y\022\014\n\001z\030\004 \001(\001R\001zB\006\n\004type\"\365\003\n\014Remot" + "eConfig\022\022\n\004name\030\001 \001(\tR\004name\022\030\n\007address\030\002" + " \001(\tR\007address\022(\n\005frame\030\003 \001(\0132\022.viam.app." + "v1.FrameR\005frame\022+\n\004auth\030\004 \001(\0132\027.viam.app" + ".v1.RemoteAuthR\004auth\022\035\n\nmanaged_by\030\005 \001(\t" + "R\tmanagedBy\022\032\n\010insecure\030\006 \001(\010R\010insecure\022" + "U\n\031connection_check_interval\030\007 \001(\0132\031.goo" + "gle.protobuf.DurationR\027connectionCheckIn" + "terval\022H\n\022reconnect_interval\030\010 \001(\0132\031.goo" + "gle.protobuf.DurationR\021reconnectInterval" + "\022l\n\017service_configs\030\t \003(\0132\'.viam.app.v1." + "ResourceLevelServiceConfigB\032\232\204\236\003\025json:\"s" + "ervice_config\"R\016serviceConfigs\022\026\n\006secret" + "\030\n \001(\tR\006secret\"\306\001\n\nRemoteAuth\022E\n\013credent" + "ials\030\001 \001(\0132#.viam.app.v1.RemoteAuth.Cred" + "entialsR\013credentials\022\026\n\006entity\030\002 \001(\tR\006en" + "tity\032Y\n\013Credentials\0220\n\004type\030\001 \001(\0162\034.viam" + ".app.v1.CredentialsTypeR\004type\022\030\n\007payload" + "\030\002 \001(\tR\007payload\"\254\001\n\tAgentInfo\022\022\n\004host\030\001 " + "\001(\tR\004host\022\016\n\002os\030\002 \001(\tR\002os\022\020\n\003ips\030\003 \003(\tR\003" + "ips\022\030\n\007version\030\004 \001(\tR\007version\022!\n\014git_rev" + "ision\030\005 \001(\tR\013gitRevision\022\037\n\010platform\030\006 \001" + "(\tH\000R\010platform\210\001\001B\013\n\t_platform\"j\n\rConfig" + "Request\022\016\n\002id\030\001 \001(\tR\002id\022:\n\nagent_info\030\002 " + "\001(\0132\026.viam.app.v1.AgentInfoH\000R\tagentInfo" + "\210\001\001B\r\n\013_agent_info\"B\n\016ConfigResponse\0220\n\006" + "config\030\001 \001(\0132\030.viam.app.v1.RobotConfigR\006" + "config\"$\n\022CertificateRequest\022\016\n\002id\030\001 \001(\t" + "R\002id\"v\n\023CertificateResponse\022\016\n\002id\030\001 \001(\tR" + "\002id\022\'\n\017tls_certificate\030\002 \001(\tR\016tlsCertifi" + "cate\022&\n\017tls_private_key\030\003 \001(\tR\rtlsPrivat" + "eKey\"J\n\nLogRequest\022\016\n\002id\030\001 \001(\tR\002id\022,\n\004lo" + "gs\030\002 \003(\0132\030.viam.common.v1.LogEntryR\004logs" + "\"\r\n\013LogResponse\"%\n\023NeedsRestartRequest\022\016" + "\n\002id\030\001 \001(\tR\002id\"\232\001\n\024NeedsRestartResponse\022" + "\016\n\002id\030\001 \001(\tR\002id\022!\n\014must_restart\030\002 \001(\010R\013m" + "ustRestart\022O\n\026restart_check_interval\030\003 \001" + "(\0132\031.google.protobuf.DurationR\024restartCh" + "eckInterval\"\254\002\n\014ModuleConfig\022\022\n\004name\030\001 \001" + "(\tR\004name\022\022\n\004path\030\002 \001(\tR\004path\022\033\n\tlog_leve" + "l\030\003 \001(\tR\010logLevel\022\022\n\004type\030\004 \001(\tR\004type\022\033\n" + "\tmodule_id\030\005 \001(\tR\010moduleId\0224\n\003env\030\006 \003(\0132" + "\".viam.app.v1.ModuleConfig.EnvEntryR\003env" + "\0228\n\006status\030\007 \001(\0132 .viam.app.v1.AppValida" + "tionStatusR\006status\0326\n\010EnvEntry\022\020\n\003key\030\001 " + "\001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\"\245\001\n\rP" + "ackageConfig\022\022\n\004name\030\001 \001(\tR\004name\022\030\n\007pack" + "age\030\002 \001(\tR\007package\022\030\n\007version\030\003 \001(\tR\007ver" + "sion\022\022\n\004type\030\004 \001(\tR\004type\0228\n\006status\030\005 \001(\013" + "2 .viam.app.v1.AppValidationStatusR\006stat" + "us*\277\001\n\017CredentialsType\022 \n\034CREDENTIALS_TY" + "PE_UNSPECIFIED\020\000\022\035\n\031CREDENTIALS_TYPE_INT" + "ERNAL\020\001\022\034\n\030CREDENTIALS_TYPE_API_KEY\020\002\022!\n" + "\035CREDENTIALS_TYPE_ROBOT_SECRET\020\003\022*\n&CRED" + "ENTIALS_TYPE_ROBOT_LOCATION_SECRET\020\0042\262\002\n" + "\014RobotService\022A\n\006Config\022\032.viam.app.v1.Co" + "nfigRequest\032\033.viam.app.v1.ConfigResponse" + "\022P\n\013Certificate\022\037.viam.app.v1.Certificat" + "eRequest\032 .viam.app.v1.CertificateRespon" + "se\0228\n\003Log\022\027.viam.app.v1.LogRequest\032\030.via" + "m.app.v1.LogResponse\022S\n\014NeedsRestart\022 .v" + "iam.app.v1.NeedsRestartRequest\032!.viam.ap" + "p.v1.NeedsRestartResponseB\203\001\n\017com.viam.a" + "pp.v1B\nRobotProtoP\001Z\026go.viam.com/api/app" + "/v1\242\002\003VAX\252\002\013Viam.App.V1\312\002\013Viam\\App\\V1\342\002\027" + "Viam\\App\\V1\\GPBMetadata\352\002\rViam::App::V1b" + "\006proto3" }; static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2frobot_2eproto_deps[4] = { @@ -1857,13 +1899,13 @@ static ::absl::once_flag descriptor_table_app_2fv1_2frobot_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_app_2fv1_2frobot_2eproto = { false, false, - 7450, + 7567, descriptor_table_protodef_app_2fv1_2frobot_2eproto, "app/v1/robot.proto", &descriptor_table_app_2fv1_2frobot_2eproto_once, descriptor_table_app_2fv1_2frobot_2eproto_deps, 4, - 40, + 41, schemas, file_default_instances, TableStruct_app_2fv1_2frobot_2eproto::offsets, @@ -1953,7 +1995,8 @@ inline PROTOBUF_NDEBUG_INLINE RobotConfig::Impl_::Impl_( services_{visibility, arena, from.services_}, modules_{visibility, arena, from.modules_}, packages_{visibility, arena, from.packages_}, - overwrite_fragment_status_{visibility, arena, from.overwrite_fragment_status_} {} + overwrite_fragment_status_{visibility, arena, from.overwrite_fragment_status_}, + log_{visibility, arena, from.log_} {} RobotConfig::RobotConfig( ::google::protobuf::Arena* arena, @@ -1994,7 +2037,8 @@ inline PROTOBUF_NDEBUG_INLINE RobotConfig::Impl_::Impl_( services_{visibility, arena}, modules_{visibility, arena}, packages_{visibility, arena}, - overwrite_fragment_status_{visibility, arena} {} + overwrite_fragment_status_{visibility, arena}, + log_{visibility, arena} {} inline void RobotConfig::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); @@ -2032,6 +2076,7 @@ PROTOBUF_NOINLINE void RobotConfig::Clear() { _impl_.modules_.Clear(); _impl_.packages_.Clear(); _impl_.overwrite_fragment_status_.Clear(); + _impl_.log_.Clear(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000007u) { if (cached_has_bits & 0x00000001u) { @@ -2063,16 +2108,16 @@ const char* RobotConfig::_InternalParse( PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 13, 10, 0, 2> RobotConfig::_table_ = { +const ::_pbi::TcParseTable<4, 14, 11, 0, 2> RobotConfig::_table_ = { { PROTOBUF_FIELD_OFFSET(RobotConfig, _impl_._has_bits_), 0, // no _extensions_ - 13, 120, // max_field_number, fast_idx_mask + 14, 120, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294959104, // skipmap + 4294950912, // skipmap offsetof(decltype(_table_), field_entries), - 13, // num_field_entries - 10, // num_aux_entries + 14, // num_field_entries + 11, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_RobotConfig_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback @@ -2117,7 +2162,9 @@ const ::_pbi::TcParseTable<4, 13, 10, 0, 2> RobotConfig::_table_ = { // bool enable_web_profile = 13 [json_name = "enableWebProfile"]; {::_pbi::TcParser::SingularVarintNoZag1(), {104, 63, 0, PROTOBUF_FIELD_OFFSET(RobotConfig, _impl_.enable_web_profile_)}}, - {::_pbi::TcParser::MiniParse, {}}, + // repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"]; + {::_pbi::TcParser::FastMtR1, + {114, 63, 10, PROTOBUF_FIELD_OFFSET(RobotConfig, _impl_.log_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 @@ -2161,6 +2208,9 @@ const ::_pbi::TcParseTable<4, 13, 10, 0, 2> RobotConfig::_table_ = { // bool enable_web_profile = 13 [json_name = "enableWebProfile"]; {PROTOBUF_FIELD_OFFSET(RobotConfig, _impl_.enable_web_profile_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"]; + {PROTOBUF_FIELD_OFFSET(RobotConfig, _impl_.log_), -1, 10, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::viam::app::v1::CloudConfig>()}, {::_pbi::TcParser::GetTable<::viam::app::v1::RemoteConfig>()}, @@ -2172,6 +2222,7 @@ const ::_pbi::TcParseTable<4, 13, 10, 0, 2> RobotConfig::_table_ = { {::_pbi::TcParser::GetTable<::viam::app::v1::ModuleConfig>()}, {::_pbi::TcParser::GetTable<::viam::app::v1::PackageConfig>()}, {::_pbi::TcParser::GetTable<::viam::app::v1::AppValidationStatus>()}, + {::_pbi::TcParser::GetTable<::viam::app::v1::LogPatternConfig>()}, }}, {{ }}, }; @@ -2282,6 +2333,14 @@ ::uint8_t* RobotConfig::_InternalSerialize( 13, this->_internal_enable_web_profile(), target); } + // repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"]; + for (unsigned i = 0, + n = static_cast(this->_internal_log_size()); i < n; i++) { + const auto& repfield = this->_internal_log().Get(i); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessage(14, repfield, repfield.GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -2341,6 +2400,12 @@ ::size_t RobotConfig::ByteSizeLong() const { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } + // repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"]; + total_size += 1UL * this->_internal_log_size(); + for (const auto& msg : this->_internal_log()) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x0000001fu) { // .viam.app.v1.CloudConfig cloud = 1 [json_name = "cloud"]; @@ -2410,6 +2475,8 @@ void RobotConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google: from._internal_packages()); _this->_internal_mutable_overwrite_fragment_status()->MergeFrom( from._internal_overwrite_fragment_status()); + _this->_internal_mutable_log()->MergeFrom( + from._internal_log()); cached_has_bits = from._impl_._has_bits_[0]; if (cached_has_bits & 0x0000001fu) { if (cached_has_bits & 0x00000001u) { @@ -2463,6 +2530,7 @@ void RobotConfig::InternalSwap(RobotConfig* PROTOBUF_RESTRICT other) { _impl_.modules_.InternalSwap(&other->_impl_.modules_); _impl_.packages_.InternalSwap(&other->_impl_.packages_); _impl_.overwrite_fragment_status_.InternalSwap(&other->_impl_.overwrite_fragment_status_); + _impl_.log_.InternalSwap(&other->_impl_.log_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(RobotConfig, _impl_.enable_web_profile_) + sizeof(RobotConfig::_impl_.enable_web_profile_) @@ -2478,6 +2546,225 @@ ::google::protobuf::Metadata RobotConfig::GetMetadata() const { } // =================================================================== +class LogPatternConfig::_Internal { + public: +}; + +LogPatternConfig::LogPatternConfig(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.LogPatternConfig) +} +inline PROTOBUF_NDEBUG_INLINE LogPatternConfig::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : pattern_(arena, from.pattern_), + level_(arena, from.level_), + _cached_size_{0} {} + +LogPatternConfig::LogPatternConfig( + ::google::protobuf::Arena* arena, + const LogPatternConfig& from) + : ::google::protobuf::Message(arena) { + LogPatternConfig* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + + // @@protoc_insertion_point(copy_constructor:viam.app.v1.LogPatternConfig) +} +inline PROTOBUF_NDEBUG_INLINE LogPatternConfig::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : pattern_(arena), + level_(arena), + _cached_size_{0} {} + +inline void LogPatternConfig::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +LogPatternConfig::~LogPatternConfig() { + // @@protoc_insertion_point(destructor:viam.app.v1.LogPatternConfig) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void LogPatternConfig::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.pattern_.Destroy(); + _impl_.level_.Destroy(); + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void LogPatternConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.LogPatternConfig) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.pattern_.ClearToEmpty(); + _impl_.level_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* LogPatternConfig::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 49, 2> LogPatternConfig::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + &_LogPatternConfig_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + // string level = 2 [json_name = "level"]; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(LogPatternConfig, _impl_.level_)}}, + // string pattern = 1 [json_name = "pattern"]; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(LogPatternConfig, _impl_.pattern_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string pattern = 1 [json_name = "pattern"]; + {PROTOBUF_FIELD_OFFSET(LogPatternConfig, _impl_.pattern_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string level = 2 [json_name = "level"]; + {PROTOBUF_FIELD_OFFSET(LogPatternConfig, _impl_.level_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\34\7\5\0\0\0\0\0" + "viam.app.v1.LogPatternConfig" + "pattern" + "level" + }}, +}; + +::uint8_t* LogPatternConfig::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.LogPatternConfig) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string pattern = 1 [json_name = "pattern"]; + if (!this->_internal_pattern().empty()) { + const std::string& _s = this->_internal_pattern(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.LogPatternConfig.pattern"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string level = 2 [json_name = "level"]; + if (!this->_internal_level().empty()) { + const std::string& _s = this->_internal_level(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "viam.app.v1.LogPatternConfig.level"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.LogPatternConfig) + return target; +} + +::size_t LogPatternConfig::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.LogPatternConfig) + ::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 pattern = 1 [json_name = "pattern"]; + if (!this->_internal_pattern().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_pattern()); + } + + // string level = 2 [json_name = "level"]; + if (!this->_internal_level().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData LogPatternConfig::_class_data_ = { + LogPatternConfig::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* LogPatternConfig::GetClassData() const { + return &_class_data_; +} + +void LogPatternConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.LogPatternConfig) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_pattern().empty()) { + _this->_internal_set_pattern(from._internal_pattern()); + } + if (!from._internal_level().empty()) { + _this->_internal_set_level(from._internal_level()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void LogPatternConfig::CopyFrom(const LogPatternConfig& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.LogPatternConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool LogPatternConfig::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* LogPatternConfig::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void LogPatternConfig::InternalSwap(LogPatternConfig* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pattern_, &other->_impl_.pattern_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.level_, &other->_impl_.level_, arena); +} + +::google::protobuf::Metadata LogPatternConfig::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, + file_level_metadata_app_2fv1_2frobot_2eproto[1]); +} +// =================================================================== + class LocationSecret::_Internal { public: }; @@ -2693,7 +2980,7 @@ void LocationSecret::InternalSwap(LocationSecret* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata LocationSecret::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[1]); + file_level_metadata_app_2fv1_2frobot_2eproto[2]); } // =================================================================== @@ -2883,7 +3170,7 @@ void AppValidationStatus::InternalSwap(AppValidationStatus* PROTOBUF_RESTRICT ot ::google::protobuf::Metadata AppValidationStatus::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[2]); + file_level_metadata_app_2fv1_2frobot_2eproto[3]); } // =================================================================== @@ -3389,7 +3676,7 @@ void CloudConfig::InternalSwap(CloudConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata CloudConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[3]); + file_level_metadata_app_2fv1_2frobot_2eproto[4]); } // =================================================================== @@ -3904,7 +4191,7 @@ void ComponentConfig::InternalSwap(ComponentConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata ComponentConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[4]); + file_level_metadata_app_2fv1_2frobot_2eproto[5]); } // =================================================================== @@ -4149,7 +4436,7 @@ void ResourceLevelServiceConfig::InternalSwap(ResourceLevelServiceConfig* PROTOB ::google::protobuf::Metadata ResourceLevelServiceConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[5]); + file_level_metadata_app_2fv1_2frobot_2eproto[6]); } // =================================================================== @@ -4159,7 +4446,7 @@ ProcessConfig_EnvEntry_DoNotUse::ProcessConfig_EnvEntry_DoNotUse(::google::proto ::google::protobuf::Metadata ProcessConfig_EnvEntry_DoNotUse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[6]); + file_level_metadata_app_2fv1_2frobot_2eproto[7]); } // =================================================================== @@ -4625,7 +4912,7 @@ void ProcessConfig::InternalSwap(ProcessConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata ProcessConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[7]); + file_level_metadata_app_2fv1_2frobot_2eproto[8]); } // =================================================================== @@ -5102,7 +5389,7 @@ void ServiceConfig::InternalSwap(ServiceConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata ServiceConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[8]); + file_level_metadata_app_2fv1_2frobot_2eproto[9]); } // =================================================================== @@ -5432,7 +5719,7 @@ void NetworkConfig::InternalSwap(NetworkConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata NetworkConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[9]); + file_level_metadata_app_2fv1_2frobot_2eproto[10]); } // =================================================================== @@ -5644,7 +5931,7 @@ void SessionsConfig::InternalSwap(SessionsConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata SessionsConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[10]); + file_level_metadata_app_2fv1_2frobot_2eproto[11]); } // =================================================================== @@ -5907,7 +6194,7 @@ void AuthConfig::InternalSwap(AuthConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata AuthConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[11]); + file_level_metadata_app_2fv1_2frobot_2eproto[12]); } // =================================================================== @@ -6119,7 +6406,7 @@ void JWKSFile::InternalSwap(JWKSFile* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata JWKSFile::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[12]); + file_level_metadata_app_2fv1_2frobot_2eproto[13]); } // =================================================================== @@ -6326,7 +6613,7 @@ void ExternalAuthConfig::InternalSwap(ExternalAuthConfig* PROTOBUF_RESTRICT othe ::google::protobuf::Metadata ExternalAuthConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[13]); + file_level_metadata_app_2fv1_2frobot_2eproto[14]); } // =================================================================== @@ -6569,7 +6856,7 @@ void AuthHandlerConfig::InternalSwap(AuthHandlerConfig* PROTOBUF_RESTRICT other) ::google::protobuf::Metadata AuthHandlerConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[14]); + file_level_metadata_app_2fv1_2frobot_2eproto[15]); } // =================================================================== @@ -6909,7 +7196,7 @@ void Frame::InternalSwap(Frame* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata Frame::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[15]); + file_level_metadata_app_2fv1_2frobot_2eproto[16]); } // =================================================================== @@ -7099,7 +7386,7 @@ void LogConfiguration::InternalSwap(LogConfiguration* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata LogConfiguration::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[16]); + file_level_metadata_app_2fv1_2frobot_2eproto[17]); } // =================================================================== @@ -7368,7 +7655,7 @@ void Translation::InternalSwap(Translation* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata Translation::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[17]); + file_level_metadata_app_2fv1_2frobot_2eproto[18]); } // =================================================================== @@ -7403,7 +7690,7 @@ Orientation_NoOrientation::Orientation_NoOrientation( ::google::protobuf::Metadata Orientation_NoOrientation::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[18]); + file_level_metadata_app_2fv1_2frobot_2eproto[19]); } // =================================================================== @@ -7707,7 +7994,7 @@ void Orientation_OrientationVectorRadians::InternalSwap(Orientation_OrientationV ::google::protobuf::Metadata Orientation_OrientationVectorRadians::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[19]); + file_level_metadata_app_2fv1_2frobot_2eproto[20]); } // =================================================================== @@ -8011,7 +8298,7 @@ void Orientation_OrientationVectorDegrees::InternalSwap(Orientation_OrientationV ::google::protobuf::Metadata Orientation_OrientationVectorDegrees::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[20]); + file_level_metadata_app_2fv1_2frobot_2eproto[21]); } // =================================================================== @@ -8280,7 +8567,7 @@ void Orientation_EulerAngles::InternalSwap(Orientation_EulerAngles* PROTOBUF_RES ::google::protobuf::Metadata Orientation_EulerAngles::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[21]); + file_level_metadata_app_2fv1_2frobot_2eproto[22]); } // =================================================================== @@ -8584,7 +8871,7 @@ void Orientation_AxisAngles::InternalSwap(Orientation_AxisAngles* PROTOBUF_RESTR ::google::protobuf::Metadata Orientation_AxisAngles::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[22]); + file_level_metadata_app_2fv1_2frobot_2eproto[23]); } // =================================================================== @@ -8888,7 +9175,7 @@ void Orientation_Quaternion::InternalSwap(Orientation_Quaternion* PROTOBUF_RESTR ::google::protobuf::Metadata Orientation_Quaternion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[23]); + file_level_metadata_app_2fv1_2frobot_2eproto[24]); } // =================================================================== @@ -9369,7 +9656,7 @@ void Orientation::InternalSwap(Orientation* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata Orientation::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[24]); + file_level_metadata_app_2fv1_2frobot_2eproto[25]); } // =================================================================== @@ -9896,7 +10183,7 @@ void RemoteConfig::InternalSwap(RemoteConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata RemoteConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[25]); + file_level_metadata_app_2fv1_2frobot_2eproto[26]); } // =================================================================== @@ -10112,7 +10399,7 @@ void RemoteAuth_Credentials::InternalSwap(RemoteAuth_Credentials* PROTOBUF_RESTR ::google::protobuf::Metadata RemoteAuth_Credentials::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[26]); + file_level_metadata_app_2fv1_2frobot_2eproto[27]); } // =================================================================== @@ -10352,7 +10639,7 @@ void RemoteAuth::InternalSwap(RemoteAuth* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata RemoteAuth::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[27]); + file_level_metadata_app_2fv1_2frobot_2eproto[28]); } // =================================================================== @@ -10700,7 +10987,7 @@ void AgentInfo::InternalSwap(AgentInfo* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata AgentInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[28]); + file_level_metadata_app_2fv1_2frobot_2eproto[29]); } // =================================================================== @@ -10940,7 +11227,7 @@ void ConfigRequest::InternalSwap(ConfigRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata ConfigRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[29]); + file_level_metadata_app_2fv1_2frobot_2eproto[30]); } // =================================================================== @@ -11147,7 +11434,7 @@ void ConfigResponse::InternalSwap(ConfigResponse* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata ConfigResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[30]); + file_level_metadata_app_2fv1_2frobot_2eproto[31]); } // =================================================================== @@ -11337,7 +11624,7 @@ void CertificateRequest::InternalSwap(CertificateRequest* PROTOBUF_RESTRICT othe ::google::protobuf::Metadata CertificateRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[31]); + file_level_metadata_app_2fv1_2frobot_2eproto[32]); } // =================================================================== @@ -11586,7 +11873,7 @@ void CertificateResponse::InternalSwap(CertificateResponse* PROTOBUF_RESTRICT ot ::google::protobuf::Metadata CertificateResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[32]); + file_level_metadata_app_2fv1_2frobot_2eproto[33]); } // =================================================================== @@ -11806,7 +12093,7 @@ void LogRequest::InternalSwap(LogRequest* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata LogRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[33]); + file_level_metadata_app_2fv1_2frobot_2eproto[34]); } // =================================================================== @@ -11841,7 +12128,7 @@ LogResponse::LogResponse( ::google::protobuf::Metadata LogResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[34]); + file_level_metadata_app_2fv1_2frobot_2eproto[35]); } // =================================================================== @@ -12031,7 +12318,7 @@ void NeedsRestartRequest::InternalSwap(NeedsRestartRequest* PROTOBUF_RESTRICT ot ::google::protobuf::Metadata NeedsRestartRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[35]); + file_level_metadata_app_2fv1_2frobot_2eproto[36]); } // =================================================================== @@ -12310,7 +12597,7 @@ void NeedsRestartResponse::InternalSwap(NeedsRestartResponse* PROTOBUF_RESTRICT ::google::protobuf::Metadata NeedsRestartResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[36]); + file_level_metadata_app_2fv1_2frobot_2eproto[37]); } // =================================================================== @@ -12320,7 +12607,7 @@ ModuleConfig_EnvEntry_DoNotUse::ModuleConfig_EnvEntry_DoNotUse(::google::protobu ::google::protobuf::Metadata ModuleConfig_EnvEntry_DoNotUse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[37]); + file_level_metadata_app_2fv1_2frobot_2eproto[38]); } // =================================================================== @@ -12731,7 +13018,7 @@ void ModuleConfig::InternalSwap(ModuleConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata ModuleConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[38]); + file_level_metadata_app_2fv1_2frobot_2eproto[39]); } // =================================================================== @@ -13061,7 +13348,7 @@ void PackageConfig::InternalSwap(PackageConfig* PROTOBUF_RESTRICT other) { ::google::protobuf::Metadata PackageConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2frobot_2eproto_getter, &descriptor_table_app_2fv1_2frobot_2eproto_once, - file_level_metadata_app_2fv1_2frobot_2eproto[39]); + file_level_metadata_app_2fv1_2frobot_2eproto[40]); } // @@protoc_insertion_point(namespace_scope) } // namespace v1 diff --git a/src/viam/api/app/v1/robot.pb.h b/src/viam/api/app/v1/robot.pb.h index b04d212d3..92f4840bf 100644 --- a/src/viam/api/app/v1/robot.pb.h +++ b/src/viam/api/app/v1/robot.pb.h @@ -112,6 +112,9 @@ extern LocationSecretDefaultTypeInternal _LocationSecret_default_instance_; class LogConfiguration; struct LogConfigurationDefaultTypeInternal; extern LogConfigurationDefaultTypeInternal _LogConfiguration_default_instance_; +class LogPatternConfig; +struct LogPatternConfigDefaultTypeInternal; +extern LogPatternConfigDefaultTypeInternal _LogPatternConfig_default_instance_; class LogRequest; struct LogRequestDefaultTypeInternal; extern LogRequestDefaultTypeInternal _LogRequest_default_instance_; @@ -299,7 +302,7 @@ class Translation final : &_Translation_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; friend void swap(Translation& a, Translation& b) { a.Swap(&b); @@ -498,7 +501,7 @@ class RemoteAuth_Credentials final : &_RemoteAuth_Credentials_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 27; friend void swap(RemoteAuth_Credentials& a, RemoteAuth_Credentials& b) { a.Swap(&b); @@ -721,7 +724,7 @@ class Orientation_Quaternion final : &_Orientation_Quaternion_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 24; friend void swap(Orientation_Quaternion& a, Orientation_Quaternion& b) { a.Swap(&b); @@ -932,7 +935,7 @@ class Orientation_OrientationVectorRadians final : &_Orientation_OrientationVectorRadians_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 20; friend void swap(Orientation_OrientationVectorRadians& a, Orientation_OrientationVectorRadians& b) { a.Swap(&b); @@ -1143,7 +1146,7 @@ class Orientation_OrientationVectorDegrees final : &_Orientation_OrientationVectorDegrees_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; friend void swap(Orientation_OrientationVectorDegrees& a, Orientation_OrientationVectorDegrees& b) { a.Swap(&b); @@ -1353,7 +1356,7 @@ class Orientation_NoOrientation final : &_Orientation_NoOrientation_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 19; friend void swap(Orientation_NoOrientation& a, Orientation_NoOrientation& b) { a.Swap(&b); @@ -1490,7 +1493,7 @@ class Orientation_EulerAngles final : &_Orientation_EulerAngles_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; friend void swap(Orientation_EulerAngles& a, Orientation_EulerAngles& b) { a.Swap(&b); @@ -1689,7 +1692,7 @@ class Orientation_AxisAngles final : &_Orientation_AxisAngles_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 23; friend void swap(Orientation_AxisAngles& a, Orientation_AxisAngles& b) { a.Swap(&b); @@ -1900,7 +1903,7 @@ class NeedsRestartRequest final : &_NeedsRestartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 36; friend void swap(NeedsRestartRequest& a, NeedsRestartRequest& b) { a.Swap(&b); @@ -2110,7 +2113,7 @@ class LogResponse final : &_LogResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 35; friend void swap(LogResponse& a, LogResponse& b) { a.Swap(&b); @@ -2188,6 +2191,205 @@ class LogResponse final : friend struct ::TableStruct_app_2fv1_2frobot_2eproto; };// ------------------------------------------------------------------- +class LogPatternConfig final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.LogPatternConfig) */ { + public: + inline LogPatternConfig() : LogPatternConfig(nullptr) {} + ~LogPatternConfig() override; + template + explicit PROTOBUF_CONSTEXPR LogPatternConfig(::google::protobuf::internal::ConstantInitialized); + + inline LogPatternConfig(const LogPatternConfig& from) + : LogPatternConfig(nullptr, from) {} + LogPatternConfig(LogPatternConfig&& from) noexcept + : LogPatternConfig() { + *this = ::std::move(from); + } + + inline LogPatternConfig& operator=(const LogPatternConfig& from) { + CopyFrom(from); + return *this; + } + inline LogPatternConfig& operator=(LogPatternConfig&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LogPatternConfig& default_instance() { + return *internal_default_instance(); + } + static inline const LogPatternConfig* internal_default_instance() { + return reinterpret_cast( + &_LogPatternConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(LogPatternConfig& a, LogPatternConfig& b) { + a.Swap(&b); + } + inline void Swap(LogPatternConfig* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LogPatternConfig* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LogPatternConfig* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const LogPatternConfig& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const LogPatternConfig& from) { + LogPatternConfig::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(LogPatternConfig* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.app.v1.LogPatternConfig"; + } + protected: + explicit LogPatternConfig(::google::protobuf::Arena* arena); + LogPatternConfig(::google::protobuf::Arena* arena, const LogPatternConfig& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPatternFieldNumber = 1, + kLevelFieldNumber = 2, + }; + // string pattern = 1 [json_name = "pattern"]; + void clear_pattern() ; + const std::string& pattern() const; + template + void set_pattern(Arg_&& arg, Args_... args); + std::string* mutable_pattern(); + PROTOBUF_NODISCARD std::string* release_pattern(); + void set_allocated_pattern(std::string* value); + + private: + const std::string& _internal_pattern() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_pattern( + const std::string& value); + std::string* _internal_mutable_pattern(); + + public: + // string level = 2 [json_name = "level"]; + void clear_level() ; + const std::string& level() const; + template + void set_level(Arg_&& arg, Args_... args); + std::string* mutable_level(); + PROTOBUF_NODISCARD std::string* release_level(); + void set_allocated_level(std::string* value); + + private: + const std::string& _internal_level() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_level( + const std::string& value); + std::string* _internal_mutable_level(); + + public: + // @@protoc_insertion_point(class_scope:viam.app.v1.LogPatternConfig) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 49, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::internal::ArenaStringPtr pattern_; + ::google::protobuf::internal::ArenaStringPtr level_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_app_2fv1_2frobot_2eproto; +};// ------------------------------------------------------------------- + class LogConfiguration final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.LogConfiguration) */ { public: @@ -2247,7 +2449,7 @@ class LogConfiguration final : &_LogConfiguration_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; friend void swap(LogConfiguration& a, LogConfiguration& b) { a.Swap(&b); @@ -2428,7 +2630,7 @@ class LocationSecret final : &_LocationSecret_default_instance_); } static constexpr int kIndexInFileMessages = - 1; + 2; friend void swap(LocationSecret& a, LocationSecret& b) { a.Swap(&b); @@ -2627,7 +2829,7 @@ class CertificateResponse final : &_CertificateResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 33; friend void swap(CertificateResponse& a, CertificateResponse& b) { a.Swap(&b); @@ -2844,7 +3046,7 @@ class CertificateRequest final : &_CertificateRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 32; friend void swap(CertificateRequest& a, CertificateRequest& b) { a.Swap(&b); @@ -3025,7 +3227,7 @@ class AppValidationStatus final : &_AppValidationStatus_default_instance_); } static constexpr int kIndexInFileMessages = - 2; + 3; friend void swap(AppValidationStatus& a, AppValidationStatus& b) { a.Swap(&b); @@ -3206,7 +3408,7 @@ class AgentInfo final : &_AgentInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 29; friend void swap(AgentInfo& a, AgentInfo& b) { a.Swap(&b); @@ -3491,7 +3693,7 @@ class SessionsConfig final : &_SessionsConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 11; friend void swap(SessionsConfig& a, SessionsConfig& b) { a.Swap(&b); @@ -3672,7 +3874,7 @@ class ResourceLevelServiceConfig final : &_ResourceLevelServiceConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 5; + 6; friend void swap(ResourceLevelServiceConfig& a, ResourceLevelServiceConfig& b) { a.Swap(&b); @@ -3871,7 +4073,7 @@ class RemoteAuth final : &_RemoteAuth_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 28; friend void swap(RemoteAuth& a, RemoteAuth& b) { a.Swap(&b); @@ -4072,7 +4274,7 @@ class ProcessConfig final : &_ProcessConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 8; friend void swap(ProcessConfig& a, ProcessConfig& b) { a.Swap(&b); @@ -4394,7 +4596,7 @@ class PackageConfig final : &_PackageConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 40; friend void swap(PackageConfig& a, PackageConfig& b) { a.Swap(&b); @@ -4657,7 +4859,7 @@ class Orientation final : &_Orientation_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 25; friend void swap(Orientation& a, Orientation& b) { a.Swap(&b); @@ -4970,7 +5172,7 @@ class NeedsRestartResponse final : &_NeedsRestartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 37; friend void swap(NeedsRestartResponse& a, NeedsRestartResponse& b) { a.Swap(&b); @@ -5181,7 +5383,7 @@ class ModuleConfig final : &_ModuleConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 39; friend void swap(ModuleConfig& a, ModuleConfig& b) { a.Swap(&b); @@ -5473,7 +5675,7 @@ class JWKSFile final : &_JWKSFile_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 13; friend void swap(JWKSFile& a, JWKSFile& b) { a.Swap(&b); @@ -5654,7 +5856,7 @@ class ConfigRequest final : &_ConfigRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 30; friend void swap(ConfigRequest& a, ConfigRequest& b) { a.Swap(&b); @@ -5853,7 +6055,7 @@ class CloudConfig final : &_CloudConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 3; + 4; friend void swap(CloudConfig& a, CloudConfig& b) { a.Swap(&b); @@ -6228,7 +6430,7 @@ class AuthHandlerConfig final : &_AuthHandlerConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 15; friend void swap(AuthHandlerConfig& a, AuthHandlerConfig& b) { a.Swap(&b); @@ -6421,7 +6623,7 @@ class ServiceConfig final : &_ServiceConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 9; friend void swap(ServiceConfig& a, ServiceConfig& b) { a.Swap(&b); @@ -6759,7 +6961,7 @@ class NetworkConfig final : &_NetworkConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 10; friend void swap(NetworkConfig& a, NetworkConfig& b) { a.Swap(&b); @@ -7012,7 +7214,7 @@ class LogRequest final : &_LogRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 34; friend void swap(LogRequest& a, LogRequest& b) { a.Swap(&b); @@ -7213,7 +7415,7 @@ class ExternalAuthConfig final : &_ExternalAuthConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 14; friend void swap(ExternalAuthConfig& a, ExternalAuthConfig& b) { a.Swap(&b); @@ -7394,7 +7596,7 @@ class Frame final : &_Frame_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 16; friend void swap(Frame& a, Frame& b) { a.Swap(&b); @@ -7627,7 +7829,7 @@ class AuthConfig final : &_AuthConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 12; friend void swap(AuthConfig& a, AuthConfig& b) { a.Swap(&b); @@ -7858,7 +8060,7 @@ class RemoteConfig final : &_RemoteConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 26; friend void swap(RemoteConfig& a, RemoteConfig& b) { a.Swap(&b); @@ -8194,7 +8396,7 @@ class ComponentConfig final : &_ComponentConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 4; + 5; friend void swap(ComponentConfig& a, ComponentConfig& b) { a.Swap(&b); @@ -8629,6 +8831,7 @@ class RobotConfig final : kModulesFieldNumber = 9, kPackagesFieldNumber = 11, kOverwriteFragmentStatusFieldNumber = 12, + kLogFieldNumber = 14, kCloudFieldNumber = 1, kNetworkFieldNumber = 6, kAuthFieldNumber = 7, @@ -8762,6 +8965,24 @@ class RobotConfig final : ::viam::app::v1::AppValidationStatus* add_overwrite_fragment_status(); const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::AppValidationStatus >& overwrite_fragment_status() const; + // repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"]; + int log_size() const; + private: + int _internal_log_size() const; + + public: + void clear_log() ; + ::viam::app::v1::LogPatternConfig* mutable_log(int index); + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::LogPatternConfig >* + mutable_log(); + private: + const ::google::protobuf::RepeatedPtrField<::viam::app::v1::LogPatternConfig>& _internal_log() const; + ::google::protobuf::RepeatedPtrField<::viam::app::v1::LogPatternConfig>* _internal_mutable_log(); + public: + const ::viam::app::v1::LogPatternConfig& log(int index) const; + ::viam::app::v1::LogPatternConfig* add_log(); + const ::google::protobuf::RepeatedPtrField< ::viam::app::v1::LogPatternConfig >& + log() const; // .viam.app.v1.CloudConfig cloud = 1 [json_name = "cloud"]; bool has_cloud() const; void clear_cloud() ; @@ -8845,7 +9066,7 @@ class RobotConfig final : friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 4, 13, 10, + 4, 14, 11, 0, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8871,6 +9092,7 @@ class RobotConfig final : ::google::protobuf::RepeatedPtrField< ::viam::app::v1::ModuleConfig > modules_; ::google::protobuf::RepeatedPtrField< ::viam::app::v1::PackageConfig > packages_; ::google::protobuf::RepeatedPtrField< ::viam::app::v1::AppValidationStatus > overwrite_fragment_status_; + ::google::protobuf::RepeatedPtrField< ::viam::app::v1::LogPatternConfig > log_; ::viam::app::v1::CloudConfig* cloud_; ::viam::app::v1::NetworkConfig* network_; ::viam::app::v1::AuthConfig* auth_; @@ -8942,7 +9164,7 @@ class ConfigResponse final : &_ConfigResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 31; friend void swap(ConfigResponse& a, ConfigResponse& b) { a.Swap(&b); @@ -9790,6 +10012,165 @@ inline void RobotConfig::_internal_set_enable_web_profile(bool value) { _impl_.enable_web_profile_ = value; } +// repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"]; +inline int RobotConfig::_internal_log_size() const { + return _internal_log().size(); +} +inline int RobotConfig::log_size() const { + return _internal_log_size(); +} +inline void RobotConfig::clear_log() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.log_.Clear(); +} +inline ::viam::app::v1::LogPatternConfig* RobotConfig::mutable_log(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:viam.app.v1.RobotConfig.log) + return _internal_mutable_log()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::viam::app::v1::LogPatternConfig>* RobotConfig::mutable_log() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.RobotConfig.log) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + return _internal_mutable_log(); +} +inline const ::viam::app::v1::LogPatternConfig& RobotConfig::log(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.RobotConfig.log) + return _internal_log().Get(index); +} +inline ::viam::app::v1::LogPatternConfig* RobotConfig::add_log() ABSL_ATTRIBUTE_LIFETIME_BOUND { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::viam::app::v1::LogPatternConfig* _add = _internal_mutable_log()->Add(); + // @@protoc_insertion_point(field_add:viam.app.v1.RobotConfig.log) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::viam::app::v1::LogPatternConfig>& RobotConfig::log() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:viam.app.v1.RobotConfig.log) + return _internal_log(); +} +inline const ::google::protobuf::RepeatedPtrField<::viam::app::v1::LogPatternConfig>& +RobotConfig::_internal_log() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.log_; +} +inline ::google::protobuf::RepeatedPtrField<::viam::app::v1::LogPatternConfig>* +RobotConfig::_internal_mutable_log() { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return &_impl_.log_; +} + +// ------------------------------------------------------------------- + +// LogPatternConfig + +// string pattern = 1 [json_name = "pattern"]; +inline void LogPatternConfig::clear_pattern() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.pattern_.ClearToEmpty(); +} +inline const std::string& LogPatternConfig::pattern() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.LogPatternConfig.pattern) + return _internal_pattern(); +} +template +inline PROTOBUF_ALWAYS_INLINE void LogPatternConfig::set_pattern(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.pattern_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.LogPatternConfig.pattern) +} +inline std::string* LogPatternConfig::mutable_pattern() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_pattern(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.LogPatternConfig.pattern) + return _s; +} +inline const std::string& LogPatternConfig::_internal_pattern() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.pattern_.Get(); +} +inline void LogPatternConfig::_internal_set_pattern(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.pattern_.Set(value, GetArena()); +} +inline std::string* LogPatternConfig::_internal_mutable_pattern() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.pattern_.Mutable( GetArena()); +} +inline std::string* LogPatternConfig::release_pattern() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.LogPatternConfig.pattern) + return _impl_.pattern_.Release(); +} +inline void LogPatternConfig::set_allocated_pattern(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.pattern_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.pattern_.IsDefault()) { + _impl_.pattern_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.LogPatternConfig.pattern) +} + +// string level = 2 [json_name = "level"]; +inline void LogPatternConfig::clear_level() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.level_.ClearToEmpty(); +} +inline const std::string& LogPatternConfig::level() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.app.v1.LogPatternConfig.level) + return _internal_level(); +} +template +inline PROTOBUF_ALWAYS_INLINE void LogPatternConfig::set_level(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.level_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:viam.app.v1.LogPatternConfig.level) +} +inline std::string* LogPatternConfig::mutable_level() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_level(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.LogPatternConfig.level) + return _s; +} +inline const std::string& LogPatternConfig::_internal_level() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.level_.Get(); +} +inline void LogPatternConfig::_internal_set_level(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.level_.Set(value, GetArena()); +} +inline std::string* LogPatternConfig::_internal_mutable_level() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.level_.Mutable( GetArena()); +} +inline std::string* LogPatternConfig::release_level() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.app.v1.LogPatternConfig.level) + return _impl_.level_.Release(); +} +inline void LogPatternConfig::set_allocated_level(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.level_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.level_.IsDefault()) { + _impl_.level_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.LogPatternConfig.level) +} + // ------------------------------------------------------------------- // LocationSecret diff --git a/src/viam/api/buf.lock b/src/viam/api/buf.lock index d6ec613d4..9f9f33eaf 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: 714208da7ac5428c9fb4893e63d6ade0 + commit: 0ee653b63dd4498faf2b5fa4d4634248 - remote: buf.build owner: viamrobotics repository: goutils diff --git a/src/viam/api/robot/v1/robot.grpc.pb.cc b/src/viam/api/robot/v1/robot.grpc.pb.cc index caed618e8..993b3f6f5 100644 --- a/src/viam/api/robot/v1/robot.grpc.pb.cc +++ b/src/viam/api/robot/v1/robot.grpc.pb.cc @@ -43,6 +43,7 @@ static const char* RobotService_method_names[] = { "/viam.robot.v1.RobotService/GetCloudMetadata", "/viam.robot.v1.RobotService/RestartModule", "/viam.robot.v1.RobotService/Shutdown", + "/viam.robot.v1.RobotService/GetMachineStatus", }; std::unique_ptr< RobotService::Stub> RobotService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -71,6 +72,7 @@ RobotService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& chann , rpcmethod_GetCloudMetadata_(RobotService_method_names[16], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_RestartModule_(RobotService_method_names[17], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_Shutdown_(RobotService_method_names[18], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetMachineStatus_(RobotService_method_names[19], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status RobotService::Stub::GetOperations(::grpc::ClientContext* context, const ::viam::robot::v1::GetOperationsRequest& request, ::viam::robot::v1::GetOperationsResponse* response) { @@ -503,6 +505,29 @@ ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::ShutdownResponse>* RobotSe return result; } +::grpc::Status RobotService::Stub::GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::viam::robot::v1::GetMachineStatusResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetMachineStatus_, context, request, response); +} + +void RobotService::Stub::async::GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetMachineStatus_, context, request, response, std::move(f)); +} + +void RobotService::Stub::async::GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetMachineStatus_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>* RobotService::Stub::PrepareAsyncGetMachineStatusRaw(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::viam::robot::v1::GetMachineStatusResponse, ::viam::robot::v1::GetMachineStatusRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetMachineStatus_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>* RobotService::Stub::AsyncGetMachineStatusRaw(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncGetMachineStatusRaw(context, request, cq); + result->StartCall(); + return result; +} + RobotService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( RobotService_method_names[0], @@ -694,6 +719,16 @@ RobotService::Service::Service() { ::viam::robot::v1::ShutdownResponse* resp) { return service->Shutdown(ctx, req, resp); }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + RobotService_method_names[19], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< RobotService::Service, ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](RobotService::Service* service, + ::grpc::ServerContext* ctx, + const ::viam::robot::v1::GetMachineStatusRequest* req, + ::viam::robot::v1::GetMachineStatusResponse* resp) { + return service->GetMachineStatus(ctx, req, resp); + }, this))); } RobotService::Service::~Service() { @@ -832,6 +867,13 @@ ::grpc::Status RobotService::Service::Shutdown(::grpc::ServerContext* context, c return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status RobotService::Service::GetMachineStatus(::grpc::ServerContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + } // namespace viam } // namespace robot diff --git a/src/viam/api/robot/v1/robot.grpc.pb.h b/src/viam/api/robot/v1/robot.grpc.pb.h index 6b1a3091f..3980a47b2 100644 --- a/src/viam/api/robot/v1/robot.grpc.pb.h +++ b/src/viam/api/robot/v1/robot.grpc.pb.h @@ -187,6 +187,14 @@ class RobotService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::ShutdownResponse>> PrepareAsyncShutdown(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::ShutdownResponse>>(PrepareAsyncShutdownRaw(context, request, cq)); } + // GetMachineStatus returns the current status of the robot. + virtual ::grpc::Status GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::viam::robot::v1::GetMachineStatusResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::GetMachineStatusResponse>> AsyncGetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::GetMachineStatusResponse>>(AsyncGetMachineStatusRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::GetMachineStatusResponse>> PrepareAsyncGetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::GetMachineStatusResponse>>(PrepareAsyncGetMachineStatusRaw(context, request, cq)); + } class async_interface { public: virtual ~async_interface() {} @@ -241,6 +249,9 @@ class RobotService final { // Shutdown shuts down the robot. virtual void Shutdown(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest* request, ::viam::robot::v1::ShutdownResponse* response, std::function) = 0; virtual void Shutdown(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest* request, ::viam::robot::v1::ShutdownResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + // GetMachineStatus returns the current status of the robot. + virtual void GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response, std::function) = 0; + virtual void GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; typedef class async_interface experimental_async_interface; virtual class async_interface* async() { return nullptr; } @@ -285,6 +296,8 @@ class RobotService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::RestartModuleResponse>* PrepareAsyncRestartModuleRaw(::grpc::ClientContext* context, const ::viam::robot::v1::RestartModuleRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::ShutdownResponse>* AsyncShutdownRaw(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::ShutdownResponse>* PrepareAsyncShutdownRaw(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::GetMachineStatusResponse>* AsyncGetMachineStatusRaw(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::robot::v1::GetMachineStatusResponse>* PrepareAsyncGetMachineStatusRaw(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -424,6 +437,13 @@ class RobotService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::ShutdownResponse>> PrepareAsyncShutdown(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::ShutdownResponse>>(PrepareAsyncShutdownRaw(context, request, cq)); } + ::grpc::Status GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::viam::robot::v1::GetMachineStatusResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>> AsyncGetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>>(AsyncGetMachineStatusRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>> PrepareAsyncGetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>>(PrepareAsyncGetMachineStatusRaw(context, request, cq)); + } class async final : public StubInterface::async_interface { public: @@ -464,6 +484,8 @@ class RobotService final { void RestartModule(::grpc::ClientContext* context, const ::viam::robot::v1::RestartModuleRequest* request, ::viam::robot::v1::RestartModuleResponse* response, ::grpc::ClientUnaryReactor* reactor) override; void Shutdown(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest* request, ::viam::robot::v1::ShutdownResponse* response, std::function) override; void Shutdown(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest* request, ::viam::robot::v1::ShutdownResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response, std::function) override; + void GetMachineStatus(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -514,6 +536,8 @@ class RobotService final { ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::RestartModuleResponse>* PrepareAsyncRestartModuleRaw(::grpc::ClientContext* context, const ::viam::robot::v1::RestartModuleRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::ShutdownResponse>* AsyncShutdownRaw(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::ShutdownResponse>* PrepareAsyncShutdownRaw(::grpc::ClientContext* context, const ::viam::robot::v1::ShutdownRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>* AsyncGetMachineStatusRaw(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::robot::v1::GetMachineStatusResponse>* PrepareAsyncGetMachineStatusRaw(::grpc::ClientContext* context, const ::viam::robot::v1::GetMachineStatusRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_GetOperations_; const ::grpc::internal::RpcMethod rpcmethod_GetSessions_; const ::grpc::internal::RpcMethod rpcmethod_ResourceNames_; @@ -533,6 +557,7 @@ class RobotService final { const ::grpc::internal::RpcMethod rpcmethod_GetCloudMetadata_; const ::grpc::internal::RpcMethod rpcmethod_RestartModule_; const ::grpc::internal::RpcMethod rpcmethod_Shutdown_; + const ::grpc::internal::RpcMethod rpcmethod_GetMachineStatus_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -573,6 +598,8 @@ class RobotService final { virtual ::grpc::Status RestartModule(::grpc::ServerContext* context, const ::viam::robot::v1::RestartModuleRequest* request, ::viam::robot::v1::RestartModuleResponse* response); // Shutdown shuts down the robot. virtual ::grpc::Status Shutdown(::grpc::ServerContext* context, const ::viam::robot::v1::ShutdownRequest* request, ::viam::robot::v1::ShutdownResponse* response); + // GetMachineStatus returns the current status of the robot. + virtual ::grpc::Status GetMachineStatus(::grpc::ServerContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response); }; template class WithAsyncMethod_GetOperations : public BaseClass { @@ -954,7 +981,27 @@ class RobotService final { ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_GetOperations > > > > > > > > > > > > > > > > > > AsyncService; + template + class WithAsyncMethod_GetMachineStatus : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetMachineStatus() { + ::grpc::Service::MarkMethodAsync(19); + } + ~WithAsyncMethod_GetMachineStatus() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetMachineStatus(::grpc::ServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetMachineStatus(::grpc::ServerContext* context, ::viam::robot::v1::GetMachineStatusRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::robot::v1::GetMachineStatusResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_GetOperations > > > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_GetOperations : public BaseClass { private: @@ -1463,7 +1510,34 @@ class RobotService final { virtual ::grpc::ServerUnaryReactor* Shutdown( ::grpc::CallbackServerContext* /*context*/, const ::viam::robot::v1::ShutdownRequest* /*request*/, ::viam::robot::v1::ShutdownResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_GetOperations > > > > > > > > > > > > > > > > > > CallbackService; + template + class WithCallbackMethod_GetMachineStatus : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_GetMachineStatus() { + ::grpc::Service::MarkMethodCallback(19, + new ::grpc::internal::CallbackUnaryHandler< ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse>( + [this]( + ::grpc::CallbackServerContext* context, const ::viam::robot::v1::GetMachineStatusRequest* request, ::viam::robot::v1::GetMachineStatusResponse* response) { return this->GetMachineStatus(context, request, response); }));} + void SetMessageAllocatorFor_GetMachineStatus( + ::grpc::MessageAllocator< ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(19); + static_cast<::grpc::internal::CallbackUnaryHandler< ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetMachineStatus() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetMachineStatus(::grpc::ServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetMachineStatus( + ::grpc::CallbackServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) { return nullptr; } + }; + typedef WithCallbackMethod_GetOperations > > > > > > > > > > > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_GetOperations : public BaseClass { @@ -1789,6 +1863,23 @@ class RobotService final { } }; template + class WithGenericMethod_GetMachineStatus : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetMachineStatus() { + ::grpc::Service::MarkMethodGeneric(19); + } + ~WithGenericMethod_GetMachineStatus() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetMachineStatus(::grpc::ServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithRawMethod_GetOperations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -2169,6 +2260,26 @@ class RobotService final { } }; template + class WithRawMethod_GetMachineStatus : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetMachineStatus() { + ::grpc::Service::MarkMethodRaw(19); + } + ~WithRawMethod_GetMachineStatus() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetMachineStatus(::grpc::ServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetMachineStatus(::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(19, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawCallbackMethod_GetOperations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -2587,6 +2698,28 @@ class RobotService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template + class WithRawCallbackMethod_GetMachineStatus : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_GetMachineStatus() { + ::grpc::Service::MarkMethodRawCallback(19, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetMachineStatus(context, request, response); })); + } + ~WithRawCallbackMethod_GetMachineStatus() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetMachineStatus(::grpc::ServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetMachineStatus( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template class WithStreamedUnaryMethod_GetOperations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -3072,7 +3205,34 @@ class RobotService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedShutdown(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::robot::v1::ShutdownRequest,::viam::robot::v1::ShutdownResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_GetOperations > > > > > > > > > > > > > > > > > StreamedUnaryService; + template + class WithStreamedUnaryMethod_GetMachineStatus : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetMachineStatus() { + ::grpc::Service::MarkMethodStreamed(19, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::viam::robot::v1::GetMachineStatusRequest, ::viam::robot::v1::GetMachineStatusResponse>* streamer) { + return this->StreamedGetMachineStatus(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetMachineStatus() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetMachineStatus(::grpc::ServerContext* /*context*/, const ::viam::robot::v1::GetMachineStatusRequest* /*request*/, ::viam::robot::v1::GetMachineStatusResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetMachineStatus(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::robot::v1::GetMachineStatusRequest,::viam::robot::v1::GetMachineStatusResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_GetOperations > > > > > > > > > > > > > > > > > > StreamedUnaryService; template class WithSplitStreamingMethod_StreamStatus : public BaseClass { private: @@ -3101,7 +3261,7 @@ class RobotService final { virtual ::grpc::Status StreamedStreamStatus(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::viam::robot::v1::StreamStatusRequest,::viam::robot::v1::StreamStatusResponse>* server_split_streamer) = 0; }; typedef WithSplitStreamingMethod_StreamStatus SplitStreamedService; - typedef WithStreamedUnaryMethod_GetOperations > > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_GetOperations > > > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace v1 diff --git a/src/viam/api/robot/v1/robot.pb.cc b/src/viam/api/robot/v1/robot.pb.cc index 1d241286c..8d2a41d9a 100644 --- a/src/viam/api/robot/v1/robot.pb.cc +++ b/src/viam/api/robot/v1/robot.pb.cc @@ -278,6 +278,18 @@ struct GetOperationsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetOperationsRequestDefaultTypeInternal _GetOperationsRequest_default_instance_; + template +PROTOBUF_CONSTEXPR GetMachineStatusRequest::GetMachineStatusRequest(::_pbi::ConstantInitialized) {} +struct GetMachineStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetMachineStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetMachineStatusRequestDefaultTypeInternal() {} + union { + GetMachineStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMachineStatusRequestDefaultTypeInternal _GetMachineStatusRequest_default_instance_; inline constexpr GetCloudMetadataResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept @@ -519,6 +531,27 @@ struct SessionDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SessionDefaultTypeInternal _Session_default_instance_; +inline constexpr ResourceStatus::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + name_{nullptr}, + last_updated_{nullptr}, + state_{static_cast< ::viam::robot::v1::ResourceStatus_State >(0)} {} + +template +PROTOBUF_CONSTEXPR ResourceStatus::ResourceStatus(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct ResourceStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR ResourceStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ResourceStatusDefaultTypeInternal() {} + union { + ResourceStatus _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResourceStatusDefaultTypeInternal _ResourceStatus_default_instance_; + inline constexpr ResourceRPCSubtype::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, @@ -799,6 +832,25 @@ struct GetOperationsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetOperationsResponseDefaultTypeInternal _GetOperationsResponse_default_instance_; +inline constexpr GetMachineStatusResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : resources_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR GetMachineStatusResponse::GetMachineStatusResponse(::_pbi::ConstantInitialized) + : _impl_(::_pbi::ConstantInitialized()) {} +struct GetMachineStatusResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetMachineStatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetMachineStatusResponseDefaultTypeInternal() {} + union { + GetMachineStatusResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMachineStatusResponseDefaultTypeInternal _GetMachineStatusResponse_default_instance_; + inline constexpr DiscoverComponentsResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : discovery_{}, @@ -901,8 +953,8 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT } // namespace v1 } // namespace robot } // namespace viam -static ::_pb::Metadata file_level_metadata_robot_2fv1_2frobot_2eproto[47]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_robot_2fv1_2frobot_2eproto[1]; +static ::_pb::Metadata file_level_metadata_robot_2fv1_2frobot_2eproto[50]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_robot_2fv1_2frobot_2eproto[2]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_robot_2fv1_2frobot_2eproto = nullptr; const ::uint32_t TableStruct_robot_2fv1_2frobot_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( @@ -1372,6 +1424,37 @@ const ::uint32_t TableStruct_robot_2fv1_2frobot_2eproto::offsets[] PROTOBUF_SECT ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::GetMachineStatusRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::GetMachineStatusResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::GetMachineStatusResponse, _impl_.resources_), + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::ResourceStatus, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::ResourceStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::ResourceStatus, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::ResourceStatus, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::viam::robot::v1::ResourceStatus, _impl_.last_updated_), + 0, + ~0u, + 1, }; static const ::_pbi::MigrationSchema @@ -1423,6 +1506,9 @@ static const ::_pbi::MigrationSchema {441, -1, -1, sizeof(::viam::robot::v1::RestartModuleResponse)}, {449, -1, -1, sizeof(::viam::robot::v1::ShutdownRequest)}, {457, -1, -1, sizeof(::viam::robot::v1::ShutdownResponse)}, + {465, -1, -1, sizeof(::viam::robot::v1::GetMachineStatusRequest)}, + {473, -1, -1, sizeof(::viam::robot::v1::GetMachineStatusResponse)}, + {482, 493, -1, sizeof(::viam::robot::v1::ResourceStatus)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1473,6 +1559,9 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::robot::v1::_RestartModuleResponse_default_instance_._instance, &::viam::robot::v1::_ShutdownRequest_default_instance_._instance, &::viam::robot::v1::_ShutdownResponse_default_instance_._instance, + &::viam::robot::v1::_GetMachineStatusRequest_default_instance_._instance, + &::viam::robot::v1::_GetMachineStatusResponse_default_instance_._instance, + &::viam::robot::v1::_ResourceStatus_default_instance_._instance, }; const char descriptor_table_protodef_robot_2fv1_2frobot_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { "\n\024robot/v1/robot.proto\022\rviam.robot.v1\032\026c" @@ -1577,77 +1666,91 @@ const char descriptor_table_protodef_robot_2fv1_2frobot_2eproto[] PROTOBUF_SECTI "Request\022\035\n\tmodule_id\030\001 \001(\tH\000R\010moduleId\022!" "\n\013module_name\030\002 \001(\tH\000R\nmoduleNameB\014\n\nid_" "or_name\"\027\n\025RestartModuleResponse\"\021\n\017Shut" - "downRequest\"\022\n\020ShutdownResponse*z\n\022PeerC" - "onnectionType\022$\n PEER_CONNECTION_TYPE_UN" - "SPECIFIED\020\000\022\035\n\031PEER_CONNECTION_TYPE_GRPC" - "\020\001\022\037\n\033PEER_CONNECTION_TYPE_WEBRTC\020\0022\317\023\n\014" - "RobotService\022\200\001\n\rGetOperations\022#.viam.ro" - "bot.v1.GetOperationsRequest\032$.viam.robot" - ".v1.GetOperationsResponse\"$\202\323\344\223\002\036\022\034/viam" - "/api/v1/operations/list\022x\n\013GetSessions\022!" - ".viam.robot.v1.GetSessionsRequest\032\".viam" - ".robot.v1.GetSessionsResponse\"\"\202\323\344\223\002\034\022\032/" - "viam/api/v1/sessions/list\022\177\n\rResourceNam" - "es\022#.viam.robot.v1.ResourceNamesRequest\032" - "$.viam.robot.v1.ResourceNamesResponse\"#\202" - "\323\344\223\002\035\022\033/viam/api/v1/resources/list\022\235\001\n\023R" - "esourceRPCSubtypes\022).viam.robot.v1.Resou" - "rceRPCSubtypesRequest\032*.viam.robot.v1.Re" - "sourceRPCSubtypesResponse\"/\202\323\344\223\002)\022\'/viam" - "/api/v1/resource_rpc_subtypes/list\022\210\001\n\017C" - "ancelOperation\022%.viam.robot.v1.CancelOpe" - "rationRequest\032&.viam.robot.v1.CancelOper" - "ationResponse\"&\202\323\344\223\002 \"\036/viam/api/v1/oper" - "ations/cancel\022\215\001\n\021BlockForOperation\022\'.vi" - "am.robot.v1.BlockForOperationRequest\032(.v" - "iam.robot.v1.BlockForOperationResponse\"%" - "\202\323\344\223\002\037\"\035/viam/api/v1/operations/block\022\224\001" - "\n\022DiscoverComponents\022(.viam.robot.v1.Dis" - "coverComponentsRequest\032).viam.robot.v1.D" - "iscoverComponentsResponse\")\202\323\344\223\002#\022!/viam" - "/api/v1/discovery/components\022\220\001\n\021FrameSy" - "stemConfig\022\'.viam.robot.v1.FrameSystemCo" - "nfigRequest\032(.viam.robot.v1.FrameSystemC" - "onfigResponse\"(\202\323\344\223\002\"\022 /viam/api/v1/fram" - "e_system/config\022\214\001\n\rTransformPose\022#.viam" - ".robot.v1.TransformPoseRequest\032$.viam.ro" - "bot.v1.TransformPoseResponse\"0\202\323\344\223\002*\022(/v" - "iam/api/v1/frame_system/transform_pose\022\210" - "\001\n\014TransformPCD\022\".viam.robot.v1.Transfor" - "mPCDRequest\032#.viam.robot.v1.TransformPCD" - "Response\"/\202\323\344\223\002)\022\'/viam/api/v1/frame_sys" - "tem/transform_pcd\022n\n\tGetStatus\022\037.viam.ro" - "bot.v1.GetStatusRequest\032 .viam.robot.v1." - "GetStatusResponse\"\036\210\002\001\202\323\344\223\002\025\022\023/viam/api/" - "v1/status\022\200\001\n\014StreamStatus\022\".viam.robot." - "v1.StreamStatusRequest\032#.viam.robot.v1.S" - "treamStatusResponse\"%\210\002\001\202\323\344\223\002\034\022\032/viam/ap" - "i/v1/status/stream0\001\022g\n\007StopAll\022\035.viam.r" - "obot.v1.StopAllRequest\032\036.viam.robot.v1.S" - "topAllResponse\"\035\202\323\344\223\002\027\022\025/viam/api/v1/sto" - "p_all\022v\n\014StartSession\022\".viam.robot.v1.St" - "artSessionRequest\032#.viam.robot.v1.StartS" - "essionResponse\"\035\202\323\344\223\002\027\"\025/viam/api/v1/ses" - "sions\022\235\001\n\024SendSessionHeartbeat\022*.viam.ro" - "bot.v1.SendSessionHeartbeatRequest\032+.via" - "m.robot.v1.SendSessionHeartbeatResponse\"" - ",\202\323\344\223\002&\"$/viam/api/v1/sessions/{id}/hear" - "tbeat\022V\n\003Log\022\031.viam.robot.v1.LogRequest\032" - "\032.viam.robot.v1.LogResponse\"\030\202\323\344\223\002\022\"\020/vi" - "am/api/v1/log\022\210\001\n\020GetCloudMetadata\022&.via" - "m.robot.v1.GetCloudMetadataRequest\032\'.via" - "m.robot.v1.GetCloudMetadataResponse\"#\202\323\344" - "\223\002\035\022\033/viam/api/v1/cloud_metadata\022\177\n\rRest" - "artModule\022#.viam.robot.v1.RestartModuleR" - "equest\032$.viam.robot.v1.RestartModuleResp" - "onse\"#\202\323\344\223\002\035\"\033/viam/api/v1/restart_modul" - "e\022j\n\010Shutdown\022\036.viam.robot.v1.ShutdownRe" - "quest\032\037.viam.robot.v1.ShutdownResponse\"\035" - "\202\323\344\223\002\027\"\025/viam/api/v1/shutdownB\217\001\n\021com.vi" - "am.robot.v1B\nRobotProtoP\001Z\030go.viam.com/a" - "pi/robot/v1\242\002\003VRX\252\002\rViam.Robot.V1\312\002\rViam" - "\\Robot\\V1\342\002\031Viam\\Robot\\V1\\GPBMetadata\352\002\017" - "Viam::Robot::V1b\006proto3" + "downRequest\"\022\n\020ShutdownResponse\"\031\n\027GetMa" + "chineStatusRequest\"W\n\030GetMachineStatusRe" + "sponse\022;\n\tresources\030\001 \003(\0132\035.viam.robot.v" + "1.ResourceStatusR\tresources\"\260\002\n\016Resource" + "Status\0220\n\004name\030\001 \001(\0132\034.viam.common.v1.Re" + "sourceNameR\004name\0229\n\005state\030\002 \001(\0162#.viam.r" + "obot.v1.ResourceStatus.StateR\005state\022=\n\014l" + "ast_updated\030\003 \001(\0132\032.google.protobuf.Time" + "stampR\013lastUpdated\"r\n\005State\022\025\n\021STATE_UNS" + "PECIFIED\020\000\022\026\n\022STATE_UNCONFIGURED\020\001\022\025\n\021ST" + "ATE_CONFIGURING\020\002\022\017\n\013STATE_READY\020\003\022\022\n\016ST" + "ATE_REMOVING\020\004*z\n\022PeerConnectionType\022$\n " + "PEER_CONNECTION_TYPE_UNSPECIFIED\020\000\022\035\n\031PE" + "ER_CONNECTION_TYPE_GRPC\020\001\022\037\n\033PEER_CONNEC" + "TION_TYPE_WEBRTC\020\0022\332\024\n\014RobotService\022\200\001\n\r" + "GetOperations\022#.viam.robot.v1.GetOperati" + "onsRequest\032$.viam.robot.v1.GetOperations" + "Response\"$\202\323\344\223\002\036\022\034/viam/api/v1/operation" + "s/list\022x\n\013GetSessions\022!.viam.robot.v1.Ge" + "tSessionsRequest\032\".viam.robot.v1.GetSess" + "ionsResponse\"\"\202\323\344\223\002\034\022\032/viam/api/v1/sessi" + "ons/list\022\177\n\rResourceNames\022#.viam.robot.v" + "1.ResourceNamesRequest\032$.viam.robot.v1.R" + "esourceNamesResponse\"#\202\323\344\223\002\035\022\033/viam/api/" + "v1/resources/list\022\235\001\n\023ResourceRPCSubtype" + "s\022).viam.robot.v1.ResourceRPCSubtypesReq" + "uest\032*.viam.robot.v1.ResourceRPCSubtypes" + "Response\"/\202\323\344\223\002)\022\'/viam/api/v1/resource_" + "rpc_subtypes/list\022\210\001\n\017CancelOperation\022%." + "viam.robot.v1.CancelOperationRequest\032&.v" + "iam.robot.v1.CancelOperationResponse\"&\202\323" + "\344\223\002 \"\036/viam/api/v1/operations/cancel\022\215\001\n" + "\021BlockForOperation\022\'.viam.robot.v1.Block" + "ForOperationRequest\032(.viam.robot.v1.Bloc" + "kForOperationResponse\"%\202\323\344\223\002\037\"\035/viam/api" + "/v1/operations/block\022\224\001\n\022DiscoverCompone" + "nts\022(.viam.robot.v1.DiscoverComponentsRe" + "quest\032).viam.robot.v1.DiscoverComponents" + "Response\")\202\323\344\223\002#\022!/viam/api/v1/discovery" + "/components\022\220\001\n\021FrameSystemConfig\022\'.viam" + ".robot.v1.FrameSystemConfigRequest\032(.via" + "m.robot.v1.FrameSystemConfigResponse\"(\202\323" + "\344\223\002\"\022 /viam/api/v1/frame_system/config\022\214" + "\001\n\rTransformPose\022#.viam.robot.v1.Transfo" + "rmPoseRequest\032$.viam.robot.v1.TransformP" + "oseResponse\"0\202\323\344\223\002*\022(/viam/api/v1/frame_" + "system/transform_pose\022\210\001\n\014TransformPCD\022\"" + ".viam.robot.v1.TransformPCDRequest\032#.via" + "m.robot.v1.TransformPCDResponse\"/\202\323\344\223\002)\022" + "\'/viam/api/v1/frame_system/transform_pcd" + "\022n\n\tGetStatus\022\037.viam.robot.v1.GetStatusR" + "equest\032 .viam.robot.v1.GetStatusResponse" + "\"\036\210\002\001\202\323\344\223\002\025\022\023/viam/api/v1/status\022\200\001\n\014Str" + "eamStatus\022\".viam.robot.v1.StreamStatusRe" + "quest\032#.viam.robot.v1.StreamStatusRespon" + "se\"%\210\002\001\202\323\344\223\002\034\022\032/viam/api/v1/status/strea" + "m0\001\022g\n\007StopAll\022\035.viam.robot.v1.StopAllRe" + "quest\032\036.viam.robot.v1.StopAllResponse\"\035\202" + "\323\344\223\002\027\022\025/viam/api/v1/stop_all\022v\n\014StartSes" + "sion\022\".viam.robot.v1.StartSessionRequest" + "\032#.viam.robot.v1.StartSessionResponse\"\035\202" + "\323\344\223\002\027\"\025/viam/api/v1/sessions\022\235\001\n\024SendSes" + "sionHeartbeat\022*.viam.robot.v1.SendSessio" + "nHeartbeatRequest\032+.viam.robot.v1.SendSe" + "ssionHeartbeatResponse\",\202\323\344\223\002&\"$/viam/ap" + "i/v1/sessions/{id}/heartbeat\022V\n\003Log\022\031.vi" + "am.robot.v1.LogRequest\032\032.viam.robot.v1.L" + "ogResponse\"\030\202\323\344\223\002\022\"\020/viam/api/v1/log\022\210\001\n" + "\020GetCloudMetadata\022&.viam.robot.v1.GetClo" + "udMetadataRequest\032\'.viam.robot.v1.GetClo" + "udMetadataResponse\"#\202\323\344\223\002\035\022\033/viam/api/v1" + "/cloud_metadata\022\177\n\rRestartModule\022#.viam." + "robot.v1.RestartModuleRequest\032$.viam.rob" + "ot.v1.RestartModuleResponse\"#\202\323\344\223\002\035\"\033/vi" + "am/api/v1/restart_module\022j\n\010Shutdown\022\036.v" + "iam.robot.v1.ShutdownRequest\032\037.viam.robo" + "t.v1.ShutdownResponse\"\035\202\323\344\223\002\027\"\025/viam/api" + "/v1/shutdown\022\210\001\n\020GetMachineStatus\022&.viam" + ".robot.v1.GetMachineStatusRequest\032\'.viam" + ".robot.v1.GetMachineStatusResponse\"#\202\323\344\223" + "\002\035\022\033/viam/api/v1/machine_statusB\217\001\n\021com." + "viam.robot.v1B\nRobotProtoP\001Z\030go.viam.com" + "/api/robot/v1\242\002\003VRX\252\002\rViam.Robot.V1\312\002\rVi" + "am\\Robot\\V1\342\002\031Viam\\Robot\\V1\\GPBMetadata\352" + "\002\017Viam::Robot::V1b\006proto3" }; static const ::_pbi::DescriptorTable* const descriptor_table_robot_2fv1_2frobot_2eproto_deps[5] = { @@ -1661,13 +1764,13 @@ static ::absl::once_flag descriptor_table_robot_2fv1_2frobot_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_robot_2fv1_2frobot_2eproto = { false, false, - 6903, + 7465, descriptor_table_protodef_robot_2fv1_2frobot_2eproto, "robot/v1/robot.proto", &descriptor_table_robot_2fv1_2frobot_2eproto_once, descriptor_table_robot_2fv1_2frobot_2eproto_deps, 5, - 47, + 50, schemas, file_default_instances, TableStruct_robot_2fv1_2frobot_2eproto::offsets, @@ -1696,10 +1799,33 @@ static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_robot_2fv1_2frobot_2eprot namespace viam { namespace robot { namespace v1 { -const ::google::protobuf::EnumDescriptor* PeerConnectionType_descriptor() { +const ::google::protobuf::EnumDescriptor* ResourceStatus_State_descriptor() { ::google::protobuf::internal::AssignDescriptors(&descriptor_table_robot_2fv1_2frobot_2eproto); return file_level_enum_descriptors_robot_2fv1_2frobot_2eproto[0]; } +PROTOBUF_CONSTINIT const uint32_t ResourceStatus_State_internal_data_[] = { + 327680u, 0u, }; +bool ResourceStatus_State_IsValid(int value) { + return 0 <= value && value <= 4; +} +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) + +constexpr ResourceStatus_State ResourceStatus::STATE_UNSPECIFIED; +constexpr ResourceStatus_State ResourceStatus::STATE_UNCONFIGURED; +constexpr ResourceStatus_State ResourceStatus::STATE_CONFIGURING; +constexpr ResourceStatus_State ResourceStatus::STATE_READY; +constexpr ResourceStatus_State ResourceStatus::STATE_REMOVING; +constexpr ResourceStatus_State ResourceStatus::State_MIN; +constexpr ResourceStatus_State ResourceStatus::State_MAX; +constexpr int ResourceStatus::State_ARRAYSIZE; + +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* PeerConnectionType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_robot_2fv1_2frobot_2eproto); + return file_level_enum_descriptors_robot_2fv1_2frobot_2eproto[1]; +} PROTOBUF_CONSTINIT const uint32_t PeerConnectionType_internal_data_[] = { 196608u, 0u, }; bool PeerConnectionType_IsValid(int value) { @@ -9772,6 +9898,522 @@ ::google::protobuf::Metadata ShutdownResponse::GetMetadata() const { &descriptor_table_robot_2fv1_2frobot_2eproto_getter, &descriptor_table_robot_2fv1_2frobot_2eproto_once, file_level_metadata_robot_2fv1_2frobot_2eproto[46]); } +// =================================================================== + +class GetMachineStatusRequest::_Internal { + public: +}; + +GetMachineStatusRequest::GetMachineStatusRequest(::google::protobuf::Arena* arena) + : ::google::protobuf::internal::ZeroFieldsBase(arena) { + // @@protoc_insertion_point(arena_constructor:viam.robot.v1.GetMachineStatusRequest) +} +GetMachineStatusRequest::GetMachineStatusRequest( + ::google::protobuf::Arena* arena, + const GetMachineStatusRequest& from) + : ::google::protobuf::internal::ZeroFieldsBase(arena) { + GetMachineStatusRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:viam.robot.v1.GetMachineStatusRequest) +} + + + + + + + + + +::google::protobuf::Metadata GetMachineStatusRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_robot_2fv1_2frobot_2eproto_getter, &descriptor_table_robot_2fv1_2frobot_2eproto_once, + file_level_metadata_robot_2fv1_2frobot_2eproto[47]); +} +// =================================================================== + +class GetMachineStatusResponse::_Internal { + public: +}; + +GetMachineStatusResponse::GetMachineStatusResponse(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.robot.v1.GetMachineStatusResponse) +} +inline PROTOBUF_NDEBUG_INLINE GetMachineStatusResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : resources_{visibility, arena, from.resources_}, + _cached_size_{0} {} + +GetMachineStatusResponse::GetMachineStatusResponse( + ::google::protobuf::Arena* arena, + const GetMachineStatusResponse& from) + : ::google::protobuf::Message(arena) { + GetMachineStatusResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + + // @@protoc_insertion_point(copy_constructor:viam.robot.v1.GetMachineStatusResponse) +} +inline PROTOBUF_NDEBUG_INLINE GetMachineStatusResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : resources_{visibility, arena}, + _cached_size_{0} {} + +inline void GetMachineStatusResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GetMachineStatusResponse::~GetMachineStatusResponse() { + // @@protoc_insertion_point(destructor:viam.robot.v1.GetMachineStatusResponse) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void GetMachineStatusResponse::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void GetMachineStatusResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.robot.v1.GetMachineStatusResponse) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.resources_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* GetMachineStatusResponse::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetMachineStatusResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + &_GetMachineStatusResponse_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + // repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"]; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetMachineStatusResponse, _impl_.resources_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"]; + {PROTOBUF_FIELD_OFFSET(GetMachineStatusResponse, _impl_.resources_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::viam::robot::v1::ResourceStatus>()}, + }}, {{ + }}, +}; + +::uint8_t* GetMachineStatusResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.robot.v1.GetMachineStatusResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"]; + for (unsigned i = 0, + n = static_cast(this->_internal_resources_size()); i < n; i++) { + const auto& repfield = this->_internal_resources().Get(i); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.robot.v1.GetMachineStatusResponse) + return target; +} + +::size_t GetMachineStatusResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.robot.v1.GetMachineStatusResponse) + ::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.robot.v1.ResourceStatus resources = 1 [json_name = "resources"]; + total_size += 1UL * this->_internal_resources_size(); + for (const auto& msg : this->_internal_resources()) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData GetMachineStatusResponse::_class_data_ = { + GetMachineStatusResponse::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* GetMachineStatusResponse::GetClassData() const { + return &_class_data_; +} + +void GetMachineStatusResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.robot.v1.GetMachineStatusResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_resources()->MergeFrom( + from._internal_resources()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetMachineStatusResponse::CopyFrom(const GetMachineStatusResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.robot.v1.GetMachineStatusResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool GetMachineStatusResponse::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* GetMachineStatusResponse::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void GetMachineStatusResponse::InternalSwap(GetMachineStatusResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.resources_.InternalSwap(&other->_impl_.resources_); +} + +::google::protobuf::Metadata GetMachineStatusResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_robot_2fv1_2frobot_2eproto_getter, &descriptor_table_robot_2fv1_2frobot_2eproto_once, + file_level_metadata_robot_2fv1_2frobot_2eproto[48]); +} +// =================================================================== + +class ResourceStatus::_Internal { + public: + using HasBits = decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_._has_bits_); + static const ::viam::common::v1::ResourceName& name(const ResourceStatus* msg); + static void set_has_name(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static const ::google::protobuf::Timestamp& last_updated(const ResourceStatus* msg); + static void set_has_last_updated(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } +}; + +const ::viam::common::v1::ResourceName& ResourceStatus::_Internal::name(const ResourceStatus* msg) { + return *msg->_impl_.name_; +} +const ::google::protobuf::Timestamp& ResourceStatus::_Internal::last_updated(const ResourceStatus* msg) { + return *msg->_impl_.last_updated_; +} +void ResourceStatus::clear_name() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (_impl_.name_ != nullptr) _impl_.name_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void ResourceStatus::clear_last_updated() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (_impl_.last_updated_ != nullptr) _impl_.last_updated_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +ResourceStatus::ResourceStatus(::google::protobuf::Arena* arena) + : ::google::protobuf::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:viam.robot.v1.ResourceStatus) +} +inline PROTOBUF_NDEBUG_INLINE ResourceStatus::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ResourceStatus::ResourceStatus( + ::google::protobuf::Arena* arena, + const ResourceStatus& from) + : ::google::protobuf::Message(arena) { + ResourceStatus* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.name_ = (cached_has_bits & 0x00000001u) + ? CreateMaybeMessage<::viam::common::v1::ResourceName>(arena, *from._impl_.name_) + : nullptr; + _impl_.last_updated_ = (cached_has_bits & 0x00000002u) + ? CreateMaybeMessage<::google::protobuf::Timestamp>(arena, *from._impl_.last_updated_) + : nullptr; + _impl_.state_ = from._impl_.state_; + + // @@protoc_insertion_point(copy_constructor:viam.robot.v1.ResourceStatus) +} +inline PROTOBUF_NDEBUG_INLINE ResourceStatus::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ResourceStatus::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, name_), + 0, + offsetof(Impl_, state_) - + offsetof(Impl_, name_) + + sizeof(Impl_::state_)); +} +ResourceStatus::~ResourceStatus() { + // @@protoc_insertion_point(destructor:viam.robot.v1.ResourceStatus) + _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + SharedDtor(); +} +inline void ResourceStatus::SharedDtor() { + ABSL_DCHECK(GetArena() == nullptr); + delete _impl_.name_; + delete _impl_.last_updated_; + _impl_.~Impl_(); +} + +PROTOBUF_NOINLINE void ResourceStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.robot.v1.ResourceStatus) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.name_ != nullptr); + _impl_.name_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.last_updated_ != nullptr); + _impl_.last_updated_->Clear(); + } + } + _impl_.state_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +const char* ResourceStatus::_InternalParse( + const char* ptr, ::_pbi::ParseContext* ctx) { + ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); + return ptr; +} + + +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> ResourceStatus::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + &_ResourceStatus_default_instance_._instance, + ::_pbi::TcParser::GenericFallback, // fallback + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .viam.common.v1.ResourceName name = 1 [json_name = "name"]; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.name_)}}, + // .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"]; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ResourceStatus, _impl_.state_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.state_)}}, + // .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"]; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.last_updated_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .viam.common.v1.ResourceName name = 1 [json_name = "name"]; + {PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"]; + {PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.state_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"]; + {PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.last_updated_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::viam::common::v1::ResourceName>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + }}, +}; + +::uint8_t* ResourceStatus::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.robot.v1.ResourceStatus) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + // .viam.common.v1.ResourceName name = 1 [json_name = "name"]; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, _Internal::name(this), + _Internal::name(this).GetCachedSize(), target, stream); + } + + // .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"]; + if (this->_internal_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this->_internal_state(), target); + } + + // .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"]; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, _Internal::last_updated(this), + _Internal::last_updated(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.robot.v1.ResourceStatus) + return target; +} + +::size_t ResourceStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.robot.v1.ResourceStatus) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .viam.common.v1.ResourceName name = 1 [json_name = "name"]; + if (cached_has_bits & 0x00000001u) { + total_size += + 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.name_); + } + + // .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"]; + if (cached_has_bits & 0x00000002u) { + total_size += + 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.last_updated_); + } + + } + // .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"]; + if (this->_internal_state() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_state()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::google::protobuf::Message::ClassData ResourceStatus::_class_data_ = { + ResourceStatus::MergeImpl, + nullptr, // OnDemandRegisterArenaDtor +}; +const ::google::protobuf::Message::ClassData* ResourceStatus::GetClassData() const { + return &_class_data_; +} + +void ResourceStatus::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:viam.robot.v1.ResourceStatus) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _this->_internal_mutable_name()->::viam::common::v1::ResourceName::MergeFrom( + from._internal_name()); + } + if (cached_has_bits & 0x00000002u) { + _this->_internal_mutable_last_updated()->::google::protobuf::Timestamp::MergeFrom( + from._internal_last_updated()); + } + } + if (from._internal_state() != 0) { + _this->_internal_set_state(from._internal_state()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ResourceStatus::CopyFrom(const ResourceStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.robot.v1.ResourceStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +PROTOBUF_NOINLINE bool ResourceStatus::IsInitialized() const { + return true; +} + +::_pbi::CachedSize* ResourceStatus::AccessCachedSize() const { + return &_impl_._cached_size_; +} +void ResourceStatus::InternalSwap(ResourceStatus* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.state_) + + sizeof(ResourceStatus::_impl_.state_) + - PROTOBUF_FIELD_OFFSET(ResourceStatus, _impl_.name_)>( + reinterpret_cast(&_impl_.name_), + reinterpret_cast(&other->_impl_.name_)); +} + +::google::protobuf::Metadata ResourceStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_robot_2fv1_2frobot_2eproto_getter, &descriptor_table_robot_2fv1_2frobot_2eproto_once, + file_level_metadata_robot_2fv1_2frobot_2eproto[49]); +} // @@protoc_insertion_point(namespace_scope) } // namespace v1 } // namespace robot diff --git a/src/viam/api/robot/v1/robot.pb.h b/src/viam/api/robot/v1/robot.pb.h index 28c631fb3..e8f45ae2d 100644 --- a/src/viam/api/robot/v1/robot.pb.h +++ b/src/viam/api/robot/v1/robot.pb.h @@ -104,6 +104,12 @@ extern GetCloudMetadataRequestDefaultTypeInternal _GetCloudMetadataRequest_defau class GetCloudMetadataResponse; struct GetCloudMetadataResponseDefaultTypeInternal; extern GetCloudMetadataResponseDefaultTypeInternal _GetCloudMetadataResponse_default_instance_; +class GetMachineStatusRequest; +struct GetMachineStatusRequestDefaultTypeInternal; +extern GetMachineStatusRequestDefaultTypeInternal _GetMachineStatusRequest_default_instance_; +class GetMachineStatusResponse; +struct GetMachineStatusResponseDefaultTypeInternal; +extern GetMachineStatusResponseDefaultTypeInternal _GetMachineStatusResponse_default_instance_; class GetOperationsRequest; struct GetOperationsRequestDefaultTypeInternal; extern GetOperationsRequestDefaultTypeInternal _GetOperationsRequest_default_instance_; @@ -149,6 +155,9 @@ extern ResourceRPCSubtypesRequestDefaultTypeInternal _ResourceRPCSubtypesRequest class ResourceRPCSubtypesResponse; struct ResourceRPCSubtypesResponseDefaultTypeInternal; extern ResourceRPCSubtypesResponseDefaultTypeInternal _ResourceRPCSubtypesResponse_default_instance_; +class ResourceStatus; +struct ResourceStatusDefaultTypeInternal; +extern ResourceStatusDefaultTypeInternal _ResourceStatus_default_instance_; class RestartModuleRequest; struct RestartModuleRequestDefaultTypeInternal; extern RestartModuleRequestDefaultTypeInternal _RestartModuleRequest_default_instance_; @@ -217,6 +226,42 @@ namespace protobuf { namespace viam { namespace robot { namespace v1 { +enum ResourceStatus_State : int { + ResourceStatus_State_STATE_UNSPECIFIED = 0, + ResourceStatus_State_STATE_UNCONFIGURED = 1, + ResourceStatus_State_STATE_CONFIGURING = 2, + ResourceStatus_State_STATE_READY = 3, + ResourceStatus_State_STATE_REMOVING = 4, + ResourceStatus_State_ResourceStatus_State_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ResourceStatus_State_ResourceStatus_State_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ResourceStatus_State_IsValid(int value); +extern const uint32_t ResourceStatus_State_internal_data_[]; +constexpr ResourceStatus_State ResourceStatus_State_State_MIN = static_cast(0); +constexpr ResourceStatus_State ResourceStatus_State_State_MAX = static_cast(4); +constexpr int ResourceStatus_State_State_ARRAYSIZE = 4 + 1; +const ::google::protobuf::EnumDescriptor* +ResourceStatus_State_descriptor(); +template +const std::string& ResourceStatus_State_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to State_Name()."); + return ResourceStatus_State_Name(static_cast(value)); +} +template <> +inline const std::string& ResourceStatus_State_Name(ResourceStatus_State value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ResourceStatus_State_Parse(absl::string_view name, ResourceStatus_State* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ResourceStatus_State_descriptor(), name, value); +} enum PeerConnectionType : int { PEER_CONNECTION_TYPE_UNSPECIFIED = 0, PEER_CONNECTION_TYPE_GRPC = 1, @@ -2811,6 +2856,142 @@ class GetOperationsRequest final : friend struct ::TableStruct_robot_2fv1_2frobot_2eproto; };// ------------------------------------------------------------------- +class GetMachineStatusRequest final : + public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.robot.v1.GetMachineStatusRequest) */ { + public: + inline GetMachineStatusRequest() : GetMachineStatusRequest(nullptr) {} + template + explicit PROTOBUF_CONSTEXPR GetMachineStatusRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetMachineStatusRequest(const GetMachineStatusRequest& from) + : GetMachineStatusRequest(nullptr, from) {} + GetMachineStatusRequest(GetMachineStatusRequest&& from) noexcept + : GetMachineStatusRequest() { + *this = ::std::move(from); + } + + inline GetMachineStatusRequest& operator=(const GetMachineStatusRequest& from) { + CopyFrom(from); + return *this; + } + inline GetMachineStatusRequest& operator=(GetMachineStatusRequest&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetMachineStatusRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetMachineStatusRequest* internal_default_instance() { + return reinterpret_cast( + &_GetMachineStatusRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(GetMachineStatusRequest& a, GetMachineStatusRequest& b) { + a.Swap(&b); + } + inline void Swap(GetMachineStatusRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetMachineStatusRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetMachineStatusRequest* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GetMachineStatusRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GetMachineStatusRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.robot.v1.GetMachineStatusRequest"; + } + protected: + explicit GetMachineStatusRequest(::google::protobuf::Arena* arena); + GetMachineStatusRequest(::google::protobuf::Arena* arena, const GetMachineStatusRequest& from); + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:viam.robot.v1.GetMachineStatusRequest) + private: + class _Internal; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_robot_2fv1_2frobot_2eproto; +};// ------------------------------------------------------------------- + class GetCloudMetadataResponse final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.robot.v1.GetCloudMetadataResponse) */ { public: @@ -5045,6 +5226,239 @@ class Session final : friend struct ::TableStruct_robot_2fv1_2frobot_2eproto; };// ------------------------------------------------------------------- +class ResourceStatus final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.robot.v1.ResourceStatus) */ { + public: + inline ResourceStatus() : ResourceStatus(nullptr) {} + ~ResourceStatus() override; + template + explicit PROTOBUF_CONSTEXPR ResourceStatus(::google::protobuf::internal::ConstantInitialized); + + inline ResourceStatus(const ResourceStatus& from) + : ResourceStatus(nullptr, from) {} + ResourceStatus(ResourceStatus&& from) noexcept + : ResourceStatus() { + *this = ::std::move(from); + } + + inline ResourceStatus& operator=(const ResourceStatus& from) { + CopyFrom(from); + return *this; + } + inline ResourceStatus& operator=(ResourceStatus&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ResourceStatus& default_instance() { + return *internal_default_instance(); + } + static inline const ResourceStatus* internal_default_instance() { + return reinterpret_cast( + &_ResourceStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(ResourceStatus& a, ResourceStatus& b) { + a.Swap(&b); + } + inline void Swap(ResourceStatus* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ResourceStatus* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ResourceStatus* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ResourceStatus& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const ResourceStatus& from) { + ResourceStatus::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(ResourceStatus* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.robot.v1.ResourceStatus"; + } + protected: + explicit ResourceStatus(::google::protobuf::Arena* arena); + ResourceStatus(::google::protobuf::Arena* arena, const ResourceStatus& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + using State = ResourceStatus_State; + static constexpr State STATE_UNSPECIFIED = ResourceStatus_State_STATE_UNSPECIFIED; + static constexpr State STATE_UNCONFIGURED = ResourceStatus_State_STATE_UNCONFIGURED; + static constexpr State STATE_CONFIGURING = ResourceStatus_State_STATE_CONFIGURING; + static constexpr State STATE_READY = ResourceStatus_State_STATE_READY; + static constexpr State STATE_REMOVING = ResourceStatus_State_STATE_REMOVING; + static inline bool State_IsValid(int value) { + return ResourceStatus_State_IsValid(value); + } + static constexpr State State_MIN = ResourceStatus_State_State_MIN; + static constexpr State State_MAX = ResourceStatus_State_State_MAX; + static constexpr int State_ARRAYSIZE = ResourceStatus_State_State_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { + return ResourceStatus_State_descriptor(); + } + template + static inline const std::string& State_Name(T value) { + return ResourceStatus_State_Name(value); + } + static inline bool State_Parse(absl::string_view name, State* value) { + return ResourceStatus_State_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + enum : int { + kNameFieldNumber = 1, + kLastUpdatedFieldNumber = 3, + kStateFieldNumber = 2, + }; + // .viam.common.v1.ResourceName name = 1 [json_name = "name"]; + bool has_name() const; + void clear_name() ; + const ::viam::common::v1::ResourceName& name() const; + PROTOBUF_NODISCARD ::viam::common::v1::ResourceName* release_name(); + ::viam::common::v1::ResourceName* mutable_name(); + void set_allocated_name(::viam::common::v1::ResourceName* value); + void unsafe_arena_set_allocated_name(::viam::common::v1::ResourceName* value); + ::viam::common::v1::ResourceName* unsafe_arena_release_name(); + + private: + const ::viam::common::v1::ResourceName& _internal_name() const; + ::viam::common::v1::ResourceName* _internal_mutable_name(); + + public: + // .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"]; + bool has_last_updated() const; + void clear_last_updated() ; + const ::google::protobuf::Timestamp& last_updated() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_last_updated(); + ::google::protobuf::Timestamp* mutable_last_updated(); + void set_allocated_last_updated(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_last_updated(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_last_updated(); + + private: + const ::google::protobuf::Timestamp& _internal_last_updated() const; + ::google::protobuf::Timestamp* _internal_mutable_last_updated(); + + public: + // .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"]; + void clear_state() ; + ::viam::robot::v1::ResourceStatus_State state() const; + void set_state(::viam::robot::v1::ResourceStatus_State value); + + private: + ::viam::robot::v1::ResourceStatus_State _internal_state() const; + void _internal_set_state(::viam::robot::v1::ResourceStatus_State value); + + public: + // @@protoc_insertion_point(class_scope:viam.robot.v1.ResourceStatus) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 0, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::viam::common::v1::ResourceName* name_; + ::google::protobuf::Timestamp* last_updated_; + int state_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_robot_2fv1_2frobot_2eproto; +};// ------------------------------------------------------------------- + class ResourceRPCSubtype final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.robot.v1.ResourceRPCSubtype) */ { public: @@ -7485,14 +7899,197 @@ class GetSessionsResponse final : ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Session >* mutable_sessions(); private: - const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Session>& _internal_sessions() const; - ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Session>* _internal_mutable_sessions(); + const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Session>& _internal_sessions() const; + ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Session>* _internal_mutable_sessions(); + public: + const ::viam::robot::v1::Session& sessions(int index) const; + ::viam::robot::v1::Session* add_sessions(); + const ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Session >& + sessions() const; + // @@protoc_insertion_point(class_scope:viam.robot.v1.GetSessionsResponse) + private: + class _Internal; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); + ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Session > sessions_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_robot_2fv1_2frobot_2eproto; +};// ------------------------------------------------------------------- + +class GetOperationsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.robot.v1.GetOperationsResponse) */ { + public: + inline GetOperationsResponse() : GetOperationsResponse(nullptr) {} + ~GetOperationsResponse() override; + template + explicit PROTOBUF_CONSTEXPR GetOperationsResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetOperationsResponse(const GetOperationsResponse& from) + : GetOperationsResponse(nullptr, from) {} + GetOperationsResponse(GetOperationsResponse&& from) noexcept + : GetOperationsResponse() { + *this = ::std::move(from); + } + + inline GetOperationsResponse& operator=(const GetOperationsResponse& from) { + CopyFrom(from); + return *this; + } + inline GetOperationsResponse& operator=(GetOperationsResponse&& from) noexcept { + if (this == &from) return *this; + if (GetArena() == from.GetArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetOperationsResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetOperationsResponse* internal_default_instance() { + return reinterpret_cast( + &_GetOperationsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(GetOperationsResponse& a, GetOperationsResponse& b) { + a.Swap(&b); + } + inline void Swap(GetOperationsResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && + GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() == other->GetArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetOperationsResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetOperationsResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetOperationsResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom( const GetOperationsResponse& from) { + GetOperationsResponse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; + void SharedCtor(::google::protobuf::Arena* arena); + void SharedDtor(); + void InternalSwap(GetOperationsResponse* other); + + private: + friend class ::google::protobuf::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "viam.robot.v1.GetOperationsResponse"; + } + protected: + explicit GetOperationsResponse(::google::protobuf::Arena* arena); + GetOperationsResponse(::google::protobuf::Arena* arena, const GetOperationsResponse& from); + public: + + static const ClassData _class_data_; + const ::google::protobuf::Message::ClassData*GetClassData() const final; + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kOperationsFieldNumber = 1, + }; + // repeated .viam.robot.v1.Operation operations = 1 [json_name = "operations"]; + int operations_size() const; + private: + int _internal_operations_size() const; + + public: + void clear_operations() ; + ::viam::robot::v1::Operation* mutable_operations(int index); + ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Operation >* + mutable_operations(); + private: + const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Operation>& _internal_operations() const; + ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Operation>* _internal_mutable_operations(); public: - const ::viam::robot::v1::Session& sessions(int index) const; - ::viam::robot::v1::Session* add_sessions(); - const ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Session >& - sessions() const; - // @@protoc_insertion_point(class_scope:viam.robot.v1.GetSessionsResponse) + const ::viam::robot::v1::Operation& operations(int index) const; + ::viam::robot::v1::Operation* add_operations(); + const ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Operation >& + operations() const; + // @@protoc_insertion_point(class_scope:viam.robot.v1.GetOperationsResponse) private: class _Internal; @@ -7515,7 +8112,7 @@ class GetSessionsResponse final : ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from); - ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Session > sessions_; + ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Operation > operations_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -7523,26 +8120,26 @@ class GetSessionsResponse final : friend struct ::TableStruct_robot_2fv1_2frobot_2eproto; };// ------------------------------------------------------------------- -class GetOperationsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.robot.v1.GetOperationsResponse) */ { +class GetMachineStatusResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:viam.robot.v1.GetMachineStatusResponse) */ { public: - inline GetOperationsResponse() : GetOperationsResponse(nullptr) {} - ~GetOperationsResponse() override; + inline GetMachineStatusResponse() : GetMachineStatusResponse(nullptr) {} + ~GetMachineStatusResponse() override; template - explicit PROTOBUF_CONSTEXPR GetOperationsResponse(::google::protobuf::internal::ConstantInitialized); + explicit PROTOBUF_CONSTEXPR GetMachineStatusResponse(::google::protobuf::internal::ConstantInitialized); - inline GetOperationsResponse(const GetOperationsResponse& from) - : GetOperationsResponse(nullptr, from) {} - GetOperationsResponse(GetOperationsResponse&& from) noexcept - : GetOperationsResponse() { + inline GetMachineStatusResponse(const GetMachineStatusResponse& from) + : GetMachineStatusResponse(nullptr, from) {} + GetMachineStatusResponse(GetMachineStatusResponse&& from) noexcept + : GetMachineStatusResponse() { *this = ::std::move(from); } - inline GetOperationsResponse& operator=(const GetOperationsResponse& from) { + inline GetMachineStatusResponse& operator=(const GetMachineStatusResponse& from) { CopyFrom(from); return *this; } - inline GetOperationsResponse& operator=(GetOperationsResponse&& from) noexcept { + inline GetMachineStatusResponse& operator=(GetMachineStatusResponse&& from) noexcept { if (this == &from) return *this; if (GetArena() == from.GetArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -7574,20 +8171,20 @@ class GetOperationsResponse final : static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetOperationsResponse& default_instance() { + static const GetMachineStatusResponse& default_instance() { return *internal_default_instance(); } - static inline const GetOperationsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetOperationsResponse_default_instance_); + static inline const GetMachineStatusResponse* internal_default_instance() { + return reinterpret_cast( + &_GetMachineStatusResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 48; - friend void swap(GetOperationsResponse& a, GetOperationsResponse& b) { + friend void swap(GetMachineStatusResponse& a, GetMachineStatusResponse& b) { a.Swap(&b); } - inline void Swap(GetOperationsResponse* other) { + inline void Swap(GetMachineStatusResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && @@ -7600,7 +8197,7 @@ class GetOperationsResponse final : ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetOperationsResponse* other) { + void UnsafeArenaSwap(GetMachineStatusResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7608,14 +8205,14 @@ class GetOperationsResponse final : // implements Message ---------------------------------------------- - GetOperationsResponse* New(::google::protobuf::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetMachineStatusResponse* New(::google::protobuf::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetOperationsResponse& from); + void CopyFrom(const GetMachineStatusResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom( const GetOperationsResponse& from) { - GetOperationsResponse::MergeImpl(*this, from); + void MergeFrom( const GetMachineStatusResponse& from) { + GetMachineStatusResponse::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); @@ -7633,16 +8230,16 @@ class GetOperationsResponse final : ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); - void InternalSwap(GetOperationsResponse* other); + void InternalSwap(GetMachineStatusResponse* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { - return "viam.robot.v1.GetOperationsResponse"; + return "viam.robot.v1.GetMachineStatusResponse"; } protected: - explicit GetOperationsResponse(::google::protobuf::Arena* arena); - GetOperationsResponse(::google::protobuf::Arena* arena, const GetOperationsResponse& from); + explicit GetMachineStatusResponse(::google::protobuf::Arena* arena); + GetMachineStatusResponse(::google::protobuf::Arena* arena, const GetMachineStatusResponse& from); public: static const ClassData _class_data_; @@ -7655,27 +8252,27 @@ class GetOperationsResponse final : // accessors ------------------------------------------------------- enum : int { - kOperationsFieldNumber = 1, + kResourcesFieldNumber = 1, }; - // repeated .viam.robot.v1.Operation operations = 1 [json_name = "operations"]; - int operations_size() const; + // repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"]; + int resources_size() const; private: - int _internal_operations_size() const; + int _internal_resources_size() const; public: - void clear_operations() ; - ::viam::robot::v1::Operation* mutable_operations(int index); - ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Operation >* - mutable_operations(); + void clear_resources() ; + ::viam::robot::v1::ResourceStatus* mutable_resources(int index); + ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::ResourceStatus >* + mutable_resources(); private: - const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Operation>& _internal_operations() const; - ::google::protobuf::RepeatedPtrField<::viam::robot::v1::Operation>* _internal_mutable_operations(); + const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::ResourceStatus>& _internal_resources() const; + ::google::protobuf::RepeatedPtrField<::viam::robot::v1::ResourceStatus>* _internal_mutable_resources(); public: - const ::viam::robot::v1::Operation& operations(int index) const; - ::viam::robot::v1::Operation* add_operations(); - const ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Operation >& - operations() const; - // @@protoc_insertion_point(class_scope:viam.robot.v1.GetOperationsResponse) + const ::viam::robot::v1::ResourceStatus& resources(int index) const; + ::viam::robot::v1::ResourceStatus* add_resources(); + const ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::ResourceStatus >& + resources() const; + // @@protoc_insertion_point(class_scope:viam.robot.v1.GetMachineStatusResponse) private: class _Internal; @@ -7698,7 +8295,7 @@ class GetOperationsResponse final : ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from); - ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::Operation > operations_; + ::google::protobuf::RepeatedPtrField< ::viam::robot::v1::ResourceStatus > resources_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; @@ -12668,6 +13265,272 @@ inline RestartModuleRequest::IdOrNameCase RestartModuleRequest::id_or_name_case( // ShutdownResponse +// ------------------------------------------------------------------- + +// GetMachineStatusRequest + +// ------------------------------------------------------------------- + +// GetMachineStatusResponse + +// repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"]; +inline int GetMachineStatusResponse::_internal_resources_size() const { + return _internal_resources().size(); +} +inline int GetMachineStatusResponse::resources_size() const { + return _internal_resources_size(); +} +inline void GetMachineStatusResponse::clear_resources() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.resources_.Clear(); +} +inline ::viam::robot::v1::ResourceStatus* GetMachineStatusResponse::mutable_resources(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:viam.robot.v1.GetMachineStatusResponse.resources) + return _internal_mutable_resources()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::viam::robot::v1::ResourceStatus>* GetMachineStatusResponse::mutable_resources() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:viam.robot.v1.GetMachineStatusResponse.resources) + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + return _internal_mutable_resources(); +} +inline const ::viam::robot::v1::ResourceStatus& GetMachineStatusResponse::resources(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.robot.v1.GetMachineStatusResponse.resources) + return _internal_resources().Get(index); +} +inline ::viam::robot::v1::ResourceStatus* GetMachineStatusResponse::add_resources() ABSL_ATTRIBUTE_LIFETIME_BOUND { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ::viam::robot::v1::ResourceStatus* _add = _internal_mutable_resources()->Add(); + // @@protoc_insertion_point(field_add:viam.robot.v1.GetMachineStatusResponse.resources) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::ResourceStatus>& GetMachineStatusResponse::resources() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:viam.robot.v1.GetMachineStatusResponse.resources) + return _internal_resources(); +} +inline const ::google::protobuf::RepeatedPtrField<::viam::robot::v1::ResourceStatus>& +GetMachineStatusResponse::_internal_resources() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.resources_; +} +inline ::google::protobuf::RepeatedPtrField<::viam::robot::v1::ResourceStatus>* +GetMachineStatusResponse::_internal_mutable_resources() { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return &_impl_.resources_; +} + +// ------------------------------------------------------------------- + +// ResourceStatus + +// .viam.common.v1.ResourceName name = 1 [json_name = "name"]; +inline bool ResourceStatus::has_name() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.name_ != nullptr); + return value; +} +inline const ::viam::common::v1::ResourceName& ResourceStatus::_internal_name() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + const ::viam::common::v1::ResourceName* p = _impl_.name_; + return p != nullptr ? *p : reinterpret_cast(::viam::common::v1::_ResourceName_default_instance_); +} +inline const ::viam::common::v1::ResourceName& ResourceStatus::name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.robot.v1.ResourceStatus.name) + return _internal_name(); +} +inline void ResourceStatus::unsafe_arena_set_allocated_name(::viam::common::v1::ResourceName* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.name_); + } + _impl_.name_ = reinterpret_cast<::viam::common::v1::ResourceName*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:viam.robot.v1.ResourceStatus.name) +} +inline ::viam::common::v1::ResourceName* ResourceStatus::release_name() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::viam::common::v1::ResourceName* released = _impl_.name_; + _impl_.name_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return released; +} +inline ::viam::common::v1::ResourceName* ResourceStatus::unsafe_arena_release_name() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.robot.v1.ResourceStatus.name) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::viam::common::v1::ResourceName* temp = _impl_.name_; + _impl_.name_ = nullptr; + return temp; +} +inline ::viam::common::v1::ResourceName* ResourceStatus::_internal_mutable_name() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000001u; + if (_impl_.name_ == nullptr) { + auto* p = CreateMaybeMessage<::viam::common::v1::ResourceName>(GetArena()); + _impl_.name_ = reinterpret_cast<::viam::common::v1::ResourceName*>(p); + } + return _impl_.name_; +} +inline ::viam::common::v1::ResourceName* ResourceStatus::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::viam::common::v1::ResourceName* _msg = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:viam.robot.v1.ResourceStatus.name) + return _msg; +} +inline void ResourceStatus::set_allocated_name(::viam::common::v1::ResourceName* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.name_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.name_ = reinterpret_cast<::viam::common::v1::ResourceName*>(value); + // @@protoc_insertion_point(field_set_allocated:viam.robot.v1.ResourceStatus.name) +} + +// .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"]; +inline void ResourceStatus::clear_state() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.state_ = 0; +} +inline ::viam::robot::v1::ResourceStatus_State ResourceStatus::state() const { + // @@protoc_insertion_point(field_get:viam.robot.v1.ResourceStatus.state) + return _internal_state(); +} +inline void ResourceStatus::set_state(::viam::robot::v1::ResourceStatus_State value) { + _internal_set_state(value); + // @@protoc_insertion_point(field_set:viam.robot.v1.ResourceStatus.state) +} +inline ::viam::robot::v1::ResourceStatus_State ResourceStatus::_internal_state() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return static_cast<::viam::robot::v1::ResourceStatus_State>(_impl_.state_); +} +inline void ResourceStatus::_internal_set_state(::viam::robot::v1::ResourceStatus_State value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.state_ = value; +} + +// .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"]; +inline bool ResourceStatus::has_last_updated() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.last_updated_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& ResourceStatus::_internal_last_updated() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + const ::google::protobuf::Timestamp* p = _impl_.last_updated_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& ResourceStatus::last_updated() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:viam.robot.v1.ResourceStatus.last_updated) + return _internal_last_updated(); +} +inline void ResourceStatus::unsafe_arena_set_allocated_last_updated(::google::protobuf::Timestamp* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_updated_); + } + _impl_.last_updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:viam.robot.v1.ResourceStatus.last_updated) +} +inline ::google::protobuf::Timestamp* ResourceStatus::release_last_updated() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* released = _impl_.last_updated_; + _impl_.last_updated_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return released; +} +inline ::google::protobuf::Timestamp* ResourceStatus::unsafe_arena_release_last_updated() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:viam.robot.v1.ResourceStatus.last_updated) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* temp = _impl_.last_updated_; + _impl_.last_updated_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* ResourceStatus::_internal_mutable_last_updated() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_._has_bits_[0] |= 0x00000002u; + if (_impl_.last_updated_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArena()); + _impl_.last_updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.last_updated_; +} +inline ::google::protobuf::Timestamp* ResourceStatus::mutable_last_updated() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::Timestamp* _msg = _internal_mutable_last_updated(); + // @@protoc_insertion_point(field_mutable:viam.robot.v1.ResourceStatus.last_updated) + return _msg; +} +inline void ResourceStatus::set_allocated_last_updated(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.last_updated_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.last_updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:viam.robot.v1.ResourceStatus.last_updated) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -12681,6 +13544,12 @@ inline RestartModuleRequest::IdOrNameCase RestartModuleRequest::id_or_name_case( namespace google { namespace protobuf { +template <> +struct is_proto_enum<::viam::robot::v1::ResourceStatus_State> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::viam::robot::v1::ResourceStatus_State>() { + return ::viam::robot::v1::ResourceStatus_State_descriptor(); +} template <> struct is_proto_enum<::viam::robot::v1::PeerConnectionType> : std::true_type {}; template <>