diff --git a/src/viam/api/api_proto_tag.lock b/src/viam/api/api_proto_tag.lock index 66864fd4f..0e4f630a2 100644 --- a/src/viam/api/api_proto_tag.lock +++ b/src/viam/api/api_proto_tag.lock @@ -1 +1 @@ -v0.1.391 +v0.1.395 diff --git a/src/viam/api/app/v1/app.grpc.pb.cc b/src/viam/api/app/v1/app.grpc.pb.cc index 420459091..4a8ceca3c 100644 --- a/src/viam/api/app/v1/app.grpc.pb.cc +++ b/src/viam/api/app/v1/app.grpc.pb.cc @@ -34,6 +34,8 @@ static const char* AppService_method_names[] = { "/viam.app.v1.AppService/GetOrganizationNamespaceAvailability", "/viam.app.v1.AppService/UpdateOrganization", "/viam.app.v1.AppService/DeleteOrganization", + "/viam.app.v1.AppService/GetOrganizationMetadata", + "/viam.app.v1.AppService/UpdateOrganizationMetadata", "/viam.app.v1.AppService/ListOrganizationMembers", "/viam.app.v1.AppService/CreateOrganizationInvite", "/viam.app.v1.AppService/UpdateOrganizationInviteAuthorizations", @@ -59,6 +61,8 @@ static const char* AppService_method_names[] = { "/viam.app.v1.AppService/GetLocation", "/viam.app.v1.AppService/UpdateLocation", "/viam.app.v1.AppService/DeleteLocation", + "/viam.app.v1.AppService/GetLocationMetadata", + "/viam.app.v1.AppService/UpdateLocationMetadata", "/viam.app.v1.AppService/ListLocations", "/viam.app.v1.AppService/ShareLocation", "/viam.app.v1.AppService/UnshareLocation", @@ -66,6 +70,8 @@ static const char* AppService_method_names[] = { "/viam.app.v1.AppService/CreateLocationSecret", "/viam.app.v1.AppService/DeleteLocationSecret", "/viam.app.v1.AppService/GetRobot", + "/viam.app.v1.AppService/GetRobotMetadata", + "/viam.app.v1.AppService/UpdateRobotMetadata", "/viam.app.v1.AppService/GetRoverRentalRobots", "/viam.app.v1.AppService/GetRobotParts", "/viam.app.v1.AppService/GetRobotPart", @@ -75,6 +81,8 @@ static const char* AppService_method_names[] = { "/viam.app.v1.AppService/UpdateRobotPart", "/viam.app.v1.AppService/NewRobotPart", "/viam.app.v1.AppService/DeleteRobotPart", + "/viam.app.v1.AppService/GetRobotPartMetadata", + "/viam.app.v1.AppService/UpdateRobotPartMetadata", "/viam.app.v1.AppService/GetRobotAPIKeys", "/viam.app.v1.AppService/MarkPartAsMain", "/viam.app.v1.AppService/MarkPartForRestart", @@ -135,88 +143,96 @@ AppService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel , rpcmethod_GetOrganizationNamespaceAvailability_(AppService_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateOrganization_(AppService_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_DeleteOrganization_(AppService_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListOrganizationMembers_(AppService_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateOrganizationInvite_(AppService_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateOrganizationInviteAuthorizations_(AppService_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteOrganizationMember_(AppService_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteOrganizationInvite_(AppService_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ResendOrganizationInvite_(AppService_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_EnableBillingService_(AppService_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DisableBillingService_(AppService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateBillingService_(AppService_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetBillingServiceConfig_(AppService_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_OrganizationSetSupportEmail_(AppService_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_OrganizationGetSupportEmail_(AppService_method_names[21], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_OrganizationSetLogo_(AppService_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_OrganizationGetLogo_(AppService_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_EnableAuthService_(AppService_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DisableAuthService_(AppService_method_names[25], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateOAuthApp_(AppService_method_names[26], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ReadOAuthApp_(AppService_method_names[27], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateOAuthApp_(AppService_method_names[28], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteOAuthApp_(AppService_method_names[29], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListOAuthApps_(AppService_method_names[30], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateLocation_(AppService_method_names[31], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetLocation_(AppService_method_names[32], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateLocation_(AppService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteLocation_(AppService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListLocations_(AppService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ShareLocation_(AppService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UnshareLocation_(AppService_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_LocationAuth_(AppService_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateLocationSecret_(AppService_method_names[39], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteLocationSecret_(AppService_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRobot_(AppService_method_names[41], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRoverRentalRobots_(AppService_method_names[42], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRobotParts_(AppService_method_names[43], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRobotPart_(AppService_method_names[44], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRobotPartLogs_(AppService_method_names[45], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_TailRobotPartLogs_(AppService_method_names[46], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) - , rpcmethod_GetRobotPartHistory_(AppService_method_names[47], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateRobotPart_(AppService_method_names[48], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NewRobotPart_(AppService_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteRobotPart_(AppService_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRobotAPIKeys_(AppService_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_MarkPartAsMain_(AppService_method_names[52], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_MarkPartForRestart_(AppService_method_names[53], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateRobotPartSecret_(AppService_method_names[54], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteRobotPartSecret_(AppService_method_names[55], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListRobots_(AppService_method_names[56], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NewRobot_(AppService_method_names[57], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateRobot_(AppService_method_names[58], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteRobot_(AppService_method_names[59], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListFragments_(AppService_method_names[60], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetFragment_(AppService_method_names[61], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateFragment_(AppService_method_names[62], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateFragment_(AppService_method_names[63], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteFragment_(AppService_method_names[64], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListMachineFragments_(AppService_method_names[65], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetFragmentHistory_(AppService_method_names[66], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetFragmentUsage_(AppService_method_names[67], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetFragmentTag_(AppService_method_names[68], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteFragmentTag_(AppService_method_names[69], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AddRole_(AppService_method_names[70], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RemoveRole_(AppService_method_names[71], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ChangeRole_(AppService_method_names[72], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListAuthorizations_(AppService_method_names[73], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CheckPermissions_(AppService_method_names[74], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetRegistryItem_(AppService_method_names[75], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateRegistryItem_(AppService_method_names[76], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateRegistryItem_(AppService_method_names[77], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListRegistryItems_(AppService_method_names[78], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteRegistryItem_(AppService_method_names[79], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_TransferRegistryItem_(AppService_method_names[80], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateModule_(AppService_method_names[81], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateModule_(AppService_method_names[82], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UploadModuleFile_(AppService_method_names[83], ::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) - , rpcmethod_GetModule_(AppService_method_names[84], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListModules_(AppService_method_names[85], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateKey_(AppService_method_names[86], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteKey_(AppService_method_names[87], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListKeys_(AppService_method_names[88], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RenameKey_(AppService_method_names[89], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RotateKey_(AppService_method_names[90], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateKeyFromExistingKeyAuthorizations_(AppService_method_names[91], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetOrganizationMetadata_(AppService_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateOrganizationMetadata_(AppService_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListOrganizationMembers_(AppService_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateOrganizationInvite_(AppService_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateOrganizationInviteAuthorizations_(AppService_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteOrganizationMember_(AppService_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteOrganizationInvite_(AppService_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ResendOrganizationInvite_(AppService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_EnableBillingService_(AppService_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DisableBillingService_(AppService_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateBillingService_(AppService_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetBillingServiceConfig_(AppService_method_names[21], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_OrganizationSetSupportEmail_(AppService_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_OrganizationGetSupportEmail_(AppService_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_OrganizationSetLogo_(AppService_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_OrganizationGetLogo_(AppService_method_names[25], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_EnableAuthService_(AppService_method_names[26], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DisableAuthService_(AppService_method_names[27], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateOAuthApp_(AppService_method_names[28], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ReadOAuthApp_(AppService_method_names[29], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateOAuthApp_(AppService_method_names[30], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteOAuthApp_(AppService_method_names[31], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListOAuthApps_(AppService_method_names[32], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateLocation_(AppService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetLocation_(AppService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateLocation_(AppService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteLocation_(AppService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetLocationMetadata_(AppService_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateLocationMetadata_(AppService_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListLocations_(AppService_method_names[39], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ShareLocation_(AppService_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UnshareLocation_(AppService_method_names[41], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_LocationAuth_(AppService_method_names[42], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateLocationSecret_(AppService_method_names[43], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteLocationSecret_(AppService_method_names[44], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobot_(AppService_method_names[45], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobotMetadata_(AppService_method_names[46], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRobotMetadata_(AppService_method_names[47], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRoverRentalRobots_(AppService_method_names[48], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobotParts_(AppService_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobotPart_(AppService_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobotPartLogs_(AppService_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_TailRobotPartLogs_(AppService_method_names[52], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_GetRobotPartHistory_(AppService_method_names[53], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRobotPart_(AppService_method_names[54], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_NewRobotPart_(AppService_method_names[55], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteRobotPart_(AppService_method_names[56], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobotPartMetadata_(AppService_method_names[57], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRobotPartMetadata_(AppService_method_names[58], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRobotAPIKeys_(AppService_method_names[59], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_MarkPartAsMain_(AppService_method_names[60], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_MarkPartForRestart_(AppService_method_names[61], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateRobotPartSecret_(AppService_method_names[62], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteRobotPartSecret_(AppService_method_names[63], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListRobots_(AppService_method_names[64], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_NewRobot_(AppService_method_names[65], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRobot_(AppService_method_names[66], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteRobot_(AppService_method_names[67], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListFragments_(AppService_method_names[68], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetFragment_(AppService_method_names[69], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateFragment_(AppService_method_names[70], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateFragment_(AppService_method_names[71], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteFragment_(AppService_method_names[72], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListMachineFragments_(AppService_method_names[73], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetFragmentHistory_(AppService_method_names[74], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetFragmentUsage_(AppService_method_names[75], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetFragmentTag_(AppService_method_names[76], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteFragmentTag_(AppService_method_names[77], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AddRole_(AppService_method_names[78], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RemoveRole_(AppService_method_names[79], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ChangeRole_(AppService_method_names[80], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListAuthorizations_(AppService_method_names[81], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CheckPermissions_(AppService_method_names[82], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetRegistryItem_(AppService_method_names[83], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateRegistryItem_(AppService_method_names[84], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateRegistryItem_(AppService_method_names[85], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListRegistryItems_(AppService_method_names[86], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteRegistryItem_(AppService_method_names[87], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_TransferRegistryItem_(AppService_method_names[88], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateModule_(AppService_method_names[89], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateModule_(AppService_method_names[90], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UploadModuleFile_(AppService_method_names[91], ::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) + , rpcmethod_GetModule_(AppService_method_names[92], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListModules_(AppService_method_names[93], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateKey_(AppService_method_names[94], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteKey_(AppService_method_names[95], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListKeys_(AppService_method_names[96], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RenameKey_(AppService_method_names[97], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RotateKey_(AppService_method_names[98], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateKeyFromExistingKeyAuthorizations_(AppService_method_names[99], ::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) { @@ -499,6 +515,62 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteOrganizationResponse>* return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::DeleteOrganizationResponse>::Create(channel_.get(), cq, rpcmethod_DeleteOrganization_, context, request, false); } +::grpc::Status AppService::Stub::GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::viam::app::v1::GetOrganizationMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetOrganizationMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrganizationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrganizationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrganizationMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrganizationMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>* AppService::Stub::AsyncGetOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetOrganizationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetOrganizationMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>* AppService::Stub::PrepareAsyncGetOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetOrganizationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetOrganizationMetadata_, context, request, false); +} + +::grpc::Status AppService::Stub::UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateOrganizationMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateOrganizationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateOrganizationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateOrganizationMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateOrganizationMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>* AppService::Stub::AsyncUpdateOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateOrganizationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateOrganizationMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>* AppService::Stub::PrepareAsyncUpdateOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateOrganizationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateOrganizationMetadata_, context, request, false); +} + ::grpc::Status AppService::Stub::ListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::viam::app::v1::ListOrganizationMembersResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListOrganizationMembers_, context, request, response); } @@ -1199,6 +1271,62 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteLocationResponse>* App return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::DeleteLocationResponse>::Create(channel_.get(), cq, rpcmethod_DeleteLocation_, context, request, false); } +::grpc::Status AppService::Stub::GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::viam::app::v1::GetLocationMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetLocationMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetLocationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetLocationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetLocationMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetLocationMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>* AppService::Stub::AsyncGetLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetLocationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetLocationMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>* AppService::Stub::PrepareAsyncGetLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetLocationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetLocationMetadata_, context, request, false); +} + +::grpc::Status AppService::Stub::UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::viam::app::v1::UpdateLocationMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateLocationMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateLocationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateLocationMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateLocationMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateLocationMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>* AppService::Stub::AsyncUpdateLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateLocationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateLocationMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>* AppService::Stub::PrepareAsyncUpdateLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateLocationMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateLocationMetadata_, context, request, false); +} + ::grpc::Status AppService::Stub::ListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::viam::app::v1::ListLocationsResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListLocations_, context, request, response); } @@ -1395,6 +1523,62 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotResponse>* AppServic return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetRobotResponse>::Create(channel_.get(), cq, rpcmethod_GetRobot_, context, request, false); } +::grpc::Status AppService::Stub::GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::viam::app::v1::GetRobotMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetRobotMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetRobotMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetRobotMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetRobotMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetRobotMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>* AppService::Stub::AsyncGetRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetRobotMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetRobotMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>* AppService::Stub::PrepareAsyncGetRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetRobotMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetRobotMetadata_, context, request, false); +} + +::grpc::Status AppService::Stub::UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::viam::app::v1::UpdateRobotMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateRobotMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>* AppService::Stub::AsyncUpdateRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateRobotMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateRobotMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>* AppService::Stub::PrepareAsyncUpdateRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateRobotMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateRobotMetadata_, context, request, false); +} + ::grpc::Status AppService::Stub::GetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::viam::app::v1::GetRoverRentalRobotsResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetRoverRentalRobots_, context, request, response); } @@ -1635,6 +1819,62 @@ ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRobotPartResponse>* Ap return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::DeleteRobotPartResponse>::Create(channel_.get(), cq, rpcmethod_DeleteRobotPart_, context, request, false); } +::grpc::Status AppService::Stub::GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::viam::app::v1::GetRobotPartMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetRobotPartMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetRobotPartMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetRobotPartMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetRobotPartMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetRobotPartMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>* AppService::Stub::AsyncGetRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetRobotPartMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetRobotPartMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>* AppService::Stub::PrepareAsyncGetRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::GetRobotPartMetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetRobotPartMetadata_, context, request, false); +} + +::grpc::Status AppService::Stub::UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateRobotPartMetadata_, context, request, response); +} + +void AppService::Stub::experimental_async::UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotPartMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, std::function f) { + ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotPartMetadata_, context, request, response, std::move(f)); +} + +void AppService::Stub::experimental_async::UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotPartMetadata_, context, request, response, reactor); +} + +void AppService::Stub::experimental_async::UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateRobotPartMetadata_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>* AppService::Stub::AsyncUpdateRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateRobotPartMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateRobotPartMetadata_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>* AppService::Stub::PrepareAsyncUpdateRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::viam::app::v1::UpdateRobotPartMetadataResponse>::Create(channel_.get(), cq, rpcmethod_UpdateRobotPartMetadata_, context, request, false); +} + ::grpc::Status AppService::Stub::GetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::viam::app::v1::GetRobotAPIKeysResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetRobotAPIKeys_, context, request, response); } @@ -2875,6 +3115,26 @@ AppService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( AppService_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetOrganizationMetadataRequest, ::viam::app::v1::GetOrganizationMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::GetOrganizationMetadataRequest* req, + ::viam::app::v1::GetOrganizationMetadataResponse* resp) { + return service->GetOrganizationMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[11], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateOrganizationMetadataRequest, ::viam::app::v1::UpdateOrganizationMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::UpdateOrganizationMetadataRequest* req, + ::viam::app::v1::UpdateOrganizationMetadataResponse* resp) { + return service->UpdateOrganizationMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[12], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListOrganizationMembersRequest, ::viam::app::v1::ListOrganizationMembersResponse>( [](AppService::Service* service, ::grpc_impl::ServerContext* ctx, @@ -2883,7 +3143,7 @@ AppService::Service::Service() { return service->ListOrganizationMembers(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[11], + AppService_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateOrganizationInviteRequest, ::viam::app::v1::CreateOrganizationInviteResponse>( [](AppService::Service* service, @@ -2893,7 +3153,7 @@ AppService::Service::Service() { return service->CreateOrganizationInvite(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[12], + AppService_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>( [](AppService::Service* service, @@ -2903,7 +3163,7 @@ AppService::Service::Service() { return service->UpdateOrganizationInviteAuthorizations(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[13], + AppService_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteOrganizationMemberRequest, ::viam::app::v1::DeleteOrganizationMemberResponse>( [](AppService::Service* service, @@ -2913,7 +3173,7 @@ AppService::Service::Service() { return service->DeleteOrganizationMember(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[14], + AppService_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteOrganizationInviteRequest, ::viam::app::v1::DeleteOrganizationInviteResponse>( [](AppService::Service* service, @@ -2923,7 +3183,7 @@ AppService::Service::Service() { return service->DeleteOrganizationInvite(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[15], + AppService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ResendOrganizationInviteRequest, ::viam::app::v1::ResendOrganizationInviteResponse>( [](AppService::Service* service, @@ -2933,7 +3193,7 @@ AppService::Service::Service() { return service->ResendOrganizationInvite(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[16], + AppService_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::EnableBillingServiceRequest, ::viam::app::v1::EnableBillingServiceResponse>( [](AppService::Service* service, @@ -2943,7 +3203,7 @@ AppService::Service::Service() { return service->EnableBillingService(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[17], + AppService_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DisableBillingServiceRequest, ::viam::app::v1::DisableBillingServiceResponse>( [](AppService::Service* service, @@ -2953,7 +3213,7 @@ AppService::Service::Service() { return service->DisableBillingService(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[18], + AppService_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateBillingServiceRequest, ::viam::app::v1::UpdateBillingServiceResponse>( [](AppService::Service* service, @@ -2963,7 +3223,7 @@ AppService::Service::Service() { return service->UpdateBillingService(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[19], + AppService_method_names[21], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetBillingServiceConfigRequest, ::viam::app::v1::GetBillingServiceConfigResponse>( [](AppService::Service* service, @@ -2973,7 +3233,7 @@ AppService::Service::Service() { return service->GetBillingServiceConfig(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[20], + AppService_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::OrganizationSetSupportEmailRequest, ::viam::app::v1::OrganizationSetSupportEmailResponse>( [](AppService::Service* service, @@ -2983,7 +3243,7 @@ AppService::Service::Service() { return service->OrganizationSetSupportEmail(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[21], + AppService_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::OrganizationGetSupportEmailRequest, ::viam::app::v1::OrganizationGetSupportEmailResponse>( [](AppService::Service* service, @@ -2993,7 +3253,7 @@ AppService::Service::Service() { return service->OrganizationGetSupportEmail(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[22], + AppService_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::OrganizationSetLogoRequest, ::viam::app::v1::OrganizationSetLogoResponse>( [](AppService::Service* service, @@ -3003,7 +3263,7 @@ AppService::Service::Service() { return service->OrganizationSetLogo(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[23], + AppService_method_names[25], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::OrganizationGetLogoRequest, ::viam::app::v1::OrganizationGetLogoResponse>( [](AppService::Service* service, @@ -3013,7 +3273,7 @@ AppService::Service::Service() { return service->OrganizationGetLogo(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[24], + AppService_method_names[26], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::EnableAuthServiceRequest, ::viam::app::v1::EnableAuthServiceResponse>( [](AppService::Service* service, @@ -3023,7 +3283,7 @@ AppService::Service::Service() { return service->EnableAuthService(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[25], + AppService_method_names[27], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DisableAuthServiceRequest, ::viam::app::v1::DisableAuthServiceResponse>( [](AppService::Service* service, @@ -3033,7 +3293,7 @@ AppService::Service::Service() { return service->DisableAuthService(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[26], + AppService_method_names[28], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateOAuthAppRequest, ::viam::app::v1::CreateOAuthAppResponse>( [](AppService::Service* service, @@ -3043,7 +3303,7 @@ AppService::Service::Service() { return service->CreateOAuthApp(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[27], + AppService_method_names[29], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ReadOAuthAppRequest, ::viam::app::v1::ReadOAuthAppResponse>( [](AppService::Service* service, @@ -3053,7 +3313,7 @@ AppService::Service::Service() { return service->ReadOAuthApp(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[28], + AppService_method_names[30], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateOAuthAppRequest, ::viam::app::v1::UpdateOAuthAppResponse>( [](AppService::Service* service, @@ -3063,7 +3323,7 @@ AppService::Service::Service() { return service->UpdateOAuthApp(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[29], + AppService_method_names[31], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteOAuthAppRequest, ::viam::app::v1::DeleteOAuthAppResponse>( [](AppService::Service* service, @@ -3073,7 +3333,7 @@ AppService::Service::Service() { return service->DeleteOAuthApp(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[30], + AppService_method_names[32], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListOAuthAppsRequest, ::viam::app::v1::ListOAuthAppsResponse>( [](AppService::Service* service, @@ -3083,7 +3343,7 @@ AppService::Service::Service() { return service->ListOAuthApps(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[31], + AppService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateLocationRequest, ::viam::app::v1::CreateLocationResponse>( [](AppService::Service* service, @@ -3093,7 +3353,7 @@ AppService::Service::Service() { return service->CreateLocation(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[32], + AppService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetLocationRequest, ::viam::app::v1::GetLocationResponse>( [](AppService::Service* service, @@ -3103,7 +3363,7 @@ AppService::Service::Service() { return service->GetLocation(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[33], + AppService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateLocationRequest, ::viam::app::v1::UpdateLocationResponse>( [](AppService::Service* service, @@ -3113,7 +3373,7 @@ AppService::Service::Service() { return service->UpdateLocation(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[34], + AppService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteLocationRequest, ::viam::app::v1::DeleteLocationResponse>( [](AppService::Service* service, @@ -3123,7 +3383,27 @@ AppService::Service::Service() { return service->DeleteLocation(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[35], + AppService_method_names[37], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetLocationMetadataRequest, ::viam::app::v1::GetLocationMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::GetLocationMetadataRequest* req, + ::viam::app::v1::GetLocationMetadataResponse* resp) { + return service->GetLocationMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[38], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateLocationMetadataRequest, ::viam::app::v1::UpdateLocationMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::UpdateLocationMetadataRequest* req, + ::viam::app::v1::UpdateLocationMetadataResponse* resp) { + return service->UpdateLocationMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[39], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListLocationsRequest, ::viam::app::v1::ListLocationsResponse>( [](AppService::Service* service, @@ -3133,7 +3413,7 @@ AppService::Service::Service() { return service->ListLocations(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[36], + AppService_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ShareLocationRequest, ::viam::app::v1::ShareLocationResponse>( [](AppService::Service* service, @@ -3143,7 +3423,7 @@ AppService::Service::Service() { return service->ShareLocation(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[37], + AppService_method_names[41], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UnshareLocationRequest, ::viam::app::v1::UnshareLocationResponse>( [](AppService::Service* service, @@ -3153,7 +3433,7 @@ AppService::Service::Service() { return service->UnshareLocation(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[38], + AppService_method_names[42], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::LocationAuthRequest, ::viam::app::v1::LocationAuthResponse>( [](AppService::Service* service, @@ -3163,7 +3443,7 @@ AppService::Service::Service() { return service->LocationAuth(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[39], + AppService_method_names[43], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateLocationSecretRequest, ::viam::app::v1::CreateLocationSecretResponse>( [](AppService::Service* service, @@ -3173,7 +3453,7 @@ AppService::Service::Service() { return service->CreateLocationSecret(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[40], + AppService_method_names[44], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteLocationSecretRequest, ::viam::app::v1::DeleteLocationSecretResponse>( [](AppService::Service* service, @@ -3183,7 +3463,7 @@ AppService::Service::Service() { return service->DeleteLocationSecret(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[41], + AppService_method_names[45], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotRequest, ::viam::app::v1::GetRobotResponse>( [](AppService::Service* service, @@ -3193,7 +3473,27 @@ AppService::Service::Service() { return service->GetRobot(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[42], + AppService_method_names[46], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotMetadataRequest, ::viam::app::v1::GetRobotMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::GetRobotMetadataRequest* req, + ::viam::app::v1::GetRobotMetadataResponse* resp) { + return service->GetRobotMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[47], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRobotMetadataRequest, ::viam::app::v1::UpdateRobotMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::UpdateRobotMetadataRequest* req, + ::viam::app::v1::UpdateRobotMetadataResponse* resp) { + return service->UpdateRobotMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[48], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRoverRentalRobotsRequest, ::viam::app::v1::GetRoverRentalRobotsResponse>( [](AppService::Service* service, @@ -3203,7 +3503,7 @@ AppService::Service::Service() { return service->GetRoverRentalRobots(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[43], + AppService_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotPartsRequest, ::viam::app::v1::GetRobotPartsResponse>( [](AppService::Service* service, @@ -3213,7 +3513,7 @@ AppService::Service::Service() { return service->GetRobotParts(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[44], + AppService_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotPartRequest, ::viam::app::v1::GetRobotPartResponse>( [](AppService::Service* service, @@ -3223,7 +3523,7 @@ AppService::Service::Service() { return service->GetRobotPart(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[45], + AppService_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotPartLogsRequest, ::viam::app::v1::GetRobotPartLogsResponse>( [](AppService::Service* service, @@ -3233,7 +3533,7 @@ AppService::Service::Service() { return service->GetRobotPartLogs(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[46], + AppService_method_names[52], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< AppService::Service, ::viam::app::v1::TailRobotPartLogsRequest, ::viam::app::v1::TailRobotPartLogsResponse>( [](AppService::Service* service, @@ -3243,7 +3543,7 @@ AppService::Service::Service() { return service->TailRobotPartLogs(ctx, req, writer); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[47], + AppService_method_names[53], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotPartHistoryRequest, ::viam::app::v1::GetRobotPartHistoryResponse>( [](AppService::Service* service, @@ -3253,7 +3553,7 @@ AppService::Service::Service() { return service->GetRobotPartHistory(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[48], + AppService_method_names[54], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRobotPartRequest, ::viam::app::v1::UpdateRobotPartResponse>( [](AppService::Service* service, @@ -3263,7 +3563,7 @@ AppService::Service::Service() { return service->UpdateRobotPart(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[49], + AppService_method_names[55], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::NewRobotPartRequest, ::viam::app::v1::NewRobotPartResponse>( [](AppService::Service* service, @@ -3273,7 +3573,7 @@ AppService::Service::Service() { return service->NewRobotPart(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[50], + AppService_method_names[56], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteRobotPartRequest, ::viam::app::v1::DeleteRobotPartResponse>( [](AppService::Service* service, @@ -3283,7 +3583,27 @@ AppService::Service::Service() { return service->DeleteRobotPart(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[51], + AppService_method_names[57], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotPartMetadataRequest, ::viam::app::v1::GetRobotPartMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::GetRobotPartMetadataRequest* req, + ::viam::app::v1::GetRobotPartMetadataResponse* resp) { + return service->GetRobotPartMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[58], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRobotPartMetadataRequest, ::viam::app::v1::UpdateRobotPartMetadataResponse>( + [](AppService::Service* service, + ::grpc_impl::ServerContext* ctx, + const ::viam::app::v1::UpdateRobotPartMetadataRequest* req, + ::viam::app::v1::UpdateRobotPartMetadataResponse* resp) { + return service->UpdateRobotPartMetadata(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AppService_method_names[59], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRobotAPIKeysRequest, ::viam::app::v1::GetRobotAPIKeysResponse>( [](AppService::Service* service, @@ -3293,7 +3613,7 @@ AppService::Service::Service() { return service->GetRobotAPIKeys(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[52], + AppService_method_names[60], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::MarkPartAsMainRequest, ::viam::app::v1::MarkPartAsMainResponse>( [](AppService::Service* service, @@ -3303,7 +3623,7 @@ AppService::Service::Service() { return service->MarkPartAsMain(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[53], + AppService_method_names[61], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::MarkPartForRestartRequest, ::viam::app::v1::MarkPartForRestartResponse>( [](AppService::Service* service, @@ -3313,7 +3633,7 @@ AppService::Service::Service() { return service->MarkPartForRestart(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[54], + AppService_method_names[62], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateRobotPartSecretRequest, ::viam::app::v1::CreateRobotPartSecretResponse>( [](AppService::Service* service, @@ -3323,7 +3643,7 @@ AppService::Service::Service() { return service->CreateRobotPartSecret(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[55], + AppService_method_names[63], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteRobotPartSecretRequest, ::viam::app::v1::DeleteRobotPartSecretResponse>( [](AppService::Service* service, @@ -3333,7 +3653,7 @@ AppService::Service::Service() { return service->DeleteRobotPartSecret(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[56], + AppService_method_names[64], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListRobotsRequest, ::viam::app::v1::ListRobotsResponse>( [](AppService::Service* service, @@ -3343,7 +3663,7 @@ AppService::Service::Service() { return service->ListRobots(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[57], + AppService_method_names[65], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::NewRobotRequest, ::viam::app::v1::NewRobotResponse>( [](AppService::Service* service, @@ -3353,7 +3673,7 @@ AppService::Service::Service() { return service->NewRobot(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[58], + AppService_method_names[66], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRobotRequest, ::viam::app::v1::UpdateRobotResponse>( [](AppService::Service* service, @@ -3363,7 +3683,7 @@ AppService::Service::Service() { return service->UpdateRobot(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[59], + AppService_method_names[67], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteRobotRequest, ::viam::app::v1::DeleteRobotResponse>( [](AppService::Service* service, @@ -3373,7 +3693,7 @@ AppService::Service::Service() { return service->DeleteRobot(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[60], + AppService_method_names[68], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListFragmentsRequest, ::viam::app::v1::ListFragmentsResponse>( [](AppService::Service* service, @@ -3383,7 +3703,7 @@ AppService::Service::Service() { return service->ListFragments(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[61], + AppService_method_names[69], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetFragmentRequest, ::viam::app::v1::GetFragmentResponse>( [](AppService::Service* service, @@ -3393,7 +3713,7 @@ AppService::Service::Service() { return service->GetFragment(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[62], + AppService_method_names[70], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateFragmentRequest, ::viam::app::v1::CreateFragmentResponse>( [](AppService::Service* service, @@ -3403,7 +3723,7 @@ AppService::Service::Service() { return service->CreateFragment(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[63], + AppService_method_names[71], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateFragmentRequest, ::viam::app::v1::UpdateFragmentResponse>( [](AppService::Service* service, @@ -3413,7 +3733,7 @@ AppService::Service::Service() { return service->UpdateFragment(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[64], + AppService_method_names[72], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteFragmentRequest, ::viam::app::v1::DeleteFragmentResponse>( [](AppService::Service* service, @@ -3423,7 +3743,7 @@ AppService::Service::Service() { return service->DeleteFragment(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[65], + AppService_method_names[73], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( [](AppService::Service* service, @@ -3433,7 +3753,7 @@ AppService::Service::Service() { return service->ListMachineFragments(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[66], + AppService_method_names[74], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( [](AppService::Service* service, @@ -3443,7 +3763,7 @@ AppService::Service::Service() { return service->GetFragmentHistory(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[67], + AppService_method_names[75], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>( [](AppService::Service* service, @@ -3453,7 +3773,7 @@ AppService::Service::Service() { return service->GetFragmentUsage(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[68], + AppService_method_names[76], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>( [](AppService::Service* service, @@ -3463,7 +3783,7 @@ AppService::Service::Service() { return service->SetFragmentTag(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[69], + AppService_method_names[77], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>( [](AppService::Service* service, @@ -3473,7 +3793,7 @@ AppService::Service::Service() { return service->DeleteFragmentTag(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[70], + AppService_method_names[78], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [](AppService::Service* service, @@ -3483,7 +3803,7 @@ AppService::Service::Service() { return service->AddRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[71], + AppService_method_names[79], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [](AppService::Service* service, @@ -3493,7 +3813,7 @@ AppService::Service::Service() { return service->RemoveRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[72], + AppService_method_names[80], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [](AppService::Service* service, @@ -3503,7 +3823,7 @@ AppService::Service::Service() { return service->ChangeRole(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[73], + AppService_method_names[81], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [](AppService::Service* service, @@ -3513,7 +3833,7 @@ AppService::Service::Service() { return service->ListAuthorizations(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[74], + AppService_method_names[82], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [](AppService::Service* service, @@ -3523,7 +3843,7 @@ AppService::Service::Service() { return service->CheckPermissions(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[75], + AppService_method_names[83], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [](AppService::Service* service, @@ -3533,7 +3853,7 @@ AppService::Service::Service() { return service->GetRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[76], + AppService_method_names[84], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [](AppService::Service* service, @@ -3543,7 +3863,7 @@ AppService::Service::Service() { return service->CreateRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[77], + AppService_method_names[85], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [](AppService::Service* service, @@ -3553,7 +3873,7 @@ AppService::Service::Service() { return service->UpdateRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[78], + AppService_method_names[86], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [](AppService::Service* service, @@ -3563,7 +3883,7 @@ AppService::Service::Service() { return service->ListRegistryItems(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[79], + AppService_method_names[87], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [](AppService::Service* service, @@ -3573,7 +3893,7 @@ AppService::Service::Service() { return service->DeleteRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[80], + AppService_method_names[88], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [](AppService::Service* service, @@ -3583,7 +3903,7 @@ AppService::Service::Service() { return service->TransferRegistryItem(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[81], + AppService_method_names[89], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [](AppService::Service* service, @@ -3593,7 +3913,7 @@ AppService::Service::Service() { return service->CreateModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[82], + AppService_method_names[90], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [](AppService::Service* service, @@ -3603,7 +3923,7 @@ AppService::Service::Service() { return service->UpdateModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[83], + AppService_method_names[91], ::grpc::internal::RpcMethod::CLIENT_STREAMING, new ::grpc::internal::ClientStreamingHandler< AppService::Service, ::viam::app::v1::UploadModuleFileRequest, ::viam::app::v1::UploadModuleFileResponse>( [](AppService::Service* service, @@ -3613,7 +3933,7 @@ AppService::Service::Service() { return service->UploadModuleFile(ctx, reader, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[84], + AppService_method_names[92], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [](AppService::Service* service, @@ -3623,7 +3943,7 @@ AppService::Service::Service() { return service->GetModule(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[85], + AppService_method_names[93], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [](AppService::Service* service, @@ -3633,7 +3953,7 @@ AppService::Service::Service() { return service->ListModules(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[86], + AppService_method_names[94], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [](AppService::Service* service, @@ -3643,7 +3963,7 @@ AppService::Service::Service() { return service->CreateKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[87], + AppService_method_names[95], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [](AppService::Service* service, @@ -3653,7 +3973,7 @@ AppService::Service::Service() { return service->DeleteKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[88], + AppService_method_names[96], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [](AppService::Service* service, @@ -3663,7 +3983,7 @@ AppService::Service::Service() { return service->ListKeys(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[89], + AppService_method_names[97], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [](AppService::Service* service, @@ -3673,7 +3993,7 @@ AppService::Service::Service() { return service->RenameKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[90], + AppService_method_names[98], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [](AppService::Service* service, @@ -3683,7 +4003,7 @@ AppService::Service::Service() { return service->RotateKey(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AppService_method_names[91], + AppService_method_names[99], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AppService::Service, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [](AppService::Service* service, @@ -3767,6 +4087,20 @@ ::grpc::Status AppService::Service::DeleteOrganization(::grpc::ServerContext* co return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AppService::Service::GetOrganizationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status AppService::Service::UpdateOrganizationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::ListOrganizationMembers(::grpc::ServerContext* context, const ::viam::app::v1::ListOrganizationMembersRequest* request, ::viam::app::v1::ListOrganizationMembersResponse* response) { (void) context; (void) request; @@ -3942,6 +4276,20 @@ ::grpc::Status AppService::Service::DeleteLocation(::grpc::ServerContext* contex return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AppService::Service::GetLocationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status AppService::Service::UpdateLocationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::ListLocations(::grpc::ServerContext* context, const ::viam::app::v1::ListLocationsRequest* request, ::viam::app::v1::ListLocationsResponse* response) { (void) context; (void) request; @@ -3991,6 +4339,20 @@ ::grpc::Status AppService::Service::GetRobot(::grpc::ServerContext* context, con return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AppService::Service::GetRobotMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status AppService::Service::UpdateRobotMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::GetRoverRentalRobots(::grpc::ServerContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest* request, ::viam::app::v1::GetRoverRentalRobotsResponse* response) { (void) context; (void) request; @@ -4054,6 +4416,20 @@ ::grpc::Status AppService::Service::DeleteRobotPart(::grpc::ServerContext* conte return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AppService::Service::GetRobotPartMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status AppService::Service::UpdateRobotPartMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AppService::Service::GetRobotAPIKeys(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest* request, ::viam::app::v1::GetRobotAPIKeysResponse* 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 20adfbe96..8cbd21919 100644 --- a/src/viam/api/app/v1/app.grpc.pb.h +++ b/src/viam/api/app/v1/app.grpc.pb.h @@ -120,6 +120,22 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteOrganizationResponse>> PrepareAsyncDeleteOrganization(::grpc::ClientContext* context, const ::viam::app::v1::DeleteOrganizationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteOrganizationResponse>>(PrepareAsyncDeleteOrganizationRaw(context, request, cq)); } + // Get user-defined metadata for an organization + virtual ::grpc::Status GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::viam::app::v1::GetOrganizationMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetOrganizationMetadataResponse>> AsyncGetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetOrganizationMetadataResponse>>(AsyncGetOrganizationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetOrganizationMetadataResponse>> PrepareAsyncGetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetOrganizationMetadataResponse>>(PrepareAsyncGetOrganizationMetadataRaw(context, request, cq)); + } + // Update user-defined metadata for an organization + virtual ::grpc::Status UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationMetadataResponse>> AsyncUpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationMetadataResponse>>(AsyncUpdateOrganizationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationMetadataResponse>> PrepareAsyncUpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationMetadataResponse>>(PrepareAsyncUpdateOrganizationMetadataRaw(context, request, cq)); + } // List all members of an organization and all invited members to the organization. virtual ::grpc::Status ListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::viam::app::v1::ListOrganizationMembersResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListOrganizationMembersResponse>> AsyncListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::grpc::CompletionQueue* cq) { @@ -309,6 +325,22 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteLocationResponse>> PrepareAsyncDeleteLocation(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteLocationResponse>>(PrepareAsyncDeleteLocationRaw(context, request, cq)); } + // Get user-defined metadata for a location + virtual ::grpc::Status GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::viam::app::v1::GetLocationMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetLocationMetadataResponse>> AsyncGetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetLocationMetadataResponse>>(AsyncGetLocationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetLocationMetadataResponse>> PrepareAsyncGetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetLocationMetadataResponse>>(PrepareAsyncGetLocationMetadataRaw(context, request, cq)); + } + // Update user-defined metadata for a location + virtual ::grpc::Status UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::viam::app::v1::UpdateLocationMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationMetadataResponse>> AsyncUpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationMetadataResponse>>(AsyncUpdateLocationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationMetadataResponse>> PrepareAsyncUpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationMetadataResponse>>(PrepareAsyncUpdateLocationMetadataRaw(context, request, cq)); + } // Get a list of locations virtual ::grpc::Status ListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::viam::app::v1::ListLocationsResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListLocationsResponse>> AsyncListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::grpc::CompletionQueue* cq) { @@ -366,6 +398,22 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotResponse>> PrepareAsyncGetRobot(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotResponse>>(PrepareAsyncGetRobotRaw(context, request, cq)); } + // Get user-defined metadata for a robot + virtual ::grpc::Status GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::viam::app::v1::GetRobotMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotMetadataResponse>> AsyncGetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotMetadataResponse>>(AsyncGetRobotMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotMetadataResponse>> PrepareAsyncGetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotMetadataResponse>>(PrepareAsyncGetRobotMetadataRaw(context, request, cq)); + } + // Update user-defined metadata for an robot + virtual ::grpc::Status UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::viam::app::v1::UpdateRobotMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotMetadataResponse>> AsyncUpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotMetadataResponse>>(AsyncUpdateRobotMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotMetadataResponse>> PrepareAsyncUpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotMetadataResponse>>(PrepareAsyncUpdateRobotMetadataRaw(context, request, cq)); + } // Get Rover Rental Location Robots virtual ::grpc::Status GetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::viam::app::v1::GetRoverRentalRobotsResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRoverRentalRobotsResponse>> AsyncGetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::grpc::CompletionQueue* cq) { @@ -437,6 +485,22 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRobotPartResponse>> PrepareAsyncDeleteRobotPart(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRobotPartRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRobotPartResponse>>(PrepareAsyncDeleteRobotPartRaw(context, request, cq)); } + // Get user-defined metadata for a robot part + virtual ::grpc::Status GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::viam::app::v1::GetRobotPartMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartMetadataResponse>> AsyncGetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartMetadataResponse>>(AsyncGetRobotPartMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartMetadataResponse>> PrepareAsyncGetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartMetadataResponse>>(PrepareAsyncGetRobotPartMetadataRaw(context, request, cq)); + } + // Update user-defined metadata for an robot part + virtual ::grpc::Status UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotPartMetadataResponse>> AsyncUpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotPartMetadataResponse>>(AsyncUpdateRobotPartMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotPartMetadataResponse>> PrepareAsyncUpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotPartMetadataResponse>>(PrepareAsyncUpdateRobotPartMetadataRaw(context, request, cq)); + } // Gets the Robot API Keys for the robot virtual ::grpc::Status GetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::viam::app::v1::GetRobotAPIKeysResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotAPIKeysResponse>> AsyncGetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::grpc::CompletionQueue* cq) { @@ -892,6 +956,32 @@ class AppService final { #else virtual void DeleteOrganization(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteOrganizationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif + // Get user-defined metadata for an organization + virtual void GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, std::function) = 0; + virtual void GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + // Update user-defined metadata for an organization + virtual void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, std::function) = 0; + virtual void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif // List all members of an organization and all invited members to the organization. virtual void ListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest* request, ::viam::app::v1::ListOrganizationMembersResponse* response, std::function) = 0; virtual void ListOrganizationMembers(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListOrganizationMembersResponse* response, std::function) = 0; @@ -1206,6 +1296,32 @@ class AppService final { #else virtual void DeleteLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif + // Get user-defined metadata for a location + virtual void GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, std::function) = 0; + virtual void GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + // Update user-defined metadata for a location + virtual void UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, std::function) = 0; + virtual void UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif // Get a list of locations virtual void ListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest* request, ::viam::app::v1::ListLocationsResponse* response, std::function) = 0; virtual void ListLocations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListLocationsResponse* response, std::function) = 0; @@ -1298,6 +1414,32 @@ class AppService final { #else virtual void GetRobot(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif + // Get user-defined metadata for a robot + virtual void GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, std::function) = 0; + virtual void GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + // Update user-defined metadata for an robot + virtual void UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, std::function) = 0; + virtual void UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif // Get Rover Rental Location Robots virtual void GetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest* request, ::viam::app::v1::GetRoverRentalRobotsResponse* response, std::function) = 0; virtual void GetRoverRentalRobots(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRoverRentalRobotsResponse* response, std::function) = 0; @@ -1405,6 +1547,32 @@ class AppService final { #else virtual void DeleteRobotPart(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteRobotPartResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; #endif + // Get user-defined metadata for a robot part + virtual void GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, std::function) = 0; + virtual void GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + // Update user-defined metadata for an robot part + virtual void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, std::function) = 0; + virtual void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, std::function) = 0; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + #else + virtual void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + #endif // Gets the Robot API Keys for the robot virtual void GetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest* request, ::viam::app::v1::GetRobotAPIKeysResponse* response, std::function) = 0; virtual void GetRobotAPIKeys(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotAPIKeysResponse* response, std::function) = 0; @@ -1950,6 +2118,10 @@ class AppService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationResponse>* PrepareAsyncUpdateOrganizationRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteOrganizationResponse>* AsyncDeleteOrganizationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteOrganizationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteOrganizationResponse>* PrepareAsyncDeleteOrganizationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteOrganizationRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetOrganizationMetadataResponse>* AsyncGetOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetOrganizationMetadataResponse>* PrepareAsyncGetOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationMetadataResponse>* AsyncUpdateOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateOrganizationMetadataResponse>* PrepareAsyncUpdateOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListOrganizationMembersResponse>* AsyncListOrganizationMembersRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListOrganizationMembersResponse>* PrepareAsyncListOrganizationMembersRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::CreateOrganizationInviteResponse>* AsyncCreateOrganizationInviteRaw(::grpc::ClientContext* context, const ::viam::app::v1::CreateOrganizationInviteRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -2000,6 +2172,10 @@ class AppService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationResponse>* PrepareAsyncUpdateLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteLocationResponse>* AsyncDeleteLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteLocationResponse>* PrepareAsyncDeleteLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetLocationMetadataResponse>* AsyncGetLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetLocationMetadataResponse>* PrepareAsyncGetLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationMetadataResponse>* AsyncUpdateLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateLocationMetadataResponse>* PrepareAsyncUpdateLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListLocationsResponse>* AsyncListLocationsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ListLocationsResponse>* PrepareAsyncListLocationsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::ShareLocationResponse>* AsyncShareLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::ShareLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -2014,6 +2190,10 @@ class AppService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteLocationSecretResponse>* PrepareAsyncDeleteLocationSecretRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationSecretRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotResponse>* AsyncGetRobotRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotResponse>* PrepareAsyncGetRobotRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotMetadataResponse>* AsyncGetRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotMetadataResponse>* PrepareAsyncGetRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotMetadataResponse>* AsyncUpdateRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotMetadataResponse>* PrepareAsyncUpdateRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRoverRentalRobotsResponse>* AsyncGetRoverRentalRobotsRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRoverRentalRobotsResponse>* PrepareAsyncGetRoverRentalRobotsRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartsResponse>* AsyncGetRobotPartsRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartsRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -2033,6 +2213,10 @@ class AppService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::NewRobotPartResponse>* PrepareAsyncNewRobotPartRaw(::grpc::ClientContext* context, const ::viam::app::v1::NewRobotPartRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRobotPartResponse>* AsyncDeleteRobotPartRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRobotPartRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::DeleteRobotPartResponse>* PrepareAsyncDeleteRobotPartRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRobotPartRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartMetadataResponse>* AsyncGetRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotPartMetadataResponse>* PrepareAsyncGetRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotPartMetadataResponse>* AsyncUpdateRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::UpdateRobotPartMetadataResponse>* PrepareAsyncUpdateRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotAPIKeysResponse>* AsyncGetRobotAPIKeysRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::GetRobotAPIKeysResponse>* PrepareAsyncGetRobotAPIKeysRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::viam::app::v1::MarkPartAsMainResponse>* AsyncMarkPartAsMainRaw(::grpc::ClientContext* context, const ::viam::app::v1::MarkPartAsMainRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -2190,6 +2374,20 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteOrganizationResponse>> PrepareAsyncDeleteOrganization(::grpc::ClientContext* context, const ::viam::app::v1::DeleteOrganizationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteOrganizationResponse>>(PrepareAsyncDeleteOrganizationRaw(context, request, cq)); } + ::grpc::Status GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::viam::app::v1::GetOrganizationMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>> AsyncGetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>>(AsyncGetOrganizationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>> PrepareAsyncGetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>>(PrepareAsyncGetOrganizationMetadataRaw(context, request, cq)); + } + ::grpc::Status UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>> AsyncUpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>>(AsyncUpdateOrganizationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>> PrepareAsyncUpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>>(PrepareAsyncUpdateOrganizationMetadataRaw(context, request, cq)); + } ::grpc::Status ListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::viam::app::v1::ListOrganizationMembersResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListOrganizationMembersResponse>> AsyncListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListOrganizationMembersResponse>>(AsyncListOrganizationMembersRaw(context, request, cq)); @@ -2365,6 +2563,20 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteLocationResponse>> PrepareAsyncDeleteLocation(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteLocationResponse>>(PrepareAsyncDeleteLocationRaw(context, request, cq)); } + ::grpc::Status GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::viam::app::v1::GetLocationMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>> AsyncGetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>>(AsyncGetLocationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>> PrepareAsyncGetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>>(PrepareAsyncGetLocationMetadataRaw(context, request, cq)); + } + ::grpc::Status UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::viam::app::v1::UpdateLocationMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>> AsyncUpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>>(AsyncUpdateLocationMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>> PrepareAsyncUpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>>(PrepareAsyncUpdateLocationMetadataRaw(context, request, cq)); + } ::grpc::Status ListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::viam::app::v1::ListLocationsResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListLocationsResponse>> AsyncListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListLocationsResponse>>(AsyncListLocationsRaw(context, request, cq)); @@ -2414,6 +2626,20 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotResponse>> PrepareAsyncGetRobot(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotResponse>>(PrepareAsyncGetRobotRaw(context, request, cq)); } + ::grpc::Status GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::viam::app::v1::GetRobotMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>> AsyncGetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>>(AsyncGetRobotMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>> PrepareAsyncGetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>>(PrepareAsyncGetRobotMetadataRaw(context, request, cq)); + } + ::grpc::Status UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::viam::app::v1::UpdateRobotMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>> AsyncUpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>>(AsyncUpdateRobotMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>> PrepareAsyncUpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>>(PrepareAsyncUpdateRobotMetadataRaw(context, request, cq)); + } ::grpc::Status GetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::viam::app::v1::GetRoverRentalRobotsResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRoverRentalRobotsResponse>> AsyncGetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRoverRentalRobotsResponse>>(AsyncGetRoverRentalRobotsRaw(context, request, cq)); @@ -2479,6 +2705,20 @@ class AppService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRobotPartResponse>> PrepareAsyncDeleteRobotPart(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRobotPartRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRobotPartResponse>>(PrepareAsyncDeleteRobotPartRaw(context, request, cq)); } + ::grpc::Status GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::viam::app::v1::GetRobotPartMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>> AsyncGetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>>(AsyncGetRobotPartMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>> PrepareAsyncGetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>>(PrepareAsyncGetRobotPartMetadataRaw(context, request, cq)); + } + ::grpc::Status UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>> AsyncUpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>>(AsyncUpdateRobotPartMetadataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>> PrepareAsyncUpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>>(PrepareAsyncUpdateRobotPartMetadataRaw(context, request, cq)); + } ::grpc::Status GetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::viam::app::v1::GetRobotAPIKeysResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotAPIKeysResponse>> AsyncGetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotAPIKeysResponse>>(AsyncGetRobotAPIKeysRaw(context, request, cq)); @@ -2891,6 +3131,30 @@ class AppService final { #else void DeleteOrganization(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteOrganizationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif + void GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, std::function) override; + void GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, std::function) override; + void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateOrganizationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif void ListOrganizationMembers(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest* request, ::viam::app::v1::ListOrganizationMembersResponse* response, std::function) override; void ListOrganizationMembers(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListOrganizationMembersResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -3191,6 +3455,30 @@ class AppService final { #else void DeleteLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif + void GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, std::function) override; + void GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + void UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, std::function) override; + void UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateLocationMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateLocationMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateLocationMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif void ListLocations(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest* request, ::viam::app::v1::ListLocationsResponse* response, std::function) override; void ListLocations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::ListLocationsResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -3275,6 +3563,30 @@ class AppService final { #else void GetRobot(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif + void GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, std::function) override; + void GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + void UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, std::function) override; + void UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateRobotMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateRobotMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif void GetRoverRentalRobots(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest* request, ::viam::app::v1::GetRoverRentalRobotsResponse* response, std::function) override; void GetRoverRentalRobots(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRoverRentalRobotsResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -3376,6 +3688,30 @@ class AppService final { #else void DeleteRobotPart(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::DeleteRobotPartResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; #endif + void GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, std::function) override; + void GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void GetRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, std::function) override; + void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, std::function) override; + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + #else + void UpdateRobotPartMetadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + #endif void GetRobotAPIKeys(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest* request, ::viam::app::v1::GetRobotAPIKeysResponse* response, std::function) override; void GetRobotAPIKeys(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::viam::app::v1::GetRobotAPIKeysResponse* response, std::function) override; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -3892,6 +4228,10 @@ class AppService final { ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationResponse>* PrepareAsyncUpdateOrganizationRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteOrganizationResponse>* AsyncDeleteOrganizationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteOrganizationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteOrganizationResponse>* PrepareAsyncDeleteOrganizationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteOrganizationRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>* AsyncGetOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetOrganizationMetadataResponse>* PrepareAsyncGetOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>* AsyncUpdateOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateOrganizationMetadataResponse>* PrepareAsyncUpdateOrganizationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListOrganizationMembersResponse>* AsyncListOrganizationMembersRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListOrganizationMembersResponse>* PrepareAsyncListOrganizationMembersRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListOrganizationMembersRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::CreateOrganizationInviteResponse>* AsyncCreateOrganizationInviteRaw(::grpc::ClientContext* context, const ::viam::app::v1::CreateOrganizationInviteRequest& request, ::grpc::CompletionQueue* cq) override; @@ -3942,6 +4282,10 @@ class AppService final { ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationResponse>* PrepareAsyncUpdateLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteLocationResponse>* AsyncDeleteLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteLocationResponse>* PrepareAsyncDeleteLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>* AsyncGetLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetLocationMetadataResponse>* PrepareAsyncGetLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>* AsyncUpdateLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateLocationMetadataResponse>* PrepareAsyncUpdateLocationMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListLocationsResponse>* AsyncListLocationsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ListLocationsResponse>* PrepareAsyncListLocationsRaw(::grpc::ClientContext* context, const ::viam::app::v1::ListLocationsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::ShareLocationResponse>* AsyncShareLocationRaw(::grpc::ClientContext* context, const ::viam::app::v1::ShareLocationRequest& request, ::grpc::CompletionQueue* cq) override; @@ -3956,6 +4300,10 @@ class AppService final { ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteLocationSecretResponse>* PrepareAsyncDeleteLocationSecretRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteLocationSecretRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotResponse>* AsyncGetRobotRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotResponse>* PrepareAsyncGetRobotRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>* AsyncGetRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotMetadataResponse>* PrepareAsyncGetRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>* AsyncUpdateRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotMetadataResponse>* PrepareAsyncUpdateRobotMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRoverRentalRobotsResponse>* AsyncGetRoverRentalRobotsRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRoverRentalRobotsResponse>* PrepareAsyncGetRoverRentalRobotsRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartsResponse>* AsyncGetRobotPartsRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartsRequest& request, ::grpc::CompletionQueue* cq) override; @@ -3975,6 +4323,10 @@ class AppService final { ::grpc::ClientAsyncResponseReader< ::viam::app::v1::NewRobotPartResponse>* PrepareAsyncNewRobotPartRaw(::grpc::ClientContext* context, const ::viam::app::v1::NewRobotPartRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRobotPartResponse>* AsyncDeleteRobotPartRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRobotPartRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::DeleteRobotPartResponse>* PrepareAsyncDeleteRobotPartRaw(::grpc::ClientContext* context, const ::viam::app::v1::DeleteRobotPartRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>* AsyncGetRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotPartMetadataResponse>* PrepareAsyncGetRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>* AsyncUpdateRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::viam::app::v1::UpdateRobotPartMetadataResponse>* PrepareAsyncUpdateRobotPartMetadataRaw(::grpc::ClientContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotAPIKeysResponse>* AsyncGetRobotAPIKeysRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::GetRobotAPIKeysResponse>* PrepareAsyncGetRobotAPIKeysRaw(::grpc::ClientContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::viam::app::v1::MarkPartAsMainResponse>* AsyncMarkPartAsMainRaw(::grpc::ClientContext* context, const ::viam::app::v1::MarkPartAsMainRequest& request, ::grpc::CompletionQueue* cq) override; @@ -4068,6 +4420,8 @@ class AppService final { const ::grpc::internal::RpcMethod rpcmethod_GetOrganizationNamespaceAvailability_; const ::grpc::internal::RpcMethod rpcmethod_UpdateOrganization_; const ::grpc::internal::RpcMethod rpcmethod_DeleteOrganization_; + const ::grpc::internal::RpcMethod rpcmethod_GetOrganizationMetadata_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateOrganizationMetadata_; const ::grpc::internal::RpcMethod rpcmethod_ListOrganizationMembers_; const ::grpc::internal::RpcMethod rpcmethod_CreateOrganizationInvite_; const ::grpc::internal::RpcMethod rpcmethod_UpdateOrganizationInviteAuthorizations_; @@ -4093,6 +4447,8 @@ class AppService final { const ::grpc::internal::RpcMethod rpcmethod_GetLocation_; const ::grpc::internal::RpcMethod rpcmethod_UpdateLocation_; const ::grpc::internal::RpcMethod rpcmethod_DeleteLocation_; + const ::grpc::internal::RpcMethod rpcmethod_GetLocationMetadata_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateLocationMetadata_; const ::grpc::internal::RpcMethod rpcmethod_ListLocations_; const ::grpc::internal::RpcMethod rpcmethod_ShareLocation_; const ::grpc::internal::RpcMethod rpcmethod_UnshareLocation_; @@ -4100,6 +4456,8 @@ class AppService final { const ::grpc::internal::RpcMethod rpcmethod_CreateLocationSecret_; const ::grpc::internal::RpcMethod rpcmethod_DeleteLocationSecret_; const ::grpc::internal::RpcMethod rpcmethod_GetRobot_; + const ::grpc::internal::RpcMethod rpcmethod_GetRobotMetadata_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateRobotMetadata_; const ::grpc::internal::RpcMethod rpcmethod_GetRoverRentalRobots_; const ::grpc::internal::RpcMethod rpcmethod_GetRobotParts_; const ::grpc::internal::RpcMethod rpcmethod_GetRobotPart_; @@ -4109,6 +4467,8 @@ class AppService final { const ::grpc::internal::RpcMethod rpcmethod_UpdateRobotPart_; const ::grpc::internal::RpcMethod rpcmethod_NewRobotPart_; const ::grpc::internal::RpcMethod rpcmethod_DeleteRobotPart_; + const ::grpc::internal::RpcMethod rpcmethod_GetRobotPartMetadata_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateRobotPartMetadata_; const ::grpc::internal::RpcMethod rpcmethod_GetRobotAPIKeys_; const ::grpc::internal::RpcMethod rpcmethod_MarkPartAsMain_; const ::grpc::internal::RpcMethod rpcmethod_MarkPartForRestart_; @@ -4179,6 +4539,10 @@ class AppService final { virtual ::grpc::Status UpdateOrganization(::grpc::ServerContext* context, const ::viam::app::v1::UpdateOrganizationRequest* request, ::viam::app::v1::UpdateOrganizationResponse* response); // Delete an organization virtual ::grpc::Status DeleteOrganization(::grpc::ServerContext* context, const ::viam::app::v1::DeleteOrganizationRequest* request, ::viam::app::v1::DeleteOrganizationResponse* response); + // Get user-defined metadata for an organization + virtual ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response); + // Update user-defined metadata for an organization + virtual ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response); // List all members of an organization and all invited members to the organization. virtual ::grpc::Status ListOrganizationMembers(::grpc::ServerContext* context, const ::viam::app::v1::ListOrganizationMembersRequest* request, ::viam::app::v1::ListOrganizationMembersResponse* response); // Create an organization invite to an organization @@ -4218,6 +4582,10 @@ class AppService final { virtual ::grpc::Status UpdateLocation(::grpc::ServerContext* context, const ::viam::app::v1::UpdateLocationRequest* request, ::viam::app::v1::UpdateLocationResponse* response); // Delete a location virtual ::grpc::Status DeleteLocation(::grpc::ServerContext* context, const ::viam::app::v1::DeleteLocationRequest* request, ::viam::app::v1::DeleteLocationResponse* response); + // Get user-defined metadata for a location + virtual ::grpc::Status GetLocationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response); + // Update user-defined metadata for a location + virtual ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response); // Get a list of locations virtual ::grpc::Status ListLocations(::grpc::ServerContext* context, const ::viam::app::v1::ListLocationsRequest* request, ::viam::app::v1::ListLocationsResponse* response); // Share a location with an organization @@ -4233,6 +4601,10 @@ class AppService final { virtual ::grpc::Status DeleteLocationSecret(::grpc::ServerContext* context, const ::viam::app::v1::DeleteLocationSecretRequest* request, ::viam::app::v1::DeleteLocationSecretResponse* response); // Get a specific robot by ID virtual ::grpc::Status GetRobot(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotRequest* request, ::viam::app::v1::GetRobotResponse* response); + // Get user-defined metadata for a robot + virtual ::grpc::Status GetRobotMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response); + // Update user-defined metadata for an robot + virtual ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response); // Get Rover Rental Location Robots virtual ::grpc::Status GetRoverRentalRobots(::grpc::ServerContext* context, const ::viam::app::v1::GetRoverRentalRobotsRequest* request, ::viam::app::v1::GetRoverRentalRobotsResponse* response); virtual ::grpc::Status GetRobotParts(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotPartsRequest* request, ::viam::app::v1::GetRobotPartsResponse* response); @@ -4248,6 +4620,10 @@ class AppService final { virtual ::grpc::Status NewRobotPart(::grpc::ServerContext* context, const ::viam::app::v1::NewRobotPartRequest* request, ::viam::app::v1::NewRobotPartResponse* response); // Delete a robot part virtual ::grpc::Status DeleteRobotPart(::grpc::ServerContext* context, const ::viam::app::v1::DeleteRobotPartRequest* request, ::viam::app::v1::DeleteRobotPartResponse* response); + // Get user-defined metadata for a robot part + virtual ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response); + // Update user-defined metadata for an robot part + virtual ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response); // Gets the Robot API Keys for the robot virtual ::grpc::Status GetRobotAPIKeys(::grpc::ServerContext* context, const ::viam::app::v1::GetRobotAPIKeysRequest* request, ::viam::app::v1::GetRobotAPIKeysResponse* response); // Marks the given part as the main part, and all the others as not @@ -4522,12 +4898,52 @@ class AppService final { } }; template + class WithAsyncMethod_GetOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetOrganizationMetadata() { + ::grpc::Service::MarkMethodAsync(10); + } + ~WithAsyncMethod_GetOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetOrganizationMetadata(::grpc::ServerContext* context, ::viam::app::v1::GetOrganizationMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetOrganizationMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateOrganizationMetadata() { + ::grpc::Service::MarkMethodAsync(11); + } + ~WithAsyncMethod_UpdateOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateOrganizationMetadata(::grpc::ServerContext* context, ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateOrganizationMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_ListOrganizationMembers : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListOrganizationMembers() { - ::grpc::Service::MarkMethodAsync(10); + ::grpc::Service::MarkMethodAsync(12); } ~WithAsyncMethod_ListOrganizationMembers() override { BaseClassMustBeDerivedFromService(this); @@ -4538,7 +4954,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListOrganizationMembers(::grpc::ServerContext* context, ::viam::app::v1::ListOrganizationMembersRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListOrganizationMembersResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4547,7 +4963,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateOrganizationInvite() { - ::grpc::Service::MarkMethodAsync(11); + ::grpc::Service::MarkMethodAsync(13); } ~WithAsyncMethod_CreateOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -4558,7 +4974,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateOrganizationInvite(::grpc::ServerContext* context, ::viam::app::v1::CreateOrganizationInviteRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateOrganizationInviteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4567,7 +4983,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateOrganizationInviteAuthorizations() { - ::grpc::Service::MarkMethodAsync(12); + ::grpc::Service::MarkMethodAsync(14); } ~WithAsyncMethod_UpdateOrganizationInviteAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -4578,7 +4994,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateOrganizationInviteAuthorizations(::grpc::ServerContext* context, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4587,7 +5003,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteOrganizationMember() { - ::grpc::Service::MarkMethodAsync(13); + ::grpc::Service::MarkMethodAsync(15); } ~WithAsyncMethod_DeleteOrganizationMember() override { BaseClassMustBeDerivedFromService(this); @@ -4598,7 +5014,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteOrganizationMember(::grpc::ServerContext* context, ::viam::app::v1::DeleteOrganizationMemberRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteOrganizationMemberResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4607,7 +5023,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteOrganizationInvite() { - ::grpc::Service::MarkMethodAsync(14); + ::grpc::Service::MarkMethodAsync(16); } ~WithAsyncMethod_DeleteOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -4618,7 +5034,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteOrganizationInvite(::grpc::ServerContext* context, ::viam::app::v1::DeleteOrganizationInviteRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteOrganizationInviteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4627,7 +5043,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ResendOrganizationInvite() { - ::grpc::Service::MarkMethodAsync(15); + ::grpc::Service::MarkMethodAsync(17); } ~WithAsyncMethod_ResendOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -4638,7 +5054,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestResendOrganizationInvite(::grpc::ServerContext* context, ::viam::app::v1::ResendOrganizationInviteRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ResendOrganizationInviteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4647,7 +5063,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_EnableBillingService() { - ::grpc::Service::MarkMethodAsync(16); + ::grpc::Service::MarkMethodAsync(18); } ~WithAsyncMethod_EnableBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -4658,7 +5074,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestEnableBillingService(::grpc::ServerContext* context, ::viam::app::v1::EnableBillingServiceRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::EnableBillingServiceResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4667,7 +5083,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DisableBillingService() { - ::grpc::Service::MarkMethodAsync(17); + ::grpc::Service::MarkMethodAsync(19); } ~WithAsyncMethod_DisableBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -4678,7 +5094,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDisableBillingService(::grpc::ServerContext* context, ::viam::app::v1::DisableBillingServiceRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DisableBillingServiceResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4687,7 +5103,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateBillingService() { - ::grpc::Service::MarkMethodAsync(18); + ::grpc::Service::MarkMethodAsync(20); } ~WithAsyncMethod_UpdateBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -4698,7 +5114,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateBillingService(::grpc::ServerContext* context, ::viam::app::v1::UpdateBillingServiceRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateBillingServiceResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4707,7 +5123,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetBillingServiceConfig() { - ::grpc::Service::MarkMethodAsync(19); + ::grpc::Service::MarkMethodAsync(21); } ~WithAsyncMethod_GetBillingServiceConfig() override { BaseClassMustBeDerivedFromService(this); @@ -4718,7 +5134,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetBillingServiceConfig(::grpc::ServerContext* context, ::viam::app::v1::GetBillingServiceConfigRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetBillingServiceConfigResponse>* 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); + ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4727,7 +5143,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_OrganizationSetSupportEmail() { - ::grpc::Service::MarkMethodAsync(20); + ::grpc::Service::MarkMethodAsync(22); } ~WithAsyncMethod_OrganizationSetSupportEmail() override { BaseClassMustBeDerivedFromService(this); @@ -4738,7 +5154,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationSetSupportEmail(::grpc::ServerContext* context, ::viam::app::v1::OrganizationSetSupportEmailRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::OrganizationSetSupportEmailResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4747,7 +5163,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_OrganizationGetSupportEmail() { - ::grpc::Service::MarkMethodAsync(21); + ::grpc::Service::MarkMethodAsync(23); } ~WithAsyncMethod_OrganizationGetSupportEmail() override { BaseClassMustBeDerivedFromService(this); @@ -4758,7 +5174,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationGetSupportEmail(::grpc::ServerContext* context, ::viam::app::v1::OrganizationGetSupportEmailRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::OrganizationGetSupportEmailResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4767,7 +5183,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_OrganizationSetLogo() { - ::grpc::Service::MarkMethodAsync(22); + ::grpc::Service::MarkMethodAsync(24); } ~WithAsyncMethod_OrganizationSetLogo() override { BaseClassMustBeDerivedFromService(this); @@ -4778,7 +5194,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationSetLogo(::grpc::ServerContext* context, ::viam::app::v1::OrganizationSetLogoRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::OrganizationSetLogoResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4787,7 +5203,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_OrganizationGetLogo() { - ::grpc::Service::MarkMethodAsync(23); + ::grpc::Service::MarkMethodAsync(25); } ~WithAsyncMethod_OrganizationGetLogo() override { BaseClassMustBeDerivedFromService(this); @@ -4798,7 +5214,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationGetLogo(::grpc::ServerContext* context, ::viam::app::v1::OrganizationGetLogoRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::OrganizationGetLogoResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(25, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4807,7 +5223,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_EnableAuthService() { - ::grpc::Service::MarkMethodAsync(24); + ::grpc::Service::MarkMethodAsync(26); } ~WithAsyncMethod_EnableAuthService() override { BaseClassMustBeDerivedFromService(this); @@ -4818,7 +5234,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestEnableAuthService(::grpc::ServerContext* context, ::viam::app::v1::EnableAuthServiceRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::EnableAuthServiceResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(26, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4827,7 +5243,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DisableAuthService() { - ::grpc::Service::MarkMethodAsync(25); + ::grpc::Service::MarkMethodAsync(27); } ~WithAsyncMethod_DisableAuthService() override { BaseClassMustBeDerivedFromService(this); @@ -4838,7 +5254,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDisableAuthService(::grpc::ServerContext* context, ::viam::app::v1::DisableAuthServiceRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DisableAuthServiceResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(25, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(27, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4847,7 +5263,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateOAuthApp() { - ::grpc::Service::MarkMethodAsync(26); + ::grpc::Service::MarkMethodAsync(28); } ~WithAsyncMethod_CreateOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -4858,7 +5274,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateOAuthApp(::grpc::ServerContext* context, ::viam::app::v1::CreateOAuthAppRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateOAuthAppResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(26, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(28, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4867,7 +5283,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ReadOAuthApp() { - ::grpc::Service::MarkMethodAsync(27); + ::grpc::Service::MarkMethodAsync(29); } ~WithAsyncMethod_ReadOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -4878,7 +5294,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestReadOAuthApp(::grpc::ServerContext* context, ::viam::app::v1::ReadOAuthAppRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ReadOAuthAppResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(27, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(29, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4887,7 +5303,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateOAuthApp() { - ::grpc::Service::MarkMethodAsync(28); + ::grpc::Service::MarkMethodAsync(30); } ~WithAsyncMethod_UpdateOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -4898,7 +5314,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateOAuthApp(::grpc::ServerContext* context, ::viam::app::v1::UpdateOAuthAppRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateOAuthAppResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(28, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(30, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4907,7 +5323,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteOAuthApp() { - ::grpc::Service::MarkMethodAsync(29); + ::grpc::Service::MarkMethodAsync(31); } ~WithAsyncMethod_DeleteOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -4918,7 +5334,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteOAuthApp(::grpc::ServerContext* context, ::viam::app::v1::DeleteOAuthAppRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteOAuthAppResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(29, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(31, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4927,7 +5343,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListOAuthApps() { - ::grpc::Service::MarkMethodAsync(30); + ::grpc::Service::MarkMethodAsync(32); } ~WithAsyncMethod_ListOAuthApps() override { BaseClassMustBeDerivedFromService(this); @@ -4938,7 +5354,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListOAuthApps(::grpc::ServerContext* context, ::viam::app::v1::ListOAuthAppsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListOAuthAppsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(30, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(32, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4947,7 +5363,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateLocation() { - ::grpc::Service::MarkMethodAsync(31); + ::grpc::Service::MarkMethodAsync(33); } ~WithAsyncMethod_CreateLocation() override { BaseClassMustBeDerivedFromService(this); @@ -4958,7 +5374,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateLocation(::grpc::ServerContext* context, ::viam::app::v1::CreateLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateLocationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(31, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4967,7 +5383,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetLocation() { - ::grpc::Service::MarkMethodAsync(32); + ::grpc::Service::MarkMethodAsync(34); } ~WithAsyncMethod_GetLocation() override { BaseClassMustBeDerivedFromService(this); @@ -4978,7 +5394,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetLocation(::grpc::ServerContext* context, ::viam::app::v1::GetLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetLocationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(32, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4987,7 +5403,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateLocation() { - ::grpc::Service::MarkMethodAsync(33); + ::grpc::Service::MarkMethodAsync(35); } ~WithAsyncMethod_UpdateLocation() override { BaseClassMustBeDerivedFromService(this); @@ -4998,7 +5414,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateLocation(::grpc::ServerContext* context, ::viam::app::v1::UpdateLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateLocationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5007,7 +5423,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteLocation() { - ::grpc::Service::MarkMethodAsync(34); + ::grpc::Service::MarkMethodAsync(36); } ~WithAsyncMethod_DeleteLocation() override { BaseClassMustBeDerivedFromService(this); @@ -5018,7 +5434,47 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteLocation(::grpc::ServerContext* context, ::viam::app::v1::DeleteLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteLocationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetLocationMetadata() { + ::grpc::Service::MarkMethodAsync(37); + } + ~WithAsyncMethod_GetLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetLocationMetadata(::grpc::ServerContext* context, ::viam::app::v1::GetLocationMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetLocationMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateLocationMetadata() { + ::grpc::Service::MarkMethodAsync(38); + } + ~WithAsyncMethod_UpdateLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateLocationMetadata(::grpc::ServerContext* context, ::viam::app::v1::UpdateLocationMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateLocationMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5027,7 +5483,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListLocations() { - ::grpc::Service::MarkMethodAsync(35); + ::grpc::Service::MarkMethodAsync(39); } ~WithAsyncMethod_ListLocations() override { BaseClassMustBeDerivedFromService(this); @@ -5038,7 +5494,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListLocations(::grpc::ServerContext* context, ::viam::app::v1::ListLocationsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListLocationsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5047,7 +5503,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ShareLocation() { - ::grpc::Service::MarkMethodAsync(36); + ::grpc::Service::MarkMethodAsync(40); } ~WithAsyncMethod_ShareLocation() override { BaseClassMustBeDerivedFromService(this); @@ -5058,7 +5514,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestShareLocation(::grpc::ServerContext* context, ::viam::app::v1::ShareLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ShareLocationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5067,7 +5523,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UnshareLocation() { - ::grpc::Service::MarkMethodAsync(37); + ::grpc::Service::MarkMethodAsync(41); } ~WithAsyncMethod_UnshareLocation() override { BaseClassMustBeDerivedFromService(this); @@ -5078,7 +5534,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUnshareLocation(::grpc::ServerContext* context, ::viam::app::v1::UnshareLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UnshareLocationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5087,7 +5543,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_LocationAuth() { - ::grpc::Service::MarkMethodAsync(38); + ::grpc::Service::MarkMethodAsync(42); } ~WithAsyncMethod_LocationAuth() override { BaseClassMustBeDerivedFromService(this); @@ -5098,7 +5554,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestLocationAuth(::grpc::ServerContext* context, ::viam::app::v1::LocationAuthRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::LocationAuthResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5107,7 +5563,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateLocationSecret() { - ::grpc::Service::MarkMethodAsync(39); + ::grpc::Service::MarkMethodAsync(43); } ~WithAsyncMethod_CreateLocationSecret() override { BaseClassMustBeDerivedFromService(this); @@ -5118,7 +5574,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateLocationSecret(::grpc::ServerContext* context, ::viam::app::v1::CreateLocationSecretRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateLocationSecretResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5127,7 +5583,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteLocationSecret() { - ::grpc::Service::MarkMethodAsync(40); + ::grpc::Service::MarkMethodAsync(44); } ~WithAsyncMethod_DeleteLocationSecret() override { BaseClassMustBeDerivedFromService(this); @@ -5138,7 +5594,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteLocationSecret(::grpc::ServerContext* context, ::viam::app::v1::DeleteLocationSecretRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteLocationSecretResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5147,7 +5603,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRobot() { - ::grpc::Service::MarkMethodAsync(41); + ::grpc::Service::MarkMethodAsync(45); } ~WithAsyncMethod_GetRobot() override { BaseClassMustBeDerivedFromService(this); @@ -5158,7 +5614,47 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobot(::grpc::ServerContext* context, ::viam::app::v1::GetRobotRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetRobotMetadata() { + ::grpc::Service::MarkMethodAsync(46); + } + ~WithAsyncMethod_GetRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetRobotMetadata(::grpc::ServerContext* context, ::viam::app::v1::GetRobotMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateRobotMetadata() { + ::grpc::Service::MarkMethodAsync(47); + } + ~WithAsyncMethod_UpdateRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateRobotMetadata(::grpc::ServerContext* context, ::viam::app::v1::UpdateRobotMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateRobotMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5167,7 +5663,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRoverRentalRobots() { - ::grpc::Service::MarkMethodAsync(42); + ::grpc::Service::MarkMethodAsync(48); } ~WithAsyncMethod_GetRoverRentalRobots() override { BaseClassMustBeDerivedFromService(this); @@ -5178,7 +5674,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRoverRentalRobots(::grpc::ServerContext* context, ::viam::app::v1::GetRoverRentalRobotsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRoverRentalRobotsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5187,7 +5683,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRobotParts() { - ::grpc::Service::MarkMethodAsync(43); + ::grpc::Service::MarkMethodAsync(49); } ~WithAsyncMethod_GetRobotParts() override { BaseClassMustBeDerivedFromService(this); @@ -5198,7 +5694,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotParts(::grpc::ServerContext* context, ::viam::app::v1::GetRobotPartsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotPartsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5207,7 +5703,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRobotPart() { - ::grpc::Service::MarkMethodAsync(44); + ::grpc::Service::MarkMethodAsync(50); } ~WithAsyncMethod_GetRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -5218,7 +5714,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotPart(::grpc::ServerContext* context, ::viam::app::v1::GetRobotPartRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotPartResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5227,7 +5723,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRobotPartLogs() { - ::grpc::Service::MarkMethodAsync(45); + ::grpc::Service::MarkMethodAsync(51); } ~WithAsyncMethod_GetRobotPartLogs() override { BaseClassMustBeDerivedFromService(this); @@ -5238,7 +5734,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotPartLogs(::grpc::ServerContext* context, ::viam::app::v1::GetRobotPartLogsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotPartLogsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5247,7 +5743,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_TailRobotPartLogs() { - ::grpc::Service::MarkMethodAsync(46); + ::grpc::Service::MarkMethodAsync(52); } ~WithAsyncMethod_TailRobotPartLogs() override { BaseClassMustBeDerivedFromService(this); @@ -5258,7 +5754,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestTailRobotPartLogs(::grpc::ServerContext* context, ::viam::app::v1::TailRobotPartLogsRequest* request, ::grpc::ServerAsyncWriter< ::viam::app::v1::TailRobotPartLogsResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(46, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(52, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -5267,7 +5763,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRobotPartHistory() { - ::grpc::Service::MarkMethodAsync(47); + ::grpc::Service::MarkMethodAsync(53); } ~WithAsyncMethod_GetRobotPartHistory() override { BaseClassMustBeDerivedFromService(this); @@ -5278,7 +5774,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotPartHistory(::grpc::ServerContext* context, ::viam::app::v1::GetRobotPartHistoryRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotPartHistoryResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5287,7 +5783,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateRobotPart() { - ::grpc::Service::MarkMethodAsync(48); + ::grpc::Service::MarkMethodAsync(54); } ~WithAsyncMethod_UpdateRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -5298,7 +5794,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateRobotPart(::grpc::ServerContext* context, ::viam::app::v1::UpdateRobotPartRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateRobotPartResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5307,7 +5803,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_NewRobotPart() { - ::grpc::Service::MarkMethodAsync(49); + ::grpc::Service::MarkMethodAsync(55); } ~WithAsyncMethod_NewRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -5318,7 +5814,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestNewRobotPart(::grpc::ServerContext* context, ::viam::app::v1::NewRobotPartRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::NewRobotPartResponse>* 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(55, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5327,7 +5823,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteRobotPart() { - ::grpc::Service::MarkMethodAsync(50); + ::grpc::Service::MarkMethodAsync(56); } ~WithAsyncMethod_DeleteRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -5338,7 +5834,47 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRobotPart(::grpc::ServerContext* context, ::viam::app::v1::DeleteRobotPartRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteRobotPartResponse>* 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(56, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_GetRobotPartMetadata() { + ::grpc::Service::MarkMethodAsync(57); + } + ~WithAsyncMethod_GetRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetRobotPartMetadata(::grpc::ServerContext* context, ::viam::app::v1::GetRobotPartMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotPartMetadataResponse>* 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); + } + }; + template + class WithAsyncMethod_UpdateRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_UpdateRobotPartMetadata() { + ::grpc::Service::MarkMethodAsync(58); + } + ~WithAsyncMethod_UpdateRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateRobotPartMetadata(::grpc::ServerContext* context, ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateRobotPartMetadataResponse>* 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); } }; template @@ -5347,7 +5883,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRobotAPIKeys() { - ::grpc::Service::MarkMethodAsync(51); + ::grpc::Service::MarkMethodAsync(59); } ~WithAsyncMethod_GetRobotAPIKeys() override { BaseClassMustBeDerivedFromService(this); @@ -5358,7 +5894,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotAPIKeys(::grpc::ServerContext* context, ::viam::app::v1::GetRobotAPIKeysRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetRobotAPIKeysResponse>* 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(59, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5367,7 +5903,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_MarkPartAsMain() { - ::grpc::Service::MarkMethodAsync(52); + ::grpc::Service::MarkMethodAsync(60); } ~WithAsyncMethod_MarkPartAsMain() override { BaseClassMustBeDerivedFromService(this); @@ -5378,7 +5914,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestMarkPartAsMain(::grpc::ServerContext* context, ::viam::app::v1::MarkPartAsMainRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::MarkPartAsMainResponse>* 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(60, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5387,7 +5923,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_MarkPartForRestart() { - ::grpc::Service::MarkMethodAsync(53); + ::grpc::Service::MarkMethodAsync(61); } ~WithAsyncMethod_MarkPartForRestart() override { BaseClassMustBeDerivedFromService(this); @@ -5398,7 +5934,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestMarkPartForRestart(::grpc::ServerContext* context, ::viam::app::v1::MarkPartForRestartRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::MarkPartForRestartResponse>* 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(61, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5407,7 +5943,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateRobotPartSecret() { - ::grpc::Service::MarkMethodAsync(54); + ::grpc::Service::MarkMethodAsync(62); } ~WithAsyncMethod_CreateRobotPartSecret() override { BaseClassMustBeDerivedFromService(this); @@ -5418,7 +5954,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateRobotPartSecret(::grpc::ServerContext* context, ::viam::app::v1::CreateRobotPartSecretRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateRobotPartSecretResponse>* 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(62, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5427,7 +5963,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteRobotPartSecret() { - ::grpc::Service::MarkMethodAsync(55); + ::grpc::Service::MarkMethodAsync(63); } ~WithAsyncMethod_DeleteRobotPartSecret() override { BaseClassMustBeDerivedFromService(this); @@ -5438,7 +5974,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRobotPartSecret(::grpc::ServerContext* context, ::viam::app::v1::DeleteRobotPartSecretRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteRobotPartSecretResponse>* 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(63, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5447,7 +5983,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListRobots() { - ::grpc::Service::MarkMethodAsync(56); + ::grpc::Service::MarkMethodAsync(64); } ~WithAsyncMethod_ListRobots() override { BaseClassMustBeDerivedFromService(this); @@ -5458,7 +5994,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListRobots(::grpc::ServerContext* context, ::viam::app::v1::ListRobotsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListRobotsResponse>* 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(64, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5467,7 +6003,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_NewRobot() { - ::grpc::Service::MarkMethodAsync(57); + ::grpc::Service::MarkMethodAsync(65); } ~WithAsyncMethod_NewRobot() override { BaseClassMustBeDerivedFromService(this); @@ -5478,7 +6014,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestNewRobot(::grpc::ServerContext* context, ::viam::app::v1::NewRobotRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::NewRobotResponse>* 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(65, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5487,7 +6023,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateRobot() { - ::grpc::Service::MarkMethodAsync(58); + ::grpc::Service::MarkMethodAsync(66); } ~WithAsyncMethod_UpdateRobot() override { BaseClassMustBeDerivedFromService(this); @@ -5498,7 +6034,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateRobot(::grpc::ServerContext* context, ::viam::app::v1::UpdateRobotRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateRobotResponse>* 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(66, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5507,7 +6043,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteRobot() { - ::grpc::Service::MarkMethodAsync(59); + ::grpc::Service::MarkMethodAsync(67); } ~WithAsyncMethod_DeleteRobot() override { BaseClassMustBeDerivedFromService(this); @@ -5518,7 +6054,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRobot(::grpc::ServerContext* context, ::viam::app::v1::DeleteRobotRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteRobotResponse>* 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(67, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5527,7 +6063,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListFragments() { - ::grpc::Service::MarkMethodAsync(60); + ::grpc::Service::MarkMethodAsync(68); } ~WithAsyncMethod_ListFragments() override { BaseClassMustBeDerivedFromService(this); @@ -5538,7 +6074,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListFragments(::grpc::ServerContext* context, ::viam::app::v1::ListFragmentsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListFragmentsResponse>* 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(68, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5547,7 +6083,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetFragment() { - ::grpc::Service::MarkMethodAsync(61); + ::grpc::Service::MarkMethodAsync(69); } ~WithAsyncMethod_GetFragment() override { BaseClassMustBeDerivedFromService(this); @@ -5558,7 +6094,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragment(::grpc::ServerContext* context, ::viam::app::v1::GetFragmentRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetFragmentResponse>* 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(69, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5567,7 +6103,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateFragment() { - ::grpc::Service::MarkMethodAsync(62); + ::grpc::Service::MarkMethodAsync(70); } ~WithAsyncMethod_CreateFragment() override { BaseClassMustBeDerivedFromService(this); @@ -5578,7 +6114,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateFragment(::grpc::ServerContext* context, ::viam::app::v1::CreateFragmentRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::CreateFragmentResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(62, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(70, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5587,7 +6123,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateFragment() { - ::grpc::Service::MarkMethodAsync(63); + ::grpc::Service::MarkMethodAsync(71); } ~WithAsyncMethod_UpdateFragment() override { BaseClassMustBeDerivedFromService(this); @@ -5598,7 +6134,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateFragment(::grpc::ServerContext* context, ::viam::app::v1::UpdateFragmentRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::UpdateFragmentResponse>* 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(71, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5607,7 +6143,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteFragment() { - ::grpc::Service::MarkMethodAsync(64); + ::grpc::Service::MarkMethodAsync(72); } ~WithAsyncMethod_DeleteFragment() override { BaseClassMustBeDerivedFromService(this); @@ -5618,7 +6154,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteFragment(::grpc::ServerContext* context, ::viam::app::v1::DeleteFragmentRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteFragmentResponse>* 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(72, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5627,7 +6163,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodAsync(65); + ::grpc::Service::MarkMethodAsync(73); } ~WithAsyncMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); @@ -5638,7 +6174,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListMachineFragments(::grpc::ServerContext* context, ::viam::app::v1::ListMachineFragmentsRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::ListMachineFragmentsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(65, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(73, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5647,7 +6183,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodAsync(66); + ::grpc::Service::MarkMethodAsync(74); } ~WithAsyncMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); @@ -5658,7 +6194,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentHistory(::grpc::ServerContext* context, ::viam::app::v1::GetFragmentHistoryRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetFragmentHistoryResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(66, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(74, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5667,7 +6203,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodAsync(67); + ::grpc::Service::MarkMethodAsync(75); } ~WithAsyncMethod_GetFragmentUsage() override { BaseClassMustBeDerivedFromService(this); @@ -5678,7 +6214,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentUsage(::grpc::ServerContext* context, ::viam::app::v1::GetFragmentUsageRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::GetFragmentUsageResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(67, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(75, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5687,7 +6223,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodAsync(68); + ::grpc::Service::MarkMethodAsync(76); } ~WithAsyncMethod_SetFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -5698,7 +6234,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetFragmentTag(::grpc::ServerContext* context, ::viam::app::v1::SetFragmentTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::SetFragmentTagResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(68, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(76, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5707,7 +6243,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodAsync(69); + ::grpc::Service::MarkMethodAsync(77); } ~WithAsyncMethod_DeleteFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -5718,7 +6254,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteFragmentTag(::grpc::ServerContext* context, ::viam::app::v1::DeleteFragmentTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::viam::app::v1::DeleteFragmentTagResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(69, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(77, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5727,7 +6263,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_AddRole() { - ::grpc::Service::MarkMethodAsync(70); + ::grpc::Service::MarkMethodAsync(78); } ~WithAsyncMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -5738,7 +6274,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(70, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(78, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5747,7 +6283,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RemoveRole() { - ::grpc::Service::MarkMethodAsync(71); + ::grpc::Service::MarkMethodAsync(79); } ~WithAsyncMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -5758,7 +6294,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(71, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(79, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5767,7 +6303,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ChangeRole() { - ::grpc::Service::MarkMethodAsync(72); + ::grpc::Service::MarkMethodAsync(80); } ~WithAsyncMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -5778,7 +6314,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(72, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(80, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5787,7 +6323,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodAsync(73); + ::grpc::Service::MarkMethodAsync(81); } ~WithAsyncMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -5798,7 +6334,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(73, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(81, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5807,7 +6343,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CheckPermissions() { - ::grpc::Service::MarkMethodAsync(74); + ::grpc::Service::MarkMethodAsync(82); } ~WithAsyncMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -5818,7 +6354,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(74, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(82, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5827,7 +6363,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodAsync(75); + ::grpc::Service::MarkMethodAsync(83); } ~WithAsyncMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -5838,7 +6374,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(75, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(83, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5847,7 +6383,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodAsync(76); + ::grpc::Service::MarkMethodAsync(84); } ~WithAsyncMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -5858,7 +6394,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(76, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(84, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5867,7 +6403,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodAsync(77); + ::grpc::Service::MarkMethodAsync(85); } ~WithAsyncMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -5878,7 +6414,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(77, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(85, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5887,7 +6423,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodAsync(78); + ::grpc::Service::MarkMethodAsync(86); } ~WithAsyncMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -5898,7 +6434,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(78, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(86, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5907,7 +6443,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodAsync(79); + ::grpc::Service::MarkMethodAsync(87); } ~WithAsyncMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -5918,7 +6454,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(79, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(87, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5927,7 +6463,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodAsync(80); + ::grpc::Service::MarkMethodAsync(88); } ~WithAsyncMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -5938,7 +6474,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(80, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(88, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5947,7 +6483,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateModule() { - ::grpc::Service::MarkMethodAsync(81); + ::grpc::Service::MarkMethodAsync(89); } ~WithAsyncMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -5958,7 +6494,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(81, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(89, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5967,7 +6503,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UpdateModule() { - ::grpc::Service::MarkMethodAsync(82); + ::grpc::Service::MarkMethodAsync(90); } ~WithAsyncMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -5978,7 +6514,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(82, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(90, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5987,7 +6523,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodAsync(83); + ::grpc::Service::MarkMethodAsync(91); } ~WithAsyncMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -5998,7 +6534,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(83, context, reader, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncClientStreaming(91, context, reader, new_call_cq, notification_cq, tag); } }; template @@ -6007,7 +6543,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetModule() { - ::grpc::Service::MarkMethodAsync(84); + ::grpc::Service::MarkMethodAsync(92); } ~WithAsyncMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -6018,7 +6554,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(84, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(92, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6027,7 +6563,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListModules() { - ::grpc::Service::MarkMethodAsync(85); + ::grpc::Service::MarkMethodAsync(93); } ~WithAsyncMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -6038,7 +6574,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(85, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(93, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6047,7 +6583,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateKey() { - ::grpc::Service::MarkMethodAsync(86); + ::grpc::Service::MarkMethodAsync(94); } ~WithAsyncMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -6058,7 +6594,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(86, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(94, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6067,7 +6603,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DeleteKey() { - ::grpc::Service::MarkMethodAsync(87); + ::grpc::Service::MarkMethodAsync(95); } ~WithAsyncMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -6078,7 +6614,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(87, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(95, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6087,7 +6623,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ListKeys() { - ::grpc::Service::MarkMethodAsync(88); + ::grpc::Service::MarkMethodAsync(96); } ~WithAsyncMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -6098,7 +6634,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(88, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(96, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6107,7 +6643,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RenameKey() { - ::grpc::Service::MarkMethodAsync(89); + ::grpc::Service::MarkMethodAsync(97); } ~WithAsyncMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -6118,7 +6654,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(89, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(97, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6127,7 +6663,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RotateKey() { - ::grpc::Service::MarkMethodAsync(90); + ::grpc::Service::MarkMethodAsync(98); } ~WithAsyncMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -6138,7 +6674,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(90, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(98, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6147,7 +6683,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodAsync(91); + ::grpc::Service::MarkMethodAsync(99); } ~WithAsyncMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -6158,10 +6694,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(91, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(99, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_GetUserIDByEmail : public BaseClass { private: @@ -6633,6 +7169,100 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithCallbackMethod_GetOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_GetOrganizationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(10, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetOrganizationMetadataRequest, ::viam::app::v1::GetOrganizationMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::GetOrganizationMetadataRequest* request, ::viam::app::v1::GetOrganizationMetadataResponse* response) { return this->GetOrganizationMetadata(context, request, response); }));} + void SetMessageAllocatorFor_GetOrganizationMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetOrganizationMetadataRequest, ::viam::app::v1::GetOrganizationMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(10); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(10); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetOrganizationMetadataRequest, ::viam::app::v1::GetOrganizationMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetOrganizationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetOrganizationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithCallbackMethod_UpdateOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_UpdateOrganizationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(11, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateOrganizationMetadataRequest, ::viam::app::v1::UpdateOrganizationMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::UpdateOrganizationMetadataRequest* request, ::viam::app::v1::UpdateOrganizationMetadataResponse* response) { return this->UpdateOrganizationMetadata(context, request, response); }));} + void SetMessageAllocatorFor_UpdateOrganizationMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateOrganizationMetadataRequest, ::viam::app::v1::UpdateOrganizationMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(11); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(11); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateOrganizationMetadataRequest, ::viam::app::v1::UpdateOrganizationMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_UpdateOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateOrganizationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateOrganizationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithCallbackMethod_ListOrganizationMembers : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -6643,7 +7273,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(10, + MarkMethodCallback(12, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListOrganizationMembersRequest, ::viam::app::v1::ListOrganizationMembersResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6655,9 +7285,9 @@ class AppService final { void SetMessageAllocatorFor_ListOrganizationMembers( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListOrganizationMembersRequest, ::viam::app::v1::ListOrganizationMembersResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(10); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(12); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(10); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(12); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListOrganizationMembersRequest, ::viam::app::v1::ListOrganizationMembersResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6690,7 +7320,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(11, + MarkMethodCallback(13, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateOrganizationInviteRequest, ::viam::app::v1::CreateOrganizationInviteResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6702,9 +7332,9 @@ class AppService final { void SetMessageAllocatorFor_CreateOrganizationInvite( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateOrganizationInviteRequest, ::viam::app::v1::CreateOrganizationInviteResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(11); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(13); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(11); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(13); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateOrganizationInviteRequest, ::viam::app::v1::CreateOrganizationInviteResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6737,7 +7367,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(12, + MarkMethodCallback(14, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6749,9 +7379,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateOrganizationInviteAuthorizations( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(12); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(14); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(12); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(14); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6784,7 +7414,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(13, + MarkMethodCallback(15, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteOrganizationMemberRequest, ::viam::app::v1::DeleteOrganizationMemberResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6796,9 +7426,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteOrganizationMember( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteOrganizationMemberRequest, ::viam::app::v1::DeleteOrganizationMemberResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(13); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(15); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(13); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(15); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteOrganizationMemberRequest, ::viam::app::v1::DeleteOrganizationMemberResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6831,7 +7461,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(14, + MarkMethodCallback(16, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteOrganizationInviteRequest, ::viam::app::v1::DeleteOrganizationInviteResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6843,9 +7473,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteOrganizationInvite( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteOrganizationInviteRequest, ::viam::app::v1::DeleteOrganizationInviteResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(14); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(16); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(14); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(16); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteOrganizationInviteRequest, ::viam::app::v1::DeleteOrganizationInviteResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6878,7 +7508,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(15, + MarkMethodCallback(17, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ResendOrganizationInviteRequest, ::viam::app::v1::ResendOrganizationInviteResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6890,9 +7520,9 @@ class AppService final { void SetMessageAllocatorFor_ResendOrganizationInvite( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ResendOrganizationInviteRequest, ::viam::app::v1::ResendOrganizationInviteResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(15); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(17); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(15); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(17); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ResendOrganizationInviteRequest, ::viam::app::v1::ResendOrganizationInviteResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6925,7 +7555,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(16, + MarkMethodCallback(18, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::EnableBillingServiceRequest, ::viam::app::v1::EnableBillingServiceResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6937,9 +7567,9 @@ class AppService final { void SetMessageAllocatorFor_EnableBillingService( ::grpc::experimental::MessageAllocator< ::viam::app::v1::EnableBillingServiceRequest, ::viam::app::v1::EnableBillingServiceResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(16); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(18); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(16); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(18); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::EnableBillingServiceRequest, ::viam::app::v1::EnableBillingServiceResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -6972,7 +7602,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(17, + MarkMethodCallback(19, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DisableBillingServiceRequest, ::viam::app::v1::DisableBillingServiceResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -6984,9 +7614,9 @@ class AppService final { void SetMessageAllocatorFor_DisableBillingService( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DisableBillingServiceRequest, ::viam::app::v1::DisableBillingServiceResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(17); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(19); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(17); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(19); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DisableBillingServiceRequest, ::viam::app::v1::DisableBillingServiceResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7019,7 +7649,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(18, + MarkMethodCallback(20, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateBillingServiceRequest, ::viam::app::v1::UpdateBillingServiceResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7031,9 +7661,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateBillingService( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateBillingServiceRequest, ::viam::app::v1::UpdateBillingServiceResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(18); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(20); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(18); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(20); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateBillingServiceRequest, ::viam::app::v1::UpdateBillingServiceResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7066,7 +7696,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(19, + MarkMethodCallback(21, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetBillingServiceConfigRequest, ::viam::app::v1::GetBillingServiceConfigResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7078,9 +7708,9 @@ class AppService final { void SetMessageAllocatorFor_GetBillingServiceConfig( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetBillingServiceConfigRequest, ::viam::app::v1::GetBillingServiceConfigResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(19); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(21); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(19); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(21); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetBillingServiceConfigRequest, ::viam::app::v1::GetBillingServiceConfigResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7113,7 +7743,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(20, + MarkMethodCallback(22, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationSetSupportEmailRequest, ::viam::app::v1::OrganizationSetSupportEmailResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7125,9 +7755,9 @@ class AppService final { void SetMessageAllocatorFor_OrganizationSetSupportEmail( ::grpc::experimental::MessageAllocator< ::viam::app::v1::OrganizationSetSupportEmailRequest, ::viam::app::v1::OrganizationSetSupportEmailResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(20); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(22); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(20); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(22); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationSetSupportEmailRequest, ::viam::app::v1::OrganizationSetSupportEmailResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7160,7 +7790,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(21, + MarkMethodCallback(23, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationGetSupportEmailRequest, ::viam::app::v1::OrganizationGetSupportEmailResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7172,9 +7802,9 @@ class AppService final { void SetMessageAllocatorFor_OrganizationGetSupportEmail( ::grpc::experimental::MessageAllocator< ::viam::app::v1::OrganizationGetSupportEmailRequest, ::viam::app::v1::OrganizationGetSupportEmailResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(21); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(23); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(21); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(23); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationGetSupportEmailRequest, ::viam::app::v1::OrganizationGetSupportEmailResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7207,7 +7837,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(22, + MarkMethodCallback(24, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationSetLogoRequest, ::viam::app::v1::OrganizationSetLogoResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7219,9 +7849,9 @@ class AppService final { void SetMessageAllocatorFor_OrganizationSetLogo( ::grpc::experimental::MessageAllocator< ::viam::app::v1::OrganizationSetLogoRequest, ::viam::app::v1::OrganizationSetLogoResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(22); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(24); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(22); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(24); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationSetLogoRequest, ::viam::app::v1::OrganizationSetLogoResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7254,7 +7884,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(23, + MarkMethodCallback(25, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationGetLogoRequest, ::viam::app::v1::OrganizationGetLogoResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7266,9 +7896,9 @@ class AppService final { void SetMessageAllocatorFor_OrganizationGetLogo( ::grpc::experimental::MessageAllocator< ::viam::app::v1::OrganizationGetLogoRequest, ::viam::app::v1::OrganizationGetLogoResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(23); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(25); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(23); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(25); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::OrganizationGetLogoRequest, ::viam::app::v1::OrganizationGetLogoResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7301,7 +7931,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(24, + MarkMethodCallback(26, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::EnableAuthServiceRequest, ::viam::app::v1::EnableAuthServiceResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7313,9 +7943,9 @@ class AppService final { void SetMessageAllocatorFor_EnableAuthService( ::grpc::experimental::MessageAllocator< ::viam::app::v1::EnableAuthServiceRequest, ::viam::app::v1::EnableAuthServiceResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(24); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(26); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(24); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(26); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::EnableAuthServiceRequest, ::viam::app::v1::EnableAuthServiceResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7348,7 +7978,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(25, + MarkMethodCallback(27, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DisableAuthServiceRequest, ::viam::app::v1::DisableAuthServiceResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7360,9 +7990,9 @@ class AppService final { void SetMessageAllocatorFor_DisableAuthService( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DisableAuthServiceRequest, ::viam::app::v1::DisableAuthServiceResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(25); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(27); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(25); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(27); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DisableAuthServiceRequest, ::viam::app::v1::DisableAuthServiceResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7395,7 +8025,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(26, + MarkMethodCallback(28, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateOAuthAppRequest, ::viam::app::v1::CreateOAuthAppResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7407,9 +8037,9 @@ class AppService final { void SetMessageAllocatorFor_CreateOAuthApp( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateOAuthAppRequest, ::viam::app::v1::CreateOAuthAppResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(26); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(28); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(26); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(28); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateOAuthAppRequest, ::viam::app::v1::CreateOAuthAppResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7442,7 +8072,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(27, + MarkMethodCallback(29, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ReadOAuthAppRequest, ::viam::app::v1::ReadOAuthAppResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7454,9 +8084,9 @@ class AppService final { void SetMessageAllocatorFor_ReadOAuthApp( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ReadOAuthAppRequest, ::viam::app::v1::ReadOAuthAppResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(27); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(29); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(27); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(29); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ReadOAuthAppRequest, ::viam::app::v1::ReadOAuthAppResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7489,7 +8119,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(28, + MarkMethodCallback(30, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateOAuthAppRequest, ::viam::app::v1::UpdateOAuthAppResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7501,9 +8131,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateOAuthApp( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateOAuthAppRequest, ::viam::app::v1::UpdateOAuthAppResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(28); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(30); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(28); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(30); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateOAuthAppRequest, ::viam::app::v1::UpdateOAuthAppResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7536,7 +8166,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(29, + MarkMethodCallback(31, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteOAuthAppRequest, ::viam::app::v1::DeleteOAuthAppResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7548,9 +8178,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteOAuthApp( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteOAuthAppRequest, ::viam::app::v1::DeleteOAuthAppResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(29); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(31); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(29); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(31); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteOAuthAppRequest, ::viam::app::v1::DeleteOAuthAppResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7583,7 +8213,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(30, + MarkMethodCallback(32, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListOAuthAppsRequest, ::viam::app::v1::ListOAuthAppsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7595,9 +8225,9 @@ class AppService final { void SetMessageAllocatorFor_ListOAuthApps( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListOAuthAppsRequest, ::viam::app::v1::ListOAuthAppsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(30); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(32); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(30); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(32); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListOAuthAppsRequest, ::viam::app::v1::ListOAuthAppsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7630,7 +8260,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(31, + MarkMethodCallback(33, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateLocationRequest, ::viam::app::v1::CreateLocationResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7642,9 +8272,9 @@ class AppService final { void SetMessageAllocatorFor_CreateLocation( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateLocationRequest, ::viam::app::v1::CreateLocationResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(31); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(33); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(31); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(33); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateLocationRequest, ::viam::app::v1::CreateLocationResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7677,7 +8307,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(32, + MarkMethodCallback(34, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetLocationRequest, ::viam::app::v1::GetLocationResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7689,9 +8319,9 @@ class AppService final { void SetMessageAllocatorFor_GetLocation( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetLocationRequest, ::viam::app::v1::GetLocationResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(32); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(34); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(32); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(34); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetLocationRequest, ::viam::app::v1::GetLocationResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7724,7 +8354,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(33, + MarkMethodCallback(35, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateLocationRequest, ::viam::app::v1::UpdateLocationResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7736,9 +8366,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateLocation( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateLocationRequest, ::viam::app::v1::UpdateLocationResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(33); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(35); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(33); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(35); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateLocationRequest, ::viam::app::v1::UpdateLocationResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7771,7 +8401,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(34, + MarkMethodCallback(36, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteLocationRequest, ::viam::app::v1::DeleteLocationResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7783,9 +8413,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteLocation( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteLocationRequest, ::viam::app::v1::DeleteLocationResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(34); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(36); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(34); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(36); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteLocationRequest, ::viam::app::v1::DeleteLocationResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7808,6 +8438,100 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithCallbackMethod_GetLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_GetLocationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(37, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetLocationMetadataRequest, ::viam::app::v1::GetLocationMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::GetLocationMetadataRequest* request, ::viam::app::v1::GetLocationMetadataResponse* response) { return this->GetLocationMetadata(context, request, response); }));} + void SetMessageAllocatorFor_GetLocationMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetLocationMetadataRequest, ::viam::app::v1::GetLocationMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(37); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(37); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetLocationMetadataRequest, ::viam::app::v1::GetLocationMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetLocationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetLocationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithCallbackMethod_UpdateLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_UpdateLocationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(38, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateLocationMetadataRequest, ::viam::app::v1::UpdateLocationMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::UpdateLocationMetadataRequest* request, ::viam::app::v1::UpdateLocationMetadataResponse* response) { return this->UpdateLocationMetadata(context, request, response); }));} + void SetMessageAllocatorFor_UpdateLocationMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateLocationMetadataRequest, ::viam::app::v1::UpdateLocationMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(38); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(38); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateLocationMetadataRequest, ::viam::app::v1::UpdateLocationMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_UpdateLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateLocationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateLocationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithCallbackMethod_ListLocations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -7818,7 +8542,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(35, + MarkMethodCallback(39, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListLocationsRequest, ::viam::app::v1::ListLocationsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7830,9 +8554,9 @@ class AppService final { void SetMessageAllocatorFor_ListLocations( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListLocationsRequest, ::viam::app::v1::ListLocationsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(35); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(39); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(35); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(39); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListLocationsRequest, ::viam::app::v1::ListLocationsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7865,7 +8589,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(36, + MarkMethodCallback(40, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ShareLocationRequest, ::viam::app::v1::ShareLocationResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7877,9 +8601,9 @@ class AppService final { void SetMessageAllocatorFor_ShareLocation( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ShareLocationRequest, ::viam::app::v1::ShareLocationResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(36); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(40); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(36); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(40); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ShareLocationRequest, ::viam::app::v1::ShareLocationResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7912,7 +8636,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(37, + MarkMethodCallback(41, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UnshareLocationRequest, ::viam::app::v1::UnshareLocationResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7924,9 +8648,9 @@ class AppService final { void SetMessageAllocatorFor_UnshareLocation( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UnshareLocationRequest, ::viam::app::v1::UnshareLocationResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(37); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(41); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(37); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(41); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UnshareLocationRequest, ::viam::app::v1::UnshareLocationResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -7959,7 +8683,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(38, + MarkMethodCallback(42, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::LocationAuthRequest, ::viam::app::v1::LocationAuthResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -7971,9 +8695,9 @@ class AppService final { void SetMessageAllocatorFor_LocationAuth( ::grpc::experimental::MessageAllocator< ::viam::app::v1::LocationAuthRequest, ::viam::app::v1::LocationAuthResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(38); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(42); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(38); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(42); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::LocationAuthRequest, ::viam::app::v1::LocationAuthResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8006,7 +8730,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(39, + MarkMethodCallback(43, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateLocationSecretRequest, ::viam::app::v1::CreateLocationSecretResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8018,9 +8742,9 @@ class AppService final { void SetMessageAllocatorFor_CreateLocationSecret( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateLocationSecretRequest, ::viam::app::v1::CreateLocationSecretResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(39); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(43); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(39); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(43); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateLocationSecretRequest, ::viam::app::v1::CreateLocationSecretResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8053,7 +8777,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(40, + MarkMethodCallback(44, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteLocationSecretRequest, ::viam::app::v1::DeleteLocationSecretResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8065,9 +8789,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteLocationSecret( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteLocationSecretRequest, ::viam::app::v1::DeleteLocationSecretResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(40); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(44); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(40); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(44); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteLocationSecretRequest, ::viam::app::v1::DeleteLocationSecretResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8100,7 +8824,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(41, + MarkMethodCallback(45, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotRequest, ::viam::app::v1::GetRobotResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8112,9 +8836,9 @@ class AppService final { void SetMessageAllocatorFor_GetRobot( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotRequest, ::viam::app::v1::GetRobotResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(41); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(45); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(41); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(45); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotRequest, ::viam::app::v1::GetRobotResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8137,6 +8861,100 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithCallbackMethod_GetRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_GetRobotMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(46, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotMetadataRequest, ::viam::app::v1::GetRobotMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::GetRobotMetadataRequest* request, ::viam::app::v1::GetRobotMetadataResponse* response) { return this->GetRobotMetadata(context, request, response); }));} + void SetMessageAllocatorFor_GetRobotMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotMetadataRequest, ::viam::app::v1::GetRobotMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(46); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(46); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotMetadataRequest, ::viam::app::v1::GetRobotMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetRobotMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetRobotMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithCallbackMethod_UpdateRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_UpdateRobotMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(47, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotMetadataRequest, ::viam::app::v1::UpdateRobotMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::UpdateRobotMetadataRequest* request, ::viam::app::v1::UpdateRobotMetadataResponse* response) { return this->UpdateRobotMetadata(context, request, response); }));} + void SetMessageAllocatorFor_UpdateRobotMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateRobotMetadataRequest, ::viam::app::v1::UpdateRobotMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(47); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(47); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotMetadataRequest, ::viam::app::v1::UpdateRobotMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_UpdateRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateRobotMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateRobotMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithCallbackMethod_GetRoverRentalRobots : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -8147,7 +8965,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(42, + MarkMethodCallback(48, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRoverRentalRobotsRequest, ::viam::app::v1::GetRoverRentalRobotsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8159,9 +8977,9 @@ class AppService final { void SetMessageAllocatorFor_GetRoverRentalRobots( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRoverRentalRobotsRequest, ::viam::app::v1::GetRoverRentalRobotsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(42); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(48); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(42); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(48); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRoverRentalRobotsRequest, ::viam::app::v1::GetRoverRentalRobotsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8194,7 +9012,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(43, + MarkMethodCallback(49, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartsRequest, ::viam::app::v1::GetRobotPartsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8206,9 +9024,9 @@ class AppService final { void SetMessageAllocatorFor_GetRobotParts( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotPartsRequest, ::viam::app::v1::GetRobotPartsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(43); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(43); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(49); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartsRequest, ::viam::app::v1::GetRobotPartsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8241,7 +9059,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(44, + MarkMethodCallback(50, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartRequest, ::viam::app::v1::GetRobotPartResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8253,9 +9071,9 @@ class AppService final { void SetMessageAllocatorFor_GetRobotPart( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotPartRequest, ::viam::app::v1::GetRobotPartResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(44); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(44); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(50); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartRequest, ::viam::app::v1::GetRobotPartResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8288,7 +9106,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(45, + MarkMethodCallback(51, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartLogsRequest, ::viam::app::v1::GetRobotPartLogsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8300,9 +9118,9 @@ class AppService final { void SetMessageAllocatorFor_GetRobotPartLogs( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotPartLogsRequest, ::viam::app::v1::GetRobotPartLogsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(45); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(45); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(51); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartLogsRequest, ::viam::app::v1::GetRobotPartLogsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8335,7 +9153,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(46, + MarkMethodCallback(52, new ::grpc_impl::internal::CallbackServerStreamingHandler< ::viam::app::v1::TailRobotPartLogsRequest, ::viam::app::v1::TailRobotPartLogsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8373,7 +9191,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(47, + MarkMethodCallback(53, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartHistoryRequest, ::viam::app::v1::GetRobotPartHistoryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8385,9 +9203,9 @@ class AppService final { void SetMessageAllocatorFor_GetRobotPartHistory( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotPartHistoryRequest, ::viam::app::v1::GetRobotPartHistoryResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(47); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(47); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(53); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartHistoryRequest, ::viam::app::v1::GetRobotPartHistoryResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8420,7 +9238,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(48, + MarkMethodCallback(54, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotPartRequest, ::viam::app::v1::UpdateRobotPartResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8432,9 +9250,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateRobotPart( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateRobotPartRequest, ::viam::app::v1::UpdateRobotPartResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(48); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(48); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(54); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotPartRequest, ::viam::app::v1::UpdateRobotPartResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8467,7 +9285,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(49, + MarkMethodCallback(55, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::NewRobotPartRequest, ::viam::app::v1::NewRobotPartResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8479,9 +9297,9 @@ class AppService final { void SetMessageAllocatorFor_NewRobotPart( ::grpc::experimental::MessageAllocator< ::viam::app::v1::NewRobotPartRequest, ::viam::app::v1::NewRobotPartResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(49); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(55); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::NewRobotPartRequest, ::viam::app::v1::NewRobotPartResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8514,7 +9332,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(50, + MarkMethodCallback(56, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRobotPartRequest, ::viam::app::v1::DeleteRobotPartResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8526,9 +9344,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteRobotPart( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteRobotPartRequest, ::viam::app::v1::DeleteRobotPartResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(50); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(56); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRobotPartRequest, ::viam::app::v1::DeleteRobotPartResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8551,6 +9369,100 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithCallbackMethod_GetRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_GetRobotPartMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(57, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartMetadataRequest, ::viam::app::v1::GetRobotPartMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::GetRobotPartMetadataRequest* request, ::viam::app::v1::GetRobotPartMetadataResponse* response) { return this->GetRobotPartMetadata(context, request, response); }));} + void SetMessageAllocatorFor_GetRobotPartMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotPartMetadataRequest, ::viam::app::v1::GetRobotPartMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(57); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotPartMetadataRequest, ::viam::app::v1::GetRobotPartMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetRobotPartMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetRobotPartMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithCallbackMethod_UpdateRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithCallbackMethod_UpdateRobotPartMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodCallback(58, + new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotPartMetadataRequest, ::viam::app::v1::UpdateRobotPartMetadataResponse>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::viam::app::v1::UpdateRobotPartMetadataRequest* request, ::viam::app::v1::UpdateRobotPartMetadataResponse* response) { return this->UpdateRobotPartMetadata(context, request, response); }));} + void SetMessageAllocatorFor_UpdateRobotPartMetadata( + ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateRobotPartMetadataRequest, ::viam::app::v1::UpdateRobotPartMetadataResponse>* allocator) { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(58); + #else + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(58); + #endif + static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotPartMetadataRequest, ::viam::app::v1::UpdateRobotPartMetadataResponse>*>(handler) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_UpdateRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateRobotPartMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateRobotPartMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithCallbackMethod_GetRobotAPIKeys : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -8561,7 +9473,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(51, + MarkMethodCallback(59, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotAPIKeysRequest, ::viam::app::v1::GetRobotAPIKeysResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8573,9 +9485,9 @@ class AppService final { void SetMessageAllocatorFor_GetRobotAPIKeys( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRobotAPIKeysRequest, ::viam::app::v1::GetRobotAPIKeysResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(59); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(51); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(59); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRobotAPIKeysRequest, ::viam::app::v1::GetRobotAPIKeysResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8608,7 +9520,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(52, + MarkMethodCallback(60, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::MarkPartAsMainRequest, ::viam::app::v1::MarkPartAsMainResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8620,9 +9532,9 @@ class AppService final { void SetMessageAllocatorFor_MarkPartAsMain( ::grpc::experimental::MessageAllocator< ::viam::app::v1::MarkPartAsMainRequest, ::viam::app::v1::MarkPartAsMainResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(60); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(52); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(60); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::MarkPartAsMainRequest, ::viam::app::v1::MarkPartAsMainResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8655,7 +9567,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(53, + MarkMethodCallback(61, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::MarkPartForRestartRequest, ::viam::app::v1::MarkPartForRestartResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8667,9 +9579,9 @@ class AppService final { void SetMessageAllocatorFor_MarkPartForRestart( ::grpc::experimental::MessageAllocator< ::viam::app::v1::MarkPartForRestartRequest, ::viam::app::v1::MarkPartForRestartResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(61); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(53); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(61); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::MarkPartForRestartRequest, ::viam::app::v1::MarkPartForRestartResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8702,7 +9614,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(54, + MarkMethodCallback(62, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRobotPartSecretRequest, ::viam::app::v1::CreateRobotPartSecretResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8714,9 +9626,9 @@ class AppService final { void SetMessageAllocatorFor_CreateRobotPartSecret( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateRobotPartSecretRequest, ::viam::app::v1::CreateRobotPartSecretResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(62); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(54); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(62); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRobotPartSecretRequest, ::viam::app::v1::CreateRobotPartSecretResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8749,7 +9661,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(55, + MarkMethodCallback(63, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRobotPartSecretRequest, ::viam::app::v1::DeleteRobotPartSecretResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8761,9 +9673,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteRobotPartSecret( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteRobotPartSecretRequest, ::viam::app::v1::DeleteRobotPartSecretResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(63); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(55); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(63); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRobotPartSecretRequest, ::viam::app::v1::DeleteRobotPartSecretResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8796,7 +9708,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(56, + MarkMethodCallback(64, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListRobotsRequest, ::viam::app::v1::ListRobotsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8808,9 +9720,9 @@ class AppService final { void SetMessageAllocatorFor_ListRobots( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListRobotsRequest, ::viam::app::v1::ListRobotsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(64); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(56); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(64); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListRobotsRequest, ::viam::app::v1::ListRobotsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8843,7 +9755,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(57, + MarkMethodCallback(65, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::NewRobotRequest, ::viam::app::v1::NewRobotResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8855,9 +9767,9 @@ class AppService final { void SetMessageAllocatorFor_NewRobot( ::grpc::experimental::MessageAllocator< ::viam::app::v1::NewRobotRequest, ::viam::app::v1::NewRobotResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(65); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(57); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(65); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::NewRobotRequest, ::viam::app::v1::NewRobotResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8890,7 +9802,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(58, + MarkMethodCallback(66, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotRequest, ::viam::app::v1::UpdateRobotResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8902,9 +9814,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateRobot( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateRobotRequest, ::viam::app::v1::UpdateRobotResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(58); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(66); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(58); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(66); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRobotRequest, ::viam::app::v1::UpdateRobotResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8937,7 +9849,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(59, + MarkMethodCallback(67, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRobotRequest, ::viam::app::v1::DeleteRobotResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8949,9 +9861,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteRobot( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteRobotRequest, ::viam::app::v1::DeleteRobotResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(59); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(67); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(59); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(67); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRobotRequest, ::viam::app::v1::DeleteRobotResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -8984,7 +9896,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(60, + MarkMethodCallback(68, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListFragmentsRequest, ::viam::app::v1::ListFragmentsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -8996,9 +9908,9 @@ class AppService final { void SetMessageAllocatorFor_ListFragments( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListFragmentsRequest, ::viam::app::v1::ListFragmentsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(60); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(68); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(60); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(68); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListFragmentsRequest, ::viam::app::v1::ListFragmentsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9031,7 +9943,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(61, + MarkMethodCallback(69, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentRequest, ::viam::app::v1::GetFragmentResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9043,9 +9955,9 @@ class AppService final { void SetMessageAllocatorFor_GetFragment( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetFragmentRequest, ::viam::app::v1::GetFragmentResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(61); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(69); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(61); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(69); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentRequest, ::viam::app::v1::GetFragmentResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9078,7 +9990,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(62, + MarkMethodCallback(70, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateFragmentRequest, ::viam::app::v1::CreateFragmentResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9090,9 +10002,9 @@ class AppService final { void SetMessageAllocatorFor_CreateFragment( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateFragmentRequest, ::viam::app::v1::CreateFragmentResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(62); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(70); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(62); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(70); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateFragmentRequest, ::viam::app::v1::CreateFragmentResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9125,7 +10037,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(63, + MarkMethodCallback(71, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateFragmentRequest, ::viam::app::v1::UpdateFragmentResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9137,9 +10049,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateFragment( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateFragmentRequest, ::viam::app::v1::UpdateFragmentResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(63); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(71); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(63); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(71); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateFragmentRequest, ::viam::app::v1::UpdateFragmentResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9172,7 +10084,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(64, + MarkMethodCallback(72, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteFragmentRequest, ::viam::app::v1::DeleteFragmentResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9184,9 +10096,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteFragment( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteFragmentRequest, ::viam::app::v1::DeleteFragmentResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(64); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(72); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(64); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(72); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteFragmentRequest, ::viam::app::v1::DeleteFragmentResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9219,7 +10131,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(65, + MarkMethodCallback(73, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9231,9 +10143,9 @@ class AppService final { void SetMessageAllocatorFor_ListMachineFragments( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(65); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(73); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(65); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(73); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9266,7 +10178,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(66, + MarkMethodCallback(74, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9278,9 +10190,9 @@ class AppService final { void SetMessageAllocatorFor_GetFragmentHistory( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(66); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(74); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(66); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(74); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9313,7 +10225,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(67, + MarkMethodCallback(75, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9325,9 +10237,9 @@ class AppService final { void SetMessageAllocatorFor_GetFragmentUsage( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(67); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(75); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(67); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(75); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9360,7 +10272,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(68, + MarkMethodCallback(76, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9372,9 +10284,9 @@ class AppService final { void SetMessageAllocatorFor_SetFragmentTag( ::grpc::experimental::MessageAllocator< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(68); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(76); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(68); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(76); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9407,7 +10319,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(69, + MarkMethodCallback(77, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9419,9 +10331,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteFragmentTag( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(69); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(77); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(69); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(77); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9454,7 +10366,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(70, + MarkMethodCallback(78, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9466,9 +10378,9 @@ class AppService final { void SetMessageAllocatorFor_AddRole( ::grpc::experimental::MessageAllocator< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(70); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(78); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(70); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(78); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9501,7 +10413,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(71, + MarkMethodCallback(79, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9513,9 +10425,9 @@ class AppService final { void SetMessageAllocatorFor_RemoveRole( ::grpc::experimental::MessageAllocator< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(71); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(79); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(71); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(79); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9548,7 +10460,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(72, + MarkMethodCallback(80, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9560,9 +10472,9 @@ class AppService final { void SetMessageAllocatorFor_ChangeRole( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(72); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(80); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(72); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(80); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9595,7 +10507,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(73, + MarkMethodCallback(81, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9607,9 +10519,9 @@ class AppService final { void SetMessageAllocatorFor_ListAuthorizations( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(73); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(81); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(73); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(81); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9642,7 +10554,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(74, + MarkMethodCallback(82, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9654,9 +10566,9 @@ class AppService final { void SetMessageAllocatorFor_CheckPermissions( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(74); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(82); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(74); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(82); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9689,7 +10601,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(75, + MarkMethodCallback(83, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9701,9 +10613,9 @@ class AppService final { void SetMessageAllocatorFor_GetRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(75); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(83); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(75); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(83); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9736,7 +10648,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(76, + MarkMethodCallback(84, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9748,9 +10660,9 @@ class AppService final { void SetMessageAllocatorFor_CreateRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(76); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(84); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(76); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(84); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9783,7 +10695,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(77, + MarkMethodCallback(85, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9795,9 +10707,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(77); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(85); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(77); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(85); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9830,7 +10742,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(78, + MarkMethodCallback(86, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9842,9 +10754,9 @@ class AppService final { void SetMessageAllocatorFor_ListRegistryItems( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(78); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(86); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(78); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(86); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9877,7 +10789,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(79, + MarkMethodCallback(87, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9889,9 +10801,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(79); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(87); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(79); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(87); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9924,7 +10836,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(80, + MarkMethodCallback(88, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9936,9 +10848,9 @@ class AppService final { void SetMessageAllocatorFor_TransferRegistryItem( ::grpc::experimental::MessageAllocator< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(80); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(88); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(80); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(88); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -9971,7 +10883,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(81, + MarkMethodCallback(89, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -9983,9 +10895,9 @@ class AppService final { void SetMessageAllocatorFor_CreateModule( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(81); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(89); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(81); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(89); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10018,7 +10930,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(82, + MarkMethodCallback(90, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10030,9 +10942,9 @@ class AppService final { void SetMessageAllocatorFor_UpdateModule( ::grpc::experimental::MessageAllocator< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(82); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(90); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(82); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(90); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10065,7 +10977,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(83, + MarkMethodCallback(91, new ::grpc_impl::internal::CallbackClientStreamingHandler< ::viam::app::v1::UploadModuleFileRequest, ::viam::app::v1::UploadModuleFileResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10103,7 +11015,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(84, + MarkMethodCallback(92, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10115,9 +11027,9 @@ class AppService final { void SetMessageAllocatorFor_GetModule( ::grpc::experimental::MessageAllocator< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(84); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(92); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(84); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(92); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10150,7 +11062,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(85, + MarkMethodCallback(93, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10162,9 +11074,9 @@ class AppService final { void SetMessageAllocatorFor_ListModules( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(85); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(93); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(85); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(93); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10197,7 +11109,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(86, + MarkMethodCallback(94, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10209,9 +11121,9 @@ class AppService final { void SetMessageAllocatorFor_CreateKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(86); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(94); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(86); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(94); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10244,7 +11156,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(87, + MarkMethodCallback(95, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10256,9 +11168,9 @@ class AppService final { void SetMessageAllocatorFor_DeleteKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(87); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(95); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(87); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(95); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10291,7 +11203,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(88, + MarkMethodCallback(96, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10303,9 +11215,9 @@ class AppService final { void SetMessageAllocatorFor_ListKeys( ::grpc::experimental::MessageAllocator< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(88); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(96); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(88); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(96); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10338,7 +11250,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(89, + MarkMethodCallback(97, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10350,9 +11262,9 @@ class AppService final { void SetMessageAllocatorFor_RenameKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(89); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(97); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(89); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(97); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10385,7 +11297,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(90, + MarkMethodCallback(98, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10397,9 +11309,9 @@ class AppService final { void SetMessageAllocatorFor_RotateKey( ::grpc::experimental::MessageAllocator< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(90); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(98); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(90); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(98); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10432,7 +11344,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodCallback(91, + MarkMethodCallback(99, new ::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -10444,9 +11356,9 @@ class AppService final { void SetMessageAllocatorFor_CreateKeyFromExistingKeyAuthorizations( ::grpc::experimental::MessageAllocator< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>* allocator) { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(91); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(99); #else - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(91); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(99); #endif static_cast<::grpc_impl::internal::CallbackUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>*>(handler) ->SetMessageAllocator(allocator); @@ -10469,10 +11381,10 @@ class AppService final { { return nullptr; } }; #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; + typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; #endif - typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; + typedef ExperimentalWithCallbackMethod_GetUserIDByEmail > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_GetUserIDByEmail : public BaseClass { private: @@ -10644,12 +11556,46 @@ class AppService final { } }; template + class WithGenericMethod_GetOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetOrganizationMetadata() { + ::grpc::Service::MarkMethodGeneric(10); + } + ~WithGenericMethod_GetOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdateOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateOrganizationMetadata() { + ::grpc::Service::MarkMethodGeneric(11); + } + ~WithGenericMethod_UpdateOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_ListOrganizationMembers : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListOrganizationMembers() { - ::grpc::Service::MarkMethodGeneric(10); + ::grpc::Service::MarkMethodGeneric(12); } ~WithGenericMethod_ListOrganizationMembers() override { BaseClassMustBeDerivedFromService(this); @@ -10666,7 +11612,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateOrganizationInvite() { - ::grpc::Service::MarkMethodGeneric(11); + ::grpc::Service::MarkMethodGeneric(13); } ~WithGenericMethod_CreateOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -10683,7 +11629,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateOrganizationInviteAuthorizations() { - ::grpc::Service::MarkMethodGeneric(12); + ::grpc::Service::MarkMethodGeneric(14); } ~WithGenericMethod_UpdateOrganizationInviteAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -10700,7 +11646,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteOrganizationMember() { - ::grpc::Service::MarkMethodGeneric(13); + ::grpc::Service::MarkMethodGeneric(15); } ~WithGenericMethod_DeleteOrganizationMember() override { BaseClassMustBeDerivedFromService(this); @@ -10717,7 +11663,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteOrganizationInvite() { - ::grpc::Service::MarkMethodGeneric(14); + ::grpc::Service::MarkMethodGeneric(16); } ~WithGenericMethod_DeleteOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -10734,7 +11680,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ResendOrganizationInvite() { - ::grpc::Service::MarkMethodGeneric(15); + ::grpc::Service::MarkMethodGeneric(17); } ~WithGenericMethod_ResendOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -10751,7 +11697,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_EnableBillingService() { - ::grpc::Service::MarkMethodGeneric(16); + ::grpc::Service::MarkMethodGeneric(18); } ~WithGenericMethod_EnableBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -10768,7 +11714,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DisableBillingService() { - ::grpc::Service::MarkMethodGeneric(17); + ::grpc::Service::MarkMethodGeneric(19); } ~WithGenericMethod_DisableBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -10785,7 +11731,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateBillingService() { - ::grpc::Service::MarkMethodGeneric(18); + ::grpc::Service::MarkMethodGeneric(20); } ~WithGenericMethod_UpdateBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -10802,7 +11748,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetBillingServiceConfig() { - ::grpc::Service::MarkMethodGeneric(19); + ::grpc::Service::MarkMethodGeneric(21); } ~WithGenericMethod_GetBillingServiceConfig() override { BaseClassMustBeDerivedFromService(this); @@ -10819,7 +11765,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_OrganizationSetSupportEmail() { - ::grpc::Service::MarkMethodGeneric(20); + ::grpc::Service::MarkMethodGeneric(22); } ~WithGenericMethod_OrganizationSetSupportEmail() override { BaseClassMustBeDerivedFromService(this); @@ -10836,7 +11782,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_OrganizationGetSupportEmail() { - ::grpc::Service::MarkMethodGeneric(21); + ::grpc::Service::MarkMethodGeneric(23); } ~WithGenericMethod_OrganizationGetSupportEmail() override { BaseClassMustBeDerivedFromService(this); @@ -10853,7 +11799,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_OrganizationSetLogo() { - ::grpc::Service::MarkMethodGeneric(22); + ::grpc::Service::MarkMethodGeneric(24); } ~WithGenericMethod_OrganizationSetLogo() override { BaseClassMustBeDerivedFromService(this); @@ -10870,7 +11816,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_OrganizationGetLogo() { - ::grpc::Service::MarkMethodGeneric(23); + ::grpc::Service::MarkMethodGeneric(25); } ~WithGenericMethod_OrganizationGetLogo() override { BaseClassMustBeDerivedFromService(this); @@ -10887,7 +11833,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_EnableAuthService() { - ::grpc::Service::MarkMethodGeneric(24); + ::grpc::Service::MarkMethodGeneric(26); } ~WithGenericMethod_EnableAuthService() override { BaseClassMustBeDerivedFromService(this); @@ -10904,7 +11850,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DisableAuthService() { - ::grpc::Service::MarkMethodGeneric(25); + ::grpc::Service::MarkMethodGeneric(27); } ~WithGenericMethod_DisableAuthService() override { BaseClassMustBeDerivedFromService(this); @@ -10921,7 +11867,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateOAuthApp() { - ::grpc::Service::MarkMethodGeneric(26); + ::grpc::Service::MarkMethodGeneric(28); } ~WithGenericMethod_CreateOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -10938,7 +11884,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ReadOAuthApp() { - ::grpc::Service::MarkMethodGeneric(27); + ::grpc::Service::MarkMethodGeneric(29); } ~WithGenericMethod_ReadOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -10955,7 +11901,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateOAuthApp() { - ::grpc::Service::MarkMethodGeneric(28); + ::grpc::Service::MarkMethodGeneric(30); } ~WithGenericMethod_UpdateOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -10972,7 +11918,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteOAuthApp() { - ::grpc::Service::MarkMethodGeneric(29); + ::grpc::Service::MarkMethodGeneric(31); } ~WithGenericMethod_DeleteOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -10989,7 +11935,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListOAuthApps() { - ::grpc::Service::MarkMethodGeneric(30); + ::grpc::Service::MarkMethodGeneric(32); } ~WithGenericMethod_ListOAuthApps() override { BaseClassMustBeDerivedFromService(this); @@ -11006,7 +11952,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateLocation() { - ::grpc::Service::MarkMethodGeneric(31); + ::grpc::Service::MarkMethodGeneric(33); } ~WithGenericMethod_CreateLocation() override { BaseClassMustBeDerivedFromService(this); @@ -11023,7 +11969,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetLocation() { - ::grpc::Service::MarkMethodGeneric(32); + ::grpc::Service::MarkMethodGeneric(34); } ~WithGenericMethod_GetLocation() override { BaseClassMustBeDerivedFromService(this); @@ -11040,7 +11986,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateLocation() { - ::grpc::Service::MarkMethodGeneric(33); + ::grpc::Service::MarkMethodGeneric(35); } ~WithGenericMethod_UpdateLocation() override { BaseClassMustBeDerivedFromService(this); @@ -11057,7 +12003,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteLocation() { - ::grpc::Service::MarkMethodGeneric(34); + ::grpc::Service::MarkMethodGeneric(36); } ~WithGenericMethod_DeleteLocation() override { BaseClassMustBeDerivedFromService(this); @@ -11069,12 +12015,46 @@ class AppService final { } }; template + class WithGenericMethod_GetLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetLocationMetadata() { + ::grpc::Service::MarkMethodGeneric(37); + } + ~WithGenericMethod_GetLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdateLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateLocationMetadata() { + ::grpc::Service::MarkMethodGeneric(38); + } + ~WithGenericMethod_UpdateLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_ListLocations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListLocations() { - ::grpc::Service::MarkMethodGeneric(35); + ::grpc::Service::MarkMethodGeneric(39); } ~WithGenericMethod_ListLocations() override { BaseClassMustBeDerivedFromService(this); @@ -11091,7 +12071,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ShareLocation() { - ::grpc::Service::MarkMethodGeneric(36); + ::grpc::Service::MarkMethodGeneric(40); } ~WithGenericMethod_ShareLocation() override { BaseClassMustBeDerivedFromService(this); @@ -11108,7 +12088,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UnshareLocation() { - ::grpc::Service::MarkMethodGeneric(37); + ::grpc::Service::MarkMethodGeneric(41); } ~WithGenericMethod_UnshareLocation() override { BaseClassMustBeDerivedFromService(this); @@ -11125,7 +12105,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_LocationAuth() { - ::grpc::Service::MarkMethodGeneric(38); + ::grpc::Service::MarkMethodGeneric(42); } ~WithGenericMethod_LocationAuth() override { BaseClassMustBeDerivedFromService(this); @@ -11142,7 +12122,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateLocationSecret() { - ::grpc::Service::MarkMethodGeneric(39); + ::grpc::Service::MarkMethodGeneric(43); } ~WithGenericMethod_CreateLocationSecret() override { BaseClassMustBeDerivedFromService(this); @@ -11159,7 +12139,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteLocationSecret() { - ::grpc::Service::MarkMethodGeneric(40); + ::grpc::Service::MarkMethodGeneric(44); } ~WithGenericMethod_DeleteLocationSecret() override { BaseClassMustBeDerivedFromService(this); @@ -11176,7 +12156,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRobot() { - ::grpc::Service::MarkMethodGeneric(41); + ::grpc::Service::MarkMethodGeneric(45); } ~WithGenericMethod_GetRobot() override { BaseClassMustBeDerivedFromService(this); @@ -11188,12 +12168,46 @@ class AppService final { } }; template + class WithGenericMethod_GetRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_GetRobotMetadata() { + ::grpc::Service::MarkMethodGeneric(46); + } + ~WithGenericMethod_GetRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_UpdateRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_UpdateRobotMetadata() { + ::grpc::Service::MarkMethodGeneric(47); + } + ~WithGenericMethod_UpdateRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_GetRoverRentalRobots : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRoverRentalRobots() { - ::grpc::Service::MarkMethodGeneric(42); + ::grpc::Service::MarkMethodGeneric(48); } ~WithGenericMethod_GetRoverRentalRobots() override { BaseClassMustBeDerivedFromService(this); @@ -11210,7 +12224,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRobotParts() { - ::grpc::Service::MarkMethodGeneric(43); + ::grpc::Service::MarkMethodGeneric(49); } ~WithGenericMethod_GetRobotParts() override { BaseClassMustBeDerivedFromService(this); @@ -11227,7 +12241,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRobotPart() { - ::grpc::Service::MarkMethodGeneric(44); + ::grpc::Service::MarkMethodGeneric(50); } ~WithGenericMethod_GetRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -11244,7 +12258,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRobotPartLogs() { - ::grpc::Service::MarkMethodGeneric(45); + ::grpc::Service::MarkMethodGeneric(51); } ~WithGenericMethod_GetRobotPartLogs() override { BaseClassMustBeDerivedFromService(this); @@ -11261,7 +12275,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_TailRobotPartLogs() { - ::grpc::Service::MarkMethodGeneric(46); + ::grpc::Service::MarkMethodGeneric(52); } ~WithGenericMethod_TailRobotPartLogs() override { BaseClassMustBeDerivedFromService(this); @@ -11278,7 +12292,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRobotPartHistory() { - ::grpc::Service::MarkMethodGeneric(47); + ::grpc::Service::MarkMethodGeneric(53); } ~WithGenericMethod_GetRobotPartHistory() override { BaseClassMustBeDerivedFromService(this); @@ -11295,47 +12309,81 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateRobotPart() { - ::grpc::Service::MarkMethodGeneric(48); + ::grpc::Service::MarkMethodGeneric(54); } ~WithGenericMethod_UpdateRobotPart() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status UpdateRobotPart(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartRequest* /*request*/, ::viam::app::v1::UpdateRobotPartResponse* /*response*/) override { + ::grpc::Status UpdateRobotPart(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartRequest* /*request*/, ::viam::app::v1::UpdateRobotPartResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_NewRobotPart : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_NewRobotPart() { + ::grpc::Service::MarkMethodGeneric(55); + } + ~WithGenericMethod_NewRobotPart() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status NewRobotPart(::grpc::ServerContext* /*context*/, const ::viam::app::v1::NewRobotPartRequest* /*request*/, ::viam::app::v1::NewRobotPartResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteRobotPart : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_DeleteRobotPart() { + ::grpc::Service::MarkMethodGeneric(56); + } + ~WithGenericMethod_DeleteRobotPart() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteRobotPart(::grpc::ServerContext* /*context*/, const ::viam::app::v1::DeleteRobotPartRequest* /*request*/, ::viam::app::v1::DeleteRobotPartResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NewRobotPart : public BaseClass { + class WithGenericMethod_GetRobotPartMetadata : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NewRobotPart() { - ::grpc::Service::MarkMethodGeneric(49); + WithGenericMethod_GetRobotPartMetadata() { + ::grpc::Service::MarkMethodGeneric(57); } - ~WithGenericMethod_NewRobotPart() override { + ~WithGenericMethod_GetRobotPartMetadata() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NewRobotPart(::grpc::ServerContext* /*context*/, const ::viam::app::v1::NewRobotPartRequest* /*request*/, ::viam::app::v1::NewRobotPartResponse* /*response*/) override { + ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_DeleteRobotPart : public BaseClass { + class WithGenericMethod_UpdateRobotPartMetadata : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_DeleteRobotPart() { - ::grpc::Service::MarkMethodGeneric(50); + WithGenericMethod_UpdateRobotPartMetadata() { + ::grpc::Service::MarkMethodGeneric(58); } - ~WithGenericMethod_DeleteRobotPart() override { + ~WithGenericMethod_UpdateRobotPartMetadata() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteRobotPart(::grpc::ServerContext* /*context*/, const ::viam::app::v1::DeleteRobotPartRequest* /*request*/, ::viam::app::v1::DeleteRobotPartResponse* /*response*/) override { + ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -11346,7 +12394,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRobotAPIKeys() { - ::grpc::Service::MarkMethodGeneric(51); + ::grpc::Service::MarkMethodGeneric(59); } ~WithGenericMethod_GetRobotAPIKeys() override { BaseClassMustBeDerivedFromService(this); @@ -11363,7 +12411,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_MarkPartAsMain() { - ::grpc::Service::MarkMethodGeneric(52); + ::grpc::Service::MarkMethodGeneric(60); } ~WithGenericMethod_MarkPartAsMain() override { BaseClassMustBeDerivedFromService(this); @@ -11380,7 +12428,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_MarkPartForRestart() { - ::grpc::Service::MarkMethodGeneric(53); + ::grpc::Service::MarkMethodGeneric(61); } ~WithGenericMethod_MarkPartForRestart() override { BaseClassMustBeDerivedFromService(this); @@ -11397,7 +12445,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateRobotPartSecret() { - ::grpc::Service::MarkMethodGeneric(54); + ::grpc::Service::MarkMethodGeneric(62); } ~WithGenericMethod_CreateRobotPartSecret() override { BaseClassMustBeDerivedFromService(this); @@ -11414,7 +12462,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteRobotPartSecret() { - ::grpc::Service::MarkMethodGeneric(55); + ::grpc::Service::MarkMethodGeneric(63); } ~WithGenericMethod_DeleteRobotPartSecret() override { BaseClassMustBeDerivedFromService(this); @@ -11431,7 +12479,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListRobots() { - ::grpc::Service::MarkMethodGeneric(56); + ::grpc::Service::MarkMethodGeneric(64); } ~WithGenericMethod_ListRobots() override { BaseClassMustBeDerivedFromService(this); @@ -11448,7 +12496,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_NewRobot() { - ::grpc::Service::MarkMethodGeneric(57); + ::grpc::Service::MarkMethodGeneric(65); } ~WithGenericMethod_NewRobot() override { BaseClassMustBeDerivedFromService(this); @@ -11465,7 +12513,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateRobot() { - ::grpc::Service::MarkMethodGeneric(58); + ::grpc::Service::MarkMethodGeneric(66); } ~WithGenericMethod_UpdateRobot() override { BaseClassMustBeDerivedFromService(this); @@ -11482,7 +12530,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteRobot() { - ::grpc::Service::MarkMethodGeneric(59); + ::grpc::Service::MarkMethodGeneric(67); } ~WithGenericMethod_DeleteRobot() override { BaseClassMustBeDerivedFromService(this); @@ -11499,7 +12547,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListFragments() { - ::grpc::Service::MarkMethodGeneric(60); + ::grpc::Service::MarkMethodGeneric(68); } ~WithGenericMethod_ListFragments() override { BaseClassMustBeDerivedFromService(this); @@ -11516,7 +12564,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetFragment() { - ::grpc::Service::MarkMethodGeneric(61); + ::grpc::Service::MarkMethodGeneric(69); } ~WithGenericMethod_GetFragment() override { BaseClassMustBeDerivedFromService(this); @@ -11533,7 +12581,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateFragment() { - ::grpc::Service::MarkMethodGeneric(62); + ::grpc::Service::MarkMethodGeneric(70); } ~WithGenericMethod_CreateFragment() override { BaseClassMustBeDerivedFromService(this); @@ -11550,7 +12598,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateFragment() { - ::grpc::Service::MarkMethodGeneric(63); + ::grpc::Service::MarkMethodGeneric(71); } ~WithGenericMethod_UpdateFragment() override { BaseClassMustBeDerivedFromService(this); @@ -11567,7 +12615,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteFragment() { - ::grpc::Service::MarkMethodGeneric(64); + ::grpc::Service::MarkMethodGeneric(72); } ~WithGenericMethod_DeleteFragment() override { BaseClassMustBeDerivedFromService(this); @@ -11584,7 +12632,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodGeneric(65); + ::grpc::Service::MarkMethodGeneric(73); } ~WithGenericMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); @@ -11601,7 +12649,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodGeneric(66); + ::grpc::Service::MarkMethodGeneric(74); } ~WithGenericMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); @@ -11618,7 +12666,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodGeneric(67); + ::grpc::Service::MarkMethodGeneric(75); } ~WithGenericMethod_GetFragmentUsage() override { BaseClassMustBeDerivedFromService(this); @@ -11635,7 +12683,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodGeneric(68); + ::grpc::Service::MarkMethodGeneric(76); } ~WithGenericMethod_SetFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -11652,7 +12700,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodGeneric(69); + ::grpc::Service::MarkMethodGeneric(77); } ~WithGenericMethod_DeleteFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -11669,7 +12717,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_AddRole() { - ::grpc::Service::MarkMethodGeneric(70); + ::grpc::Service::MarkMethodGeneric(78); } ~WithGenericMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -11686,7 +12734,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RemoveRole() { - ::grpc::Service::MarkMethodGeneric(71); + ::grpc::Service::MarkMethodGeneric(79); } ~WithGenericMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -11703,7 +12751,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ChangeRole() { - ::grpc::Service::MarkMethodGeneric(72); + ::grpc::Service::MarkMethodGeneric(80); } ~WithGenericMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -11720,7 +12768,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodGeneric(73); + ::grpc::Service::MarkMethodGeneric(81); } ~WithGenericMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -11737,7 +12785,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CheckPermissions() { - ::grpc::Service::MarkMethodGeneric(74); + ::grpc::Service::MarkMethodGeneric(82); } ~WithGenericMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -11754,7 +12802,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodGeneric(75); + ::grpc::Service::MarkMethodGeneric(83); } ~WithGenericMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -11771,7 +12819,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodGeneric(76); + ::grpc::Service::MarkMethodGeneric(84); } ~WithGenericMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -11788,7 +12836,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodGeneric(77); + ::grpc::Service::MarkMethodGeneric(85); } ~WithGenericMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -11805,7 +12853,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodGeneric(78); + ::grpc::Service::MarkMethodGeneric(86); } ~WithGenericMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -11822,7 +12870,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodGeneric(79); + ::grpc::Service::MarkMethodGeneric(87); } ~WithGenericMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -11839,7 +12887,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodGeneric(80); + ::grpc::Service::MarkMethodGeneric(88); } ~WithGenericMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -11856,7 +12904,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateModule() { - ::grpc::Service::MarkMethodGeneric(81); + ::grpc::Service::MarkMethodGeneric(89); } ~WithGenericMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -11873,7 +12921,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UpdateModule() { - ::grpc::Service::MarkMethodGeneric(82); + ::grpc::Service::MarkMethodGeneric(90); } ~WithGenericMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -11890,7 +12938,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodGeneric(83); + ::grpc::Service::MarkMethodGeneric(91); } ~WithGenericMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -11907,7 +12955,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetModule() { - ::grpc::Service::MarkMethodGeneric(84); + ::grpc::Service::MarkMethodGeneric(92); } ~WithGenericMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -11924,7 +12972,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListModules() { - ::grpc::Service::MarkMethodGeneric(85); + ::grpc::Service::MarkMethodGeneric(93); } ~WithGenericMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -11941,7 +12989,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateKey() { - ::grpc::Service::MarkMethodGeneric(86); + ::grpc::Service::MarkMethodGeneric(94); } ~WithGenericMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -11958,7 +13006,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DeleteKey() { - ::grpc::Service::MarkMethodGeneric(87); + ::grpc::Service::MarkMethodGeneric(95); } ~WithGenericMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -11975,7 +13023,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ListKeys() { - ::grpc::Service::MarkMethodGeneric(88); + ::grpc::Service::MarkMethodGeneric(96); } ~WithGenericMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -11992,7 +13040,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RenameKey() { - ::grpc::Service::MarkMethodGeneric(89); + ::grpc::Service::MarkMethodGeneric(97); } ~WithGenericMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -12009,7 +13057,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RotateKey() { - ::grpc::Service::MarkMethodGeneric(90); + ::grpc::Service::MarkMethodGeneric(98); } ~WithGenericMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -12026,7 +13074,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodGeneric(91); + ::grpc::Service::MarkMethodGeneric(99); } ~WithGenericMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -12238,12 +13286,52 @@ class AppService final { } }; template + class WithRawMethod_GetOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetOrganizationMetadata() { + ::grpc::Service::MarkMethodRaw(10); + } + ~WithRawMethod_GetOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetOrganizationMetadata(::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(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateOrganizationMetadata() { + ::grpc::Service::MarkMethodRaw(11); + } + ~WithRawMethod_UpdateOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateOrganizationMetadata(::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(11, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_ListOrganizationMembers : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListOrganizationMembers() { - ::grpc::Service::MarkMethodRaw(10); + ::grpc::Service::MarkMethodRaw(12); } ~WithRawMethod_ListOrganizationMembers() override { BaseClassMustBeDerivedFromService(this); @@ -12254,7 +13342,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListOrganizationMembers(::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(10, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12263,7 +13351,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateOrganizationInvite() { - ::grpc::Service::MarkMethodRaw(11); + ::grpc::Service::MarkMethodRaw(13); } ~WithRawMethod_CreateOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -12274,7 +13362,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateOrganizationInvite(::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(11, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12283,7 +13371,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateOrganizationInviteAuthorizations() { - ::grpc::Service::MarkMethodRaw(12); + ::grpc::Service::MarkMethodRaw(14); } ~WithRawMethod_UpdateOrganizationInviteAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -12294,7 +13382,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateOrganizationInviteAuthorizations(::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(12, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12303,7 +13391,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteOrganizationMember() { - ::grpc::Service::MarkMethodRaw(13); + ::grpc::Service::MarkMethodRaw(15); } ~WithRawMethod_DeleteOrganizationMember() override { BaseClassMustBeDerivedFromService(this); @@ -12314,7 +13402,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteOrganizationMember(::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(13, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12323,7 +13411,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteOrganizationInvite() { - ::grpc::Service::MarkMethodRaw(14); + ::grpc::Service::MarkMethodRaw(16); } ~WithRawMethod_DeleteOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -12334,7 +13422,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteOrganizationInvite(::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(14, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12343,7 +13431,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ResendOrganizationInvite() { - ::grpc::Service::MarkMethodRaw(15); + ::grpc::Service::MarkMethodRaw(17); } ~WithRawMethod_ResendOrganizationInvite() override { BaseClassMustBeDerivedFromService(this); @@ -12354,7 +13442,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestResendOrganizationInvite(::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(15, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12363,7 +13451,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_EnableBillingService() { - ::grpc::Service::MarkMethodRaw(16); + ::grpc::Service::MarkMethodRaw(18); } ~WithRawMethod_EnableBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -12374,7 +13462,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestEnableBillingService(::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(16, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12383,7 +13471,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DisableBillingService() { - ::grpc::Service::MarkMethodRaw(17); + ::grpc::Service::MarkMethodRaw(19); } ~WithRawMethod_DisableBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -12394,7 +13482,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDisableBillingService(::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(17, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12403,7 +13491,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateBillingService() { - ::grpc::Service::MarkMethodRaw(18); + ::grpc::Service::MarkMethodRaw(20); } ~WithRawMethod_UpdateBillingService() override { BaseClassMustBeDerivedFromService(this); @@ -12414,7 +13502,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateBillingService(::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(18, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12423,7 +13511,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetBillingServiceConfig() { - ::grpc::Service::MarkMethodRaw(19); + ::grpc::Service::MarkMethodRaw(21); } ~WithRawMethod_GetBillingServiceConfig() override { BaseClassMustBeDerivedFromService(this); @@ -12434,7 +13522,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetBillingServiceConfig(::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); + ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12443,7 +13531,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_OrganizationSetSupportEmail() { - ::grpc::Service::MarkMethodRaw(20); + ::grpc::Service::MarkMethodRaw(22); } ~WithRawMethod_OrganizationSetSupportEmail() override { BaseClassMustBeDerivedFromService(this); @@ -12454,7 +13542,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationSetSupportEmail(::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(20, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12463,7 +13551,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_OrganizationGetSupportEmail() { - ::grpc::Service::MarkMethodRaw(21); + ::grpc::Service::MarkMethodRaw(23); } ~WithRawMethod_OrganizationGetSupportEmail() override { BaseClassMustBeDerivedFromService(this); @@ -12474,7 +13562,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationGetSupportEmail(::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(21, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12483,7 +13571,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_OrganizationSetLogo() { - ::grpc::Service::MarkMethodRaw(22); + ::grpc::Service::MarkMethodRaw(24); } ~WithRawMethod_OrganizationSetLogo() override { BaseClassMustBeDerivedFromService(this); @@ -12494,7 +13582,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationSetLogo(::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(22, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12503,7 +13591,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_OrganizationGetLogo() { - ::grpc::Service::MarkMethodRaw(23); + ::grpc::Service::MarkMethodRaw(25); } ~WithRawMethod_OrganizationGetLogo() override { BaseClassMustBeDerivedFromService(this); @@ -12514,7 +13602,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestOrganizationGetLogo(::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(23, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(25, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12523,7 +13611,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_EnableAuthService() { - ::grpc::Service::MarkMethodRaw(24); + ::grpc::Service::MarkMethodRaw(26); } ~WithRawMethod_EnableAuthService() override { BaseClassMustBeDerivedFromService(this); @@ -12534,7 +13622,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestEnableAuthService(::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(24, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(26, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12543,7 +13631,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DisableAuthService() { - ::grpc::Service::MarkMethodRaw(25); + ::grpc::Service::MarkMethodRaw(27); } ~WithRawMethod_DisableAuthService() override { BaseClassMustBeDerivedFromService(this); @@ -12554,7 +13642,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDisableAuthService(::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(25, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(27, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12563,7 +13651,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateOAuthApp() { - ::grpc::Service::MarkMethodRaw(26); + ::grpc::Service::MarkMethodRaw(28); } ~WithRawMethod_CreateOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -12574,7 +13662,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateOAuthApp(::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(26, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(28, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12583,7 +13671,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ReadOAuthApp() { - ::grpc::Service::MarkMethodRaw(27); + ::grpc::Service::MarkMethodRaw(29); } ~WithRawMethod_ReadOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -12594,7 +13682,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestReadOAuthApp(::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(27, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(29, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12603,7 +13691,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateOAuthApp() { - ::grpc::Service::MarkMethodRaw(28); + ::grpc::Service::MarkMethodRaw(30); } ~WithRawMethod_UpdateOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -12614,7 +13702,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateOAuthApp(::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(28, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(30, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12623,7 +13711,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteOAuthApp() { - ::grpc::Service::MarkMethodRaw(29); + ::grpc::Service::MarkMethodRaw(31); } ~WithRawMethod_DeleteOAuthApp() override { BaseClassMustBeDerivedFromService(this); @@ -12634,7 +13722,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteOAuthApp(::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(29, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(31, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12643,7 +13731,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListOAuthApps() { - ::grpc::Service::MarkMethodRaw(30); + ::grpc::Service::MarkMethodRaw(32); } ~WithRawMethod_ListOAuthApps() override { BaseClassMustBeDerivedFromService(this); @@ -12654,7 +13742,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListOAuthApps(::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(30, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(32, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12663,7 +13751,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateLocation() { - ::grpc::Service::MarkMethodRaw(31); + ::grpc::Service::MarkMethodRaw(33); } ~WithRawMethod_CreateLocation() override { BaseClassMustBeDerivedFromService(this); @@ -12674,7 +13762,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateLocation(::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(31, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12683,7 +13771,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetLocation() { - ::grpc::Service::MarkMethodRaw(32); + ::grpc::Service::MarkMethodRaw(34); } ~WithRawMethod_GetLocation() override { BaseClassMustBeDerivedFromService(this); @@ -12694,7 +13782,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetLocation(::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(32, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12703,7 +13791,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateLocation() { - ::grpc::Service::MarkMethodRaw(33); + ::grpc::Service::MarkMethodRaw(35); } ~WithRawMethod_UpdateLocation() override { BaseClassMustBeDerivedFromService(this); @@ -12714,7 +13802,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateLocation(::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(33, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12723,7 +13811,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteLocation() { - ::grpc::Service::MarkMethodRaw(34); + ::grpc::Service::MarkMethodRaw(36); } ~WithRawMethod_DeleteLocation() override { BaseClassMustBeDerivedFromService(this); @@ -12734,7 +13822,47 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteLocation(::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(34, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetLocationMetadata() { + ::grpc::Service::MarkMethodRaw(37); + } + ~WithRawMethod_GetLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetLocationMetadata(::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(37, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateLocationMetadata() { + ::grpc::Service::MarkMethodRaw(38); + } + ~WithRawMethod_UpdateLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateLocationMetadata(::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(38, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12743,7 +13871,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListLocations() { - ::grpc::Service::MarkMethodRaw(35); + ::grpc::Service::MarkMethodRaw(39); } ~WithRawMethod_ListLocations() override { BaseClassMustBeDerivedFromService(this); @@ -12754,7 +13882,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListLocations(::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(35, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12763,7 +13891,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ShareLocation() { - ::grpc::Service::MarkMethodRaw(36); + ::grpc::Service::MarkMethodRaw(40); } ~WithRawMethod_ShareLocation() override { BaseClassMustBeDerivedFromService(this); @@ -12774,7 +13902,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestShareLocation(::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(36, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12783,7 +13911,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UnshareLocation() { - ::grpc::Service::MarkMethodRaw(37); + ::grpc::Service::MarkMethodRaw(41); } ~WithRawMethod_UnshareLocation() override { BaseClassMustBeDerivedFromService(this); @@ -12794,7 +13922,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUnshareLocation(::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(37, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12803,7 +13931,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_LocationAuth() { - ::grpc::Service::MarkMethodRaw(38); + ::grpc::Service::MarkMethodRaw(42); } ~WithRawMethod_LocationAuth() override { BaseClassMustBeDerivedFromService(this); @@ -12814,7 +13942,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestLocationAuth(::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(38, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12823,7 +13951,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateLocationSecret() { - ::grpc::Service::MarkMethodRaw(39); + ::grpc::Service::MarkMethodRaw(43); } ~WithRawMethod_CreateLocationSecret() override { BaseClassMustBeDerivedFromService(this); @@ -12834,7 +13962,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateLocationSecret(::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(39, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12843,7 +13971,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteLocationSecret() { - ::grpc::Service::MarkMethodRaw(40); + ::grpc::Service::MarkMethodRaw(44); } ~WithRawMethod_DeleteLocationSecret() override { BaseClassMustBeDerivedFromService(this); @@ -12854,7 +13982,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteLocationSecret(::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(40, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12863,7 +13991,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRobot() { - ::grpc::Service::MarkMethodRaw(41); + ::grpc::Service::MarkMethodRaw(45); } ~WithRawMethod_GetRobot() override { BaseClassMustBeDerivedFromService(this); @@ -12874,7 +14002,47 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobot(::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(41, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetRobotMetadata() { + ::grpc::Service::MarkMethodRaw(46); + } + ~WithRawMethod_GetRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetRobotMetadata(::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(46, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateRobotMetadata() { + ::grpc::Service::MarkMethodRaw(47); + } + ~WithRawMethod_UpdateRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateRobotMetadata(::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(47, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12883,7 +14051,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRoverRentalRobots() { - ::grpc::Service::MarkMethodRaw(42); + ::grpc::Service::MarkMethodRaw(48); } ~WithRawMethod_GetRoverRentalRobots() override { BaseClassMustBeDerivedFromService(this); @@ -12894,7 +14062,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRoverRentalRobots(::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(42, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12903,7 +14071,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRobotParts() { - ::grpc::Service::MarkMethodRaw(43); + ::grpc::Service::MarkMethodRaw(49); } ~WithRawMethod_GetRobotParts() override { BaseClassMustBeDerivedFromService(this); @@ -12914,7 +14082,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotParts(::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(43, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12923,7 +14091,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRobotPart() { - ::grpc::Service::MarkMethodRaw(44); + ::grpc::Service::MarkMethodRaw(50); } ~WithRawMethod_GetRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -12934,7 +14102,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotPart(::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(44, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12943,7 +14111,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRobotPartLogs() { - ::grpc::Service::MarkMethodRaw(45); + ::grpc::Service::MarkMethodRaw(51); } ~WithRawMethod_GetRobotPartLogs() override { BaseClassMustBeDerivedFromService(this); @@ -12954,7 +14122,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotPartLogs(::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(45, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -12963,7 +14131,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_TailRobotPartLogs() { - ::grpc::Service::MarkMethodRaw(46); + ::grpc::Service::MarkMethodRaw(52); } ~WithRawMethod_TailRobotPartLogs() override { BaseClassMustBeDerivedFromService(this); @@ -12974,7 +14142,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestTailRobotPartLogs(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(46, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(52, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -12983,7 +14151,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRobotPartHistory() { - ::grpc::Service::MarkMethodRaw(47); + ::grpc::Service::MarkMethodRaw(53); } ~WithRawMethod_GetRobotPartHistory() override { BaseClassMustBeDerivedFromService(this); @@ -12994,7 +14162,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotPartHistory(::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(47, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13003,7 +14171,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateRobotPart() { - ::grpc::Service::MarkMethodRaw(48); + ::grpc::Service::MarkMethodRaw(54); } ~WithRawMethod_UpdateRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -13014,7 +14182,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateRobotPart(::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(48, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13023,7 +14191,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_NewRobotPart() { - ::grpc::Service::MarkMethodRaw(49); + ::grpc::Service::MarkMethodRaw(55); } ~WithRawMethod_NewRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -13034,7 +14202,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestNewRobotPart(::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(55, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13043,7 +14211,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteRobotPart() { - ::grpc::Service::MarkMethodRaw(50); + ::grpc::Service::MarkMethodRaw(56); } ~WithRawMethod_DeleteRobotPart() override { BaseClassMustBeDerivedFromService(this); @@ -13054,7 +14222,47 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRobotPart(::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(56, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_GetRobotPartMetadata() { + ::grpc::Service::MarkMethodRaw(57); + } + ~WithRawMethod_GetRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetRobotPartMetadata(::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); + } + }; + template + class WithRawMethod_UpdateRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_UpdateRobotPartMetadata() { + ::grpc::Service::MarkMethodRaw(58); + } + ~WithRawMethod_UpdateRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateRobotPartMetadata(::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); } }; template @@ -13063,7 +14271,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRobotAPIKeys() { - ::grpc::Service::MarkMethodRaw(51); + ::grpc::Service::MarkMethodRaw(59); } ~WithRawMethod_GetRobotAPIKeys() override { BaseClassMustBeDerivedFromService(this); @@ -13074,7 +14282,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetRobotAPIKeys(::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(59, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13083,7 +14291,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_MarkPartAsMain() { - ::grpc::Service::MarkMethodRaw(52); + ::grpc::Service::MarkMethodRaw(60); } ~WithRawMethod_MarkPartAsMain() override { BaseClassMustBeDerivedFromService(this); @@ -13094,7 +14302,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestMarkPartAsMain(::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(60, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13103,7 +14311,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_MarkPartForRestart() { - ::grpc::Service::MarkMethodRaw(53); + ::grpc::Service::MarkMethodRaw(61); } ~WithRawMethod_MarkPartForRestart() override { BaseClassMustBeDerivedFromService(this); @@ -13114,7 +14322,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestMarkPartForRestart(::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(61, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13123,7 +14331,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateRobotPartSecret() { - ::grpc::Service::MarkMethodRaw(54); + ::grpc::Service::MarkMethodRaw(62); } ~WithRawMethod_CreateRobotPartSecret() override { BaseClassMustBeDerivedFromService(this); @@ -13134,7 +14342,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateRobotPartSecret(::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(62, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13143,7 +14351,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteRobotPartSecret() { - ::grpc::Service::MarkMethodRaw(55); + ::grpc::Service::MarkMethodRaw(63); } ~WithRawMethod_DeleteRobotPartSecret() override { BaseClassMustBeDerivedFromService(this); @@ -13154,7 +14362,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRobotPartSecret(::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(63, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13163,7 +14371,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListRobots() { - ::grpc::Service::MarkMethodRaw(56); + ::grpc::Service::MarkMethodRaw(64); } ~WithRawMethod_ListRobots() override { BaseClassMustBeDerivedFromService(this); @@ -13174,7 +14382,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListRobots(::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(64, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13183,7 +14391,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_NewRobot() { - ::grpc::Service::MarkMethodRaw(57); + ::grpc::Service::MarkMethodRaw(65); } ~WithRawMethod_NewRobot() override { BaseClassMustBeDerivedFromService(this); @@ -13194,7 +14402,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestNewRobot(::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(65, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13203,7 +14411,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateRobot() { - ::grpc::Service::MarkMethodRaw(58); + ::grpc::Service::MarkMethodRaw(66); } ~WithRawMethod_UpdateRobot() override { BaseClassMustBeDerivedFromService(this); @@ -13214,7 +14422,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateRobot(::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(66, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13223,7 +14431,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteRobot() { - ::grpc::Service::MarkMethodRaw(59); + ::grpc::Service::MarkMethodRaw(67); } ~WithRawMethod_DeleteRobot() override { BaseClassMustBeDerivedFromService(this); @@ -13234,7 +14442,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteRobot(::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(67, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13243,7 +14451,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListFragments() { - ::grpc::Service::MarkMethodRaw(60); + ::grpc::Service::MarkMethodRaw(68); } ~WithRawMethod_ListFragments() override { BaseClassMustBeDerivedFromService(this); @@ -13254,7 +14462,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListFragments(::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(68, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13263,7 +14471,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetFragment() { - ::grpc::Service::MarkMethodRaw(61); + ::grpc::Service::MarkMethodRaw(69); } ~WithRawMethod_GetFragment() override { BaseClassMustBeDerivedFromService(this); @@ -13274,7 +14482,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragment(::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(69, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13283,7 +14491,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateFragment() { - ::grpc::Service::MarkMethodRaw(62); + ::grpc::Service::MarkMethodRaw(70); } ~WithRawMethod_CreateFragment() override { BaseClassMustBeDerivedFromService(this); @@ -13294,7 +14502,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCreateFragment(::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(62, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(70, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13303,7 +14511,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateFragment() { - ::grpc::Service::MarkMethodRaw(63); + ::grpc::Service::MarkMethodRaw(71); } ~WithRawMethod_UpdateFragment() override { BaseClassMustBeDerivedFromService(this); @@ -13314,7 +14522,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateFragment(::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(71, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13323,7 +14531,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteFragment() { - ::grpc::Service::MarkMethodRaw(64); + ::grpc::Service::MarkMethodRaw(72); } ~WithRawMethod_DeleteFragment() override { BaseClassMustBeDerivedFromService(this); @@ -13334,7 +14542,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteFragment(::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(72, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13343,7 +14551,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodRaw(65); + ::grpc::Service::MarkMethodRaw(73); } ~WithRawMethod_ListMachineFragments() override { BaseClassMustBeDerivedFromService(this); @@ -13354,7 +14562,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListMachineFragments(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(65, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(73, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13363,7 +14571,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodRaw(66); + ::grpc::Service::MarkMethodRaw(74); } ~WithRawMethod_GetFragmentHistory() override { BaseClassMustBeDerivedFromService(this); @@ -13374,7 +14582,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentHistory(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(66, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(74, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13383,7 +14591,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodRaw(67); + ::grpc::Service::MarkMethodRaw(75); } ~WithRawMethod_GetFragmentUsage() override { BaseClassMustBeDerivedFromService(this); @@ -13394,7 +14602,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetFragmentUsage(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(67, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(75, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13403,7 +14611,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodRaw(68); + ::grpc::Service::MarkMethodRaw(76); } ~WithRawMethod_SetFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -13414,7 +14622,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetFragmentTag(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(68, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(76, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13423,7 +14631,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodRaw(69); + ::grpc::Service::MarkMethodRaw(77); } ~WithRawMethod_DeleteFragmentTag() override { BaseClassMustBeDerivedFromService(this); @@ -13434,7 +14642,7 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDeleteFragmentTag(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(69, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(77, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13443,7 +14651,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_AddRole() { - ::grpc::Service::MarkMethodRaw(70); + ::grpc::Service::MarkMethodRaw(78); } ~WithRawMethod_AddRole() override { BaseClassMustBeDerivedFromService(this); @@ -13454,7 +14662,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(70, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(78, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13463,7 +14671,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RemoveRole() { - ::grpc::Service::MarkMethodRaw(71); + ::grpc::Service::MarkMethodRaw(79); } ~WithRawMethod_RemoveRole() override { BaseClassMustBeDerivedFromService(this); @@ -13474,7 +14682,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(71, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(79, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13483,7 +14691,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ChangeRole() { - ::grpc::Service::MarkMethodRaw(72); + ::grpc::Service::MarkMethodRaw(80); } ~WithRawMethod_ChangeRole() override { BaseClassMustBeDerivedFromService(this); @@ -13494,7 +14702,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(72, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(80, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13503,7 +14711,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodRaw(73); + ::grpc::Service::MarkMethodRaw(81); } ~WithRawMethod_ListAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -13514,7 +14722,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(73, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(81, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13523,7 +14731,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CheckPermissions() { - ::grpc::Service::MarkMethodRaw(74); + ::grpc::Service::MarkMethodRaw(82); } ~WithRawMethod_CheckPermissions() override { BaseClassMustBeDerivedFromService(this); @@ -13534,7 +14742,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(74, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(82, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13543,7 +14751,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodRaw(75); + ::grpc::Service::MarkMethodRaw(83); } ~WithRawMethod_GetRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13554,7 +14762,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(75, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(83, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13563,7 +14771,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodRaw(76); + ::grpc::Service::MarkMethodRaw(84); } ~WithRawMethod_CreateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13574,7 +14782,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(76, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(84, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13583,7 +14791,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodRaw(77); + ::grpc::Service::MarkMethodRaw(85); } ~WithRawMethod_UpdateRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13594,7 +14802,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(77, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(85, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13603,7 +14811,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodRaw(78); + ::grpc::Service::MarkMethodRaw(86); } ~WithRawMethod_ListRegistryItems() override { BaseClassMustBeDerivedFromService(this); @@ -13614,7 +14822,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(78, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(86, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13623,7 +14831,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodRaw(79); + ::grpc::Service::MarkMethodRaw(87); } ~WithRawMethod_DeleteRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13634,7 +14842,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(79, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(87, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13643,7 +14851,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodRaw(80); + ::grpc::Service::MarkMethodRaw(88); } ~WithRawMethod_TransferRegistryItem() override { BaseClassMustBeDerivedFromService(this); @@ -13654,7 +14862,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(80, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(88, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13663,7 +14871,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateModule() { - ::grpc::Service::MarkMethodRaw(81); + ::grpc::Service::MarkMethodRaw(89); } ~WithRawMethod_CreateModule() override { BaseClassMustBeDerivedFromService(this); @@ -13674,7 +14882,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(81, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(89, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13683,7 +14891,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UpdateModule() { - ::grpc::Service::MarkMethodRaw(82); + ::grpc::Service::MarkMethodRaw(90); } ~WithRawMethod_UpdateModule() override { BaseClassMustBeDerivedFromService(this); @@ -13694,7 +14902,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(82, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(90, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13703,7 +14911,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UploadModuleFile() { - ::grpc::Service::MarkMethodRaw(83); + ::grpc::Service::MarkMethodRaw(91); } ~WithRawMethod_UploadModuleFile() override { BaseClassMustBeDerivedFromService(this); @@ -13714,7 +14922,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(83, context, reader, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncClientStreaming(91, context, reader, new_call_cq, notification_cq, tag); } }; template @@ -13723,7 +14931,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetModule() { - ::grpc::Service::MarkMethodRaw(84); + ::grpc::Service::MarkMethodRaw(92); } ~WithRawMethod_GetModule() override { BaseClassMustBeDerivedFromService(this); @@ -13734,7 +14942,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(84, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(92, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13743,7 +14951,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListModules() { - ::grpc::Service::MarkMethodRaw(85); + ::grpc::Service::MarkMethodRaw(93); } ~WithRawMethod_ListModules() override { BaseClassMustBeDerivedFromService(this); @@ -13754,7 +14962,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(85, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(93, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13763,7 +14971,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateKey() { - ::grpc::Service::MarkMethodRaw(86); + ::grpc::Service::MarkMethodRaw(94); } ~WithRawMethod_CreateKey() override { BaseClassMustBeDerivedFromService(this); @@ -13774,7 +14982,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(86, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(94, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13783,7 +14991,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DeleteKey() { - ::grpc::Service::MarkMethodRaw(87); + ::grpc::Service::MarkMethodRaw(95); } ~WithRawMethod_DeleteKey() override { BaseClassMustBeDerivedFromService(this); @@ -13794,7 +15002,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(87, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(95, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13803,7 +15011,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ListKeys() { - ::grpc::Service::MarkMethodRaw(88); + ::grpc::Service::MarkMethodRaw(96); } ~WithRawMethod_ListKeys() override { BaseClassMustBeDerivedFromService(this); @@ -13814,7 +15022,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(88, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(96, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13823,7 +15031,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RenameKey() { - ::grpc::Service::MarkMethodRaw(89); + ::grpc::Service::MarkMethodRaw(97); } ~WithRawMethod_RenameKey() override { BaseClassMustBeDerivedFromService(this); @@ -13834,7 +15042,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(89, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(97, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13843,7 +15051,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RotateKey() { - ::grpc::Service::MarkMethodRaw(90); + ::grpc::Service::MarkMethodRaw(98); } ~WithRawMethod_RotateKey() override { BaseClassMustBeDerivedFromService(this); @@ -13854,7 +15062,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(90, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(98, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -13863,7 +15071,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodRaw(91); + ::grpc::Service::MarkMethodRaw(99); } ~WithRawMethod_CreateKeyFromExistingKeyAuthorizations() override { BaseClassMustBeDerivedFromService(this); @@ -13874,7 +15082,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(91, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(99, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -14258,6 +15466,82 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithRawCallbackMethod_GetOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_GetOrganizationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(10, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetOrganizationMetadata(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_GetOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetOrganizationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetOrganizationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithRawCallbackMethod_UpdateOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_UpdateOrganizationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(11, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateOrganizationMetadata(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_UpdateOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateOrganizationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateOrganizationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithRawCallbackMethod_ListOrganizationMembers : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -14268,7 +15552,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(10, + MarkMethodRawCallback(12, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14306,7 +15590,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(11, + MarkMethodRawCallback(13, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14344,7 +15628,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(12, + MarkMethodRawCallback(14, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14382,7 +15666,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(13, + MarkMethodRawCallback(15, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14420,7 +15704,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(14, + MarkMethodRawCallback(16, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14458,7 +15742,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(15, + MarkMethodRawCallback(17, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14496,7 +15780,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(16, + MarkMethodRawCallback(18, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14534,7 +15818,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(17, + MarkMethodRawCallback(19, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14572,7 +15856,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(18, + MarkMethodRawCallback(20, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14610,7 +15894,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(19, + MarkMethodRawCallback(21, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14648,7 +15932,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(20, + MarkMethodRawCallback(22, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14686,7 +15970,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(21, + MarkMethodRawCallback(23, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14724,7 +16008,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(22, + MarkMethodRawCallback(24, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14762,7 +16046,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(23, + MarkMethodRawCallback(25, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14800,7 +16084,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(24, + MarkMethodRawCallback(26, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14838,7 +16122,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(25, + MarkMethodRawCallback(27, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14876,7 +16160,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(26, + MarkMethodRawCallback(28, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14914,7 +16198,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(27, + MarkMethodRawCallback(29, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14952,7 +16236,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(28, + MarkMethodRawCallback(30, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -14990,7 +16274,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(29, + MarkMethodRawCallback(31, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15028,7 +16312,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(30, + MarkMethodRawCallback(32, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15066,7 +16350,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(31, + MarkMethodRawCallback(33, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15104,7 +16388,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(32, + MarkMethodRawCallback(34, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15142,7 +16426,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(33, + MarkMethodRawCallback(35, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15180,7 +16464,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(34, + MarkMethodRawCallback(36, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15208,6 +16492,82 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithRawCallbackMethod_GetLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_GetLocationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(37, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetLocationMetadata(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_GetLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetLocationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetLocationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithRawCallbackMethod_UpdateLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_UpdateLocationMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(38, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateLocationMetadata(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_UpdateLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateLocationMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateLocationMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithRawCallbackMethod_ListLocations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -15218,7 +16578,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(35, + MarkMethodRawCallback(39, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15256,7 +16616,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(36, + MarkMethodRawCallback(40, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15294,7 +16654,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(37, + MarkMethodRawCallback(41, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15313,26 +16673,102 @@ class AppService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* UnshareLocation( + virtual ::grpc::ServerUnaryReactor* UnshareLocation( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UnshareLocation( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithRawCallbackMethod_LocationAuth : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_LocationAuth() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(42, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->LocationAuth(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_LocationAuth() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status LocationAuth(::grpc::ServerContext* /*context*/, const ::viam::app::v1::LocationAuthRequest* /*request*/, ::viam::app::v1::LocationAuthResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* LocationAuth( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* LocationAuth( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithRawCallbackMethod_CreateLocationSecret : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_CreateLocationSecret() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(43, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateLocationSecret(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_CreateLocationSecret() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateLocationSecret(::grpc::ServerContext* /*context*/, const ::viam::app::v1::CreateLocationSecretRequest* /*request*/, ::viam::app::v1::CreateLocationSecretResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* CreateLocationSecret( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #else - virtual ::grpc::experimental::ServerUnaryReactor* UnshareLocation( + virtual ::grpc::experimental::ServerUnaryReactor* CreateLocationSecret( ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #endif { return nullptr; } }; template - class ExperimentalWithRawCallbackMethod_LocationAuth : public BaseClass { + class ExperimentalWithRawCallbackMethod_DeleteLocationSecret : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - ExperimentalWithRawCallbackMethod_LocationAuth() { + ExperimentalWithRawCallbackMethod_DeleteLocationSecret() { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::Service:: #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(38, + MarkMethodRawCallback(44, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15340,37 +16776,37 @@ class AppService final { #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->LocationAuth(context, request, response); })); + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteLocationSecret(context, request, response); })); } - ~ExperimentalWithRawCallbackMethod_LocationAuth() override { + ~ExperimentalWithRawCallbackMethod_DeleteLocationSecret() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status LocationAuth(::grpc::ServerContext* /*context*/, const ::viam::app::v1::LocationAuthRequest* /*request*/, ::viam::app::v1::LocationAuthResponse* /*response*/) override { + ::grpc::Status DeleteLocationSecret(::grpc::ServerContext* /*context*/, const ::viam::app::v1::DeleteLocationSecretRequest* /*request*/, ::viam::app::v1::DeleteLocationSecretResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* LocationAuth( + virtual ::grpc::ServerUnaryReactor* DeleteLocationSecret( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #else - virtual ::grpc::experimental::ServerUnaryReactor* LocationAuth( + virtual ::grpc::experimental::ServerUnaryReactor* DeleteLocationSecret( ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #endif { return nullptr; } }; template - class ExperimentalWithRawCallbackMethod_CreateLocationSecret : public BaseClass { + class ExperimentalWithRawCallbackMethod_GetRobot : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - ExperimentalWithRawCallbackMethod_CreateLocationSecret() { + ExperimentalWithRawCallbackMethod_GetRobot() { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::Service:: #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(39, + MarkMethodRawCallback(45, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15378,37 +16814,37 @@ class AppService final { #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateLocationSecret(context, request, response); })); + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetRobot(context, request, response); })); } - ~ExperimentalWithRawCallbackMethod_CreateLocationSecret() override { + ~ExperimentalWithRawCallbackMethod_GetRobot() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status CreateLocationSecret(::grpc::ServerContext* /*context*/, const ::viam::app::v1::CreateLocationSecretRequest* /*request*/, ::viam::app::v1::CreateLocationSecretResponse* /*response*/) override { + ::grpc::Status GetRobot(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotRequest* /*request*/, ::viam::app::v1::GetRobotResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* CreateLocationSecret( + virtual ::grpc::ServerUnaryReactor* GetRobot( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #else - virtual ::grpc::experimental::ServerUnaryReactor* CreateLocationSecret( + virtual ::grpc::experimental::ServerUnaryReactor* GetRobot( ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #endif { return nullptr; } }; template - class ExperimentalWithRawCallbackMethod_DeleteLocationSecret : public BaseClass { + class ExperimentalWithRawCallbackMethod_GetRobotMetadata : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - ExperimentalWithRawCallbackMethod_DeleteLocationSecret() { + ExperimentalWithRawCallbackMethod_GetRobotMetadata() { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::Service:: #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(40, + MarkMethodRawCallback(46, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15416,37 +16852,37 @@ class AppService final { #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteLocationSecret(context, request, response); })); + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetRobotMetadata(context, request, response); })); } - ~ExperimentalWithRawCallbackMethod_DeleteLocationSecret() override { + ~ExperimentalWithRawCallbackMethod_GetRobotMetadata() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteLocationSecret(::grpc::ServerContext* /*context*/, const ::viam::app::v1::DeleteLocationSecretRequest* /*request*/, ::viam::app::v1::DeleteLocationSecretResponse* /*response*/) override { + ::grpc::Status GetRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* DeleteLocationSecret( + virtual ::grpc::ServerUnaryReactor* GetRobotMetadata( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #else - virtual ::grpc::experimental::ServerUnaryReactor* DeleteLocationSecret( + virtual ::grpc::experimental::ServerUnaryReactor* GetRobotMetadata( ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #endif { return nullptr; } }; template - class ExperimentalWithRawCallbackMethod_GetRobot : public BaseClass { + class ExperimentalWithRawCallbackMethod_UpdateRobotMetadata : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - ExperimentalWithRawCallbackMethod_GetRobot() { + ExperimentalWithRawCallbackMethod_UpdateRobotMetadata() { #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL ::grpc::Service:: #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(41, + MarkMethodRawCallback(47, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15454,21 +16890,21 @@ class AppService final { #else ::grpc::experimental::CallbackServerContext* #endif - context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetRobot(context, request, response); })); + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateRobotMetadata(context, request, response); })); } - ~ExperimentalWithRawCallbackMethod_GetRobot() override { + ~ExperimentalWithRawCallbackMethod_UpdateRobotMetadata() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status GetRobot(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotRequest* /*request*/, ::viam::app::v1::GetRobotResponse* /*response*/) override { + ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL - virtual ::grpc::ServerUnaryReactor* GetRobot( + virtual ::grpc::ServerUnaryReactor* UpdateRobotMetadata( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #else - virtual ::grpc::experimental::ServerUnaryReactor* GetRobot( + virtual ::grpc::experimental::ServerUnaryReactor* UpdateRobotMetadata( ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) #endif { return nullptr; } @@ -15484,7 +16920,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(42, + MarkMethodRawCallback(48, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15522,7 +16958,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(43, + MarkMethodRawCallback(49, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15560,7 +16996,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(44, + MarkMethodRawCallback(50, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15598,7 +17034,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(45, + MarkMethodRawCallback(51, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15636,7 +17072,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(46, + MarkMethodRawCallback(52, new ::grpc_impl::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15674,7 +17110,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(47, + MarkMethodRawCallback(53, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15712,7 +17148,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(48, + MarkMethodRawCallback(54, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15750,7 +17186,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(49, + MarkMethodRawCallback(55, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15788,7 +17224,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(50, + MarkMethodRawCallback(56, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15816,6 +17252,82 @@ class AppService final { { return nullptr; } }; template + class ExperimentalWithRawCallbackMethod_GetRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_GetRobotPartMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(57, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetRobotPartMetadata(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_GetRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* GetRobotPartMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* GetRobotPartMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template + class ExperimentalWithRawCallbackMethod_UpdateRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + ExperimentalWithRawCallbackMethod_UpdateRobotPartMetadata() { + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::Service:: + #else + ::grpc::Service::experimental(). + #endif + MarkMethodRawCallback(58, + new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + ::grpc::CallbackServerContext* + #else + ::grpc::experimental::CallbackServerContext* + #endif + context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateRobotPartMetadata(context, request, response); })); + } + ~ExperimentalWithRawCallbackMethod_UpdateRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL + virtual ::grpc::ServerUnaryReactor* UpdateRobotPartMetadata( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #else + virtual ::grpc::experimental::ServerUnaryReactor* UpdateRobotPartMetadata( + ::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) + #endif + { return nullptr; } + }; + template class ExperimentalWithRawCallbackMethod_GetRobotAPIKeys : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} @@ -15826,7 +17338,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(51, + MarkMethodRawCallback(59, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15864,7 +17376,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(52, + MarkMethodRawCallback(60, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15902,7 +17414,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(53, + MarkMethodRawCallback(61, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15940,7 +17452,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(54, + MarkMethodRawCallback(62, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -15978,7 +17490,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(55, + MarkMethodRawCallback(63, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16016,7 +17528,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(56, + MarkMethodRawCallback(64, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16054,7 +17566,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(57, + MarkMethodRawCallback(65, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16092,7 +17604,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(58, + MarkMethodRawCallback(66, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16130,7 +17642,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(59, + MarkMethodRawCallback(67, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16168,7 +17680,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(60, + MarkMethodRawCallback(68, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16206,7 +17718,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(61, + MarkMethodRawCallback(69, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16244,7 +17756,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(62, + MarkMethodRawCallback(70, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16282,7 +17794,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(63, + MarkMethodRawCallback(71, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16320,7 +17832,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(64, + MarkMethodRawCallback(72, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16358,7 +17870,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(65, + MarkMethodRawCallback(73, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16396,7 +17908,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(66, + MarkMethodRawCallback(74, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16434,7 +17946,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(67, + MarkMethodRawCallback(75, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16472,7 +17984,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(68, + MarkMethodRawCallback(76, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16510,7 +18022,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(69, + MarkMethodRawCallback(77, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16548,7 +18060,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(70, + MarkMethodRawCallback(78, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16586,7 +18098,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(71, + MarkMethodRawCallback(79, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16624,7 +18136,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(72, + MarkMethodRawCallback(80, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16662,7 +18174,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(73, + MarkMethodRawCallback(81, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16700,7 +18212,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(74, + MarkMethodRawCallback(82, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16738,7 +18250,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(75, + MarkMethodRawCallback(83, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16776,7 +18288,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(76, + MarkMethodRawCallback(84, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16814,7 +18326,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(77, + MarkMethodRawCallback(85, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16852,7 +18364,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(78, + MarkMethodRawCallback(86, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16890,7 +18402,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(79, + MarkMethodRawCallback(87, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16928,7 +18440,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(80, + MarkMethodRawCallback(88, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -16966,7 +18478,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(81, + MarkMethodRawCallback(89, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17004,7 +18516,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(82, + MarkMethodRawCallback(90, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17042,7 +18554,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(83, + MarkMethodRawCallback(91, new ::grpc_impl::internal::CallbackClientStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17080,7 +18592,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(84, + MarkMethodRawCallback(92, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17118,7 +18630,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(85, + MarkMethodRawCallback(93, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17156,7 +18668,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(86, + MarkMethodRawCallback(94, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17194,7 +18706,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(87, + MarkMethodRawCallback(95, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17232,7 +18744,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(88, + MarkMethodRawCallback(96, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17270,7 +18782,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(89, + MarkMethodRawCallback(97, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17308,7 +18820,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(90, + MarkMethodRawCallback(98, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17346,7 +18858,7 @@ class AppService final { #else ::grpc::Service::experimental(). #endif - MarkMethodRawCallback(91, + MarkMethodRawCallback(99, new ::grpc_impl::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( #ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL @@ -17644,12 +19156,66 @@ class AppService final { virtual ::grpc::Status StreamedDeleteOrganization(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::DeleteOrganizationRequest,::viam::app::v1::DeleteOrganizationResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_GetOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetOrganizationMetadata() { + ::grpc::Service::MarkMethodStreamed(10, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::GetOrganizationMetadataRequest, ::viam::app::v1::GetOrganizationMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::GetOrganizationMetadataRequest, ::viam::app::v1::GetOrganizationMetadataResponse>* streamer) { + return this->StreamedGetOrganizationMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetOrganizationMetadataRequest* /*request*/, ::viam::app::v1::GetOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetOrganizationMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetOrganizationMetadataRequest,::viam::app::v1::GetOrganizationMetadataResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateOrganizationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateOrganizationMetadata() { + ::grpc::Service::MarkMethodStreamed(11, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::UpdateOrganizationMetadataRequest, ::viam::app::v1::UpdateOrganizationMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::UpdateOrganizationMetadataRequest, ::viam::app::v1::UpdateOrganizationMetadataResponse>* streamer) { + return this->StreamedUpdateOrganizationMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateOrganizationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateOrganizationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateOrganizationMetadataRequest* /*request*/, ::viam::app::v1::UpdateOrganizationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateOrganizationMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::UpdateOrganizationMetadataRequest,::viam::app::v1::UpdateOrganizationMetadataResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_ListOrganizationMembers : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListOrganizationMembers() { - ::grpc::Service::MarkMethodStreamed(10, + ::grpc::Service::MarkMethodStreamed(12, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListOrganizationMembersRequest, ::viam::app::v1::ListOrganizationMembersResponse>( [this](::grpc_impl::ServerContext* context, @@ -17676,7 +19242,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateOrganizationInvite() { - ::grpc::Service::MarkMethodStreamed(11, + ::grpc::Service::MarkMethodStreamed(13, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateOrganizationInviteRequest, ::viam::app::v1::CreateOrganizationInviteResponse>( [this](::grpc_impl::ServerContext* context, @@ -17703,7 +19269,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateOrganizationInviteAuthorizations() { - ::grpc::Service::MarkMethodStreamed(12, + ::grpc::Service::MarkMethodStreamed(14, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest, ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>( [this](::grpc_impl::ServerContext* context, @@ -17730,7 +19296,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteOrganizationMember() { - ::grpc::Service::MarkMethodStreamed(13, + ::grpc::Service::MarkMethodStreamed(15, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteOrganizationMemberRequest, ::viam::app::v1::DeleteOrganizationMemberResponse>( [this](::grpc_impl::ServerContext* context, @@ -17757,7 +19323,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteOrganizationInvite() { - ::grpc::Service::MarkMethodStreamed(14, + ::grpc::Service::MarkMethodStreamed(16, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteOrganizationInviteRequest, ::viam::app::v1::DeleteOrganizationInviteResponse>( [this](::grpc_impl::ServerContext* context, @@ -17784,7 +19350,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ResendOrganizationInvite() { - ::grpc::Service::MarkMethodStreamed(15, + ::grpc::Service::MarkMethodStreamed(17, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ResendOrganizationInviteRequest, ::viam::app::v1::ResendOrganizationInviteResponse>( [this](::grpc_impl::ServerContext* context, @@ -17811,7 +19377,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_EnableBillingService() { - ::grpc::Service::MarkMethodStreamed(16, + ::grpc::Service::MarkMethodStreamed(18, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::EnableBillingServiceRequest, ::viam::app::v1::EnableBillingServiceResponse>( [this](::grpc_impl::ServerContext* context, @@ -17838,7 +19404,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DisableBillingService() { - ::grpc::Service::MarkMethodStreamed(17, + ::grpc::Service::MarkMethodStreamed(19, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DisableBillingServiceRequest, ::viam::app::v1::DisableBillingServiceResponse>( [this](::grpc_impl::ServerContext* context, @@ -17865,7 +19431,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateBillingService() { - ::grpc::Service::MarkMethodStreamed(18, + ::grpc::Service::MarkMethodStreamed(20, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateBillingServiceRequest, ::viam::app::v1::UpdateBillingServiceResponse>( [this](::grpc_impl::ServerContext* context, @@ -17892,7 +19458,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetBillingServiceConfig() { - ::grpc::Service::MarkMethodStreamed(19, + ::grpc::Service::MarkMethodStreamed(21, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetBillingServiceConfigRequest, ::viam::app::v1::GetBillingServiceConfigResponse>( [this](::grpc_impl::ServerContext* context, @@ -17919,7 +19485,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_OrganizationSetSupportEmail() { - ::grpc::Service::MarkMethodStreamed(20, + ::grpc::Service::MarkMethodStreamed(22, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::OrganizationSetSupportEmailRequest, ::viam::app::v1::OrganizationSetSupportEmailResponse>( [this](::grpc_impl::ServerContext* context, @@ -17946,7 +19512,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_OrganizationGetSupportEmail() { - ::grpc::Service::MarkMethodStreamed(21, + ::grpc::Service::MarkMethodStreamed(23, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::OrganizationGetSupportEmailRequest, ::viam::app::v1::OrganizationGetSupportEmailResponse>( [this](::grpc_impl::ServerContext* context, @@ -17973,7 +19539,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_OrganizationSetLogo() { - ::grpc::Service::MarkMethodStreamed(22, + ::grpc::Service::MarkMethodStreamed(24, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::OrganizationSetLogoRequest, ::viam::app::v1::OrganizationSetLogoResponse>( [this](::grpc_impl::ServerContext* context, @@ -18000,7 +19566,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_OrganizationGetLogo() { - ::grpc::Service::MarkMethodStreamed(23, + ::grpc::Service::MarkMethodStreamed(25, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::OrganizationGetLogoRequest, ::viam::app::v1::OrganizationGetLogoResponse>( [this](::grpc_impl::ServerContext* context, @@ -18027,7 +19593,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_EnableAuthService() { - ::grpc::Service::MarkMethodStreamed(24, + ::grpc::Service::MarkMethodStreamed(26, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::EnableAuthServiceRequest, ::viam::app::v1::EnableAuthServiceResponse>( [this](::grpc_impl::ServerContext* context, @@ -18054,7 +19620,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DisableAuthService() { - ::grpc::Service::MarkMethodStreamed(25, + ::grpc::Service::MarkMethodStreamed(27, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DisableAuthServiceRequest, ::viam::app::v1::DisableAuthServiceResponse>( [this](::grpc_impl::ServerContext* context, @@ -18081,7 +19647,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateOAuthApp() { - ::grpc::Service::MarkMethodStreamed(26, + ::grpc::Service::MarkMethodStreamed(28, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateOAuthAppRequest, ::viam::app::v1::CreateOAuthAppResponse>( [this](::grpc_impl::ServerContext* context, @@ -18108,7 +19674,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ReadOAuthApp() { - ::grpc::Service::MarkMethodStreamed(27, + ::grpc::Service::MarkMethodStreamed(29, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ReadOAuthAppRequest, ::viam::app::v1::ReadOAuthAppResponse>( [this](::grpc_impl::ServerContext* context, @@ -18135,7 +19701,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateOAuthApp() { - ::grpc::Service::MarkMethodStreamed(28, + ::grpc::Service::MarkMethodStreamed(30, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateOAuthAppRequest, ::viam::app::v1::UpdateOAuthAppResponse>( [this](::grpc_impl::ServerContext* context, @@ -18162,7 +19728,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteOAuthApp() { - ::grpc::Service::MarkMethodStreamed(29, + ::grpc::Service::MarkMethodStreamed(31, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteOAuthAppRequest, ::viam::app::v1::DeleteOAuthAppResponse>( [this](::grpc_impl::ServerContext* context, @@ -18189,7 +19755,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListOAuthApps() { - ::grpc::Service::MarkMethodStreamed(30, + ::grpc::Service::MarkMethodStreamed(32, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListOAuthAppsRequest, ::viam::app::v1::ListOAuthAppsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18216,7 +19782,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateLocation() { - ::grpc::Service::MarkMethodStreamed(31, + ::grpc::Service::MarkMethodStreamed(33, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateLocationRequest, ::viam::app::v1::CreateLocationResponse>( [this](::grpc_impl::ServerContext* context, @@ -18243,7 +19809,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetLocation() { - ::grpc::Service::MarkMethodStreamed(32, + ::grpc::Service::MarkMethodStreamed(34, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetLocationRequest, ::viam::app::v1::GetLocationResponse>( [this](::grpc_impl::ServerContext* context, @@ -18270,7 +19836,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateLocation() { - ::grpc::Service::MarkMethodStreamed(33, + ::grpc::Service::MarkMethodStreamed(35, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateLocationRequest, ::viam::app::v1::UpdateLocationResponse>( [this](::grpc_impl::ServerContext* context, @@ -18297,7 +19863,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteLocation() { - ::grpc::Service::MarkMethodStreamed(34, + ::grpc::Service::MarkMethodStreamed(36, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteLocationRequest, ::viam::app::v1::DeleteLocationResponse>( [this](::grpc_impl::ServerContext* context, @@ -18319,12 +19885,66 @@ class AppService final { virtual ::grpc::Status StreamedDeleteLocation(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::DeleteLocationRequest,::viam::app::v1::DeleteLocationResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_GetLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetLocationMetadata() { + ::grpc::Service::MarkMethodStreamed(37, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::GetLocationMetadataRequest, ::viam::app::v1::GetLocationMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::GetLocationMetadataRequest, ::viam::app::v1::GetLocationMetadataResponse>* streamer) { + return this->StreamedGetLocationMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetLocationMetadataRequest* /*request*/, ::viam::app::v1::GetLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetLocationMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetLocationMetadataRequest,::viam::app::v1::GetLocationMetadataResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateLocationMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateLocationMetadata() { + ::grpc::Service::MarkMethodStreamed(38, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::UpdateLocationMetadataRequest, ::viam::app::v1::UpdateLocationMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::UpdateLocationMetadataRequest, ::viam::app::v1::UpdateLocationMetadataResponse>* streamer) { + return this->StreamedUpdateLocationMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateLocationMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateLocationMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateLocationMetadataRequest* /*request*/, ::viam::app::v1::UpdateLocationMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateLocationMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::UpdateLocationMetadataRequest,::viam::app::v1::UpdateLocationMetadataResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_ListLocations : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListLocations() { - ::grpc::Service::MarkMethodStreamed(35, + ::grpc::Service::MarkMethodStreamed(39, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListLocationsRequest, ::viam::app::v1::ListLocationsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18351,7 +19971,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ShareLocation() { - ::grpc::Service::MarkMethodStreamed(36, + ::grpc::Service::MarkMethodStreamed(40, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ShareLocationRequest, ::viam::app::v1::ShareLocationResponse>( [this](::grpc_impl::ServerContext* context, @@ -18378,7 +19998,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UnshareLocation() { - ::grpc::Service::MarkMethodStreamed(37, + ::grpc::Service::MarkMethodStreamed(41, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UnshareLocationRequest, ::viam::app::v1::UnshareLocationResponse>( [this](::grpc_impl::ServerContext* context, @@ -18405,7 +20025,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_LocationAuth() { - ::grpc::Service::MarkMethodStreamed(38, + ::grpc::Service::MarkMethodStreamed(42, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::LocationAuthRequest, ::viam::app::v1::LocationAuthResponse>( [this](::grpc_impl::ServerContext* context, @@ -18432,7 +20052,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateLocationSecret() { - ::grpc::Service::MarkMethodStreamed(39, + ::grpc::Service::MarkMethodStreamed(43, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateLocationSecretRequest, ::viam::app::v1::CreateLocationSecretResponse>( [this](::grpc_impl::ServerContext* context, @@ -18459,7 +20079,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteLocationSecret() { - ::grpc::Service::MarkMethodStreamed(40, + ::grpc::Service::MarkMethodStreamed(44, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteLocationSecretRequest, ::viam::app::v1::DeleteLocationSecretResponse>( [this](::grpc_impl::ServerContext* context, @@ -18486,7 +20106,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRobot() { - ::grpc::Service::MarkMethodStreamed(41, + ::grpc::Service::MarkMethodStreamed(45, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRobotRequest, ::viam::app::v1::GetRobotResponse>( [this](::grpc_impl::ServerContext* context, @@ -18508,12 +20128,66 @@ class AppService final { virtual ::grpc::Status StreamedGetRobot(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetRobotRequest,::viam::app::v1::GetRobotResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_GetRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetRobotMetadata() { + ::grpc::Service::MarkMethodStreamed(46, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::GetRobotMetadataRequest, ::viam::app::v1::GetRobotMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::GetRobotMetadataRequest, ::viam::app::v1::GetRobotMetadataResponse>* streamer) { + return this->StreamedGetRobotMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotMetadataRequest* /*request*/, ::viam::app::v1::GetRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetRobotMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetRobotMetadataRequest,::viam::app::v1::GetRobotMetadataResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateRobotMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateRobotMetadata() { + ::grpc::Service::MarkMethodStreamed(47, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::UpdateRobotMetadataRequest, ::viam::app::v1::UpdateRobotMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::UpdateRobotMetadataRequest, ::viam::app::v1::UpdateRobotMetadataResponse>* streamer) { + return this->StreamedUpdateRobotMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateRobotMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateRobotMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateRobotMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::UpdateRobotMetadataRequest,::viam::app::v1::UpdateRobotMetadataResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_GetRoverRentalRobots : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRoverRentalRobots() { - ::grpc::Service::MarkMethodStreamed(42, + ::grpc::Service::MarkMethodStreamed(48, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRoverRentalRobotsRequest, ::viam::app::v1::GetRoverRentalRobotsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18540,7 +20214,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRobotParts() { - ::grpc::Service::MarkMethodStreamed(43, + ::grpc::Service::MarkMethodStreamed(49, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRobotPartsRequest, ::viam::app::v1::GetRobotPartsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18567,7 +20241,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRobotPart() { - ::grpc::Service::MarkMethodStreamed(44, + ::grpc::Service::MarkMethodStreamed(50, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRobotPartRequest, ::viam::app::v1::GetRobotPartResponse>( [this](::grpc_impl::ServerContext* context, @@ -18594,7 +20268,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRobotPartLogs() { - ::grpc::Service::MarkMethodStreamed(45, + ::grpc::Service::MarkMethodStreamed(51, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRobotPartLogsRequest, ::viam::app::v1::GetRobotPartLogsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18621,7 +20295,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRobotPartHistory() { - ::grpc::Service::MarkMethodStreamed(47, + ::grpc::Service::MarkMethodStreamed(53, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRobotPartHistoryRequest, ::viam::app::v1::GetRobotPartHistoryResponse>( [this](::grpc_impl::ServerContext* context, @@ -18648,7 +20322,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateRobotPart() { - ::grpc::Service::MarkMethodStreamed(48, + ::grpc::Service::MarkMethodStreamed(54, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateRobotPartRequest, ::viam::app::v1::UpdateRobotPartResponse>( [this](::grpc_impl::ServerContext* context, @@ -18675,7 +20349,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_NewRobotPart() { - ::grpc::Service::MarkMethodStreamed(49, + ::grpc::Service::MarkMethodStreamed(55, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::NewRobotPartRequest, ::viam::app::v1::NewRobotPartResponse>( [this](::grpc_impl::ServerContext* context, @@ -18702,7 +20376,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteRobotPart() { - ::grpc::Service::MarkMethodStreamed(50, + ::grpc::Service::MarkMethodStreamed(56, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteRobotPartRequest, ::viam::app::v1::DeleteRobotPartResponse>( [this](::grpc_impl::ServerContext* context, @@ -18724,12 +20398,66 @@ class AppService final { virtual ::grpc::Status StreamedDeleteRobotPart(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::DeleteRobotPartRequest,::viam::app::v1::DeleteRobotPartResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_GetRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_GetRobotPartMetadata() { + ::grpc::Service::MarkMethodStreamed(57, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::GetRobotPartMetadataRequest, ::viam::app::v1::GetRobotPartMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::GetRobotPartMetadataRequest, ::viam::app::v1::GetRobotPartMetadataResponse>* streamer) { + return this->StreamedGetRobotPartMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::GetRobotPartMetadataRequest* /*request*/, ::viam::app::v1::GetRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetRobotPartMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::GetRobotPartMetadataRequest,::viam::app::v1::GetRobotPartMetadataResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_UpdateRobotPartMetadata : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_UpdateRobotPartMetadata() { + ::grpc::Service::MarkMethodStreamed(58, + new ::grpc::internal::StreamedUnaryHandler< + ::viam::app::v1::UpdateRobotPartMetadataRequest, ::viam::app::v1::UpdateRobotPartMetadataResponse>( + [this](::grpc_impl::ServerContext* context, + ::grpc_impl::ServerUnaryStreamer< + ::viam::app::v1::UpdateRobotPartMetadataRequest, ::viam::app::v1::UpdateRobotPartMetadataResponse>* streamer) { + return this->StreamedUpdateRobotPartMetadata(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_UpdateRobotPartMetadata() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateRobotPartMetadata(::grpc::ServerContext* /*context*/, const ::viam::app::v1::UpdateRobotPartMetadataRequest* /*request*/, ::viam::app::v1::UpdateRobotPartMetadataResponse* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateRobotPartMetadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::viam::app::v1::UpdateRobotPartMetadataRequest,::viam::app::v1::UpdateRobotPartMetadataResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_GetRobotAPIKeys : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRobotAPIKeys() { - ::grpc::Service::MarkMethodStreamed(51, + ::grpc::Service::MarkMethodStreamed(59, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRobotAPIKeysRequest, ::viam::app::v1::GetRobotAPIKeysResponse>( [this](::grpc_impl::ServerContext* context, @@ -18756,7 +20484,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_MarkPartAsMain() { - ::grpc::Service::MarkMethodStreamed(52, + ::grpc::Service::MarkMethodStreamed(60, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::MarkPartAsMainRequest, ::viam::app::v1::MarkPartAsMainResponse>( [this](::grpc_impl::ServerContext* context, @@ -18783,7 +20511,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_MarkPartForRestart() { - ::grpc::Service::MarkMethodStreamed(53, + ::grpc::Service::MarkMethodStreamed(61, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::MarkPartForRestartRequest, ::viam::app::v1::MarkPartForRestartResponse>( [this](::grpc_impl::ServerContext* context, @@ -18810,7 +20538,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateRobotPartSecret() { - ::grpc::Service::MarkMethodStreamed(54, + ::grpc::Service::MarkMethodStreamed(62, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateRobotPartSecretRequest, ::viam::app::v1::CreateRobotPartSecretResponse>( [this](::grpc_impl::ServerContext* context, @@ -18837,7 +20565,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteRobotPartSecret() { - ::grpc::Service::MarkMethodStreamed(55, + ::grpc::Service::MarkMethodStreamed(63, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteRobotPartSecretRequest, ::viam::app::v1::DeleteRobotPartSecretResponse>( [this](::grpc_impl::ServerContext* context, @@ -18864,7 +20592,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListRobots() { - ::grpc::Service::MarkMethodStreamed(56, + ::grpc::Service::MarkMethodStreamed(64, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListRobotsRequest, ::viam::app::v1::ListRobotsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18891,7 +20619,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_NewRobot() { - ::grpc::Service::MarkMethodStreamed(57, + ::grpc::Service::MarkMethodStreamed(65, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::NewRobotRequest, ::viam::app::v1::NewRobotResponse>( [this](::grpc_impl::ServerContext* context, @@ -18918,7 +20646,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateRobot() { - ::grpc::Service::MarkMethodStreamed(58, + ::grpc::Service::MarkMethodStreamed(66, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateRobotRequest, ::viam::app::v1::UpdateRobotResponse>( [this](::grpc_impl::ServerContext* context, @@ -18945,7 +20673,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteRobot() { - ::grpc::Service::MarkMethodStreamed(59, + ::grpc::Service::MarkMethodStreamed(67, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteRobotRequest, ::viam::app::v1::DeleteRobotResponse>( [this](::grpc_impl::ServerContext* context, @@ -18972,7 +20700,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListFragments() { - ::grpc::Service::MarkMethodStreamed(60, + ::grpc::Service::MarkMethodStreamed(68, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListFragmentsRequest, ::viam::app::v1::ListFragmentsResponse>( [this](::grpc_impl::ServerContext* context, @@ -18999,7 +20727,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetFragment() { - ::grpc::Service::MarkMethodStreamed(61, + ::grpc::Service::MarkMethodStreamed(69, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetFragmentRequest, ::viam::app::v1::GetFragmentResponse>( [this](::grpc_impl::ServerContext* context, @@ -19026,7 +20754,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateFragment() { - ::grpc::Service::MarkMethodStreamed(62, + ::grpc::Service::MarkMethodStreamed(70, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateFragmentRequest, ::viam::app::v1::CreateFragmentResponse>( [this](::grpc_impl::ServerContext* context, @@ -19053,7 +20781,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateFragment() { - ::grpc::Service::MarkMethodStreamed(63, + ::grpc::Service::MarkMethodStreamed(71, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateFragmentRequest, ::viam::app::v1::UpdateFragmentResponse>( [this](::grpc_impl::ServerContext* context, @@ -19080,7 +20808,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteFragment() { - ::grpc::Service::MarkMethodStreamed(64, + ::grpc::Service::MarkMethodStreamed(72, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteFragmentRequest, ::viam::app::v1::DeleteFragmentResponse>( [this](::grpc_impl::ServerContext* context, @@ -19107,7 +20835,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListMachineFragments() { - ::grpc::Service::MarkMethodStreamed(65, + ::grpc::Service::MarkMethodStreamed(73, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListMachineFragmentsRequest, ::viam::app::v1::ListMachineFragmentsResponse>( [this](::grpc_impl::ServerContext* context, @@ -19134,7 +20862,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetFragmentHistory() { - ::grpc::Service::MarkMethodStreamed(66, + ::grpc::Service::MarkMethodStreamed(74, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetFragmentHistoryRequest, ::viam::app::v1::GetFragmentHistoryResponse>( [this](::grpc_impl::ServerContext* context, @@ -19161,7 +20889,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetFragmentUsage() { - ::grpc::Service::MarkMethodStreamed(67, + ::grpc::Service::MarkMethodStreamed(75, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetFragmentUsageRequest, ::viam::app::v1::GetFragmentUsageResponse>( [this](::grpc_impl::ServerContext* context, @@ -19188,7 +20916,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetFragmentTag() { - ::grpc::Service::MarkMethodStreamed(68, + ::grpc::Service::MarkMethodStreamed(76, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::SetFragmentTagRequest, ::viam::app::v1::SetFragmentTagResponse>( [this](::grpc_impl::ServerContext* context, @@ -19215,7 +20943,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteFragmentTag() { - ::grpc::Service::MarkMethodStreamed(69, + ::grpc::Service::MarkMethodStreamed(77, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteFragmentTagRequest, ::viam::app::v1::DeleteFragmentTagResponse>( [this](::grpc_impl::ServerContext* context, @@ -19242,7 +20970,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_AddRole() { - ::grpc::Service::MarkMethodStreamed(70, + ::grpc::Service::MarkMethodStreamed(78, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::AddRoleRequest, ::viam::app::v1::AddRoleResponse>( [this](::grpc_impl::ServerContext* context, @@ -19269,7 +20997,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RemoveRole() { - ::grpc::Service::MarkMethodStreamed(71, + ::grpc::Service::MarkMethodStreamed(79, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RemoveRoleRequest, ::viam::app::v1::RemoveRoleResponse>( [this](::grpc_impl::ServerContext* context, @@ -19296,7 +21024,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ChangeRole() { - ::grpc::Service::MarkMethodStreamed(72, + ::grpc::Service::MarkMethodStreamed(80, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ChangeRoleRequest, ::viam::app::v1::ChangeRoleResponse>( [this](::grpc_impl::ServerContext* context, @@ -19323,7 +21051,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListAuthorizations() { - ::grpc::Service::MarkMethodStreamed(73, + ::grpc::Service::MarkMethodStreamed(81, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListAuthorizationsRequest, ::viam::app::v1::ListAuthorizationsResponse>( [this](::grpc_impl::ServerContext* context, @@ -19350,7 +21078,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CheckPermissions() { - ::grpc::Service::MarkMethodStreamed(74, + ::grpc::Service::MarkMethodStreamed(82, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CheckPermissionsRequest, ::viam::app::v1::CheckPermissionsResponse>( [this](::grpc_impl::ServerContext* context, @@ -19377,7 +21105,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetRegistryItem() { - ::grpc::Service::MarkMethodStreamed(75, + ::grpc::Service::MarkMethodStreamed(83, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetRegistryItemRequest, ::viam::app::v1::GetRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -19404,7 +21132,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateRegistryItem() { - ::grpc::Service::MarkMethodStreamed(76, + ::grpc::Service::MarkMethodStreamed(84, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateRegistryItemRequest, ::viam::app::v1::CreateRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -19431,7 +21159,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateRegistryItem() { - ::grpc::Service::MarkMethodStreamed(77, + ::grpc::Service::MarkMethodStreamed(85, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateRegistryItemRequest, ::viam::app::v1::UpdateRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -19458,7 +21186,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListRegistryItems() { - ::grpc::Service::MarkMethodStreamed(78, + ::grpc::Service::MarkMethodStreamed(86, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListRegistryItemsRequest, ::viam::app::v1::ListRegistryItemsResponse>( [this](::grpc_impl::ServerContext* context, @@ -19485,7 +21213,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteRegistryItem() { - ::grpc::Service::MarkMethodStreamed(79, + ::grpc::Service::MarkMethodStreamed(87, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteRegistryItemRequest, ::viam::app::v1::DeleteRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -19512,7 +21240,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_TransferRegistryItem() { - ::grpc::Service::MarkMethodStreamed(80, + ::grpc::Service::MarkMethodStreamed(88, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::TransferRegistryItemRequest, ::viam::app::v1::TransferRegistryItemResponse>( [this](::grpc_impl::ServerContext* context, @@ -19539,7 +21267,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateModule() { - ::grpc::Service::MarkMethodStreamed(81, + ::grpc::Service::MarkMethodStreamed(89, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateModuleRequest, ::viam::app::v1::CreateModuleResponse>( [this](::grpc_impl::ServerContext* context, @@ -19566,7 +21294,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UpdateModule() { - ::grpc::Service::MarkMethodStreamed(82, + ::grpc::Service::MarkMethodStreamed(90, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::UpdateModuleRequest, ::viam::app::v1::UpdateModuleResponse>( [this](::grpc_impl::ServerContext* context, @@ -19593,7 +21321,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetModule() { - ::grpc::Service::MarkMethodStreamed(84, + ::grpc::Service::MarkMethodStreamed(92, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::GetModuleRequest, ::viam::app::v1::GetModuleResponse>( [this](::grpc_impl::ServerContext* context, @@ -19620,7 +21348,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListModules() { - ::grpc::Service::MarkMethodStreamed(85, + ::grpc::Service::MarkMethodStreamed(93, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListModulesRequest, ::viam::app::v1::ListModulesResponse>( [this](::grpc_impl::ServerContext* context, @@ -19647,7 +21375,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateKey() { - ::grpc::Service::MarkMethodStreamed(86, + ::grpc::Service::MarkMethodStreamed(94, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateKeyRequest, ::viam::app::v1::CreateKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -19674,7 +21402,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DeleteKey() { - ::grpc::Service::MarkMethodStreamed(87, + ::grpc::Service::MarkMethodStreamed(95, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::DeleteKeyRequest, ::viam::app::v1::DeleteKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -19701,7 +21429,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ListKeys() { - ::grpc::Service::MarkMethodStreamed(88, + ::grpc::Service::MarkMethodStreamed(96, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::ListKeysRequest, ::viam::app::v1::ListKeysResponse>( [this](::grpc_impl::ServerContext* context, @@ -19728,7 +21456,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RenameKey() { - ::grpc::Service::MarkMethodStreamed(89, + ::grpc::Service::MarkMethodStreamed(97, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RenameKeyRequest, ::viam::app::v1::RenameKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -19755,7 +21483,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RotateKey() { - ::grpc::Service::MarkMethodStreamed(90, + ::grpc::Service::MarkMethodStreamed(98, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::RotateKeyRequest, ::viam::app::v1::RotateKeyResponse>( [this](::grpc_impl::ServerContext* context, @@ -19782,7 +21510,7 @@ class AppService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CreateKeyFromExistingKeyAuthorizations() { - ::grpc::Service::MarkMethodStreamed(91, + ::grpc::Service::MarkMethodStreamed(99, new ::grpc::internal::StreamedUnaryHandler< ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest, ::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse>( [this](::grpc_impl::ServerContext* context, @@ -19803,14 +21531,14 @@ 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: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithSplitStreamingMethod_TailRobotPartLogs() { - ::grpc::Service::MarkMethodStreamed(46, + ::grpc::Service::MarkMethodStreamed(52, new ::grpc::internal::SplitServerStreamingHandler< ::viam::app::v1::TailRobotPartLogsRequest, ::viam::app::v1::TailRobotPartLogsResponse>( [this](::grpc_impl::ServerContext* context, @@ -19832,7 +21560,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 15732b2d5..5663e719b 100644 --- a/src/viam/api/app/v1/app.pb.cc +++ b/src/viam/api/app/v1/app.pb.cc @@ -289,6 +289,76 @@ struct DeleteOrganizationResponseDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteOrganizationResponseDefaultTypeInternal _DeleteOrganizationResponse_default_instance_; +PROTOBUF_CONSTEXPR GetOrganizationMetadataRequest::GetOrganizationMetadataRequest( + ::_pbi::ConstantInitialized) + : organization_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct GetOrganizationMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetOrganizationMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetOrganizationMetadataRequestDefaultTypeInternal() {} + union { + GetOrganizationMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetOrganizationMetadataRequestDefaultTypeInternal _GetOrganizationMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR GetOrganizationMetadataResponse_DataEntry_DoNotUse::GetOrganizationMetadataResponse_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct GetOrganizationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetOrganizationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetOrganizationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + GetOrganizationMetadataResponse_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetOrganizationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetOrganizationMetadataResponse_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR GetOrganizationMetadataResponse::GetOrganizationMetadataResponse( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}){} +struct GetOrganizationMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetOrganizationMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetOrganizationMetadataResponseDefaultTypeInternal() {} + union { + GetOrganizationMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetOrganizationMetadataResponseDefaultTypeInternal _GetOrganizationMetadataResponse_default_instance_; +PROTOBUF_CONSTEXPR UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct UpdateOrganizationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateOrganizationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateOrganizationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + UpdateOrganizationMetadataRequest_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateOrganizationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateOrganizationMetadataRequest_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR UpdateOrganizationMetadataRequest::UpdateOrganizationMetadataRequest( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , organization_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct UpdateOrganizationMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateOrganizationMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateOrganizationMetadataRequestDefaultTypeInternal() {} + union { + UpdateOrganizationMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateOrganizationMetadataRequestDefaultTypeInternal _UpdateOrganizationMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR UpdateOrganizationMetadataResponse::UpdateOrganizationMetadataResponse( + ::_pbi::ConstantInitialized){} +struct UpdateOrganizationMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateOrganizationMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateOrganizationMetadataResponseDefaultTypeInternal() {} + union { + UpdateOrganizationMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateOrganizationMetadataResponseDefaultTypeInternal _UpdateOrganizationMetadataResponse_default_instance_; PROTOBUF_CONSTEXPR ListOrganizationMembersRequest::ListOrganizationMembersRequest( ::_pbi::ConstantInitialized) : organization_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} @@ -792,6 +862,76 @@ struct DeleteLocationResponseDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteLocationResponseDefaultTypeInternal _DeleteLocationResponse_default_instance_; +PROTOBUF_CONSTEXPR GetLocationMetadataRequest::GetLocationMetadataRequest( + ::_pbi::ConstantInitialized) + : location_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct GetLocationMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetLocationMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetLocationMetadataRequestDefaultTypeInternal() {} + union { + GetLocationMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetLocationMetadataRequestDefaultTypeInternal _GetLocationMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR GetLocationMetadataResponse_DataEntry_DoNotUse::GetLocationMetadataResponse_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct GetLocationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetLocationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetLocationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + GetLocationMetadataResponse_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetLocationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetLocationMetadataResponse_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR GetLocationMetadataResponse::GetLocationMetadataResponse( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}){} +struct GetLocationMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetLocationMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetLocationMetadataResponseDefaultTypeInternal() {} + union { + GetLocationMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetLocationMetadataResponseDefaultTypeInternal _GetLocationMetadataResponse_default_instance_; +PROTOBUF_CONSTEXPR UpdateLocationMetadataRequest_DataEntry_DoNotUse::UpdateLocationMetadataRequest_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct UpdateLocationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateLocationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateLocationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + UpdateLocationMetadataRequest_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateLocationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateLocationMetadataRequest_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR UpdateLocationMetadataRequest::UpdateLocationMetadataRequest( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , location_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct UpdateLocationMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateLocationMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateLocationMetadataRequestDefaultTypeInternal() {} + union { + UpdateLocationMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateLocationMetadataRequestDefaultTypeInternal _UpdateLocationMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR UpdateLocationMetadataResponse::UpdateLocationMetadataResponse( + ::_pbi::ConstantInitialized){} +struct UpdateLocationMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateLocationMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateLocationMetadataResponseDefaultTypeInternal() {} + union { + UpdateLocationMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateLocationMetadataResponseDefaultTypeInternal _UpdateLocationMetadataResponse_default_instance_; PROTOBUF_CONSTEXPR GetOrganizationsWithAccessToLocationRequest::GetOrganizationsWithAccessToLocationRequest( ::_pbi::ConstantInitialized) : location_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} @@ -1218,6 +1358,76 @@ struct DeleteRobotPartRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteRobotPartRequestDefaultTypeInternal _DeleteRobotPartRequest_default_instance_; +PROTOBUF_CONSTEXPR GetRobotPartMetadataRequest::GetRobotPartMetadataRequest( + ::_pbi::ConstantInitialized) + : id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct GetRobotPartMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRobotPartMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRobotPartMetadataRequestDefaultTypeInternal() {} + union { + GetRobotPartMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotPartMetadataRequestDefaultTypeInternal _GetRobotPartMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR GetRobotPartMetadataResponse_DataEntry_DoNotUse::GetRobotPartMetadataResponse_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct GetRobotPartMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRobotPartMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRobotPartMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + GetRobotPartMetadataResponse_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotPartMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetRobotPartMetadataResponse_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR GetRobotPartMetadataResponse::GetRobotPartMetadataResponse( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}){} +struct GetRobotPartMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRobotPartMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRobotPartMetadataResponseDefaultTypeInternal() {} + union { + GetRobotPartMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotPartMetadataResponseDefaultTypeInternal _GetRobotPartMetadataResponse_default_instance_; +PROTOBUF_CONSTEXPR UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct UpdateRobotPartMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateRobotPartMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateRobotPartMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + UpdateRobotPartMetadataRequest_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateRobotPartMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateRobotPartMetadataRequest_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR UpdateRobotPartMetadataRequest::UpdateRobotPartMetadataRequest( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct UpdateRobotPartMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateRobotPartMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateRobotPartMetadataRequestDefaultTypeInternal() {} + union { + UpdateRobotPartMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateRobotPartMetadataRequestDefaultTypeInternal _UpdateRobotPartMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR UpdateRobotPartMetadataResponse::UpdateRobotPartMetadataResponse( + ::_pbi::ConstantInitialized){} +struct UpdateRobotPartMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateRobotPartMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateRobotPartMetadataResponseDefaultTypeInternal() {} + union { + UpdateRobotPartMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateRobotPartMetadataResponseDefaultTypeInternal _UpdateRobotPartMetadataResponse_default_instance_; PROTOBUF_CONSTEXPR GetRobotAPIKeysRequest::GetRobotAPIKeysRequest( ::_pbi::ConstantInitialized) : robot_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} @@ -1370,6 +1580,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR ResolvedFragment::ResolvedFragment( ::_pbi::ConstantInitialized) : fragment_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) + , revision_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) , resolved_config_(nullptr) , error_(nullptr){} struct ResolvedFragmentDefaultTypeInternal { @@ -1632,9 +1843,23 @@ struct ListRobotsRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListRobotsRequestDefaultTypeInternal _ListRobotsRequest_default_instance_; +PROTOBUF_CONSTEXPR AdditionalFragment::AdditionalFragment( + ::_pbi::ConstantInitialized) + : fragment_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) + , version_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct AdditionalFragmentDefaultTypeInternal { + PROTOBUF_CONSTEXPR AdditionalFragmentDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~AdditionalFragmentDefaultTypeInternal() {} + union { + AdditionalFragment _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdditionalFragmentDefaultTypeInternal _AdditionalFragment_default_instance_; PROTOBUF_CONSTEXPR ListMachineFragmentsRequest::ListMachineFragmentsRequest( ::_pbi::ConstantInitialized) : additional_fragment_ids_() + , additional_fragments_() , machine_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} struct ListMachineFragmentsRequestDefaultTypeInternal { PROTOBUF_CONSTEXPR ListMachineFragmentsRequestDefaultTypeInternal() @@ -1744,6 +1969,76 @@ struct DeleteRobotResponseDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteRobotResponseDefaultTypeInternal _DeleteRobotResponse_default_instance_; +PROTOBUF_CONSTEXPR GetRobotMetadataRequest::GetRobotMetadataRequest( + ::_pbi::ConstantInitialized) + : id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct GetRobotMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRobotMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRobotMetadataRequestDefaultTypeInternal() {} + union { + GetRobotMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotMetadataRequestDefaultTypeInternal _GetRobotMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR GetRobotMetadataResponse_DataEntry_DoNotUse::GetRobotMetadataResponse_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct GetRobotMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRobotMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRobotMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + GetRobotMetadataResponse_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetRobotMetadataResponse_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR GetRobotMetadataResponse::GetRobotMetadataResponse( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}){} +struct GetRobotMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRobotMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRobotMetadataResponseDefaultTypeInternal() {} + union { + GetRobotMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRobotMetadataResponseDefaultTypeInternal _GetRobotMetadataResponse_default_instance_; +PROTOBUF_CONSTEXPR UpdateRobotMetadataRequest_DataEntry_DoNotUse::UpdateRobotMetadataRequest_DataEntry_DoNotUse( + ::_pbi::ConstantInitialized){} +struct UpdateRobotMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateRobotMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateRobotMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal() {} + union { + UpdateRobotMetadataRequest_DataEntry_DoNotUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateRobotMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateRobotMetadataRequest_DataEntry_DoNotUse_default_instance_; +PROTOBUF_CONSTEXPR UpdateRobotMetadataRequest::UpdateRobotMetadataRequest( + ::_pbi::ConstantInitialized) + : data_(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) + , id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} +struct UpdateRobotMetadataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateRobotMetadataRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateRobotMetadataRequestDefaultTypeInternal() {} + union { + UpdateRobotMetadataRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateRobotMetadataRequestDefaultTypeInternal _UpdateRobotMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR UpdateRobotMetadataResponse::UpdateRobotMetadataResponse( + ::_pbi::ConstantInitialized){} +struct UpdateRobotMetadataResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateRobotMetadataResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateRobotMetadataResponseDefaultTypeInternal() {} + union { + UpdateRobotMetadataResponse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateRobotMetadataResponseDefaultTypeInternal _UpdateRobotMetadataResponse_default_instance_; PROTOBUF_CONSTEXPR MarkPartAsMainRequest::MarkPartAsMainRequest( ::_pbi::ConstantInitialized) : part_id_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}){} @@ -3031,7 +3326,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT } // namespace v1 } // namespace app } // namespace viam -static ::_pb::Metadata file_level_metadata_app_2fv1_2fapp_2eproto[227]; +static ::_pb::Metadata file_level_metadata_app_2fv1_2fapp_2eproto[252]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_app_2fv1_2fapp_2eproto[10]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_app_2fv1_2fapp_2eproto = nullptr; @@ -3222,6 +3517,54 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataRequest, organization_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationMetadataResponse, data_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest, organization_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataRequest, data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateOrganizationMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListOrganizationMembersRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -3546,6 +3889,54 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataRequest, location_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetLocationMetadataResponse, data_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest, location_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataRequest, data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateLocationMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetOrganizationsWithAccessToLocationRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -3814,6 +4205,54 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::DeleteRobotPartRequest, part_id_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataRequest, id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotPartMetadataResponse, data_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest, id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataRequest, data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotPartMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotAPIKeysRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -3924,6 +4363,7 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA PROTOBUF_FIELD_OFFSET(::viam::app::v1::ResolvedFragment, fragment_id_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::ResolvedFragment, resolved_config_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::ResolvedFragment, error_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ResolvedFragment, revision_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListFragmentsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -4092,6 +4532,16 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListRobotsRequest, location_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::AdditionalFragment, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::AdditionalFragment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::AdditionalFragment, fragment_id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::AdditionalFragment, version_), + ~0u, + 0, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -4100,6 +4550,7 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, machine_id_), PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, additional_fragment_ids_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsRequest, additional_fragments_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::ListMachineFragmentsResponse, _internal_metadata_), ~0u, // no _extensions_ @@ -4160,6 +4611,54 @@ const uint32_t TableStruct_app_2fv1_2fapp_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataRequest, id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::GetRobotMetadataResponse, data_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest, id_), + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataRequest, data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::viam::app::v1::UpdateRobotMetadataResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::viam::app::v1::MarkPartAsMainRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -5039,214 +5538,239 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 165, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationResponse)}, { 172, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationRequest)}, { 179, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationResponse)}, - { 185, -1, -1, sizeof(::viam::app::v1::ListOrganizationMembersRequest)}, - { 192, -1, -1, sizeof(::viam::app::v1::ListOrganizationMembersResponse)}, - { 201, 211, -1, sizeof(::viam::app::v1::CreateOrganizationInviteRequest)}, - { 215, -1, -1, sizeof(::viam::app::v1::CreateOrganizationInviteResponse)}, - { 222, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest)}, - { 232, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse)}, - { 239, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationInviteRequest)}, - { 247, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationInviteResponse)}, - { 253, -1, -1, sizeof(::viam::app::v1::ResendOrganizationInviteRequest)}, - { 261, -1, -1, sizeof(::viam::app::v1::ResendOrganizationInviteResponse)}, - { 268, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationMemberRequest)}, - { 276, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationMemberResponse)}, - { 282, 294, -1, sizeof(::viam::app::v1::BillingAddress)}, - { 300, -1, -1, sizeof(::viam::app::v1::EnableBillingServiceRequest)}, - { 308, -1, -1, sizeof(::viam::app::v1::EnableBillingServiceResponse)}, - { 314, -1, -1, sizeof(::viam::app::v1::UpdateBillingServiceRequest)}, - { 322, -1, -1, sizeof(::viam::app::v1::UpdateBillingServiceResponse)}, - { 328, -1, -1, sizeof(::viam::app::v1::GetBillingServiceConfigRequest)}, - { 335, -1, -1, sizeof(::viam::app::v1::GetBillingServiceConfigResponse)}, - { 345, -1, -1, sizeof(::viam::app::v1::DisableBillingServiceRequest)}, - { 352, -1, -1, sizeof(::viam::app::v1::DisableBillingServiceResponse)}, - { 358, -1, -1, sizeof(::viam::app::v1::OrganizationSetSupportEmailRequest)}, - { 366, -1, -1, sizeof(::viam::app::v1::OrganizationSetSupportEmailResponse)}, - { 372, -1, -1, sizeof(::viam::app::v1::OrganizationGetSupportEmailRequest)}, - { 379, -1, -1, sizeof(::viam::app::v1::OrganizationGetSupportEmailResponse)}, - { 386, -1, -1, sizeof(::viam::app::v1::OrganizationIdentity)}, - { 394, -1, -1, sizeof(::viam::app::v1::LocationOrganization)}, - { 402, -1, -1, sizeof(::viam::app::v1::LocationAuth)}, - { 411, -1, -1, sizeof(::viam::app::v1::StorageConfig)}, - { 418, -1, -1, sizeof(::viam::app::v1::Location)}, - { 432, -1, -1, sizeof(::viam::app::v1::SharedSecret)}, - { 442, 451, -1, sizeof(::viam::app::v1::CreateLocationRequest)}, - { 454, -1, -1, sizeof(::viam::app::v1::CreateLocationResponse)}, - { 461, -1, -1, sizeof(::viam::app::v1::GetLocationRequest)}, - { 468, -1, -1, sizeof(::viam::app::v1::GetLocationResponse)}, - { 475, 485, -1, sizeof(::viam::app::v1::UpdateLocationRequest)}, - { 489, -1, -1, sizeof(::viam::app::v1::UpdateLocationResponse)}, - { 496, -1, -1, sizeof(::viam::app::v1::DeleteLocationRequest)}, - { 503, -1, -1, sizeof(::viam::app::v1::DeleteLocationResponse)}, - { 509, -1, -1, sizeof(::viam::app::v1::GetOrganizationsWithAccessToLocationRequest)}, - { 516, -1, -1, sizeof(::viam::app::v1::GetOrganizationsWithAccessToLocationResponse)}, - { 523, -1, -1, sizeof(::viam::app::v1::ListLocationsRequest)}, - { 530, -1, -1, sizeof(::viam::app::v1::ShareLocationRequest)}, - { 538, -1, -1, sizeof(::viam::app::v1::ShareLocationResponse)}, - { 544, -1, -1, sizeof(::viam::app::v1::UnshareLocationRequest)}, - { 552, -1, -1, sizeof(::viam::app::v1::UnshareLocationResponse)}, - { 558, -1, -1, sizeof(::viam::app::v1::ListLocationsResponse)}, - { 565, -1, -1, sizeof(::viam::app::v1::CreateLocationSecretRequest)}, - { 572, -1, -1, sizeof(::viam::app::v1::CreateLocationSecretResponse)}, - { 579, -1, -1, sizeof(::viam::app::v1::DeleteLocationSecretRequest)}, - { 587, -1, -1, sizeof(::viam::app::v1::DeleteLocationSecretResponse)}, - { 593, -1, -1, sizeof(::viam::app::v1::LocationAuthRequest)}, - { 600, -1, -1, sizeof(::viam::app::v1::LocationAuthResponse)}, - { 607, -1, -1, sizeof(::viam::app::v1::GetRobotRequest)}, - { 614, -1, -1, sizeof(::viam::app::v1::GetRoverRentalRobotsRequest)}, - { 621, -1, -1, sizeof(::viam::app::v1::RoverRentalRobot)}, - { 631, -1, -1, sizeof(::viam::app::v1::GetRoverRentalRobotsResponse)}, - { 638, -1, -1, sizeof(::viam::app::v1::GetRobotResponse)}, - { 645, -1, -1, sizeof(::viam::app::v1::GetRobotPartsRequest)}, - { 652, -1, -1, sizeof(::viam::app::v1::GetRobotPartsResponse)}, - { 659, -1, -1, sizeof(::viam::app::v1::GetRobotPartRequest)}, - { 666, -1, -1, sizeof(::viam::app::v1::GetRobotPartResponse)}, - { 674, 689, -1, sizeof(::viam::app::v1::GetRobotPartLogsRequest)}, - { 698, -1, -1, sizeof(::viam::app::v1::GetRobotPartLogsResponse)}, - { 706, 715, -1, sizeof(::viam::app::v1::TailRobotPartLogsRequest)}, - { 718, -1, -1, sizeof(::viam::app::v1::TailRobotPartLogsResponse)}, - { 725, -1, -1, sizeof(::viam::app::v1::GetRobotPartHistoryRequest)}, - { 732, -1, -1, sizeof(::viam::app::v1::GetRobotPartHistoryResponse)}, - { 739, -1, -1, sizeof(::viam::app::v1::UpdateRobotPartRequest)}, - { 748, -1, -1, sizeof(::viam::app::v1::UpdateRobotPartResponse)}, - { 755, -1, -1, sizeof(::viam::app::v1::NewRobotPartRequest)}, - { 763, -1, -1, sizeof(::viam::app::v1::NewRobotPartResponse)}, - { 770, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartRequest)}, - { 777, -1, -1, sizeof(::viam::app::v1::GetRobotAPIKeysRequest)}, - { 784, -1, -1, sizeof(::viam::app::v1::APIKey)}, - { 794, -1, -1, sizeof(::viam::app::v1::GetRobotAPIKeysResponse)}, - { 801, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartResponse)}, - { 807, -1, -1, sizeof(::viam::app::v1::Fragment)}, - { 826, -1, -1, sizeof(::viam::app::v1::FragmentHistoryEntry)}, - { 838, -1, -1, sizeof(::viam::app::v1::FragmentRevision)}, - { 846, -1, -1, sizeof(::viam::app::v1::FragmentTag)}, - { 854, -1, -1, sizeof(::viam::app::v1::FragmentError)}, - { 863, 874, -1, sizeof(::viam::app::v1::FragmentUsage)}, - { 879, -1, -1, sizeof(::viam::app::v1::ResolvedFragment)}, - { 888, -1, -1, sizeof(::viam::app::v1::ListFragmentsRequest)}, - { 897, -1, -1, sizeof(::viam::app::v1::ListFragmentsResponse)}, - { 905, 914, -1, sizeof(::viam::app::v1::GetFragmentRequest)}, - { 917, -1, -1, sizeof(::viam::app::v1::GetFragmentResponse)}, - { 927, 937, -1, sizeof(::viam::app::v1::CreateFragmentRequest)}, - { 941, -1, -1, sizeof(::viam::app::v1::CreateFragmentResponse)}, - { 948, 959, -1, sizeof(::viam::app::v1::UpdateFragmentRequest)}, - { 964, -1, -1, sizeof(::viam::app::v1::UpdateFragmentResponse)}, - { 971, -1, -1, sizeof(::viam::app::v1::DeleteFragmentRequest)}, - { 978, -1, -1, sizeof(::viam::app::v1::DeleteFragmentResponse)}, - { 984, 993, -1, sizeof(::viam::app::v1::GetFragmentHistoryRequest)}, - { 996, -1, -1, sizeof(::viam::app::v1::GetFragmentHistoryResponse)}, - { 1004, -1, -1, sizeof(::viam::app::v1::GetFragmentUsageRequest)}, - { 1011, -1, -1, sizeof(::viam::app::v1::GetFragmentUsageResponse)}, - { 1018, -1, -1, sizeof(::viam::app::v1::SetFragmentTagRequest)}, - { 1027, -1, -1, sizeof(::viam::app::v1::SetFragmentTagResponse)}, - { 1034, -1, -1, sizeof(::viam::app::v1::DeleteFragmentTagRequest)}, - { 1042, -1, -1, sizeof(::viam::app::v1::DeleteFragmentTagResponse)}, - { 1049, -1, -1, sizeof(::viam::app::v1::ListRobotsRequest)}, - { 1056, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsRequest)}, - { 1064, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsResponse)}, - { 1072, -1, -1, sizeof(::viam::app::v1::ListRobotsResponse)}, - { 1079, -1, -1, sizeof(::viam::app::v1::NewRobotRequest)}, - { 1087, -1, -1, sizeof(::viam::app::v1::NewRobotResponse)}, - { 1094, -1, -1, sizeof(::viam::app::v1::UpdateRobotRequest)}, - { 1103, -1, -1, sizeof(::viam::app::v1::UpdateRobotResponse)}, - { 1110, -1, -1, sizeof(::viam::app::v1::DeleteRobotRequest)}, - { 1117, -1, -1, sizeof(::viam::app::v1::DeleteRobotResponse)}, - { 1123, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainRequest)}, - { 1130, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainResponse)}, - { 1136, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartRequest)}, - { 1143, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartResponse)}, - { 1149, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretRequest)}, - { 1156, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretResponse)}, - { 1163, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretRequest)}, - { 1171, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretResponse)}, - { 1177, -1, -1, sizeof(::viam::app::v1::Authorization)}, - { 1190, -1, -1, sizeof(::viam::app::v1::AddRoleRequest)}, - { 1197, -1, -1, sizeof(::viam::app::v1::AddRoleResponse)}, - { 1203, -1, -1, sizeof(::viam::app::v1::RemoveRoleRequest)}, - { 1210, -1, -1, sizeof(::viam::app::v1::RemoveRoleResponse)}, - { 1216, -1, -1, sizeof(::viam::app::v1::ChangeRoleRequest)}, - { 1224, -1, -1, sizeof(::viam::app::v1::ChangeRoleResponse)}, - { 1230, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsRequest)}, - { 1238, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsResponse)}, - { 1245, -1, -1, sizeof(::viam::app::v1::CheckPermissionsRequest)}, - { 1252, -1, -1, sizeof(::viam::app::v1::AuthorizedPermissions)}, - { 1261, -1, -1, sizeof(::viam::app::v1::CheckPermissionsResponse)}, - { 1268, 1279, -1, sizeof(::viam::app::v1::ModuleVersion)}, - { 1284, 1294, -1, sizeof(::viam::app::v1::ModuleMetadata)}, - { 1298, -1, -1, sizeof(::viam::app::v1::MLModelMetadata)}, - { 1307, -1, -1, sizeof(::viam::app::v1::MLTrainingVersion)}, - { 1315, -1, -1, sizeof(::viam::app::v1::MLTrainingMetadata)}, - { 1325, -1, -1, sizeof(::viam::app::v1::RegistryItem)}, - { 1349, 1357, -1, sizeof(::viam::app::v1::GetRegistryItemRequest)}, - { 1359, -1, -1, sizeof(::viam::app::v1::GetRegistryItemResponse)}, - { 1366, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemRequest)}, - { 1375, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemResponse)}, - { 1381, 1396, -1, sizeof(::viam::app::v1::UpdateRegistryItemRequest)}, - { 1404, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemResponse)}, - { 1410, 1425, -1, sizeof(::viam::app::v1::ListRegistryItemsRequest)}, - { 1434, -1, -1, sizeof(::viam::app::v1::ListRegistryItemsResponse)}, - { 1441, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemRequest)}, - { 1448, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemResponse)}, - { 1454, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemRequest)}, - { 1462, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemResponse)}, - { 1468, -1, -1, sizeof(::viam::app::v1::CreateModuleRequest)}, - { 1476, -1, -1, sizeof(::viam::app::v1::CreateModuleResponse)}, - { 1484, 1497, -1, sizeof(::viam::app::v1::UpdateModuleRequest)}, - { 1504, -1, -1, sizeof(::viam::app::v1::UpdateModuleResponse)}, - { 1511, -1, -1, sizeof(::viam::app::v1::UpdateModuleMetadata)}, - { 1519, -1, -1, sizeof(::viam::app::v1::UpdateMLModelMetadata)}, - { 1527, -1, -1, sizeof(::viam::app::v1::UpdateMLTrainingMetadata)}, - { 1536, 1546, -1, sizeof(::viam::app::v1::Model)}, - { 1550, -1, -1, sizeof(::viam::app::v1::ModuleFileInfo)}, - { 1560, -1, -1, sizeof(::viam::app::v1::UploadModuleFileRequest)}, - { 1569, -1, -1, sizeof(::viam::app::v1::UploadModuleFileResponse)}, - { 1576, 1584, -1, sizeof(::viam::app::v1::GetModuleRequest)}, - { 1586, -1, -1, sizeof(::viam::app::v1::GetModuleResponse)}, - { 1593, 1612, -1, sizeof(::viam::app::v1::Module)}, - { 1625, 1636, -1, sizeof(::viam::app::v1::VersionHistory)}, - { 1641, -1, -1, sizeof(::viam::app::v1::Uploads)}, - { 1649, 1657, -1, sizeof(::viam::app::v1::ListModulesRequest)}, - { 1659, -1, -1, sizeof(::viam::app::v1::ListModulesResponse)}, - { 1666, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailRequest)}, - { 1673, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailResponse)}, - { 1680, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserRequest)}, - { 1687, 1697, -1, sizeof(::viam::app::v1::OrgDetails)}, - { 1701, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserResponse)}, - { 1708, 1718, -1, sizeof(::viam::app::v1::SearchOrganizationsRequest)}, - { 1722, -1, -1, sizeof(::viam::app::v1::SearchOrganizationsResponse)}, - { 1729, -1, -1, sizeof(::viam::app::v1::CreateKeyRequest)}, - { 1737, -1, -1, sizeof(::viam::app::v1::CreateKeyResponse)}, - { 1745, -1, -1, sizeof(::viam::app::v1::DeleteKeyRequest)}, - { 1752, -1, -1, sizeof(::viam::app::v1::DeleteKeyResponse)}, - { 1758, -1, -1, sizeof(::viam::app::v1::RenameKeyRequest)}, - { 1766, -1, -1, sizeof(::viam::app::v1::RenameKeyResponse)}, - { 1774, -1, -1, sizeof(::viam::app::v1::AuthorizationDetails)}, - { 1785, -1, -1, sizeof(::viam::app::v1::APIKeyWithAuthorizations)}, - { 1793, -1, -1, sizeof(::viam::app::v1::ListKeysRequest)}, - { 1800, -1, -1, sizeof(::viam::app::v1::ListKeysResponse)}, - { 1807, -1, -1, sizeof(::viam::app::v1::RotateKeyRequest)}, - { 1814, -1, -1, sizeof(::viam::app::v1::RotateKeyResponse)}, - { 1822, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest)}, - { 1829, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse)}, - { 1837, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoRequest)}, - { 1845, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoResponse)}, - { 1851, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoRequest)}, - { 1858, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoResponse)}, - { 1865, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceRequest)}, - { 1872, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceResponse)}, - { 1878, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceRequest)}, - { 1885, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceResponse)}, - { 1891, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppRequest)}, - { 1900, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppResponse)}, - { 1908, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppRequest)}, - { 1916, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppResponse)}, - { 1925, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppRequest)}, - { 1935, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppResponse)}, - { 1941, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppRequest)}, - { 1949, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppResponse)}, - { 1955, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsRequest)}, - { 1962, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsResponse)}, - { 1969, -1, -1, sizeof(::viam::app::v1::OAuthConfig)}, + { 185, -1, -1, sizeof(::viam::app::v1::GetOrganizationMetadataRequest)}, + { 192, 200, -1, sizeof(::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse)}, + { 202, -1, -1, sizeof(::viam::app::v1::GetOrganizationMetadataResponse)}, + { 209, 217, -1, sizeof(::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse)}, + { 219, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationMetadataRequest)}, + { 227, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationMetadataResponse)}, + { 233, -1, -1, sizeof(::viam::app::v1::ListOrganizationMembersRequest)}, + { 240, -1, -1, sizeof(::viam::app::v1::ListOrganizationMembersResponse)}, + { 249, 259, -1, sizeof(::viam::app::v1::CreateOrganizationInviteRequest)}, + { 263, -1, -1, sizeof(::viam::app::v1::CreateOrganizationInviteResponse)}, + { 270, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest)}, + { 280, -1, -1, sizeof(::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse)}, + { 287, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationInviteRequest)}, + { 295, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationInviteResponse)}, + { 301, -1, -1, sizeof(::viam::app::v1::ResendOrganizationInviteRequest)}, + { 309, -1, -1, sizeof(::viam::app::v1::ResendOrganizationInviteResponse)}, + { 316, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationMemberRequest)}, + { 324, -1, -1, sizeof(::viam::app::v1::DeleteOrganizationMemberResponse)}, + { 330, 342, -1, sizeof(::viam::app::v1::BillingAddress)}, + { 348, -1, -1, sizeof(::viam::app::v1::EnableBillingServiceRequest)}, + { 356, -1, -1, sizeof(::viam::app::v1::EnableBillingServiceResponse)}, + { 362, -1, -1, sizeof(::viam::app::v1::UpdateBillingServiceRequest)}, + { 370, -1, -1, sizeof(::viam::app::v1::UpdateBillingServiceResponse)}, + { 376, -1, -1, sizeof(::viam::app::v1::GetBillingServiceConfigRequest)}, + { 383, -1, -1, sizeof(::viam::app::v1::GetBillingServiceConfigResponse)}, + { 393, -1, -1, sizeof(::viam::app::v1::DisableBillingServiceRequest)}, + { 400, -1, -1, sizeof(::viam::app::v1::DisableBillingServiceResponse)}, + { 406, -1, -1, sizeof(::viam::app::v1::OrganizationSetSupportEmailRequest)}, + { 414, -1, -1, sizeof(::viam::app::v1::OrganizationSetSupportEmailResponse)}, + { 420, -1, -1, sizeof(::viam::app::v1::OrganizationGetSupportEmailRequest)}, + { 427, -1, -1, sizeof(::viam::app::v1::OrganizationGetSupportEmailResponse)}, + { 434, -1, -1, sizeof(::viam::app::v1::OrganizationIdentity)}, + { 442, -1, -1, sizeof(::viam::app::v1::LocationOrganization)}, + { 450, -1, -1, sizeof(::viam::app::v1::LocationAuth)}, + { 459, -1, -1, sizeof(::viam::app::v1::StorageConfig)}, + { 466, -1, -1, sizeof(::viam::app::v1::Location)}, + { 480, -1, -1, sizeof(::viam::app::v1::SharedSecret)}, + { 490, 499, -1, sizeof(::viam::app::v1::CreateLocationRequest)}, + { 502, -1, -1, sizeof(::viam::app::v1::CreateLocationResponse)}, + { 509, -1, -1, sizeof(::viam::app::v1::GetLocationRequest)}, + { 516, -1, -1, sizeof(::viam::app::v1::GetLocationResponse)}, + { 523, 533, -1, sizeof(::viam::app::v1::UpdateLocationRequest)}, + { 537, -1, -1, sizeof(::viam::app::v1::UpdateLocationResponse)}, + { 544, -1, -1, sizeof(::viam::app::v1::DeleteLocationRequest)}, + { 551, -1, -1, sizeof(::viam::app::v1::DeleteLocationResponse)}, + { 557, -1, -1, sizeof(::viam::app::v1::GetLocationMetadataRequest)}, + { 564, 572, -1, sizeof(::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse)}, + { 574, -1, -1, sizeof(::viam::app::v1::GetLocationMetadataResponse)}, + { 581, 589, -1, sizeof(::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse)}, + { 591, -1, -1, sizeof(::viam::app::v1::UpdateLocationMetadataRequest)}, + { 599, -1, -1, sizeof(::viam::app::v1::UpdateLocationMetadataResponse)}, + { 605, -1, -1, sizeof(::viam::app::v1::GetOrganizationsWithAccessToLocationRequest)}, + { 612, -1, -1, sizeof(::viam::app::v1::GetOrganizationsWithAccessToLocationResponse)}, + { 619, -1, -1, sizeof(::viam::app::v1::ListLocationsRequest)}, + { 626, -1, -1, sizeof(::viam::app::v1::ShareLocationRequest)}, + { 634, -1, -1, sizeof(::viam::app::v1::ShareLocationResponse)}, + { 640, -1, -1, sizeof(::viam::app::v1::UnshareLocationRequest)}, + { 648, -1, -1, sizeof(::viam::app::v1::UnshareLocationResponse)}, + { 654, -1, -1, sizeof(::viam::app::v1::ListLocationsResponse)}, + { 661, -1, -1, sizeof(::viam::app::v1::CreateLocationSecretRequest)}, + { 668, -1, -1, sizeof(::viam::app::v1::CreateLocationSecretResponse)}, + { 675, -1, -1, sizeof(::viam::app::v1::DeleteLocationSecretRequest)}, + { 683, -1, -1, sizeof(::viam::app::v1::DeleteLocationSecretResponse)}, + { 689, -1, -1, sizeof(::viam::app::v1::LocationAuthRequest)}, + { 696, -1, -1, sizeof(::viam::app::v1::LocationAuthResponse)}, + { 703, -1, -1, sizeof(::viam::app::v1::GetRobotRequest)}, + { 710, -1, -1, sizeof(::viam::app::v1::GetRoverRentalRobotsRequest)}, + { 717, -1, -1, sizeof(::viam::app::v1::RoverRentalRobot)}, + { 727, -1, -1, sizeof(::viam::app::v1::GetRoverRentalRobotsResponse)}, + { 734, -1, -1, sizeof(::viam::app::v1::GetRobotResponse)}, + { 741, -1, -1, sizeof(::viam::app::v1::GetRobotPartsRequest)}, + { 748, -1, -1, sizeof(::viam::app::v1::GetRobotPartsResponse)}, + { 755, -1, -1, sizeof(::viam::app::v1::GetRobotPartRequest)}, + { 762, -1, -1, sizeof(::viam::app::v1::GetRobotPartResponse)}, + { 770, 785, -1, sizeof(::viam::app::v1::GetRobotPartLogsRequest)}, + { 794, -1, -1, sizeof(::viam::app::v1::GetRobotPartLogsResponse)}, + { 802, 811, -1, sizeof(::viam::app::v1::TailRobotPartLogsRequest)}, + { 814, -1, -1, sizeof(::viam::app::v1::TailRobotPartLogsResponse)}, + { 821, -1, -1, sizeof(::viam::app::v1::GetRobotPartHistoryRequest)}, + { 828, -1, -1, sizeof(::viam::app::v1::GetRobotPartHistoryResponse)}, + { 835, -1, -1, sizeof(::viam::app::v1::UpdateRobotPartRequest)}, + { 844, -1, -1, sizeof(::viam::app::v1::UpdateRobotPartResponse)}, + { 851, -1, -1, sizeof(::viam::app::v1::NewRobotPartRequest)}, + { 859, -1, -1, sizeof(::viam::app::v1::NewRobotPartResponse)}, + { 866, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartRequest)}, + { 873, -1, -1, sizeof(::viam::app::v1::GetRobotPartMetadataRequest)}, + { 880, 888, -1, sizeof(::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse)}, + { 890, -1, -1, sizeof(::viam::app::v1::GetRobotPartMetadataResponse)}, + { 897, 905, -1, sizeof(::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse)}, + { 907, -1, -1, sizeof(::viam::app::v1::UpdateRobotPartMetadataRequest)}, + { 915, -1, -1, sizeof(::viam::app::v1::UpdateRobotPartMetadataResponse)}, + { 921, -1, -1, sizeof(::viam::app::v1::GetRobotAPIKeysRequest)}, + { 928, -1, -1, sizeof(::viam::app::v1::APIKey)}, + { 938, -1, -1, sizeof(::viam::app::v1::GetRobotAPIKeysResponse)}, + { 945, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartResponse)}, + { 951, -1, -1, sizeof(::viam::app::v1::Fragment)}, + { 970, -1, -1, sizeof(::viam::app::v1::FragmentHistoryEntry)}, + { 982, -1, -1, sizeof(::viam::app::v1::FragmentRevision)}, + { 990, -1, -1, sizeof(::viam::app::v1::FragmentTag)}, + { 998, -1, -1, sizeof(::viam::app::v1::FragmentError)}, + { 1007, 1018, -1, sizeof(::viam::app::v1::FragmentUsage)}, + { 1023, -1, -1, sizeof(::viam::app::v1::ResolvedFragment)}, + { 1033, -1, -1, sizeof(::viam::app::v1::ListFragmentsRequest)}, + { 1042, -1, -1, sizeof(::viam::app::v1::ListFragmentsResponse)}, + { 1050, 1059, -1, sizeof(::viam::app::v1::GetFragmentRequest)}, + { 1062, -1, -1, sizeof(::viam::app::v1::GetFragmentResponse)}, + { 1072, 1082, -1, sizeof(::viam::app::v1::CreateFragmentRequest)}, + { 1086, -1, -1, sizeof(::viam::app::v1::CreateFragmentResponse)}, + { 1093, 1104, -1, sizeof(::viam::app::v1::UpdateFragmentRequest)}, + { 1109, -1, -1, sizeof(::viam::app::v1::UpdateFragmentResponse)}, + { 1116, -1, -1, sizeof(::viam::app::v1::DeleteFragmentRequest)}, + { 1123, -1, -1, sizeof(::viam::app::v1::DeleteFragmentResponse)}, + { 1129, 1138, -1, sizeof(::viam::app::v1::GetFragmentHistoryRequest)}, + { 1141, -1, -1, sizeof(::viam::app::v1::GetFragmentHistoryResponse)}, + { 1149, -1, -1, sizeof(::viam::app::v1::GetFragmentUsageRequest)}, + { 1156, -1, -1, sizeof(::viam::app::v1::GetFragmentUsageResponse)}, + { 1163, -1, -1, sizeof(::viam::app::v1::SetFragmentTagRequest)}, + { 1172, -1, -1, sizeof(::viam::app::v1::SetFragmentTagResponse)}, + { 1179, -1, -1, sizeof(::viam::app::v1::DeleteFragmentTagRequest)}, + { 1187, -1, -1, sizeof(::viam::app::v1::DeleteFragmentTagResponse)}, + { 1194, -1, -1, sizeof(::viam::app::v1::ListRobotsRequest)}, + { 1201, 1209, -1, sizeof(::viam::app::v1::AdditionalFragment)}, + { 1211, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsRequest)}, + { 1220, -1, -1, sizeof(::viam::app::v1::ListMachineFragmentsResponse)}, + { 1228, -1, -1, sizeof(::viam::app::v1::ListRobotsResponse)}, + { 1235, -1, -1, sizeof(::viam::app::v1::NewRobotRequest)}, + { 1243, -1, -1, sizeof(::viam::app::v1::NewRobotResponse)}, + { 1250, -1, -1, sizeof(::viam::app::v1::UpdateRobotRequest)}, + { 1259, -1, -1, sizeof(::viam::app::v1::UpdateRobotResponse)}, + { 1266, -1, -1, sizeof(::viam::app::v1::DeleteRobotRequest)}, + { 1273, -1, -1, sizeof(::viam::app::v1::DeleteRobotResponse)}, + { 1279, -1, -1, sizeof(::viam::app::v1::GetRobotMetadataRequest)}, + { 1286, 1294, -1, sizeof(::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse)}, + { 1296, -1, -1, sizeof(::viam::app::v1::GetRobotMetadataResponse)}, + { 1303, 1311, -1, sizeof(::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse)}, + { 1313, -1, -1, sizeof(::viam::app::v1::UpdateRobotMetadataRequest)}, + { 1321, -1, -1, sizeof(::viam::app::v1::UpdateRobotMetadataResponse)}, + { 1327, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainRequest)}, + { 1334, -1, -1, sizeof(::viam::app::v1::MarkPartAsMainResponse)}, + { 1340, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartRequest)}, + { 1347, -1, -1, sizeof(::viam::app::v1::MarkPartForRestartResponse)}, + { 1353, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretRequest)}, + { 1360, -1, -1, sizeof(::viam::app::v1::CreateRobotPartSecretResponse)}, + { 1367, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretRequest)}, + { 1375, -1, -1, sizeof(::viam::app::v1::DeleteRobotPartSecretResponse)}, + { 1381, -1, -1, sizeof(::viam::app::v1::Authorization)}, + { 1394, -1, -1, sizeof(::viam::app::v1::AddRoleRequest)}, + { 1401, -1, -1, sizeof(::viam::app::v1::AddRoleResponse)}, + { 1407, -1, -1, sizeof(::viam::app::v1::RemoveRoleRequest)}, + { 1414, -1, -1, sizeof(::viam::app::v1::RemoveRoleResponse)}, + { 1420, -1, -1, sizeof(::viam::app::v1::ChangeRoleRequest)}, + { 1428, -1, -1, sizeof(::viam::app::v1::ChangeRoleResponse)}, + { 1434, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsRequest)}, + { 1442, -1, -1, sizeof(::viam::app::v1::ListAuthorizationsResponse)}, + { 1449, -1, -1, sizeof(::viam::app::v1::CheckPermissionsRequest)}, + { 1456, -1, -1, sizeof(::viam::app::v1::AuthorizedPermissions)}, + { 1465, -1, -1, sizeof(::viam::app::v1::CheckPermissionsResponse)}, + { 1472, 1483, -1, sizeof(::viam::app::v1::ModuleVersion)}, + { 1488, 1498, -1, sizeof(::viam::app::v1::ModuleMetadata)}, + { 1502, -1, -1, sizeof(::viam::app::v1::MLModelMetadata)}, + { 1511, -1, -1, sizeof(::viam::app::v1::MLTrainingVersion)}, + { 1519, -1, -1, sizeof(::viam::app::v1::MLTrainingMetadata)}, + { 1529, -1, -1, sizeof(::viam::app::v1::RegistryItem)}, + { 1553, 1561, -1, sizeof(::viam::app::v1::GetRegistryItemRequest)}, + { 1563, -1, -1, sizeof(::viam::app::v1::GetRegistryItemResponse)}, + { 1570, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemRequest)}, + { 1579, -1, -1, sizeof(::viam::app::v1::CreateRegistryItemResponse)}, + { 1585, 1600, -1, sizeof(::viam::app::v1::UpdateRegistryItemRequest)}, + { 1608, -1, -1, sizeof(::viam::app::v1::UpdateRegistryItemResponse)}, + { 1614, 1629, -1, sizeof(::viam::app::v1::ListRegistryItemsRequest)}, + { 1638, -1, -1, sizeof(::viam::app::v1::ListRegistryItemsResponse)}, + { 1645, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemRequest)}, + { 1652, -1, -1, sizeof(::viam::app::v1::DeleteRegistryItemResponse)}, + { 1658, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemRequest)}, + { 1666, -1, -1, sizeof(::viam::app::v1::TransferRegistryItemResponse)}, + { 1672, -1, -1, sizeof(::viam::app::v1::CreateModuleRequest)}, + { 1680, -1, -1, sizeof(::viam::app::v1::CreateModuleResponse)}, + { 1688, 1701, -1, sizeof(::viam::app::v1::UpdateModuleRequest)}, + { 1708, -1, -1, sizeof(::viam::app::v1::UpdateModuleResponse)}, + { 1715, -1, -1, sizeof(::viam::app::v1::UpdateModuleMetadata)}, + { 1723, -1, -1, sizeof(::viam::app::v1::UpdateMLModelMetadata)}, + { 1731, -1, -1, sizeof(::viam::app::v1::UpdateMLTrainingMetadata)}, + { 1740, 1750, -1, sizeof(::viam::app::v1::Model)}, + { 1754, -1, -1, sizeof(::viam::app::v1::ModuleFileInfo)}, + { 1764, -1, -1, sizeof(::viam::app::v1::UploadModuleFileRequest)}, + { 1773, -1, -1, sizeof(::viam::app::v1::UploadModuleFileResponse)}, + { 1780, 1788, -1, sizeof(::viam::app::v1::GetModuleRequest)}, + { 1790, -1, -1, sizeof(::viam::app::v1::GetModuleResponse)}, + { 1797, 1816, -1, sizeof(::viam::app::v1::Module)}, + { 1829, 1840, -1, sizeof(::viam::app::v1::VersionHistory)}, + { 1845, -1, -1, sizeof(::viam::app::v1::Uploads)}, + { 1853, 1861, -1, sizeof(::viam::app::v1::ListModulesRequest)}, + { 1863, -1, -1, sizeof(::viam::app::v1::ListModulesResponse)}, + { 1870, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailRequest)}, + { 1877, -1, -1, sizeof(::viam::app::v1::GetUserIDByEmailResponse)}, + { 1884, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserRequest)}, + { 1891, 1901, -1, sizeof(::viam::app::v1::OrgDetails)}, + { 1905, -1, -1, sizeof(::viam::app::v1::ListOrganizationsByUserResponse)}, + { 1912, 1922, -1, sizeof(::viam::app::v1::SearchOrganizationsRequest)}, + { 1926, -1, -1, sizeof(::viam::app::v1::SearchOrganizationsResponse)}, + { 1933, -1, -1, sizeof(::viam::app::v1::CreateKeyRequest)}, + { 1941, -1, -1, sizeof(::viam::app::v1::CreateKeyResponse)}, + { 1949, -1, -1, sizeof(::viam::app::v1::DeleteKeyRequest)}, + { 1956, -1, -1, sizeof(::viam::app::v1::DeleteKeyResponse)}, + { 1962, -1, -1, sizeof(::viam::app::v1::RenameKeyRequest)}, + { 1970, -1, -1, sizeof(::viam::app::v1::RenameKeyResponse)}, + { 1978, -1, -1, sizeof(::viam::app::v1::AuthorizationDetails)}, + { 1989, -1, -1, sizeof(::viam::app::v1::APIKeyWithAuthorizations)}, + { 1997, -1, -1, sizeof(::viam::app::v1::ListKeysRequest)}, + { 2004, -1, -1, sizeof(::viam::app::v1::ListKeysResponse)}, + { 2011, -1, -1, sizeof(::viam::app::v1::RotateKeyRequest)}, + { 2018, -1, -1, sizeof(::viam::app::v1::RotateKeyResponse)}, + { 2026, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsRequest)}, + { 2033, -1, -1, sizeof(::viam::app::v1::CreateKeyFromExistingKeyAuthorizationsResponse)}, + { 2041, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoRequest)}, + { 2049, -1, -1, sizeof(::viam::app::v1::OrganizationSetLogoResponse)}, + { 2055, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoRequest)}, + { 2062, -1, -1, sizeof(::viam::app::v1::OrganizationGetLogoResponse)}, + { 2069, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceRequest)}, + { 2076, -1, -1, sizeof(::viam::app::v1::EnableAuthServiceResponse)}, + { 2082, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceRequest)}, + { 2089, -1, -1, sizeof(::viam::app::v1::DisableAuthServiceResponse)}, + { 2095, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppRequest)}, + { 2104, -1, -1, sizeof(::viam::app::v1::CreateOAuthAppResponse)}, + { 2112, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppRequest)}, + { 2120, -1, -1, sizeof(::viam::app::v1::ReadOAuthAppResponse)}, + { 2129, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppRequest)}, + { 2139, -1, -1, sizeof(::viam::app::v1::UpdateOAuthAppResponse)}, + { 2145, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppRequest)}, + { 2153, -1, -1, sizeof(::viam::app::v1::DeleteOAuthAppResponse)}, + { 2159, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsRequest)}, + { 2166, -1, -1, sizeof(::viam::app::v1::ListOAuthAppsResponse)}, + { 2173, -1, -1, sizeof(::viam::app::v1::OAuthConfig)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -5269,6 +5793,12 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_UpdateOrganizationResponse_default_instance_._instance, &::viam::app::v1::_DeleteOrganizationRequest_default_instance_._instance, &::viam::app::v1::_DeleteOrganizationResponse_default_instance_._instance, + &::viam::app::v1::_GetOrganizationMetadataRequest_default_instance_._instance, + &::viam::app::v1::_GetOrganizationMetadataResponse_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_GetOrganizationMetadataResponse_default_instance_._instance, + &::viam::app::v1::_UpdateOrganizationMetadataRequest_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_UpdateOrganizationMetadataRequest_default_instance_._instance, + &::viam::app::v1::_UpdateOrganizationMetadataResponse_default_instance_._instance, &::viam::app::v1::_ListOrganizationMembersRequest_default_instance_._instance, &::viam::app::v1::_ListOrganizationMembersResponse_default_instance_._instance, &::viam::app::v1::_CreateOrganizationInviteRequest_default_instance_._instance, @@ -5308,6 +5838,12 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_UpdateLocationResponse_default_instance_._instance, &::viam::app::v1::_DeleteLocationRequest_default_instance_._instance, &::viam::app::v1::_DeleteLocationResponse_default_instance_._instance, + &::viam::app::v1::_GetLocationMetadataRequest_default_instance_._instance, + &::viam::app::v1::_GetLocationMetadataResponse_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_GetLocationMetadataResponse_default_instance_._instance, + &::viam::app::v1::_UpdateLocationMetadataRequest_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_UpdateLocationMetadataRequest_default_instance_._instance, + &::viam::app::v1::_UpdateLocationMetadataResponse_default_instance_._instance, &::viam::app::v1::_GetOrganizationsWithAccessToLocationRequest_default_instance_._instance, &::viam::app::v1::_GetOrganizationsWithAccessToLocationResponse_default_instance_._instance, &::viam::app::v1::_ListLocationsRequest_default_instance_._instance, @@ -5342,6 +5878,12 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_NewRobotPartRequest_default_instance_._instance, &::viam::app::v1::_NewRobotPartResponse_default_instance_._instance, &::viam::app::v1::_DeleteRobotPartRequest_default_instance_._instance, + &::viam::app::v1::_GetRobotPartMetadataRequest_default_instance_._instance, + &::viam::app::v1::_GetRobotPartMetadataResponse_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_GetRobotPartMetadataResponse_default_instance_._instance, + &::viam::app::v1::_UpdateRobotPartMetadataRequest_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_UpdateRobotPartMetadataRequest_default_instance_._instance, + &::viam::app::v1::_UpdateRobotPartMetadataResponse_default_instance_._instance, &::viam::app::v1::_GetRobotAPIKeysRequest_default_instance_._instance, &::viam::app::v1::_APIKey_default_instance_._instance, &::viam::app::v1::_GetRobotAPIKeysResponse_default_instance_._instance, @@ -5372,6 +5914,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_DeleteFragmentTagRequest_default_instance_._instance, &::viam::app::v1::_DeleteFragmentTagResponse_default_instance_._instance, &::viam::app::v1::_ListRobotsRequest_default_instance_._instance, + &::viam::app::v1::_AdditionalFragment_default_instance_._instance, &::viam::app::v1::_ListMachineFragmentsRequest_default_instance_._instance, &::viam::app::v1::_ListMachineFragmentsResponse_default_instance_._instance, &::viam::app::v1::_ListRobotsResponse_default_instance_._instance, @@ -5381,6 +5924,12 @@ static const ::_pb::Message* const file_default_instances[] = { &::viam::app::v1::_UpdateRobotResponse_default_instance_._instance, &::viam::app::v1::_DeleteRobotRequest_default_instance_._instance, &::viam::app::v1::_DeleteRobotResponse_default_instance_._instance, + &::viam::app::v1::_GetRobotMetadataRequest_default_instance_._instance, + &::viam::app::v1::_GetRobotMetadataResponse_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_GetRobotMetadataResponse_default_instance_._instance, + &::viam::app::v1::_UpdateRobotMetadataRequest_DataEntry_DoNotUse_default_instance_._instance, + &::viam::app::v1::_UpdateRobotMetadataRequest_default_instance_._instance, + &::viam::app::v1::_UpdateRobotMetadataResponse_default_instance_._instance, &::viam::app::v1::_MarkPartAsMainRequest_default_instance_._instance, &::viam::app::v1::_MarkPartAsMainResponse_default_instance_._instance, &::viam::app::v1::_MarkPartForRestartRequest_default_instance_._instance, @@ -5483,980 +6032,1058 @@ const char descriptor_table_protodef_app_2fv1_2fapp_2eproto[] PROTOBUF_SECTION_V "\n\020app/v1/app.proto\022\013viam.app.v1\032#app/mlt" "raining/v1/ml_training.proto\032\036app/packag" "es/v1/packages.proto\032\026common/v1/common.p" - "roto\032\034google/protobuf/struct.proto\032\037goog" - "le/protobuf/timestamp.proto\032\026tagger/v1/t" - "agger.proto\"\354\002\n\005Robot\0223\n\002id\030\001 \001(\tB#\232\204\236\003\036" + "roto\032\031google/protobuf/any.proto\032\034google/" + "protobuf/struct.proto\032\037google/protobuf/t" + "imestamp.proto\032\026tagger/v1/tagger.proto\"\354" + "\002\n\005Robot\0223\n\002id\030\001 \001(\tB#\232\204\236\003\036bson:\"_id\" js" + "on:\"id,omitempty\"R\002id\0220\n\004name\030\002 \001(\tB\034\232\204\236" + "\003\027bson:\"name\" json:\"name\"R\004name\022@\n\010locat" + "ion\030\003 \001(\tB$\232\204\236\003\037bson:\"location\" json:\"lo" + "cation\"R\010location\022g\n\013last_access\030\004 \001(\0132\032" + ".google.protobuf.TimestampB*\232\204\236\003%bson:\"l" + "ast_access\" json:\"last_access\"R\nlastAcce" + "ss\022Q\n\ncreated_on\030\005 \001(\0132\032.google.protobuf" + ".TimestampB\026\232\204\236\003\021bson:\"created_on\"R\tcrea" + "tedOn\"\257\010\n\tRobotPart\0223\n\002id\030\001 \001(\tB#\232\204\236\003\036bs" + "on:\"_id\" json:\"id,omitempty\"R\002id\0220\n\004name" + "\030\002 \001(\tB\034\232\204\236\003\027bson:\"name\" json:\"name\"R\004na" + "me\022\?\n\010dns_name\030\n \001(\tB$\232\204\236\003\037bson:\"dns_nam" + "e\" json:\"dns_name\"R\007dnsName\022B\n\006secret\030\003 " + "\001(\tB*\232\204\236\003%bson:\"secret\" json:\"secret,omi" + "tempty\"R\006secret\0224\n\005robot\030\004 \001(\tB\036\232\204\236\003\031bso" + "n:\"robot\" json:\"robot\"R\005robot\022A\n\013locatio" + "n_id\030\014 \001(\tB \232\204\236\003\033bson:\"location_id\" json" + ":\"-\"R\nlocationId\022b\n\014robot_config\030\005 \001(\0132\027" + ".google.protobuf.StructB&\232\204\236\003!bson:\"conf" + "ig\" json:\"robot_config\"R\013robotConfig\022g\n\013" + "last_access\030\006 \001(\0132\032.google.protobuf.Time" + "stampB*\232\204\236\003%bson:\"last_access\" json:\"las" + "t_access\"R\nlastAccess\022\177\n\022user_supplied_i" + "nfo\030\007 \001(\0132\027.google.protobuf.StructB8\232\204\236\003" + "3bson:\"user_supplied_info\" json:\"user_su" + "pplied_info\"R\020userSuppliedInfo\022C\n\tmain_p" + "art\030\010 \001(\010B&\232\204\236\003!bson:\"main_part\" json:\"m" + "ain_part\"R\010mainPart\022\022\n\004fqdn\030\t \001(\tR\004fqdn\022" + "\035\n\nlocal_fqdn\030\013 \001(\tR\tlocalFqdn\022Q\n\ncreate" + "d_on\030\r \001(\0132\032.google.protobuf.TimestampB\026" + "\232\204\236\003\021bson:\"created_on\"R\tcreatedOn\022H\n\007sec" + "rets\030\016 \003(\0132\031.viam.app.v1.SharedSecretB\023\232" + "\204\236\003\016bson:\"secrets\"R\007secrets\022Z\n\014last_upda" + "ted\030\017 \001(\0132\032.google.protobuf.TimestampB\033\232" + "\204\236\003\026bson:\"last_updated_at\"R\013lastUpdated\"" + "\370\002\n\025RobotPartHistoryEntry\0220\n\004part\030\001 \001(\tB" + "\034\232\204\236\003\027bson:\"part\" json:\"part\"R\004part\0224\n\005r" + "obot\030\002 \001(\tB\036\232\204\236\003\031bson:\"robot\" json:\"robo" + "t\"R\005robot\022L\n\004when\030\003 \001(\0132\032.google.protobu" + "f.TimestampB\034\232\204\236\003\027bson:\"when\" json:\"when" + "\"R\004when\022D\n\003old\030\004 \001(\0132\026.viam.app.v1.Robot" + "PartB\032\232\204\236\003\025bson:\"old\" json:\"old\"R\003old\022c\n" + "\tedited_by\030\005 \001(\0132\036.viam.app.v1.Authentic" + "atorInfoB&\232\204\236\003!bson:\"edited_by\" json:\"ed" + "ited_by\"R\010editedBy\"\205\001\n\021AuthenticatorInfo" + "\0223\n\004type\030\001 \001(\0162\037.viam.app.v1.Authenticat" + "ionTypeR\004type\022\024\n\005value\030\002 \001(\tR\005value\022%\n\016i" + "s_deactivated\030\003 \001(\010R\risDeactivated\"\032\n\030Li" + "stOrganizationsRequest\"\336\001\n\014Organization\022" + "\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\0229\n\nc" + "reated_on\030\003 \001(\0132\032.google.protobuf.Timest" + "ampR\tcreatedOn\022)\n\020public_namespace\030\004 \001(\t" + "R\017publicNamespace\022%\n\016default_region\030\005 \001(" + "\tR\rdefaultRegion\022\025\n\003cid\030\006 \001(\tH\000R\003cid\210\001\001B" + "\006\n\004_cid\"\317\001\n\022OrganizationMember\022\027\n\007user_i" + "d\030\001 \001(\tR\006userId\022\026\n\006emails\030\002 \003(\tR\006emails\022" + "9\n\ndate_added\030\003 \001(\0132\032.google.protobuf.Ti" + "mestampR\tdateAdded\022>\n\nlast_login\030\004 \001(\0132\032" + ".google.protobuf.TimestampH\000R\tlastLogin\210" + "\001\001B\r\n\013_last_login\"\\\n\031ListOrganizationsRe" + "sponse\022\?\n\rorganizations\030\001 \003(\0132\031.viam.app" + ".v1.OrganizationR\rorganizations\"\322\001\n\022Orga" + "nizationInvite\022\'\n\017organization_id\030\001 \001(\tR" + "\016organizationId\022\024\n\005email\030\002 \001(\tR\005email\0229\n" + "\ncreated_on\030\003 \001(\0132\032.google.protobuf.Time" + "stampR\tcreatedOn\022B\n\016authorizations\030\004 \003(\013" + "2\032.viam.app.v1.AuthorizationR\016authorizat" + "ions\"/\n\031CreateOrganizationRequest\022\022\n\004nam" + "e\030\001 \001(\tR\004name\"[\n\032CreateOrganizationRespo" + "nse\022=\n\014organization\030\001 \001(\0132\031.viam.app.v1." + "OrganizationR\014organization\"A\n\026GetOrganiz" + "ationRequest\022\'\n\017organization_id\030\001 \001(\tR\016o" + "rganizationId\"X\n\027GetOrganizationResponse" + "\022=\n\014organization\030\001 \001(\0132\031.viam.app.v1.Org" + "anizationR\014organization\"X\n+GetOrganizati" + "onNamespaceAvailabilityRequest\022)\n\020public" + "_namespace\030\001 \001(\tR\017publicNamespace\"L\n,Get" + "OrganizationNamespaceAvailabilityRespons" + "e\022\034\n\tavailable\030\001 \001(\010R\tavailable\"\362\001\n\031Upda" + "teOrganizationRequest\022\'\n\017organization_id" + "\030\001 \001(\tR\016organizationId\022\027\n\004name\030\002 \001(\tH\000R\004" + "name\210\001\001\022.\n\020public_namespace\030\003 \001(\tH\001R\017pub" + "licNamespace\210\001\001\022\033\n\006region\030\004 \001(\tH\002R\006regio" + "n\210\001\001\022\025\n\003cid\030\005 \001(\tH\003R\003cid\210\001\001B\007\n\005_nameB\023\n\021" + "_public_namespaceB\t\n\007_regionB\006\n\004_cid\"[\n\032" + "UpdateOrganizationResponse\022=\n\014organizati" + "on\030\001 \001(\0132\031.viam.app.v1.OrganizationR\014org" + "anization\"D\n\031DeleteOrganizationRequest\022\'" + "\n\017organization_id\030\001 \001(\tR\016organizationId\"" + "\034\n\032DeleteOrganizationResponse\"I\n\036GetOrga" + "nizationMetadataRequest\022\'\n\017organization_" + "id\030\001 \001(\tR\016organizationId\"\274\001\n\037GetOrganiza" + "tionMetadataResponse\022J\n\004data\030\001 \003(\01326.via" + "m.app.v1.GetOrganizationMetadataResponse" + ".DataEntryR\004data\032M\n\tDataEntry\022\020\n\003key\030\001 \001" + "(\tR\003key\022*\n\005value\030\002 \001(\0132\024.google.protobuf" + ".AnyR\005value:\0028\001\"\351\001\n!UpdateOrganizationMe" + "tadataRequest\022\'\n\017organization_id\030\001 \001(\tR\016" + "organizationId\022L\n\004data\030\002 \003(\01328.viam.app." + "v1.UpdateOrganizationMetadataRequest.Dat" + "aEntryR\004data\032M\n\tDataEntry\022\020\n\003key\030\001 \001(\tR\003" + "key\022*\n\005value\030\002 \001(\0132\024.google.protobuf.Any" + "R\005value:\0028\001\"$\n\"UpdateOrganizationMetadat" + "aResponse\"I\n\036ListOrganizationMembersRequ" + "est\022\'\n\017organization_id\030\001 \001(\tR\016organizati" + "onId\"\300\001\n\037ListOrganizationMembersResponse" + "\022\'\n\017organization_id\030\001 \001(\tR\016organizationI" + "d\0229\n\007members\030\002 \003(\0132\037.viam.app.v1.Organiz" + "ationMemberR\007members\0229\n\007invites\030\003 \003(\0132\037." + "viam.app.v1.OrganizationInviteR\007invites\"" + "\353\001\n\037CreateOrganizationInviteRequest\022\'\n\017o" + "rganization_id\030\001 \001(\tR\016organizationId\022\024\n\005" + "email\030\002 \001(\tR\005email\022B\n\016authorizations\030\003 \003" + "(\0132\032.viam.app.v1.AuthorizationR\016authoriz" + "ations\022/\n\021send_email_invite\030\004 \001(\010H\000R\017sen" + "dEmailInvite\210\001\001B\024\n\022_send_email_invite\"[\n" + " CreateOrganizationInviteResponse\0227\n\006inv" + "ite\030\001 \001(\0132\037.viam.app.v1.OrganizationInvi" + "teR\006invite\"\212\002\n-UpdateOrganizationInviteA" + "uthorizationsRequest\022\'\n\017organization_id\030" + "\001 \001(\tR\016organizationId\022\024\n\005email\030\002 \001(\tR\005em" + "ail\022I\n\022add_authorizations\030\003 \003(\0132\032.viam.a" + "pp.v1.AuthorizationR\021addAuthorizations\022O" + "\n\025remove_authorizations\030\004 \003(\0132\032.viam.app" + ".v1.AuthorizationR\024removeAuthorizations\"" + "i\n.UpdateOrganizationInviteAuthorization" + "sResponse\0227\n\006invite\030\001 \001(\0132\037.viam.app.v1." + "OrganizationInviteR\006invite\"`\n\037DeleteOrga" + "nizationInviteRequest\022\'\n\017organization_id" + "\030\001 \001(\tR\016organizationId\022\024\n\005email\030\002 \001(\tR\005e" + "mail\"\"\n DeleteOrganizationInviteResponse" + "\"`\n\037ResendOrganizationInviteRequest\022\'\n\017o" + "rganization_id\030\001 \001(\tR\016organizationId\022\024\n\005" + "email\030\002 \001(\tR\005email\"[\n ResendOrganization" + "InviteResponse\0227\n\006invite\030\001 \001(\0132\037.viam.ap" + "p.v1.OrganizationInviteR\006invite\"c\n\037Delet" + "eOrganizationMemberRequest\022\'\n\017organizati" + "on_id\030\001 \001(\tR\016organizationId\022\027\n\007user_id\030\002" + " \001(\tR\006userId\"\"\n DeleteOrganizationMember" + "Response\"\322\001\n\016BillingAddress\022$\n\016address_l" + "ine_1\030\001 \001(\tR\014addressLine1\022)\n\016address_lin" + "e_2\030\002 \001(\tH\000R\014addressLine2\210\001\001\022\022\n\004city\030\003 \001" + "(\tR\004city\022\024\n\005state\030\004 \001(\tR\005state\022\030\n\007zipcod" + "e\030\005 \001(\tR\007zipcode\022\030\n\007country\030\006 \001(\tR\007count" + "ryB\021\n\017_address_line_2\"z\n\033EnableBillingSe" + "rviceRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022D\n\017b" + "illing_address\030\002 \001(\0132\033.viam.app.v1.Billi" + "ngAddressR\016billingAddress\"\036\n\034EnableBilli" + "ngServiceResponse\"z\n\033UpdateBillingServic" + "eRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022D\n\017billi" + "ng_address\030\002 \001(\0132\033.viam.app.v1.BillingAd" + "dressR\016billingAddress\"\036\n\034UpdateBillingSe" + "rviceResponse\"7\n\036GetBillingServiceConfig" + "Request\022\025\n\006org_id\030\001 \001(\tR\005orgId\"\333\001\n\037GetBi" + "llingServiceConfigResponse\022D\n\017billing_ad" + "dress\030\001 \001(\0132\033.viam.app.v1.BillingAddress" + "R\016billingAddress\022#\n\rsupport_email\030\002 \001(\tR" + "\014supportEmail\022\031\n\010logo_url\030\003 \001(\tR\007logoUrl" + "\0222\n\025billing_dashboard_url\030\004 \001(\tR\023billing" + "DashboardUrl\"5\n\034DisableBillingServiceReq" + "uest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"\037\n\035DisableBi" + "llingServiceResponse\"Q\n\"OrganizationSetS" + "upportEmailRequest\022\025\n\006org_id\030\001 \001(\tR\005orgI" + "d\022\024\n\005email\030\002 \001(\tR\005email\"%\n#OrganizationS" + "etSupportEmailResponse\";\n\"OrganizationGe" + "tSupportEmailRequest\022\025\n\006org_id\030\001 \001(\tR\005or" + "gId\";\n#OrganizationGetSupportEmailRespon" + "se\022\024\n\005email\030\001 \001(\tR\005email\":\n\024Organization" + "Identity\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004" + "name\"Y\n\024LocationOrganization\022\'\n\017organiza" + "tion_id\030\001 \001(\tR\016organizationId\022\030\n\007primary" + "\030\002 \001(\010R\007primary\"\200\001\n\014LocationAuth\022\032\n\006secr" + "et\030\001 \001(\tB\002\030\001R\006secret\022\037\n\013location_id\030\002 \001(" + "\tR\nlocationId\0223\n\007secrets\030\003 \003(\0132\031.viam.ap" + "p.v1.SharedSecretR\007secrets\"\'\n\rStorageCon" + "fig\022\026\n\006region\030\001 \001(\tR\006region\"\344\002\n\010Location" + "\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\022,\n\022" + "parent_location_id\030\004 \001(\tR\020parentLocation" + "Id\022-\n\004auth\030\005 \001(\0132\031.viam.app.v1.LocationA" + "uthR\004auth\022G\n\rorganizations\030\006 \003(\0132!.viam." + "app.v1.LocationOrganizationR\rorganizatio" + "ns\0229\n\ncreated_on\030\003 \001(\0132\032.google.protobuf" + ".TimestampR\tcreatedOn\022\037\n\013robot_count\030\007 \001" + "(\005R\nrobotCount\0222\n\006config\030\010 \001(\0132\032.viam.ap" + "p.v1.StorageConfigR\006config\"\320\002\n\014SharedSec" + "ret\022\036\n\002id\030\001 \001(\tB\016\232\204\236\003\tbson:\"id\"R\002id\022*\n\006s" + "ecret\030\002 \001(\tB\022\232\204\236\003\rbson:\"secret\"R\006secret\022" + "c\n\ncreated_on\030\003 \001(\0132\032.google.protobuf.Ti" + "mestampB(\232\204\236\003#bson:\"created_on\" json:\"cr" + "eated_on\"R\tcreatedOn\022H\n\005state\030\004 \001(\0162\037.vi" + "am.app.v1.SharedSecret.StateB\021\232\204\236\003\014bson:" + "\"state\"R\005state\"E\n\005State\022\025\n\021STATE_UNSPECI" + "FIED\020\000\022\021\n\rSTATE_ENABLED\020\001\022\022\n\016STATE_DISAB" + "LED\020\002\"\236\001\n\025CreateLocationRequest\022\'\n\017organ" + "ization_id\030\001 \001(\tR\016organizationId\022\022\n\004name" + "\030\002 \001(\tR\004name\0221\n\022parent_location_id\030\003 \001(\t" + "H\000R\020parentLocationId\210\001\001B\025\n\023_parent_locat" + "ion_id\"K\n\026CreateLocationResponse\0221\n\010loca" + "tion\030\001 \001(\0132\025.viam.app.v1.LocationR\010locat" + "ion\"5\n\022GetLocationRequest\022\037\n\013location_id" + "\030\001 \001(\tR\nlocationId\"H\n\023GetLocationRespons" + "e\0221\n\010location\030\001 \001(\0132\025.viam.app.v1.Locati" + "onR\010location\"\314\001\n\025UpdateLocationRequest\022\037" + "\n\013location_id\030\001 \001(\tR\nlocationId\022\027\n\004name\030" + "\002 \001(\tH\000R\004name\210\001\001\0221\n\022parent_location_id\030\003" + " \001(\tH\001R\020parentLocationId\210\001\001\022\033\n\006region\030\004 " + "\001(\tH\002R\006region\210\001\001B\007\n\005_nameB\025\n\023_parent_loc" + "ation_idB\t\n\007_region\"K\n\026UpdateLocationRes" + "ponse\0221\n\010location\030\001 \001(\0132\025.viam.app.v1.Lo" + "cationR\010location\"8\n\025DeleteLocationReques" + "t\022\037\n\013location_id\030\001 \001(\tR\nlocationId\"\030\n\026De" + "leteLocationResponse\"=\n\032GetLocationMetad" + "ataRequest\022\037\n\013location_id\030\001 \001(\tR\nlocatio" + "nId\"\264\001\n\033GetLocationMetadataResponse\022F\n\004d" + "ata\030\001 \003(\01322.viam.app.v1.GetLocationMetad" + "ataResponse.DataEntryR\004data\032M\n\tDataEntry" + "\022\020\n\003key\030\001 \001(\tR\003key\022*\n\005value\030\002 \001(\0132\024.goog" + "le.protobuf.AnyR\005value:\0028\001\"\331\001\n\035UpdateLoc" + "ationMetadataRequest\022\037\n\013location_id\030\001 \001(" + "\tR\nlocationId\022H\n\004data\030\002 \003(\01324.viam.app.v" + "1.UpdateLocationMetadataRequest.DataEntr" + "yR\004data\032M\n\tDataEntry\022\020\n\003key\030\001 \001(\tR\003key\022*" + "\n\005value\030\002 \001(\0132\024.google.protobuf.AnyR\005val" + "ue:\0028\001\" \n\036UpdateLocationMetadataResponse" + "\"N\n+GetOrganizationsWithAccessToLocation" + "Request\022\037\n\013location_id\030\001 \001(\tR\nlocationId" + "\"\212\001\n,GetOrganizationsWithAccessToLocatio" + "nResponse\022Z\n\027organization_identities\030\001 \003" + "(\0132!.viam.app.v1.OrganizationIdentityR\026o" + "rganizationIdentities\"\?\n\024ListLocationsRe" + "quest\022\'\n\017organization_id\030\001 \001(\tR\016organiza" + "tionId\"`\n\024ShareLocationRequest\022\037\n\013locati" + "on_id\030\001 \001(\tR\nlocationId\022\'\n\017organization_" + "id\030\002 \001(\tR\016organizationId\"\027\n\025ShareLocatio" + "nResponse\"b\n\026UnshareLocationRequest\022\037\n\013l" + "ocation_id\030\001 \001(\tR\nlocationId\022\'\n\017organiza" + "tion_id\030\002 \001(\tR\016organizationId\"\031\n\027Unshare" + "LocationResponse\"L\n\025ListLocationsRespons" + "e\0223\n\tlocations\030\001 \003(\0132\025.viam.app.v1.Locat" + "ionR\tlocations\">\n\033CreateLocationSecretRe" + "quest\022\037\n\013location_id\030\001 \001(\tR\nlocationId\"M" + "\n\034CreateLocationSecretResponse\022-\n\004auth\030\001" + " \001(\0132\031.viam.app.v1.LocationAuthR\004auth\"[\n" + "\033DeleteLocationSecretRequest\022\037\n\013location" + "_id\030\001 \001(\tR\nlocationId\022\033\n\tsecret_id\030\002 \001(\t" + "R\010secretId\"\036\n\034DeleteLocationSecretRespon" + "se\"6\n\023LocationAuthRequest\022\037\n\013location_id" + "\030\001 \001(\tR\nlocationId\"E\n\024LocationAuthRespon" + "se\022-\n\004auth\030\001 \001(\0132\031.viam.app.v1.LocationA" + "uthR\004auth\"!\n\017GetRobotRequest\022\016\n\002id\030\001 \001(\t" + "R\002id\"4\n\033GetRoverRentalRobotsRequest\022\025\n\006o" + "rg_id\030\001 \001(\tR\005orgId\"\232\001\n\020RoverRentalRobot\022" + "\031\n\010robot_id\030\001 \001(\tR\007robotId\022\037\n\013location_i" + "d\030\002 \001(\tR\nlocationId\022\035\n\nrobot_name\030\003 \001(\tR" + "\trobotName\022+\n\022robot_main_part_id\030\004 \001(\tR\017" + "robotMainPartId\"U\n\034GetRoverRentalRobotsR" + "esponse\0225\n\006robots\030\001 \003(\0132\035.viam.app.v1.Ro" + "verRentalRobotR\006robots\"<\n\020GetRobotRespon" + "se\022(\n\005robot\030\001 \001(\0132\022.viam.app.v1.RobotR\005r" + "obot\"1\n\024GetRobotPartsRequest\022\031\n\010robot_id" + "\030\001 \001(\tR\007robotId\"E\n\025GetRobotPartsResponse" + "\022,\n\005parts\030\001 \003(\0132\026.viam.app.v1.RobotPartR" + "\005parts\"%\n\023GetRobotPartRequest\022\016\n\002id\030\001 \001(" + "\tR\002id\"c\n\024GetRobotPartResponse\022*\n\004part\030\001 " + "\001(\0132\026.viam.app.v1.RobotPartR\004part\022\037\n\013con" + "fig_json\030\002 \001(\tR\nconfigJson\"\212\003\n\027GetRobotP" + "artLogsRequest\022\016\n\002id\030\001 \001(\tR\002id\022#\n\013errors" + "_only\030\002 \001(\010B\002\030\001R\nerrorsOnly\022\033\n\006filter\030\003 " + "\001(\tH\000R\006filter\210\001\001\022\"\n\npage_token\030\004 \001(\tH\001R\t" + "pageToken\210\001\001\022\026\n\006levels\030\005 \003(\tR\006levels\0225\n\005" + "start\030\006 \001(\0132\032.google.protobuf.TimestampH" + "\002R\005start\210\001\001\0221\n\003end\030\007 \001(\0132\032.google.protob" + "uf.TimestampH\003R\003end\210\001\001\022\031\n\005limit\030\010 \001(\003H\004R" + "\005limit\210\001\001\022\033\n\006source\030\t \001(\tH\005R\006source\210\001\001B\t" + "\n\007_filterB\r\n\013_page_tokenB\010\n\006_startB\006\n\004_e" + "ndB\010\n\006_limitB\t\n\007_source\"p\n\030GetRobotPartL" + "ogsResponse\022,\n\004logs\030\001 \003(\0132\030.viam.common." + "v1.LogEntryR\004logs\022&\n\017next_page_token\030\002 \001" + "(\tR\rnextPageToken\"s\n\030TailRobotPartLogsRe" + "quest\022\016\n\002id\030\001 \001(\tR\002id\022\037\n\013errors_only\030\002 \001" + "(\010R\nerrorsOnly\022\033\n\006filter\030\003 \001(\tH\000R\006filter" + "\210\001\001B\t\n\007_filter\"I\n\031TailRobotPartLogsRespo" + "nse\022,\n\004logs\030\001 \003(\0132\030.viam.common.v1.LogEn" + "tryR\004logs\",\n\032GetRobotPartHistoryRequest\022" + "\016\n\002id\030\001 \001(\tR\002id\"[\n\033GetRobotPartHistoryRe" + "sponse\022<\n\007history\030\001 \003(\0132\".viam.app.v1.Ro" + "botPartHistoryEntryR\007history\"x\n\026UpdateRo" + "botPartRequest\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002" + " \001(\tR\004name\022:\n\014robot_config\030\003 \001(\0132\027.googl" + "e.protobuf.StructR\013robotConfig\"E\n\027Update" + "RobotPartResponse\022*\n\004part\030\001 \001(\0132\026.viam.a" + "pp.v1.RobotPartR\004part\"M\n\023NewRobotPartReq" + "uest\022\031\n\010robot_id\030\001 \001(\tR\007robotId\022\033\n\tpart_" + "name\030\002 \001(\tR\010partName\"/\n\024NewRobotPartResp" + "onse\022\027\n\007part_id\030\001 \001(\tR\006partId\"1\n\026DeleteR" + "obotPartRequest\022\027\n\007part_id\030\001 \001(\tR\006partId" + "\"-\n\033GetRobotPartMetadataRequest\022\016\n\002id\030\001 " + "\001(\tR\002id\"\266\001\n\034GetRobotPartMetadataResponse" + "\022G\n\004data\030\001 \003(\01323.viam.app.v1.GetRobotPar" + "tMetadataResponse.DataEntryR\004data\032M\n\tDat" + "aEntry\022\020\n\003key\030\001 \001(\tR\003key\022*\n\005value\030\002 \001(\0132" + "\024.google.protobuf.AnyR\005value:\0028\001\"\312\001\n\036Upd" + "ateRobotPartMetadataRequest\022\016\n\002id\030\001 \001(\tR" + "\002id\022I\n\004data\030\002 \003(\01325.viam.app.v1.UpdateRo" + "botPartMetadataRequest.DataEntryR\004data\032M" + "\n\tDataEntry\022\020\n\003key\030\001 \001(\tR\003key\022*\n\005value\030\002" + " \001(\0132\024.google.protobuf.AnyR\005value:\0028\001\"!\n" + "\037UpdateRobotPartMetadataResponse\"3\n\026GetR" + "obotAPIKeysRequest\022\031\n\010robot_id\030\001 \001(\tR\007ro" + "botId\"y\n\006APIKey\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002" + " \001(\tR\003key\022\022\n\004name\030\003 \001(\tR\004name\0229\n\ncreated" + "_on\030\004 \001(\0132\032.google.protobuf.TimestampR\tc" + "reatedOn\"[\n\027GetRobotAPIKeysResponse\022@\n\010a" + "pi_keys\030\001 \003(\0132%.viam.app.v1.APIKeyWithAu" + "thorizationsR\007apiKeys\"\031\n\027DeleteRobotPart" + "Response\"\241\006\n\010Fragment\0223\n\002id\030\001 \001(\tB#\232\204\236\003\036" "bson:\"_id\" json:\"id,omitempty\"R\002id\0220\n\004na" "me\030\002 \001(\tB\034\232\204\236\003\027bson:\"name\" json:\"name\"R\004" - "name\022@\n\010location\030\003 \001(\tB$\232\204\236\003\037bson:\"locat" - "ion\" json:\"location\"R\010location\022g\n\013last_a" - "ccess\030\004 \001(\0132\032.google.protobuf.TimestampB" - "*\232\204\236\003%bson:\"last_access\" json:\"last_acce" - "ss\"R\nlastAccess\022Q\n\ncreated_on\030\005 \001(\0132\032.go" - "ogle.protobuf.TimestampB\026\232\204\236\003\021bson:\"crea" - "ted_on\"R\tcreatedOn\"\257\010\n\tRobotPart\0223\n\002id\030\001" - " \001(\tB#\232\204\236\003\036bson:\"_id\" json:\"id,omitempty" - "\"R\002id\0220\n\004name\030\002 \001(\tB\034\232\204\236\003\027bson:\"name\" js" - "on:\"name\"R\004name\022\?\n\010dns_name\030\n \001(\tB$\232\204\236\003\037" - "bson:\"dns_name\" json:\"dns_name\"R\007dnsName" - "\022B\n\006secret\030\003 \001(\tB*\232\204\236\003%bson:\"secret\" jso" - "n:\"secret,omitempty\"R\006secret\0224\n\005robot\030\004 " - "\001(\tB\036\232\204\236\003\031bson:\"robot\" json:\"robot\"R\005rob" - "ot\022A\n\013location_id\030\014 \001(\tB \232\204\236\003\033bson:\"loca" - "tion_id\" json:\"-\"R\nlocationId\022b\n\014robot_c" - "onfig\030\005 \001(\0132\027.google.protobuf.StructB&\232\204" - "\236\003!bson:\"config\" json:\"robot_config\"R\013ro" - "botConfig\022g\n\013last_access\030\006 \001(\0132\032.google." - "protobuf.TimestampB*\232\204\236\003%bson:\"last_acce" - "ss\" json:\"last_access\"R\nlastAccess\022\177\n\022us" - "er_supplied_info\030\007 \001(\0132\027.google.protobuf" - ".StructB8\232\204\236\0033bson:\"user_supplied_info\" " - "json:\"user_supplied_info\"R\020userSuppliedI" - "nfo\022C\n\tmain_part\030\010 \001(\010B&\232\204\236\003!bson:\"main_" - "part\" json:\"main_part\"R\010mainPart\022\022\n\004fqdn" - "\030\t \001(\tR\004fqdn\022\035\n\nlocal_fqdn\030\013 \001(\tR\tlocalF" - "qdn\022Q\n\ncreated_on\030\r \001(\0132\032.google.protobu" - "f.TimestampB\026\232\204\236\003\021bson:\"created_on\"R\tcre" - "atedOn\022H\n\007secrets\030\016 \003(\0132\031.viam.app.v1.Sh" - "aredSecretB\023\232\204\236\003\016bson:\"secrets\"R\007secrets" - "\022Z\n\014last_updated\030\017 \001(\0132\032.google.protobuf" - ".TimestampB\033\232\204\236\003\026bson:\"last_updated_at\"R" - "\013lastUpdated\"\370\002\n\025RobotPartHistoryEntry\0220" - "\n\004part\030\001 \001(\tB\034\232\204\236\003\027bson:\"part\" json:\"par" - "t\"R\004part\0224\n\005robot\030\002 \001(\tB\036\232\204\236\003\031bson:\"robo" - "t\" json:\"robot\"R\005robot\022L\n\004when\030\003 \001(\0132\032.g" - "oogle.protobuf.TimestampB\034\232\204\236\003\027bson:\"whe" - "n\" json:\"when\"R\004when\022D\n\003old\030\004 \001(\0132\026.viam" - ".app.v1.RobotPartB\032\232\204\236\003\025bson:\"old\" json:" - "\"old\"R\003old\022c\n\tedited_by\030\005 \001(\0132\036.viam.app" - ".v1.AuthenticatorInfoB&\232\204\236\003!bson:\"edited" - "_by\" json:\"edited_by\"R\010editedBy\"\205\001\n\021Auth" - "enticatorInfo\0223\n\004type\030\001 \001(\0162\037.viam.app.v" - "1.AuthenticationTypeR\004type\022\024\n\005value\030\002 \001(" - "\tR\005value\022%\n\016is_deactivated\030\003 \001(\010R\risDeac" - "tivated\"\032\n\030ListOrganizationsRequest\"\336\001\n\014" - "Organization\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001" - "(\tR\004name\0229\n\ncreated_on\030\003 \001(\0132\032.google.pr" - "otobuf.TimestampR\tcreatedOn\022)\n\020public_na" - "mespace\030\004 \001(\tR\017publicNamespace\022%\n\016defaul" - "t_region\030\005 \001(\tR\rdefaultRegion\022\025\n\003cid\030\006 \001" - "(\tH\000R\003cid\210\001\001B\006\n\004_cid\"\317\001\n\022OrganizationMem" - "ber\022\027\n\007user_id\030\001 \001(\tR\006userId\022\026\n\006emails\030\002" - " \003(\tR\006emails\0229\n\ndate_added\030\003 \001(\0132\032.googl" - "e.protobuf.TimestampR\tdateAdded\022>\n\nlast_" - "login\030\004 \001(\0132\032.google.protobuf.TimestampH" - "\000R\tlastLogin\210\001\001B\r\n\013_last_login\"\\\n\031ListOr" - "ganizationsResponse\022\?\n\rorganizations\030\001 \003" - "(\0132\031.viam.app.v1.OrganizationR\rorganizat" - "ions\"\322\001\n\022OrganizationInvite\022\'\n\017organizat" - "ion_id\030\001 \001(\tR\016organizationId\022\024\n\005email\030\002 " - "\001(\tR\005email\0229\n\ncreated_on\030\003 \001(\0132\032.google." - "protobuf.TimestampR\tcreatedOn\022B\n\016authori" - "zations\030\004 \003(\0132\032.viam.app.v1.Authorizatio" - "nR\016authorizations\"/\n\031CreateOrganizationR" - "equest\022\022\n\004name\030\001 \001(\tR\004name\"[\n\032CreateOrga" - "nizationResponse\022=\n\014organization\030\001 \001(\0132\031" - ".viam.app.v1.OrganizationR\014organization\"" - "A\n\026GetOrganizationRequest\022\'\n\017organizatio" - "n_id\030\001 \001(\tR\016organizationId\"X\n\027GetOrganiz" - "ationResponse\022=\n\014organization\030\001 \001(\0132\031.vi" - "am.app.v1.OrganizationR\014organization\"X\n+" - "GetOrganizationNamespaceAvailabilityRequ" - "est\022)\n\020public_namespace\030\001 \001(\tR\017publicNam" - "espace\"L\n,GetOrganizationNamespaceAvaila" - "bilityResponse\022\034\n\tavailable\030\001 \001(\010R\tavail" - "able\"\362\001\n\031UpdateOrganizationRequest\022\'\n\017or" - "ganization_id\030\001 \001(\tR\016organizationId\022\027\n\004n" - "ame\030\002 \001(\tH\000R\004name\210\001\001\022.\n\020public_namespace" - "\030\003 \001(\tH\001R\017publicNamespace\210\001\001\022\033\n\006region\030\004" - " \001(\tH\002R\006region\210\001\001\022\025\n\003cid\030\005 \001(\tH\003R\003cid\210\001\001" - "B\007\n\005_nameB\023\n\021_public_namespaceB\t\n\007_regio" - "nB\006\n\004_cid\"[\n\032UpdateOrganizationResponse\022" - "=\n\014organization\030\001 \001(\0132\031.viam.app.v1.Orga" - "nizationR\014organization\"D\n\031DeleteOrganiza" - "tionRequest\022\'\n\017organization_id\030\001 \001(\tR\016or" - "ganizationId\"\034\n\032DeleteOrganizationRespon" - "se\"I\n\036ListOrganizationMembersRequest\022\'\n\017" - "organization_id\030\001 \001(\tR\016organizationId\"\300\001" - "\n\037ListOrganizationMembersResponse\022\'\n\017org" - "anization_id\030\001 \001(\tR\016organizationId\0229\n\007me" - "mbers\030\002 \003(\0132\037.viam.app.v1.OrganizationMe" - "mberR\007members\0229\n\007invites\030\003 \003(\0132\037.viam.ap" - "p.v1.OrganizationInviteR\007invites\"\353\001\n\037Cre" - "ateOrganizationInviteRequest\022\'\n\017organiza" - "tion_id\030\001 \001(\tR\016organizationId\022\024\n\005email\030\002" - " \001(\tR\005email\022B\n\016authorizations\030\003 \003(\0132\032.vi" - "am.app.v1.AuthorizationR\016authorizations\022" - "/\n\021send_email_invite\030\004 \001(\010H\000R\017sendEmailI" - "nvite\210\001\001B\024\n\022_send_email_invite\"[\n Create" - "OrganizationInviteResponse\0227\n\006invite\030\001 \001" - "(\0132\037.viam.app.v1.OrganizationInviteR\006inv" - "ite\"\212\002\n-UpdateOrganizationInviteAuthoriz" - "ationsRequest\022\'\n\017organization_id\030\001 \001(\tR\016" - "organizationId\022\024\n\005email\030\002 \001(\tR\005email\022I\n\022" - "add_authorizations\030\003 \003(\0132\032.viam.app.v1.A" - "uthorizationR\021addAuthorizations\022O\n\025remov" - "e_authorizations\030\004 \003(\0132\032.viam.app.v1.Aut" - "horizationR\024removeAuthorizations\"i\n.Upda" - "teOrganizationInviteAuthorizationsRespon" - "se\0227\n\006invite\030\001 \001(\0132\037.viam.app.v1.Organiz" - "ationInviteR\006invite\"`\n\037DeleteOrganizatio" - "nInviteRequest\022\'\n\017organization_id\030\001 \001(\tR" - "\016organizationId\022\024\n\005email\030\002 \001(\tR\005email\"\"\n" - " DeleteOrganizationInviteResponse\"`\n\037Res" - "endOrganizationInviteRequest\022\'\n\017organiza" - "tion_id\030\001 \001(\tR\016organizationId\022\024\n\005email\030\002" - " \001(\tR\005email\"[\n ResendOrganizationInviteR" - "esponse\0227\n\006invite\030\001 \001(\0132\037.viam.app.v1.Or" - "ganizationInviteR\006invite\"c\n\037DeleteOrgani" - "zationMemberRequest\022\'\n\017organization_id\030\001" - " \001(\tR\016organizationId\022\027\n\007user_id\030\002 \001(\tR\006u" - "serId\"\"\n DeleteOrganizationMemberRespons" - "e\"\322\001\n\016BillingAddress\022$\n\016address_line_1\030\001" - " \001(\tR\014addressLine1\022)\n\016address_line_2\030\002 \001" - "(\tH\000R\014addressLine2\210\001\001\022\022\n\004city\030\003 \001(\tR\004cit" - "y\022\024\n\005state\030\004 \001(\tR\005state\022\030\n\007zipcode\030\005 \001(\t" - "R\007zipcode\022\030\n\007country\030\006 \001(\tR\007countryB\021\n\017_" - "address_line_2\"z\n\033EnableBillingServiceRe" - "quest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022D\n\017billing_" - "address\030\002 \001(\0132\033.viam.app.v1.BillingAddre" - "ssR\016billingAddress\"\036\n\034EnableBillingServi" - "ceResponse\"z\n\033UpdateBillingServiceReques" - "t\022\025\n\006org_id\030\001 \001(\tR\005orgId\022D\n\017billing_addr" - "ess\030\002 \001(\0132\033.viam.app.v1.BillingAddressR\016" - "billingAddress\"\036\n\034UpdateBillingServiceRe" - "sponse\"7\n\036GetBillingServiceConfigRequest" - "\022\025\n\006org_id\030\001 \001(\tR\005orgId\"\333\001\n\037GetBillingSe" - "rviceConfigResponse\022D\n\017billing_address\030\001" - " \001(\0132\033.viam.app.v1.BillingAddressR\016billi" - "ngAddress\022#\n\rsupport_email\030\002 \001(\tR\014suppor" - "tEmail\022\031\n\010logo_url\030\003 \001(\tR\007logoUrl\0222\n\025bil" - "ling_dashboard_url\030\004 \001(\tR\023billingDashboa" - "rdUrl\"5\n\034DisableBillingServiceRequest\022\025\n" - "\006org_id\030\001 \001(\tR\005orgId\"\037\n\035DisableBillingSe" - "rviceResponse\"Q\n\"OrganizationSetSupportE" - "mailRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\024\n\005em" - "ail\030\002 \001(\tR\005email\"%\n#OrganizationSetSuppo" - "rtEmailResponse\";\n\"OrganizationGetSuppor" - "tEmailRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\";\n#" - "OrganizationGetSupportEmailResponse\022\024\n\005e" - "mail\030\001 \001(\tR\005email\":\n\024OrganizationIdentit" - "y\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\"Y\n" - "\024LocationOrganization\022\'\n\017organization_id" - "\030\001 \001(\tR\016organizationId\022\030\n\007primary\030\002 \001(\010R" - "\007primary\"\200\001\n\014LocationAuth\022\032\n\006secret\030\001 \001(" - "\tB\002\030\001R\006secret\022\037\n\013location_id\030\002 \001(\tR\nloca" - "tionId\0223\n\007secrets\030\003 \003(\0132\031.viam.app.v1.Sh" - "aredSecretR\007secrets\"\'\n\rStorageConfig\022\026\n\006" - "region\030\001 \001(\tR\006region\"\344\002\n\010Location\022\016\n\002id\030" - "\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\022,\n\022parent_" - "location_id\030\004 \001(\tR\020parentLocationId\022-\n\004a" - "uth\030\005 \001(\0132\031.viam.app.v1.LocationAuthR\004au" - "th\022G\n\rorganizations\030\006 \003(\0132!.viam.app.v1." - "LocationOrganizationR\rorganizations\0229\n\nc" - "reated_on\030\003 \001(\0132\032.google.protobuf.Timest" - "ampR\tcreatedOn\022\037\n\013robot_count\030\007 \001(\005R\nrob" - "otCount\0222\n\006config\030\010 \001(\0132\032.viam.app.v1.St" - "orageConfigR\006config\"\320\002\n\014SharedSecret\022\036\n\002" - "id\030\001 \001(\tB\016\232\204\236\003\tbson:\"id\"R\002id\022*\n\006secret\030\002" - " \001(\tB\022\232\204\236\003\rbson:\"secret\"R\006secret\022c\n\ncrea" - "ted_on\030\003 \001(\0132\032.google.protobuf.Timestamp" - "B(\232\204\236\003#bson:\"created_on\" json:\"created_o" - "n\"R\tcreatedOn\022H\n\005state\030\004 \001(\0162\037.viam.app." - "v1.SharedSecret.StateB\021\232\204\236\003\014bson:\"state\"" - "R\005state\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - "\021\n\rSTATE_ENABLED\020\001\022\022\n\016STATE_DISABLED\020\002\"\236" - "\001\n\025CreateLocationRequest\022\'\n\017organization" - "_id\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(\tR" - "\004name\0221\n\022parent_location_id\030\003 \001(\tH\000R\020par" - "entLocationId\210\001\001B\025\n\023_parent_location_id\"" - "K\n\026CreateLocationResponse\0221\n\010location\030\001 " - "\001(\0132\025.viam.app.v1.LocationR\010location\"5\n\022" - "GetLocationRequest\022\037\n\013location_id\030\001 \001(\tR" - "\nlocationId\"H\n\023GetLocationResponse\0221\n\010lo" - "cation\030\001 \001(\0132\025.viam.app.v1.LocationR\010loc" - "ation\"\314\001\n\025UpdateLocationRequest\022\037\n\013locat" - "ion_id\030\001 \001(\tR\nlocationId\022\027\n\004name\030\002 \001(\tH\000" - "R\004name\210\001\001\0221\n\022parent_location_id\030\003 \001(\tH\001R" - "\020parentLocationId\210\001\001\022\033\n\006region\030\004 \001(\tH\002R\006" - "region\210\001\001B\007\n\005_nameB\025\n\023_parent_location_i" - "dB\t\n\007_region\"K\n\026UpdateLocationResponse\0221" - "\n\010location\030\001 \001(\0132\025.viam.app.v1.LocationR" - "\010location\"8\n\025DeleteLocationRequest\022\037\n\013lo" - "cation_id\030\001 \001(\tR\nlocationId\"\030\n\026DeleteLoc" - "ationResponse\"N\n+GetOrganizationsWithAcc" - "essToLocationRequest\022\037\n\013location_id\030\001 \001(" - "\tR\nlocationId\"\212\001\n,GetOrganizationsWithAc" - "cessToLocationResponse\022Z\n\027organization_i" - "dentities\030\001 \003(\0132!.viam.app.v1.Organizati" - "onIdentityR\026organizationIdentities\"\?\n\024Li" - "stLocationsRequest\022\'\n\017organization_id\030\001 " - "\001(\tR\016organizationId\"`\n\024ShareLocationRequ" - "est\022\037\n\013location_id\030\001 \001(\tR\nlocationId\022\'\n\017" - "organization_id\030\002 \001(\tR\016organizationId\"\027\n" - "\025ShareLocationResponse\"b\n\026UnshareLocatio" - "nRequest\022\037\n\013location_id\030\001 \001(\tR\nlocationI" - "d\022\'\n\017organization_id\030\002 \001(\tR\016organization" - "Id\"\031\n\027UnshareLocationResponse\"L\n\025ListLoc" - "ationsResponse\0223\n\tlocations\030\001 \003(\0132\025.viam" - ".app.v1.LocationR\tlocations\">\n\033CreateLoc" - "ationSecretRequest\022\037\n\013location_id\030\001 \001(\tR" - "\nlocationId\"M\n\034CreateLocationSecretRespo" - "nse\022-\n\004auth\030\001 \001(\0132\031.viam.app.v1.Location" - "AuthR\004auth\"[\n\033DeleteLocationSecretReques" - "t\022\037\n\013location_id\030\001 \001(\tR\nlocationId\022\033\n\tse" - "cret_id\030\002 \001(\tR\010secretId\"\036\n\034DeleteLocatio" - "nSecretResponse\"6\n\023LocationAuthRequest\022\037" - "\n\013location_id\030\001 \001(\tR\nlocationId\"E\n\024Locat" - "ionAuthResponse\022-\n\004auth\030\001 \001(\0132\031.viam.app" - ".v1.LocationAuthR\004auth\"!\n\017GetRobotReques" - "t\022\016\n\002id\030\001 \001(\tR\002id\"4\n\033GetRoverRentalRobot" - "sRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"\232\001\n\020Rove" - "rRentalRobot\022\031\n\010robot_id\030\001 \001(\tR\007robotId\022" - "\037\n\013location_id\030\002 \001(\tR\nlocationId\022\035\n\nrobo" - "t_name\030\003 \001(\tR\trobotName\022+\n\022robot_main_pa" - "rt_id\030\004 \001(\tR\017robotMainPartId\"U\n\034GetRover" - "RentalRobotsResponse\0225\n\006robots\030\001 \003(\0132\035.v" - "iam.app.v1.RoverRentalRobotR\006robots\"<\n\020G" - "etRobotResponse\022(\n\005robot\030\001 \001(\0132\022.viam.ap" - "p.v1.RobotR\005robot\"1\n\024GetRobotPartsReques" - "t\022\031\n\010robot_id\030\001 \001(\tR\007robotId\"E\n\025GetRobot" - "PartsResponse\022,\n\005parts\030\001 \003(\0132\026.viam.app." - "v1.RobotPartR\005parts\"%\n\023GetRobotPartReque" - "st\022\016\n\002id\030\001 \001(\tR\002id\"c\n\024GetRobotPartRespon" - "se\022*\n\004part\030\001 \001(\0132\026.viam.app.v1.RobotPart" - "R\004part\022\037\n\013config_json\030\002 \001(\tR\nconfigJson\"" - "\212\003\n\027GetRobotPartLogsRequest\022\016\n\002id\030\001 \001(\tR" - "\002id\022#\n\013errors_only\030\002 \001(\010B\002\030\001R\nerrorsOnly" - "\022\033\n\006filter\030\003 \001(\tH\000R\006filter\210\001\001\022\"\n\npage_to" - "ken\030\004 \001(\tH\001R\tpageToken\210\001\001\022\026\n\006levels\030\005 \003(" - "\tR\006levels\0225\n\005start\030\006 \001(\0132\032.google.protob" - "uf.TimestampH\002R\005start\210\001\001\0221\n\003end\030\007 \001(\0132\032." - "google.protobuf.TimestampH\003R\003end\210\001\001\022\031\n\005l" - "imit\030\010 \001(\003H\004R\005limit\210\001\001\022\033\n\006source\030\t \001(\tH\005" - "R\006source\210\001\001B\t\n\007_filterB\r\n\013_page_tokenB\010\n" - "\006_startB\006\n\004_endB\010\n\006_limitB\t\n\007_source\"p\n\030" - "GetRobotPartLogsResponse\022,\n\004logs\030\001 \003(\0132\030" - ".viam.common.v1.LogEntryR\004logs\022&\n\017next_p" - "age_token\030\002 \001(\tR\rnextPageToken\"s\n\030TailRo" - "botPartLogsRequest\022\016\n\002id\030\001 \001(\tR\002id\022\037\n\013er" - "rors_only\030\002 \001(\010R\nerrorsOnly\022\033\n\006filter\030\003 " - "\001(\tH\000R\006filter\210\001\001B\t\n\007_filter\"I\n\031TailRobot" - "PartLogsResponse\022,\n\004logs\030\001 \003(\0132\030.viam.co" - "mmon.v1.LogEntryR\004logs\",\n\032GetRobotPartHi" - "storyRequest\022\016\n\002id\030\001 \001(\tR\002id\"[\n\033GetRobot" - "PartHistoryResponse\022<\n\007history\030\001 \003(\0132\".v" - "iam.app.v1.RobotPartHistoryEntryR\007histor" - "y\"x\n\026UpdateRobotPartRequest\022\016\n\002id\030\001 \001(\tR" - "\002id\022\022\n\004name\030\002 \001(\tR\004name\022:\n\014robot_config\030" - "\003 \001(\0132\027.google.protobuf.StructR\013robotCon" - "fig\"E\n\027UpdateRobotPartResponse\022*\n\004part\030\001" - " \001(\0132\026.viam.app.v1.RobotPartR\004part\"M\n\023Ne" - "wRobotPartRequest\022\031\n\010robot_id\030\001 \001(\tR\007rob" - "otId\022\033\n\tpart_name\030\002 \001(\tR\010partName\"/\n\024New" - "RobotPartResponse\022\027\n\007part_id\030\001 \001(\tR\006part" - "Id\"1\n\026DeleteRobotPartRequest\022\027\n\007part_id\030" - "\001 \001(\tR\006partId\"3\n\026GetRobotAPIKeysRequest\022" - "\031\n\010robot_id\030\001 \001(\tR\007robotId\"y\n\006APIKey\022\016\n\002" - "id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001(\tR\003key\022\022\n\004name\030\003" - " \001(\tR\004name\0229\n\ncreated_on\030\004 \001(\0132\032.google." - "protobuf.TimestampR\tcreatedOn\"[\n\027GetRobo" - "tAPIKeysResponse\022@\n\010api_keys\030\001 \003(\0132%.via" - "m.app.v1.APIKeyWithAuthorizationsR\007apiKe" - "ys\"\031\n\027DeleteRobotPartResponse\"\241\006\n\010Fragme" - "nt\0223\n\002id\030\001 \001(\tB#\232\204\236\003\036bson:\"_id\" json:\"id" - ",omitempty\"R\002id\0220\n\004name\030\002 \001(\tB\034\232\204\236\003\027bson" - ":\"name\" json:\"name\"R\004name\022Y\n\010fragment\030\003 " - "\001(\0132\027.google.protobuf.StructB$\232\204\236\003\037bson:" - "\"fragment\" json:\"fragment\"R\010fragment\022Z\n\022" - "organization_owner\030\004 \001(\tB+\232\204\236\003&bson:\"org" - "anization_owner\" json:\"owner\"R\021organizat" - "ionOwner\0228\n\006public\030\005 \001(\010B \232\204\236\003\033bson:\"pub" - "lic\" json:\"public\"R\006public\022Q\n\ncreated_on" - "\030\006 \001(\0132\032.google.protobuf.TimestampB\026\232\204\236\003" - "\021bson:\"created_on\"R\tcreatedOn\022+\n\021organiz" - "ation_name\030\007 \001(\tR\020organizationName\022(\n\020ro" - "bot_part_count\030\t \001(\005R\016robotPartCount\022-\n\022" - "organization_count\030\n \001(\005R\021organizationCo" - "unt\022+\n\022only_used_by_owner\030\013 \001(\010R\017onlyUse" - "dByOwner\022\?\n\nvisibility\030\014 \001(\0162\037.viam.app." - "v1.FragmentVisibilityR\nvisibility\022Z\n\014las" - "t_updated\030\r \001(\0132\032.google.protobuf.Timest" - "ampB\033\232\204\236\003\026bson:\"last_updated_at\"R\013lastUp" - "dated\022\032\n\010revision\030\016 \001(\tR\010revision\"\370\003\n\024Fr" - "agmentHistoryEntry\022@\n\010fragment\030\001 \001(\tB$\232\204" - "\236\003\037bson:\"fragment\" json:\"fragment\"R\010frag" - "ment\022_\n\tedited_on\030\002 \001(\0132\032.google.protobu" - "f.TimestampB&\232\204\236\003!bson:\"edited_on\" json:" - "\"edited_on\"R\010editedOn\022C\n\003old\030\003 \001(\0132\025.via" - "m.app.v1.FragmentB\032\232\204\236\003\025bson:\"old\" json:" - "\"old\"R\003old\022c\n\tedited_by\030\004 \001(\0132\036.viam.app" - ".v1.AuthenticatorInfoB&\232\204\236\003!bson:\"edited" - "_by\" json:\"edited_by\"R\010editedBy\022@\n\010revis" - "ion\030\005 \001(\tB$\232\204\236\003\037bson:\"revision\" json:\"re" - "vision\"R\010revision\022Q\n\006config\030\006 \001(\0132\027.goog" - "le.protobuf.StructB \232\204\236\003\033bson:\"config\" j" - "son:\"config\"R\006config\"i\n\020FragmentRevision" - "\022\032\n\010revision\030\001 \001(\tR\010revision\0229\n\ncreated_" - "at\030\002 \001(\0132\032.google.protobuf.TimestampR\tcr" - "eatedAt\";\n\013FragmentTag\022\020\n\003tag\030\001 \001(\tR\003tag" - "\022\032\n\010revision\030\002 \001(\tR\010revision\"\207\001\n\rFragmen" - "tError\022=\n\nerror_type\030\001 \001(\0162\036.viam.app.v1" - ".FragmentErrorTypeR\terrorType\022\037\n\013fragmen" - "t_id\030\002 \001(\tR\nfragmentId\022\026\n\006detail\030\003 \001(\tR\006" - "detail\"\324\001\n\rFragmentUsage\022\037\n\013fragment_id\030" - "\001 \001(\tR\nfragmentId\022$\n\rorganizations\030\002 \001(\005" - "R\rorganizations\022\032\n\010machines\030\003 \001(\005R\010machi" - "nes\0225\n\027machines_in_current_org\030\004 \001(\005R\024ma" - "chinesInCurrentOrg\022\035\n\007version\030\005 \001(\tH\000R\007v" - "ersion\210\001\001B\n\n\010_version\"\247\001\n\020ResolvedFragme" - "nt\022\037\n\013fragment_id\030\001 \001(\tR\nfragmentId\022@\n\017r" - "esolved_config\030\002 \001(\0132\027.google.protobuf.S" - "tructR\016resolvedConfig\0220\n\005error\030\003 \001(\0132\032.v" - "iam.app.v1.FragmentErrorR\005error\"\262\001\n\024List" - "FragmentsRequest\022\'\n\017organization_id\030\001 \001(" - "\tR\016organizationId\022\037\n\013show_public\030\002 \001(\010R\n" - "showPublic\022P\n\023fragment_visibility\030\003 \003(\0162" - "\037.viam.app.v1.FragmentVisibilityR\022fragme" - "ntVisibility\"\221\001\n\025ListFragmentsResponse\0223" - "\n\tfragments\030\001 \003(\0132\025.viam.app.v1.Fragment" - "R\tfragments\022C\n\017fragment_usages\030\002 \003(\0132\032.v" - "iam.app.v1.FragmentUsageR\016fragmentUsages" - "\"\207\001\n\022GetFragmentRequest\022\016\n\002id\030\001 \001(\tR\002id\022" - "6\n\027current_organization_id\030\002 \001(\tR\025curren" - "tOrganizationId\022\035\n\007version\030\003 \001(\tH\000R\007vers" - "ion\210\001\001B\n\n\010_version\"\366\001\n\023GetFragmentRespon" - "se\0221\n\010fragment\030\001 \001(\0132\025.viam.app.v1.Fragm" - "entR\010fragment\022A\n\016fragment_usage\030\002 \001(\0132\032." - "viam.app.v1.FragmentUsageR\rfragmentUsage" - "\022;\n\trevisions\030\003 \003(\0132\035.viam.app.v1.Fragme" - "ntRevisionR\trevisions\022,\n\004tags\030\004 \003(\0132\030.vi" - "am.app.v1.FragmentTagR\004tags\"\332\001\n\025CreateFr" - "agmentRequest\022\022\n\004name\030\001 \001(\tR\004name\022/\n\006con" - "fig\030\002 \001(\0132\027.google.protobuf.StructR\006conf" - "ig\022\'\n\017organization_id\030\003 \001(\tR\016organizatio" - "nId\022D\n\nvisibility\030\004 \001(\0162\037.viam.app.v1.Fr" - "agmentVisibilityH\000R\nvisibility\210\001\001B\r\n\013_vi" - "sibility\"K\n\026CreateFragmentResponse\0221\n\010fr" + "name\022Y\n\010fragment\030\003 \001(\0132\027.google.protobuf" + ".StructB$\232\204\236\003\037bson:\"fragment\" json:\"frag" + "ment\"R\010fragment\022Z\n\022organization_owner\030\004 " + "\001(\tB+\232\204\236\003&bson:\"organization_owner\" json" + ":\"owner\"R\021organizationOwner\0228\n\006public\030\005 " + "\001(\010B \232\204\236\003\033bson:\"public\" json:\"public\"R\006p" + "ublic\022Q\n\ncreated_on\030\006 \001(\0132\032.google.proto" + "buf.TimestampB\026\232\204\236\003\021bson:\"created_on\"R\tc" + "reatedOn\022+\n\021organization_name\030\007 \001(\tR\020org" + "anizationName\022(\n\020robot_part_count\030\t \001(\005R" + "\016robotPartCount\022-\n\022organization_count\030\n " + "\001(\005R\021organizationCount\022+\n\022only_used_by_o" + "wner\030\013 \001(\010R\017onlyUsedByOwner\022\?\n\nvisibilit" + "y\030\014 \001(\0162\037.viam.app.v1.FragmentVisibility" + "R\nvisibility\022Z\n\014last_updated\030\r \001(\0132\032.goo" + "gle.protobuf.TimestampB\033\232\204\236\003\026bson:\"last_" + "updated_at\"R\013lastUpdated\022\032\n\010revision\030\016 \001" + "(\tR\010revision\"\370\003\n\024FragmentHistoryEntry\022@\n" + "\010fragment\030\001 \001(\tB$\232\204\236\003\037bson:\"fragment\" js" + "on:\"fragment\"R\010fragment\022_\n\tedited_on\030\002 \001" + "(\0132\032.google.protobuf.TimestampB&\232\204\236\003!bso" + "n:\"edited_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(\0132\036.viam.app.v1.AuthenticatorInfo" + "B&\232\204\236\003!bson:\"edited_by\" json:\"edited_by\"" + "R\010editedBy\022@\n\010revision\030\005 \001(\tB$\232\204\236\003\037bson:" + "\"revision\" json:\"revision\"R\010revision\022Q\n\006" + "config\030\006 \001(\0132\027.google.protobuf.StructB \232" + "\204\236\003\033bson:\"config\" json:\"config\"R\006config\"" + "i\n\020FragmentRevision\022\032\n\010revision\030\001 \001(\tR\010r" + "evision\0229\n\ncreated_at\030\002 \001(\0132\032.google.pro" + "tobuf.TimestampR\tcreatedAt\";\n\013FragmentTa" + "g\022\020\n\003tag\030\001 \001(\tR\003tag\022\032\n\010revision\030\002 \001(\tR\010r" + "evision\"\207\001\n\rFragmentError\022=\n\nerror_type\030" + "\001 \001(\0162\036.viam.app.v1.FragmentErrorTypeR\te" + "rrorType\022\037\n\013fragment_id\030\002 \001(\tR\nfragmentI" + "d\022\026\n\006detail\030\003 \001(\tR\006detail\"\324\001\n\rFragmentUs" + "age\022\037\n\013fragment_id\030\001 \001(\tR\nfragmentId\022$\n\r" + "organizations\030\002 \001(\005R\rorganizations\022\032\n\010ma" + "chines\030\003 \001(\005R\010machines\0225\n\027machines_in_cu" + "rrent_org\030\004 \001(\005R\024machinesInCurrentOrg\022\035\n" + "\007version\030\005 \001(\tH\000R\007version\210\001\001B\n\n\010_version" + "\"\303\001\n\020ResolvedFragment\022\037\n\013fragment_id\030\001 \001" + "(\tR\nfragmentId\022@\n\017resolved_config\030\002 \001(\0132" + "\027.google.protobuf.StructR\016resolvedConfig" + "\0220\n\005error\030\003 \001(\0132\032.viam.app.v1.FragmentEr" + "rorR\005error\022\032\n\010revision\030\004 \001(\tR\010revision\"\262" + "\001\n\024ListFragmentsRequest\022\'\n\017organization_" + "id\030\001 \001(\tR\016organizationId\022\037\n\013show_public\030" + "\002 \001(\010R\nshowPublic\022P\n\023fragment_visibility" + "\030\003 \003(\0162\037.viam.app.v1.FragmentVisibilityR" + "\022fragmentVisibility\"\221\001\n\025ListFragmentsRes" + "ponse\0223\n\tfragments\030\001 \003(\0132\025.viam.app.v1.F" + "ragmentR\tfragments\022C\n\017fragment_usages\030\002 " + "\003(\0132\032.viam.app.v1.FragmentUsageR\016fragmen" + "tUsages\"\207\001\n\022GetFragmentRequest\022\016\n\002id\030\001 \001" + "(\tR\002id\0226\n\027current_organization_id\030\002 \001(\tR" + "\025currentOrganizationId\022\035\n\007version\030\003 \001(\tH" + "\000R\007version\210\001\001B\n\n\010_version\"\366\001\n\023GetFragmen" + "tResponse\0221\n\010fragment\030\001 \001(\0132\025.viam.app.v" + "1.FragmentR\010fragment\022A\n\016fragment_usage\030\002" + " \001(\0132\032.viam.app.v1.FragmentUsageR\rfragme" + "ntUsage\022;\n\trevisions\030\003 \003(\0132\035.viam.app.v1" + ".FragmentRevisionR\trevisions\022,\n\004tags\030\004 \003" + "(\0132\030.viam.app.v1.FragmentTagR\004tags\"\332\001\n\025C" + "reateFragmentRequest\022\022\n\004name\030\001 \001(\tR\004name" + "\022/\n\006config\030\002 \001(\0132\027.google.protobuf.Struc" + "tR\006config\022\'\n\017organization_id\030\003 \001(\tR\016orga" + "nizationId\022D\n\nvisibility\030\004 \001(\0162\037.viam.ap" + "p.v1.FragmentVisibilityH\000R\nvisibility\210\001\001" + "B\r\n\013_visibility\"K\n\026CreateFragmentRespons" + "e\0221\n\010fragment\030\001 \001(\0132\025.viam.app.v1.Fragme" + "ntR\010fragment\"\351\001\n\025UpdateFragmentRequest\022\016" + "\n\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\022/\n\006co" + "nfig\030\003 \001(\0132\027.google.protobuf.StructR\006con" + "fig\022\033\n\006public\030\004 \001(\010H\000R\006public\210\001\001\022D\n\nvisi" + "bility\030\005 \001(\0162\037.viam.app.v1.FragmentVisib" + "ilityH\001R\nvisibility\210\001\001B\t\n\007_publicB\r\n\013_vi" + "sibility\"K\n\026UpdateFragmentResponse\0221\n\010fr" "agment\030\001 \001(\0132\025.viam.app.v1.FragmentR\010fra" - "gment\"\351\001\n\025UpdateFragmentRequest\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.protobuf.StructR\006config\022\033\n\006" - "public\030\004 \001(\010H\000R\006public\210\001\001\022D\n\nvisibility\030" - "\005 \001(\0162\037.viam.app.v1.FragmentVisibilityH\001" - "R\nvisibility\210\001\001B\t\n\007_publicB\r\n\013_visibilit" - "y\"K\n\026UpdateFragmentResponse\0221\n\010fragment\030" - "\001 \001(\0132\025.viam.app.v1.FragmentR\010fragment\"\'" - "\n\025DeleteFragmentRequest\022\016\n\002id\030\001 \001(\tR\002id\"" - "\030\n\026DeleteFragmentResponse\"\221\001\n\031GetFragmen" - "tHistoryRequest\022\016\n\002id\030\001 \001(\tR\002id\022\"\n\npage_" - "token\030\002 \001(\tH\000R\tpageToken\210\001\001\022\"\n\npage_limi" - "t\030\003 \001(\003H\001R\tpageLimit\210\001\001B\r\n\013_page_tokenB\r" - "\n\013_page_limit\"\201\001\n\032GetFragmentHistoryResp" - "onse\022;\n\007history\030\001 \003(\0132!.viam.app.v1.Frag" - "mentHistoryEntryR\007history\022&\n\017next_page_t" - "oken\030\002 \001(\tR\rnextPageToken\":\n\027GetFragment" - "UsageRequest\022\037\n\013fragment_id\030\001 \001(\tR\nfragm" - "entId\"]\n\030GetFragmentUsageResponse\022A\n\016ver" - "sion_usages\030\001 \003(\0132\032.viam.app.v1.Fragment" - "UsageR\rversionUsages\"f\n\025SetFragmentTagRe" - "quest\022\037\n\013fragment_id\030\001 \001(\tR\nfragmentId\022\020" - "\n\003tag\030\002 \001(\tR\003tag\022\032\n\010revision\030\003 \001(\tR\010revi" - "sion\"F\n\026SetFragmentTagResponse\022,\n\004tags\030\001" - " \003(\0132\030.viam.app.v1.FragmentTagR\004tags\"M\n\030" - "DeleteFragmentTagRequest\022\037\n\013fragment_id\030" - "\001 \001(\tR\nfragmentId\022\020\n\003tag\030\002 \001(\tR\003tag\"I\n\031D" - "eleteFragmentTagResponse\022,\n\004tags\030\001 \003(\0132\030" - ".viam.app.v1.FragmentTagR\004tags\"4\n\021ListRo" - "botsRequest\022\037\n\013location_id\030\001 \001(\tR\nlocati" - "onId\"t\n\033ListMachineFragmentsRequest\022\035\n\nm" - "achine_id\030\001 \001(\tR\tmachineId\0226\n\027additional" - "_fragment_ids\030\002 \003(\tR\025additionalFragmentI" - "ds\"\241\001\n\034ListMachineFragmentsResponse\0223\n\tf" - "ragments\030\001 \003(\0132\025.viam.app.v1.FragmentR\tf" - "ragments\022L\n\022resolved_fragments\030\002 \003(\0132\035.v" - "iam.app.v1.ResolvedFragmentR\021resolvedFra" - "gments\"@\n\022ListRobotsResponse\022*\n\006robots\030\001" - " \003(\0132\022.viam.app.v1.RobotR\006robots\"A\n\017NewR" - "obotRequest\022\022\n\004name\030\001 \001(\tR\004name\022\032\n\010locat" - "ion\030\002 \001(\tR\010location\"\"\n\020NewRobotResponse\022" - "\016\n\002id\030\001 \001(\tR\002id\"T\n\022UpdateRobotRequest\022\016\n" - "\002id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\022\032\n\010loc" - "ation\030\003 \001(\tR\010location\"\?\n\023UpdateRobotResp" - "onse\022(\n\005robot\030\001 \001(\0132\022.viam.app.v1.RobotR" - "\005robot\"$\n\022DeleteRobotRequest\022\016\n\002id\030\001 \001(\t" - "R\002id\"\025\n\023DeleteRobotResponse\"0\n\025MarkPartA" - "sMainRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\"\030\n" - "\026MarkPartAsMainResponse\"4\n\031MarkPartForRe" - "startRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\"\034\n" - "\032MarkPartForRestartResponse\"7\n\034CreateRob" - "otPartSecretRequest\022\027\n\007part_id\030\001 \001(\tR\006pa" - "rtId\"K\n\035CreateRobotPartSecretResponse\022*\n" - "\004part\030\001 \001(\0132\026.viam.app.v1.RobotPartR\004par" - "t\"T\n\034DeleteRobotPartSecretRequest\022\027\n\007par" - "t_id\030\001 \001(\tR\006partId\022\033\n\tsecret_id\030\002 \001(\tR\010s" - "ecretId\"\037\n\035DeleteRobotPartSecretResponse" - "\"\236\002\n\rAuthorization\022-\n\022authorization_type" - "\030\001 \001(\tR\021authorizationType\022)\n\020authorizati" - "on_id\030\002 \001(\tR\017authorizationId\022#\n\rresource" - "_type\030\003 \001(\tR\014resourceType\022\037\n\013resource_id" - "\030\004 \001(\tR\nresourceId\022\037\n\013identity_id\030\005 \001(\tR" - "\nidentityId\022\'\n\017organization_id\030\006 \001(\tR\016or" - "ganizationId\022#\n\ridentity_type\030\007 \001(\tR\014ide" - "ntityType\"R\n\016AddRoleRequest\022@\n\rauthoriza" - "tion\030\001 \001(\0132\032.viam.app.v1.AuthorizationR\r" - "authorization\"\021\n\017AddRoleResponse\"U\n\021Remo" - "veRoleRequest\022@\n\rauthorization\030\001 \001(\0132\032.v" - "iam.app.v1.AuthorizationR\rauthorization\"" - "\024\n\022RemoveRoleResponse\"\245\001\n\021ChangeRoleRequ" - "est\022G\n\021old_authorization\030\001 \001(\0132\032.viam.ap" - "p.v1.AuthorizationR\020oldAuthorization\022G\n\021" - "new_authorization\030\002 \001(\0132\032.viam.app.v1.Au" - "thorizationR\020newAuthorization\"\024\n\022ChangeR" - "oleResponse\"g\n\031ListAuthorizationsRequest" - "\022\'\n\017organization_id\030\001 \001(\tR\016organizationI" - "d\022!\n\014resource_ids\030\002 \003(\tR\013resourceIds\"`\n\032" - "ListAuthorizationsResponse\022B\n\016authorizat" - "ions\030\001 \003(\0132\032.viam.app.v1.AuthorizationR\016" - "authorizations\"_\n\027CheckPermissionsReques" - "t\022D\n\013permissions\030\001 \003(\0132\".viam.app.v1.Aut" - "horizedPermissionsR\013permissions\"\177\n\025Autho" - "rizedPermissions\022#\n\rresource_type\030\001 \001(\tR" - "\014resourceType\022\037\n\013resource_id\030\002 \001(\tR\nreso" - "urceId\022 \n\013permissions\030\003 \003(\tR\013permissions" - "\"u\n\030CheckPermissionsResponse\022Y\n\026authoriz" - "ed_permissions\030\001 \003(\0132\".viam.app.v1.Autho" - "rizedPermissionsR\025authorizedPermissions\"" - "\321\001\n\rModuleVersion\022\030\n\007version\030\001 \001(\tR\007vers" - "ion\022*\n\005files\030\002 \003(\0132\024.viam.app.v1.Uploads" - "R\005files\022*\n\006models\030\003 \003(\0132\022.viam.app.v1.Mo" - "delR\006models\022\036\n\nentrypoint\030\004 \001(\tR\nentrypo" - "int\022 \n\tfirst_run\030\005 \001(\tH\000R\010firstRun\210\001\001B\014\n" - "\n_first_run\"\304\001\n\016ModuleMetadata\022*\n\006models" - "\030\001 \003(\0132\022.viam.app.v1.ModelR\006models\0226\n\010ve" - "rsions\030\002 \003(\0132\032.viam.app.v1.ModuleVersion" - "R\010versions\022\036\n\nentrypoint\030\003 \001(\tR\nentrypoi" - "nt\022 \n\tfirst_run\030\004 \001(\tH\000R\010firstRun\210\001\001B\014\n\n" - "_first_run\"\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" - "\"\237\001\n\026GetRegistryItemRequest\022\027\n\007item_id\030\001" - " \001(\tR\006itemId\022I\n\036include_markdown_documen" - "tation\030\002 \001(\010H\000R\034includeMarkdownDocumenta" - "tion\210\001\001B!\n\037_include_markdown_documentati" - "on\"H\n\027GetRegistryItemResponse\022-\n\004item\030\001 " - "\001(\0132\031.viam.app.v1.RegistryItemR\004item\"\217\001\n" - "\031CreateRegistryItemRequest\022\'\n\017organizati" - "on_id\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(" - "\tR\004name\0225\n\004type\030\003 \001(\0162!.viam.app.package" - "s.v1.PackageTypeR\004type\"\034\n\032CreateRegistry" - "ItemResponse\"\223\004\n\031UpdateRegistryItemReque" - "st\022\027\n\007item_id\030\001 \001(\tR\006itemId\0225\n\004type\030\002 \001(" - "\0162!.viam.app.packages.v1.PackageTypeR\004ty" - "pe\022 \n\013description\030\003 \001(\tR\013description\0227\n\n" - "visibility\030\004 \001(\0162\027.viam.app.v1.Visibilit" - "yR\nvisibility\022\025\n\003url\030\005 \001(\tH\001R\003url\210\001\001\022Y\n\026" - "module_update_metadata\030\006 \001(\0132!.viam.app." - "v1.UpdateModuleMetadataH\000R\024moduleUpdateM" - "etadata\022]\n\030ml_model_update_metadata\030\007 \001(" - "\0132\".viam.app.v1.UpdateMLModelMetadataH\000R" - "\025mlModelUpdateMetadata\022f\n\033ml_training_up" - "date_metadata\030\010 \001(\0132%.viam.app.v1.Update" - "MLTrainingMetadataH\000R\030mlTrainingUpdateMe" - "tadataB\n\n\010metadataB\006\n\004_url\"\034\n\032UpdateRegi" - "stryItemResponse\"\261\004\n\030ListRegistryItemsRe" + "gment\"\'\n\025DeleteFragmentRequest\022\016\n\002id\030\001 \001" + "(\tR\002id\"\030\n\026DeleteFragmentResponse\"\221\001\n\031Get" + "FragmentHistoryRequest\022\016\n\002id\030\001 \001(\tR\002id\022\"" + "\n\npage_token\030\002 \001(\tH\000R\tpageToken\210\001\001\022\"\n\npa" + "ge_limit\030\003 \001(\003H\001R\tpageLimit\210\001\001B\r\n\013_page_" + "tokenB\r\n\013_page_limit\"\201\001\n\032GetFragmentHist" + "oryResponse\022;\n\007history\030\001 \003(\0132!.viam.app." + "v1.FragmentHistoryEntryR\007history\022&\n\017next" + "_page_token\030\002 \001(\tR\rnextPageToken\":\n\027GetF" + "ragmentUsageRequest\022\037\n\013fragment_id\030\001 \001(\t" + "R\nfragmentId\"]\n\030GetFragmentUsageResponse" + "\022A\n\016version_usages\030\001 \003(\0132\032.viam.app.v1.F" + "ragmentUsageR\rversionUsages\"f\n\025SetFragme" + "ntTagRequest\022\037\n\013fragment_id\030\001 \001(\tR\nfragm" + "entId\022\020\n\003tag\030\002 \001(\tR\003tag\022\032\n\010revision\030\003 \001(" + "\tR\010revision\"F\n\026SetFragmentTagResponse\022,\n" + "\004tags\030\001 \003(\0132\030.viam.app.v1.FragmentTagR\004t" + "ags\"M\n\030DeleteFragmentTagRequest\022\037\n\013fragm" + "ent_id\030\001 \001(\tR\nfragmentId\022\020\n\003tag\030\002 \001(\tR\003t" + "ag\"I\n\031DeleteFragmentTagResponse\022,\n\004tags\030" + "\001 \003(\0132\030.viam.app.v1.FragmentTagR\004tags\"4\n" + "\021ListRobotsRequest\022\037\n\013location_id\030\001 \001(\tR" + "\nlocationId\"`\n\022AdditionalFragment\022\037\n\013fra" + "gment_id\030\001 \001(\tR\nfragmentId\022\035\n\007version\030\002 " + "\001(\tH\000R\007version\210\001\001B\n\n\010_version\"\310\001\n\033ListMa" + "chineFragmentsRequest\022\035\n\nmachine_id\030\001 \001(" + "\tR\tmachineId\0226\n\027additional_fragment_ids\030" + "\002 \003(\tR\025additionalFragmentIds\022R\n\024addition" + "al_fragments\030\003 \003(\0132\037.viam.app.v1.Additio" + "nalFragmentR\023additionalFragments\"\241\001\n\034Lis" + "tMachineFragmentsResponse\0223\n\tfragments\030\001" + " \003(\0132\025.viam.app.v1.FragmentR\tfragments\022L" + "\n\022resolved_fragments\030\002 \003(\0132\035.viam.app.v1" + ".ResolvedFragmentR\021resolvedFragments\"@\n\022" + "ListRobotsResponse\022*\n\006robots\030\001 \003(\0132\022.via" + "m.app.v1.RobotR\006robots\"A\n\017NewRobotReques" + "t\022\022\n\004name\030\001 \001(\tR\004name\022\032\n\010location\030\002 \001(\tR" + "\010location\"\"\n\020NewRobotResponse\022\016\n\002id\030\001 \001(" + "\tR\002id\"T\n\022UpdateRobotRequest\022\016\n\002id\030\001 \001(\tR" + "\002id\022\022\n\004name\030\002 \001(\tR\004name\022\032\n\010location\030\003 \001(" + "\tR\010location\"\?\n\023UpdateRobotResponse\022(\n\005ro" + "bot\030\001 \001(\0132\022.viam.app.v1.RobotR\005robot\"$\n\022" + "DeleteRobotRequest\022\016\n\002id\030\001 \001(\tR\002id\"\025\n\023De" + "leteRobotResponse\")\n\027GetRobotMetadataReq" + "uest\022\016\n\002id\030\001 \001(\tR\002id\"\256\001\n\030GetRobotMetadat" + "aResponse\022C\n\004data\030\001 \003(\0132/.viam.app.v1.Ge" + "tRobotMetadataResponse.DataEntryR\004data\032M" + "\n\tDataEntry\022\020\n\003key\030\001 \001(\tR\003key\022*\n\005value\030\002" + " \001(\0132\024.google.protobuf.AnyR\005value:\0028\001\"\302\001" + "\n\032UpdateRobotMetadataRequest\022\016\n\002id\030\001 \001(\t" + "R\002id\022E\n\004data\030\002 \003(\01321.viam.app.v1.UpdateR" + "obotMetadataRequest.DataEntryR\004data\032M\n\tD" + "ataEntry\022\020\n\003key\030\001 \001(\tR\003key\022*\n\005value\030\002 \001(" + "\0132\024.google.protobuf.AnyR\005value:\0028\001\"\035\n\033Up" + "dateRobotMetadataResponse\"0\n\025MarkPartAsM" + "ainRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\"\030\n\026M" + "arkPartAsMainResponse\"4\n\031MarkPartForRest" + "artRequest\022\027\n\007part_id\030\001 \001(\tR\006partId\"\034\n\032M" + "arkPartForRestartResponse\"7\n\034CreateRobot" + "PartSecretRequest\022\027\n\007part_id\030\001 \001(\tR\006part" + "Id\"K\n\035CreateRobotPartSecretResponse\022*\n\004p" + "art\030\001 \001(\0132\026.viam.app.v1.RobotPartR\004part\"" + "T\n\034DeleteRobotPartSecretRequest\022\027\n\007part_" + "id\030\001 \001(\tR\006partId\022\033\n\tsecret_id\030\002 \001(\tR\010sec" + "retId\"\037\n\035DeleteRobotPartSecretResponse\"\236" + "\002\n\rAuthorization\022-\n\022authorization_type\030\001" + " \001(\tR\021authorizationType\022)\n\020authorization" + "_id\030\002 \001(\tR\017authorizationId\022#\n\rresource_t" + "ype\030\003 \001(\tR\014resourceType\022\037\n\013resource_id\030\004" + " \001(\tR\nresourceId\022\037\n\013identity_id\030\005 \001(\tR\ni" + "dentityId\022\'\n\017organization_id\030\006 \001(\tR\016orga" + "nizationId\022#\n\ridentity_type\030\007 \001(\tR\014ident" + "ityType\"R\n\016AddRoleRequest\022@\n\rauthorizati" + "on\030\001 \001(\0132\032.viam.app.v1.AuthorizationR\rau" + "thorization\"\021\n\017AddRoleResponse\"U\n\021Remove" + "RoleRequest\022@\n\rauthorization\030\001 \001(\0132\032.via" + "m.app.v1.AuthorizationR\rauthorization\"\024\n" + "\022RemoveRoleResponse\"\245\001\n\021ChangeRoleReques" + "t\022G\n\021old_authorization\030\001 \001(\0132\032.viam.app." + "v1.AuthorizationR\020oldAuthorization\022G\n\021ne" + "w_authorization\030\002 \001(\0132\032.viam.app.v1.Auth" + "orizationR\020newAuthorization\"\024\n\022ChangeRol" + "eResponse\"g\n\031ListAuthorizationsRequest\022\'" + "\n\017organization_id\030\001 \001(\tR\016organizationId\022" + "!\n\014resource_ids\030\002 \003(\tR\013resourceIds\"`\n\032Li" + "stAuthorizationsResponse\022B\n\016authorizatio" + "ns\030\001 \003(\0132\032.viam.app.v1.AuthorizationR\016au" + "thorizations\"_\n\027CheckPermissionsRequest\022" + "D\n\013permissions\030\001 \003(\0132\".viam.app.v1.Autho" + "rizedPermissionsR\013permissions\"\177\n\025Authori" + "zedPermissions\022#\n\rresource_type\030\001 \001(\tR\014r" + "esourceType\022\037\n\013resource_id\030\002 \001(\tR\nresour" + "ceId\022 \n\013permissions\030\003 \003(\tR\013permissions\"u" + "\n\030CheckPermissionsResponse\022Y\n\026authorized" + "_permissions\030\001 \003(\0132\".viam.app.v1.Authori" + "zedPermissionsR\025authorizedPermissions\"\321\001" + "\n\rModuleVersion\022\030\n\007version\030\001 \001(\tR\007versio" + "n\022*\n\005files\030\002 \003(\0132\024.viam.app.v1.UploadsR\005" + "files\022*\n\006models\030\003 \003(\0132\022.viam.app.v1.Mode" + "lR\006models\022\036\n\nentrypoint\030\004 \001(\tR\nentrypoin" + "t\022 \n\tfirst_run\030\005 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_" + "first_run\"\304\001\n\016ModuleMetadata\022*\n\006models\030\001" + " \003(\0132\022.viam.app.v1.ModelR\006models\0226\n\010vers" + "ions\030\002 \003(\0132\032.viam.app.v1.ModuleVersionR\010" + "versions\022\036\n\nentrypoint\030\003 \001(\tR\nentrypoint" + "\022 \n\tfirst_run\030\004 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_f" + "irst_run\"\300\001\n\017MLModelMetadata\022\032\n\010versions" + "\030\001 \003(\tR\010versions\022@\n\nmodel_type\030\002 \001(\0162!.v" + "iam.app.mltraining.v1.ModelTypeR\tmodelTy" + "pe\022O\n\017model_framework\030\003 \001(\0162&.viam.app.m" + "ltraining.v1.ModelFrameworkR\016modelFramew" + "ork\"h\n\021MLTrainingVersion\022\030\n\007version\030\001 \001(" + "\tR\007version\0229\n\ncreated_on\030\002 \001(\0132\032.google." + "protobuf.TimestampR\tcreatedOn\"\377\001\n\022MLTrai" + "ningMetadata\022:\n\010versions\030\005 \003(\0132\036.viam.ap" + "p.v1.MLTrainingVersionR\010versions\022@\n\nmode" + "l_type\030\002 \001(\0162!.viam.app.mltraining.v1.Mo" + "delTypeR\tmodelType\022O\n\017model_framework\030\003 " + "\001(\0162&.viam.app.mltraining.v1.ModelFramew" + "orkR\016modelFramework\022\024\n\005draft\030\004 \001(\010R\005draf" + "tJ\004\010\001\020\002\"\214\007\n\014RegistryItem\022\027\n\007item_id\030\001 \001(" + "\tR\006itemId\022\'\n\017organization_id\030\002 \001(\tR\016orga" + "nizationId\022)\n\020public_namespace\030\003 \001(\tR\017pu" + "blicNamespace\022\022\n\004name\030\004 \001(\tR\004name\0225\n\004typ" + "e\030\005 \001(\0162!.viam.app.packages.v1.PackageTy" + "peR\004type\0227\n\nvisibility\030\006 \001(\0162\027.viam.app." + "v1.VisibilityR\nvisibility\022\020\n\003url\030\007 \001(\tR\003" + "url\022 \n\013description\030\010 \001(\tR\013description\022*\n" + "\021total_robot_usage\030\t \001(\003R\017totalRobotUsag" + "e\022;\n\032total_external_robot_usage\030\r \001(\003R\027t" + "otalExternalRobotUsage\0228\n\030total_organiza" + "tion_usage\030\n \001(\003R\026totalOrganizationUsage" + "\022I\n!total_external_organization_usage\030\016 " + "\001(\003R\036totalExternalOrganizationUsage\022F\n\017m" + "odule_metadata\030\013 \001(\0132\033.viam.app.v1.Modul" + "eMetadataH\000R\016moduleMetadata\022J\n\021ml_model_" + "metadata\030\014 \001(\0132\034.viam.app.v1.MLModelMeta" + "dataH\000R\017mlModelMetadata\022S\n\024ml_training_m" + "etadata\030\022 \001(\0132\037.viam.app.v1.MLTrainingMe" + "tadataH\000R\022mlTrainingMetadata\0229\n\ncreated_" + "at\030\017 \001(\0132\032.google.protobuf.TimestampR\tcr" + "eatedAt\0229\n\nupdated_at\030\020 \001(\0132\032.google.pro" + "tobuf.TimestampR\tupdatedAtB\n\n\010metadata\"\237" + "\001\n\026GetRegistryItemRequest\022\027\n\007item_id\030\001 \001" + "(\tR\006itemId\022I\n\036include_markdown_documenta" + "tion\030\002 \001(\010H\000R\034includeMarkdownDocumentati" + "on\210\001\001B!\n\037_include_markdown_documentation" + "\"H\n\027GetRegistryItemResponse\022-\n\004item\030\001 \001(" + "\0132\031.viam.app.v1.RegistryItemR\004item\"\217\001\n\031C" + "reateRegistryItemRequest\022\'\n\017organization" + "_id\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(\tR" + "\004name\0225\n\004type\030\003 \001(\0162!.viam.app.packages." + "v1.PackageTypeR\004type\"\034\n\032CreateRegistryIt" + "emResponse\"\223\004\n\031UpdateRegistryItemRequest" + "\022\027\n\007item_id\030\001 \001(\tR\006itemId\0225\n\004type\030\002 \001(\0162" + "!.viam.app.packages.v1.PackageTypeR\004type" + "\022 \n\013description\030\003 \001(\tR\013description\0227\n\nvi" + "sibility\030\004 \001(\0162\027.viam.app.v1.VisibilityR" + "\nvisibility\022\025\n\003url\030\005 \001(\tH\001R\003url\210\001\001\022Y\n\026mo" + "dule_update_metadata\030\006 \001(\0132!.viam.app.v1" + ".UpdateModuleMetadataH\000R\024moduleUpdateMet" + "adata\022]\n\030ml_model_update_metadata\030\007 \001(\0132" + "\".viam.app.v1.UpdateMLModelMetadataH\000R\025m" + "lModelUpdateMetadata\022f\n\033ml_training_upda" + "te_metadata\030\010 \001(\0132%.viam.app.v1.UpdateML" + "TrainingMetadataH\000R\030mlTrainingUpdateMeta" + "dataB\n\n\010metadataB\006\n\004_url\"\034\n\032UpdateRegist" + "ryItemResponse\"\261\004\n\030ListRegistryItemsRequ" + "est\022,\n\017organization_id\030\001 \001(\tH\000R\016organiza" + "tionId\210\001\001\0227\n\005types\030\002 \003(\0162!.viam.app.pack" + "ages.v1.PackageTypeR\005types\022;\n\014visibiliti" + "es\030\003 \003(\0162\027.viam.app.v1.VisibilityR\014visib" + "ilities\022\034\n\tplatforms\030\004 \003(\tR\tplatforms\022;\n" + "\010statuses\030\005 \003(\0162\037.viam.app.v1.RegistryIt" + "emStatusR\010statuses\022$\n\013search_term\030\006 \001(\tH" + "\001R\nsearchTerm\210\001\001\022\"\n\npage_token\030\007 \001(\tH\002R\t" + "pageToken\210\001\001\022+\n\021public_namespaces\030\010 \003(\tR" + "\020publicNamespaces\022I\n\036include_markdown_do" + "cumentation\030\t \001(\010H\003R\034includeMarkdownDocu" + "mentation\210\001\001B\022\n\020_organization_idB\016\n\014_sea" + "rch_termB\r\n\013_page_tokenB!\n\037_include_mark" + "down_documentation\"L\n\031ListRegistryItemsR" + "esponse\022/\n\005items\030\001 \003(\0132\031.viam.app.v1.Reg" + "istryItemR\005items\"4\n\031DeleteRegistryItemRe" + "quest\022\027\n\007item_id\030\001 \001(\tR\006itemId\"\034\n\032Delete" + "RegistryItemResponse\"h\n\033TransferRegistry" + "ItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\0220\n\024" + "new_public_namespace\030\002 \001(\tR\022newPublicNam" + "espace\"\036\n\034TransferRegistryItemResponse\"R" + "\n\023CreateModuleRequest\022\'\n\017organization_id" + "\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(\tR\004na" + "me\"E\n\024CreateModuleResponse\022\033\n\tmodule_id\030" + "\001 \001(\tR\010moduleId\022\020\n\003url\030\002 \001(\tR\003url\"\233\002\n\023Up" + "dateModuleRequest\022\033\n\tmodule_id\030\001 \001(\tR\010mo" + "duleId\0227\n\nvisibility\030\002 \001(\0162\027.viam.app.v1" + ".VisibilityR\nvisibility\022\020\n\003url\030\003 \001(\tR\003ur" + "l\022 \n\013description\030\004 \001(\tR\013description\022*\n\006m" + "odels\030\005 \003(\0132\022.viam.app.v1.ModelR\006models\022" + "\036\n\nentrypoint\030\006 \001(\tR\nentrypoint\022 \n\tfirst" + "_run\030\007 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_first_run\"" + "(\n\024UpdateModuleResponse\022\020\n\003url\030\001 \001(\tR\003ur" + "l\"b\n\024UpdateModuleMetadata\022*\n\006models\030\001 \003(" + "\0132\022.viam.app.v1.ModelR\006models\022\036\n\nentrypo" + "int\030\002 \001(\tR\nentrypoint\"\252\001\n\025UpdateMLModelM" + "etadata\022@\n\nmodel_type\030\001 \001(\0162!.viam.app.m" + "ltraining.v1.ModelTypeR\tmodelType\022O\n\017mod" + "el_framework\030\002 \001(\0162&.viam.app.mltraining" + ".v1.ModelFrameworkR\016modelFramework\"\303\001\n\030U" + "pdateMLTrainingMetadata\022@\n\nmodel_type\030\001 " + "\001(\0162!.viam.app.mltraining.v1.ModelTypeR\t" + "modelType\022O\n\017model_framework\030\002 \001(\0162&.via" + "m.app.mltraining.v1.ModelFrameworkR\016mode" + "lFramework\022\024\n\005draft\030\003 \001(\010R\005draft\"\275\001\n\005Mod" + "el\022\020\n\003api\030\001 \001(\tR\003api\022\024\n\005model\030\002 \001(\tR\005mod" + "el\022:\n\026markdown_documentation\030\003 \001(\tH\000R\025ma" + "rkdownDocumentation\210\001\001\022%\n\013description\030\004 " + "\001(\tH\001R\013description\210\001\001B\031\n\027_markdown_docum" + "entationB\016\n\014_description\"\210\001\n\016ModuleFileI" + "nfo\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\022\030\n\007vers" + "ion\030\002 \001(\tR\007version\022\032\n\010platform\030\003 \001(\tR\010pl" + "atform\022#\n\rplatform_tags\030\005 \003(\tR\014platformT" + "ags\"\207\001\n\027UploadModuleFileRequest\022G\n\020modul" + "e_file_info\030\001 \001(\0132\033.viam.app.v1.ModuleFi" + "leInfoH\000R\016moduleFileInfo\022\024\n\004file\030\002 \001(\014H\000" + "R\004fileB\r\n\013module_file\",\n\030UploadModuleFil" + "eResponse\022\020\n\003url\030\001 \001(\tR\003url\"\235\001\n\020GetModul" + "eRequest\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\022I\n" + "\036include_markdown_documentation\030\002 \001(\010H\000R" + "\034includeMarkdownDocumentation\210\001\001B!\n\037_inc" + "lude_markdown_documentation\"@\n\021GetModule" + "Response\022+\n\006module\030\001 \001(\0132\023.viam.app.v1.M" + "oduleR\006module\"\225\004\n\006Module\022\033\n\tmodule_id\030\001 " + "\001(\tR\010moduleId\022\022\n\004name\030\002 \001(\tR\004name\0227\n\nvis" + "ibility\030\003 \001(\0162\027.viam.app.v1.VisibilityR\n" + "visibility\0227\n\010versions\030\004 \003(\0132\033.viam.app." + "v1.VersionHistoryR\010versions\022\020\n\003url\030\005 \001(\t" + "R\003url\022 \n\013description\030\006 \001(\tR\013description\022" + "*\n\006models\030\007 \003(\0132\022.viam.app.v1.ModelR\006mod" + "els\022*\n\021total_robot_usage\030\010 \001(\003R\017totalRob" + "otUsage\0228\n\030total_organization_usage\030\t \001(" + "\003R\026totalOrganizationUsage\022\'\n\017organizatio" + "n_id\030\n \001(\tR\016organizationId\022\036\n\nentrypoint" + "\030\013 \001(\tR\nentrypoint\022)\n\020public_namespace\030\014" + " \001(\tR\017publicNamespace\022 \n\tfirst_run\030\r \001(\t" + "H\000R\010firstRun\210\001\001B\014\n\n_first_run\"\322\001\n\016Versio" + "nHistory\022\030\n\007version\030\001 \001(\tR\007version\022*\n\005fi" + "les\030\002 \003(\0132\024.viam.app.v1.UploadsR\005files\022*" + "\n\006models\030\003 \003(\0132\022.viam.app.v1.ModelR\006mode" + "ls\022\036\n\nentrypoint\030\004 \001(\tR\nentrypoint\022 \n\tfi" + "rst_run\030\005 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_first_r" + "un\"b\n\007Uploads\022\032\n\010platform\030\001 \001(\tR\010platfor" + "m\022;\n\013uploaded_at\030\002 \001(\0132\032.google.protobuf" + ".TimestampR\nuploadedAt\"\304\001\n\022ListModulesRe" "quest\022,\n\017organization_id\030\001 \001(\tH\000R\016organi" - "zationId\210\001\001\0227\n\005types\030\002 \003(\0162!.viam.app.pa" - "ckages.v1.PackageTypeR\005types\022;\n\014visibili" - "ties\030\003 \003(\0162\027.viam.app.v1.VisibilityR\014vis" - "ibilities\022\034\n\tplatforms\030\004 \003(\tR\tplatforms\022" - ";\n\010statuses\030\005 \003(\0162\037.viam.app.v1.Registry" - "ItemStatusR\010statuses\022$\n\013search_term\030\006 \001(" - "\tH\001R\nsearchTerm\210\001\001\022\"\n\npage_token\030\007 \001(\tH\002" - "R\tpageToken\210\001\001\022+\n\021public_namespaces\030\010 \003(" - "\tR\020publicNamespaces\022I\n\036include_markdown_" - "documentation\030\t \001(\010H\003R\034includeMarkdownDo" - "cumentation\210\001\001B\022\n\020_organization_idB\016\n\014_s" - "earch_termB\r\n\013_page_tokenB!\n\037_include_ma" - "rkdown_documentation\"L\n\031ListRegistryItem" - "sResponse\022/\n\005items\030\001 \003(\0132\031.viam.app.v1.R" - "egistryItemR\005items\"4\n\031DeleteRegistryItem" - "Request\022\027\n\007item_id\030\001 \001(\tR\006itemId\"\034\n\032Dele" - "teRegistryItemResponse\"h\n\033TransferRegist" - "ryItemRequest\022\027\n\007item_id\030\001 \001(\tR\006itemId\0220" - "\n\024new_public_namespace\030\002 \001(\tR\022newPublicN" - "amespace\"\036\n\034TransferRegistryItemResponse" - "\"R\n\023CreateModuleRequest\022\'\n\017organization_" - "id\030\001 \001(\tR\016organizationId\022\022\n\004name\030\002 \001(\tR\004" - "name\"E\n\024CreateModuleResponse\022\033\n\tmodule_i" - "d\030\001 \001(\tR\010moduleId\022\020\n\003url\030\002 \001(\tR\003url\"\233\002\n\023" - "UpdateModuleRequest\022\033\n\tmodule_id\030\001 \001(\tR\010" - "moduleId\0227\n\nvisibility\030\002 \001(\0162\027.viam.app." - "v1.VisibilityR\nvisibility\022\020\n\003url\030\003 \001(\tR\003" - "url\022 \n\013description\030\004 \001(\tR\013description\022*\n" - "\006models\030\005 \003(\0132\022.viam.app.v1.ModelR\006model" - "s\022\036\n\nentrypoint\030\006 \001(\tR\nentrypoint\022 \n\tfir" - "st_run\030\007 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_first_ru" - "n\"(\n\024UpdateModuleResponse\022\020\n\003url\030\001 \001(\tR\003" - "url\"b\n\024UpdateModuleMetadata\022*\n\006models\030\001 " - "\003(\0132\022.viam.app.v1.ModelR\006models\022\036\n\nentry" - "point\030\002 \001(\tR\nentrypoint\"\252\001\n\025UpdateMLMode" - "lMetadata\022@\n\nmodel_type\030\001 \001(\0162!.viam.app" - ".mltraining.v1.ModelTypeR\tmodelType\022O\n\017m" - "odel_framework\030\002 \001(\0162&.viam.app.mltraini" - "ng.v1.ModelFrameworkR\016modelFramework\"\303\001\n" - "\030UpdateMLTrainingMetadata\022@\n\nmodel_type\030" - "\001 \001(\0162!.viam.app.mltraining.v1.ModelType" - "R\tmodelType\022O\n\017model_framework\030\002 \001(\0162&.v" - "iam.app.mltraining.v1.ModelFrameworkR\016mo" - "delFramework\022\024\n\005draft\030\003 \001(\010R\005draft\"\275\001\n\005M" - "odel\022\020\n\003api\030\001 \001(\tR\003api\022\024\n\005model\030\002 \001(\tR\005m" - "odel\022:\n\026markdown_documentation\030\003 \001(\tH\000R\025" - "markdownDocumentation\210\001\001\022%\n\013description\030" - "\004 \001(\tH\001R\013description\210\001\001B\031\n\027_markdown_doc" - "umentationB\016\n\014_description\"\210\001\n\016ModuleFil" - "eInfo\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\022\030\n\007ve" - "rsion\030\002 \001(\tR\007version\022\032\n\010platform\030\003 \001(\tR\010" - "platform\022#\n\rplatform_tags\030\005 \003(\tR\014platfor" - "mTags\"\207\001\n\027UploadModuleFileRequest\022G\n\020mod" - "ule_file_info\030\001 \001(\0132\033.viam.app.v1.Module" - "FileInfoH\000R\016moduleFileInfo\022\024\n\004file\030\002 \001(\014" - "H\000R\004fileB\r\n\013module_file\",\n\030UploadModuleF" - "ileResponse\022\020\n\003url\030\001 \001(\tR\003url\"\235\001\n\020GetMod" - "uleRequest\022\033\n\tmodule_id\030\001 \001(\tR\010moduleId\022" - "I\n\036include_markdown_documentation\030\002 \001(\010H" - "\000R\034includeMarkdownDocumentation\210\001\001B!\n\037_i" - "nclude_markdown_documentation\"@\n\021GetModu" - "leResponse\022+\n\006module\030\001 \001(\0132\023.viam.app.v1" - ".ModuleR\006module\"\225\004\n\006Module\022\033\n\tmodule_id\030" - "\001 \001(\tR\010moduleId\022\022\n\004name\030\002 \001(\tR\004name\0227\n\nv" - "isibility\030\003 \001(\0162\027.viam.app.v1.Visibility" - "R\nvisibility\0227\n\010versions\030\004 \003(\0132\033.viam.ap" - "p.v1.VersionHistoryR\010versions\022\020\n\003url\030\005 \001" - "(\tR\003url\022 \n\013description\030\006 \001(\tR\013descriptio" - "n\022*\n\006models\030\007 \003(\0132\022.viam.app.v1.ModelR\006m" - "odels\022*\n\021total_robot_usage\030\010 \001(\003R\017totalR" - "obotUsage\0228\n\030total_organization_usage\030\t " - "\001(\003R\026totalOrganizationUsage\022\'\n\017organizat" - "ion_id\030\n \001(\tR\016organizationId\022\036\n\nentrypoi" - "nt\030\013 \001(\tR\nentrypoint\022)\n\020public_namespace" - "\030\014 \001(\tR\017publicNamespace\022 \n\tfirst_run\030\r \001" - "(\tH\000R\010firstRun\210\001\001B\014\n\n_first_run\"\322\001\n\016Vers" - "ionHistory\022\030\n\007version\030\001 \001(\tR\007version\022*\n\005" - "files\030\002 \003(\0132\024.viam.app.v1.UploadsR\005files" - "\022*\n\006models\030\003 \003(\0132\022.viam.app.v1.ModelR\006mo" - "dels\022\036\n\nentrypoint\030\004 \001(\tR\nentrypoint\022 \n\t" - "first_run\030\005 \001(\tH\000R\010firstRun\210\001\001B\014\n\n_first" - "_run\"b\n\007Uploads\022\032\n\010platform\030\001 \001(\tR\010platf" - "orm\022;\n\013uploaded_at\030\002 \001(\0132\032.google.protob" - "uf.TimestampR\nuploadedAt\"\304\001\n\022ListModules" - "Request\022,\n\017organization_id\030\001 \001(\tH\000R\016orga" - "nizationId\210\001\001\022I\n\036include_markdown_docume" - "ntation\030\002 \001(\010H\001R\034includeMarkdownDocument" - "ation\210\001\001B\022\n\020_organization_idB!\n\037_include" - "_markdown_documentation\"D\n\023ListModulesRe" - "sponse\022-\n\007modules\030\001 \003(\0132\023.viam.app.v1.Mo" - "duleR\007modules\"/\n\027GetUserIDByEmailRequest" - "\022\024\n\005email\030\001 \001(\tR\005email\"3\n\030GetUserIDByEma" - "ilResponse\022\027\n\007user_id\030\001 \001(\tR\006userId\"9\n\036L" - "istOrganizationsByUserRequest\022\027\n\007user_id" - "\030\001 \001(\tR\006userId\"\255\001\n\nOrgDetails\022\025\n\006org_id\030" - "\001 \001(\tR\005orgId\022\031\n\010org_name\030\002 \001(\tR\007orgName\022" - "\034\n\007org_cid\030\003 \001(\tH\000R\006orgCid\210\001\001\022.\n\020public_" - "namespace\030\004 \001(\tH\001R\017publicNamespace\210\001\001B\n\n" - "\010_org_cidB\023\n\021_public_namespace\"N\n\037ListOr" - "ganizationsByUserResponse\022+\n\004orgs\030\001 \003(\0132" - "\027.viam.app.v1.OrgDetailsR\004orgs\"\324\001\n\032Searc" - "hOrganizationsRequest\022\032\n\006org_id\030\001 \001(\tH\000R" - "\005orgId\210\001\001\022\036\n\010org_name\030\002 \001(\tH\001R\007orgName\210\001" - "\001\022\025\n\003cid\030\003 \001(\tH\002R\003cid\210\001\001\022.\n\020public_names" - "pace\030\004 \001(\tH\003R\017publicNamespace\210\001\001B\t\n\007_org" - "_idB\013\n\t_org_nameB\006\n\004_cidB\023\n\021_public_name" - "space\"\\\n\033SearchOrganizationsResponse\022=\n\r" - "organizations\030\001 \003(\0132\027.viam.app.v1.OrgDet" - "ailsR\rorganizations\"j\n\020CreateKeyRequest\022" - "B\n\016authorizations\030\001 \003(\0132\032.viam.app.v1.Au" - "thorizationR\016authorizations\022\022\n\004name\030\002 \001(" - "\tR\004name\"5\n\021CreateKeyResponse\022\020\n\003key\030\001 \001(" - "\tR\003key\022\016\n\002id\030\002 \001(\tR\002id\"\"\n\020DeleteKeyReque" - "st\022\016\n\002id\030\001 \001(\tR\002id\"\023\n\021DeleteKeyResponse\"" - "6\n\020RenameKeyRequest\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004n" - "ame\030\002 \001(\tR\004name\"7\n\021RenameKeyResponse\022\016\n\002" - "id\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\"\315\001\n\024Aut" - "horizationDetails\022-\n\022authorization_type\030" - "\001 \001(\tR\021authorizationType\022)\n\020authorizatio" - "n_id\030\002 \001(\tR\017authorizationId\022#\n\rresource_" - "type\030\003 \001(\tR\014resourceType\022\037\n\013resource_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\006apiKey\022I\n\016a" - "uthorizations\030\002 \003(\0132!.viam.app.v1.Author" - "izationDetailsR\016authorizations\"(\n\017ListKe" - "ysRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"T\n\020List" - "KeysResponse\022@\n\010api_keys\030\001 \003(\0132%.viam.ap" - "p.v1.APIKeyWithAuthorizationsR\007apiKeys\"\"" - "\n\020RotateKeyRequest\022\016\n\002id\030\001 \001(\tR\002id\"5\n\021Ro" - "tateKeyResponse\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002" - " \001(\tR\003key\"\?\n-CreateKeyFromExistingKeyAut" - "horizationsRequest\022\016\n\002id\030\001 \001(\tR\002id\"R\n.Cr" - "eateKeyFromExistingKeyAuthorizationsResp" - "onse\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001(\tR\003key\"G" - "\n\032OrganizationSetLogoRequest\022\025\n\006org_id\030\001" - " \001(\tR\005orgId\022\022\n\004logo\030\002 \001(\014R\004logo\"\035\n\033Organ" - "izationSetLogoResponse\"3\n\032OrganizationGe" - "tLogoRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"/\n\033O" - "rganizationGetLogoResponse\022\020\n\003url\030\001 \001(\tR" - "\003url\"1\n\030EnableAuthServiceRequest\022\025\n\006org_" - "id\030\001 \001(\tR\005orgId\"\033\n\031EnableAuthServiceResp" - "onse\"2\n\031DisableAuthServiceRequest\022\025\n\006org" - "_id\030\001 \001(\tR\005orgId\"\034\n\032DisableAuthServiceRe" - "sponse\"\214\001\n\025CreateOAuthAppRequest\022\025\n\006org_" - "id\030\001 \001(\tR\005orgId\022\037\n\013client_name\030\002 \001(\tR\ncl" - "ientName\022;\n\014oauth_config\030\003 \001(\0132\030.viam.ap" - "p.v1.OAuthConfigR\013oauthConfig\"Z\n\026CreateO" - "AuthAppResponse\022\033\n\tclient_id\030\001 \001(\tR\010clie" - "ntId\022#\n\rclient_secret\030\002 \001(\tR\014clientSecre" - "t\"I\n\023ReadOAuthAppRequest\022\025\n\006org_id\030\001 \001(\t" - "R\005orgId\022\033\n\tclient_id\030\002 \001(\tR\010clientId\"\231\001\n" - "\024ReadOAuthAppResponse\022\037\n\013client_name\030\001 \001" - "(\tR\nclientName\022#\n\rclient_secret\030\002 \001(\tR\014c" - "lientSecret\022;\n\014oauth_config\030\003 \001(\0132\030.viam" - ".app.v1.OAuthConfigR\013oauthConfig\"\251\001\n\025Upd" - "ateOAuthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgI" - "d\022\033\n\tclient_id\030\002 \001(\tR\010clientId\022\037\n\013client" - "_name\030\003 \001(\tR\nclientName\022;\n\014oauth_config\030" - "\004 \001(\0132\030.viam.app.v1.OAuthConfigR\013oauthCo" - "nfig\"\030\n\026UpdateOAuthAppResponse\"K\n\025Delete" - "OAuthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\033" - "\n\tclient_id\030\002 \001(\tR\010clientId\"\030\n\026DeleteOAu" - "thAppResponse\"-\n\024ListOAuthAppsRequest\022\025\n" - "\006org_id\030\001 \001(\tR\005orgId\"6\n\025ListOAuthAppsRes" - "ponse\022\035\n\nclient_ids\030\001 \003(\tR\tclientIds\"\366\002\n" - "\013OAuthConfig\022V\n\025client_authentication\030\001 " - "\001(\0162!.viam.app.v1.ClientAuthenticationR\024" - "clientAuthentication\022%\n\004pkce\030\002 \001(\0162\021.via" - "m.app.v1.PKCER\004pkce\022A\n\016url_validation\030\003 " - "\001(\0162\032.viam.app.v1.URLValidationR\rurlVali" - "dation\022\037\n\013origin_uris\030\004 \003(\tR\noriginUris\022" - "#\n\rredirect_uris\030\005 \003(\tR\014redirectUris\022\035\n\n" - "logout_uri\030\006 \001(\tR\tlogoutUri\022@\n\016enabled_g" - "rants\030\007 \003(\0162\031.viam.app.v1.EnabledGrantR\r" - "enabledGrants*\321\001\n\022AuthenticationType\022#\n\037" - "AUTHENTICATION_TYPE_UNSPECIFIED\020\000\022!\n\035AUT" - "HENTICATION_TYPE_WEB_OAUTH\020\001\022\037\n\033AUTHENTI" - "CATION_TYPE_API_KEY\020\002\022)\n%AUTHENTICATION_" - "TYPE_ROBOT_PART_SECRET\020\003\022\'\n#AUTHENTICATI" - "ON_TYPE_LOCATION_SECRET\020\004*\243\001\n\022FragmentVi" - "sibility\022#\n\037FRAGMENT_VISIBILITY_UNSPECIF" - "IED\020\000\022\037\n\033FRAGMENT_VISIBILITY_PRIVATE\020\001\022\036" - "\n\032FRAGMENT_VISIBILITY_PUBLIC\020\002\022\'\n#FRAGME" - "NT_VISIBILITY_PUBLIC_UNLISTED\020\003*\335\001\n\021Frag" - "mentErrorType\022#\n\037FRAGMENT_ERROR_TYPE_UNS" - "PECIFIED\020\000\022!\n\035FRAGMENT_ERROR_TYPE_NO_ACC" - "ESS\020\001\022.\n*FRAGMENT_ERROR_TYPE_NESTING_LIM" - "IT_EXCEEDED\020\002\022(\n$FRAGMENT_ERROR_TYPE_CHI" - "LD_ID_INVALID\020\003\022&\n\"FRAGMENT_ERROR_TYPE_C" - "YCLE_DETECTED\020\004*\207\001\n\022RegistryItemStatus\022$" - "\n REGISTRY_ITEM_STATUS_UNSPECIFIED\020\000\022\"\n\036" - "REGISTRY_ITEM_STATUS_PUBLISHED\020\001\022\'\n#REGI" - "STRY_ITEM_STATUS_IN_DEVELOPMENT\020\002*w\n\nVis" - "ibility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\026\n\022V" - "ISIBILITY_PRIVATE\020\001\022\025\n\021VISIBILITY_PUBLIC" - "\020\002\022\036\n\032VISIBILITY_PUBLIC_UNLISTED\020\003*\301\001\n\024C" - "lientAuthentication\022%\n!CLIENT_AUTHENTICA" - "TION_UNSPECIFIED\020\000\022\"\n\036CLIENT_AUTHENTICAT" - "ION_REQUIRED\020\001\022&\n\"CLIENT_AUTHENTICATION_" - "NOT_REQUIRED\020\002\0226\n2CLIENT_AUTHENTICATION_" - "NOT_REQUIRED_WHEN_USING_PKCE\020\003*~\n\004PKCE\022\024" - "\n\020PKCE_UNSPECIFIED\020\000\022\021\n\rPKCE_REQUIRED\020\001\022" - "\025\n\021PKCE_NOT_REQUIRED\020\002\0226\n2PKCE_NOT_REQUI" - "RED_WHEN_USING_CLIENT_AUTHENTICATION\020\003*s" - "\n\rURLValidation\022\036\n\032URL_VALIDATION_UNSPEC" - "IFIED\020\000\022\036\n\032URL_VALIDATION_EXACT_MATCH\020\001\022" - "\"\n\036URL_VALIDATION_ALLOW_WILDCARDS\020\002*\313\001\n\014" - "EnabledGrant\022\035\n\031ENABLED_GRANT_UNSPECIFIE" - "D\020\000\022$\n ENABLED_GRANT_AUTHORIZATION_CODE\020" - "\001\022\032\n\026ENABLED_GRANT_IMPLICIT\020\002\022\032\n\026ENABLED" - "_GRANT_PASSWORD\020\003\022\037\n\033ENABLED_GRANT_REFRE" - "SH_TOKEN\020\004\022\035\n\031ENABLED_GRANT_DEVICE_CODE\020" - "\0052\251G\n\nAppService\022_\n\020GetUserIDByEmail\022$.v" - "iam.app.v1.GetUserIDByEmailRequest\032%.via" - "m.app.v1.GetUserIDByEmailResponse\022e\n\022Cre" - "ateOrganization\022&.viam.app.v1.CreateOrga" - "nizationRequest\032\'.viam.app.v1.CreateOrga" - "nizationResponse\022b\n\021ListOrganizations\022%." - "viam.app.v1.ListOrganizationsRequest\032&.v" - "iam.app.v1.ListOrganizationsResponse\022\233\001\n" - "$GetOrganizationsWithAccessToLocation\0228." - "viam.app.v1.GetOrganizationsWithAccessTo" - "LocationRequest\0329.viam.app.v1.GetOrganiz" - "ationsWithAccessToLocationResponse\022t\n\027Li" - "stOrganizationsByUser\022+.viam.app.v1.List" - "OrganizationsByUserRequest\032,.viam.app.v1" - ".ListOrganizationsByUserResponse\022h\n\023Sear" - "chOrganizations\022\'.viam.app.v1.SearchOrga" - "nizationsRequest\032(.viam.app.v1.SearchOrg" - "anizationsResponse\022\\\n\017GetOrganization\022#." - "viam.app.v1.GetOrganizationRequest\032$.via" - "m.app.v1.GetOrganizationResponse\022\233\001\n$Get" - "OrganizationNamespaceAvailability\0228.viam" - ".app.v1.GetOrganizationNamespaceAvailabi" - "lityRequest\0329.viam.app.v1.GetOrganizatio" - "nNamespaceAvailabilityResponse\022e\n\022Update" - "Organization\022&.viam.app.v1.UpdateOrganiz" - "ationRequest\032\'.viam.app.v1.UpdateOrganiz" - "ationResponse\022e\n\022DeleteOrganization\022&.vi" - "am.app.v1.DeleteOrganizationRequest\032\'.vi" - "am.app.v1.DeleteOrganizationResponse\022t\n\027" - "ListOrganizationMembers\022+.viam.app.v1.Li" - "stOrganizationMembersRequest\032,.viam.app." - "v1.ListOrganizationMembersResponse\022w\n\030Cr" - "eateOrganizationInvite\022,.viam.app.v1.Cre" - "ateOrganizationInviteRequest\032-.viam.app." - "v1.CreateOrganizationInviteResponse\022\241\001\n&" - "UpdateOrganizationInviteAuthorizations\022:" - ".viam.app.v1.UpdateOrganizationInviteAut" - "horizationsRequest\032;.viam.app.v1.UpdateO" - "rganizationInviteAuthorizationsResponse\022" - "w\n\030DeleteOrganizationMember\022,.viam.app.v" - "1.DeleteOrganizationMemberRequest\032-.viam" - ".app.v1.DeleteOrganizationMemberResponse" - "\022w\n\030DeleteOrganizationInvite\022,.viam.app." - "v1.DeleteOrganizationInviteRequest\032-.via" - "m.app.v1.DeleteOrganizationInviteRespons" - "e\022w\n\030ResendOrganizationInvite\022,.viam.app" - ".v1.ResendOrganizationInviteRequest\032-.vi" - "am.app.v1.ResendOrganizationInviteRespon" - "se\022k\n\024EnableBillingService\022(.viam.app.v1" - ".EnableBillingServiceRequest\032).viam.app." - "v1.EnableBillingServiceResponse\022n\n\025Disab" - "leBillingService\022).viam.app.v1.DisableBi" - "llingServiceRequest\032*.viam.app.v1.Disabl" - "eBillingServiceResponse\022k\n\024UpdateBilling" - "Service\022(.viam.app.v1.UpdateBillingServi" - "ceRequest\032).viam.app.v1.UpdateBillingSer" - "viceResponse\022t\n\027GetBillingServiceConfig\022" - "+.viam.app.v1.GetBillingServiceConfigReq" - "uest\032,.viam.app.v1.GetBillingServiceConf" - "igResponse\022\200\001\n\033OrganizationSetSupportEma" - "il\022/.viam.app.v1.OrganizationSetSupportE" - "mailRequest\0320.viam.app.v1.OrganizationSe" - "tSupportEmailResponse\022\200\001\n\033OrganizationGe" - "tSupportEmail\022/.viam.app.v1.Organization" - "GetSupportEmailRequest\0320.viam.app.v1.Org" - "anizationGetSupportEmailResponse\022h\n\023Orga" - "nizationSetLogo\022\'.viam.app.v1.Organizati" - "onSetLogoRequest\032(.viam.app.v1.Organizat" - "ionSetLogoResponse\022h\n\023OrganizationGetLog" - "o\022\'.viam.app.v1.OrganizationGetLogoReque" - "st\032(.viam.app.v1.OrganizationGetLogoResp" - "onse\022b\n\021EnableAuthService\022%.viam.app.v1." - "EnableAuthServiceRequest\032&.viam.app.v1.E" - "nableAuthServiceResponse\022e\n\022DisableAuthS" - "ervice\022&.viam.app.v1.DisableAuthServiceR" - "equest\032\'.viam.app.v1.DisableAuthServiceR" - "esponse\022Y\n\016CreateOAuthApp\022\".viam.app.v1." - "CreateOAuthAppRequest\032#.viam.app.v1.Crea" - "teOAuthAppResponse\022S\n\014ReadOAuthApp\022 .via" - "m.app.v1.ReadOAuthAppRequest\032!.viam.app." - "v1.ReadOAuthAppResponse\022Y\n\016UpdateOAuthAp" - "p\022\".viam.app.v1.UpdateOAuthAppRequest\032#." - "viam.app.v1.UpdateOAuthAppResponse\022Y\n\016De" - "leteOAuthApp\022\".viam.app.v1.DeleteOAuthAp" - "pRequest\032#.viam.app.v1.DeleteOAuthAppRes" - "ponse\022V\n\rListOAuthApps\022!.viam.app.v1.Lis" - "tOAuthAppsRequest\032\".viam.app.v1.ListOAut" - "hAppsResponse\022Y\n\016CreateLocation\022\".viam.a" - "pp.v1.CreateLocationRequest\032#.viam.app.v" - "1.CreateLocationResponse\022P\n\013GetLocation\022" - "\037.viam.app.v1.GetLocationRequest\032 .viam." - "app.v1.GetLocationResponse\022Y\n\016UpdateLoca" - "tion\022\".viam.app.v1.UpdateLocationRequest" - "\032#.viam.app.v1.UpdateLocationResponse\022Y\n" - "\016DeleteLocation\022\".viam.app.v1.DeleteLoca" - "tionRequest\032#.viam.app.v1.DeleteLocation" - "Response\022V\n\rListLocations\022!.viam.app.v1." - "ListLocationsRequest\032\".viam.app.v1.ListL" - "ocationsResponse\022V\n\rShareLocation\022!.viam" - ".app.v1.ShareLocationRequest\032\".viam.app." - "v1.ShareLocationResponse\022\\\n\017UnshareLocat" - "ion\022#.viam.app.v1.UnshareLocationRequest" - "\032$.viam.app.v1.UnshareLocationResponse\022S" - "\n\014LocationAuth\022 .viam.app.v1.LocationAut" - "hRequest\032!.viam.app.v1.LocationAuthRespo" - "nse\022k\n\024CreateLocationSecret\022(.viam.app.v" - "1.CreateLocationSecretRequest\032).viam.app" - ".v1.CreateLocationSecretResponse\022k\n\024Dele" - "teLocationSecret\022(.viam.app.v1.DeleteLoc" - "ationSecretRequest\032).viam.app.v1.DeleteL" - "ocationSecretResponse\022G\n\010GetRobot\022\034.viam" - ".app.v1.GetRobotRequest\032\035.viam.app.v1.Ge" - "tRobotResponse\022k\n\024GetRoverRentalRobots\022(" - ".viam.app.v1.GetRoverRentalRobotsRequest" - "\032).viam.app.v1.GetRoverRentalRobotsRespo" - "nse\022V\n\rGetRobotParts\022!.viam.app.v1.GetRo" - "botPartsRequest\032\".viam.app.v1.GetRobotPa" - "rtsResponse\022S\n\014GetRobotPart\022 .viam.app.v" - "1.GetRobotPartRequest\032!.viam.app.v1.GetR" - "obotPartResponse\022_\n\020GetRobotPartLogs\022$.v" - "iam.app.v1.GetRobotPartLogsRequest\032%.via" - "m.app.v1.GetRobotPartLogsResponse\022d\n\021Tai" - "lRobotPartLogs\022%.viam.app.v1.TailRobotPa" - "rtLogsRequest\032&.viam.app.v1.TailRobotPar" - "tLogsResponse0\001\022h\n\023GetRobotPartHistory\022\'" - ".viam.app.v1.GetRobotPartHistoryRequest\032" - "(.viam.app.v1.GetRobotPartHistoryRespons" - "e\022\\\n\017UpdateRobotPart\022#.viam.app.v1.Updat" - "eRobotPartRequest\032$.viam.app.v1.UpdateRo" - "botPartResponse\022S\n\014NewRobotPart\022 .viam.a" - "pp.v1.NewRobotPartRequest\032!.viam.app.v1." - "NewRobotPartResponse\022\\\n\017DeleteRobotPart\022" - "#.viam.app.v1.DeleteRobotPartRequest\032$.v" - "iam.app.v1.DeleteRobotPartResponse\022\\\n\017Ge" - "tRobotAPIKeys\022#.viam.app.v1.GetRobotAPIK" - "eysRequest\032$.viam.app.v1.GetRobotAPIKeys" - "Response\022Y\n\016MarkPartAsMain\022\".viam.app.v1" - ".MarkPartAsMainRequest\032#.viam.app.v1.Mar" - "kPartAsMainResponse\022e\n\022MarkPartForRestar" - "t\022&.viam.app.v1.MarkPartForRestartReques" - "t\032\'.viam.app.v1.MarkPartForRestartRespon" - "se\022n\n\025CreateRobotPartSecret\022).viam.app.v" - "1.CreateRobotPartSecretRequest\032*.viam.ap" - "p.v1.CreateRobotPartSecretResponse\022n\n\025De" - "leteRobotPartSecret\022).viam.app.v1.Delete" - "RobotPartSecretRequest\032*.viam.app.v1.Del" - "eteRobotPartSecretResponse\022M\n\nListRobots" - "\022\036.viam.app.v1.ListRobotsRequest\032\037.viam." - "app.v1.ListRobotsResponse\022G\n\010NewRobot\022\034." - "viam.app.v1.NewRobotRequest\032\035.viam.app.v" - "1.NewRobotResponse\022P\n\013UpdateRobot\022\037.viam" - ".app.v1.UpdateRobotRequest\032 .viam.app.v1" - ".UpdateRobotResponse\022P\n\013DeleteRobot\022\037.vi" - "am.app.v1.DeleteRobotRequest\032 .viam.app." - "v1.DeleteRobotResponse\022V\n\rListFragments\022" - "!.viam.app.v1.ListFragmentsRequest\032\".via" - "m.app.v1.ListFragmentsResponse\022P\n\013GetFra" - "gment\022\037.viam.app.v1.GetFragmentRequest\032 " - ".viam.app.v1.GetFragmentResponse\022Y\n\016Crea" - "teFragment\022\".viam.app.v1.CreateFragmentR" - "equest\032#.viam.app.v1.CreateFragmentRespo" - "nse\022Y\n\016UpdateFragment\022\".viam.app.v1.Upda" - "teFragmentRequest\032#.viam.app.v1.UpdateFr" - "agmentResponse\022Y\n\016DeleteFragment\022\".viam." - "app.v1.DeleteFragmentRequest\032#.viam.app." - "v1.DeleteFragmentResponse\022k\n\024ListMachine" - "Fragments\022(.viam.app.v1.ListMachineFragm" - "entsRequest\032).viam.app.v1.ListMachineFra" - "gmentsResponse\022e\n\022GetFragmentHistory\022&.v" - "iam.app.v1.GetFragmentHistoryRequest\032\'.v" - "iam.app.v1.GetFragmentHistoryResponse\022_\n" - "\020GetFragmentUsage\022$.viam.app.v1.GetFragm" - "entUsageRequest\032%.viam.app.v1.GetFragmen" - "tUsageResponse\022Y\n\016SetFragmentTag\022\".viam." - "app.v1.SetFragmentTagRequest\032#.viam.app." - "v1.SetFragmentTagResponse\022b\n\021DeleteFragm" - "entTag\022%.viam.app.v1.DeleteFragmentTagRe" - "quest\032&.viam.app.v1.DeleteFragmentTagRes" - "ponse\022D\n\007AddRole\022\033.viam.app.v1.AddRoleRe" - "quest\032\034.viam.app.v1.AddRoleResponse\022M\n\nR" - "emoveRole\022\036.viam.app.v1.RemoveRoleReques" - "t\032\037.viam.app.v1.RemoveRoleResponse\022M\n\nCh" - "angeRole\022\036.viam.app.v1.ChangeRoleRequest" - "\032\037.viam.app.v1.ChangeRoleResponse\022e\n\022Lis" - "tAuthorizations\022&.viam.app.v1.ListAuthor" - "izationsRequest\032\'.viam.app.v1.ListAuthor" - "izationsResponse\022_\n\020CheckPermissions\022$.v" - "iam.app.v1.CheckPermissionsRequest\032%.via" - "m.app.v1.CheckPermissionsResponse\022\\\n\017Get" - "RegistryItem\022#.viam.app.v1.GetRegistryIt" - "emRequest\032$.viam.app.v1.GetRegistryItemR" - "esponse\022e\n\022CreateRegistryItem\022&.viam.app" - ".v1.CreateRegistryItemRequest\032\'.viam.app" - ".v1.CreateRegistryItemResponse\022e\n\022Update" - "RegistryItem\022&.viam.app.v1.UpdateRegistr" - "yItemRequest\032\'.viam.app.v1.UpdateRegistr" - "yItemResponse\022b\n\021ListRegistryItems\022%.via" - "m.app.v1.ListRegistryItemsRequest\032&.viam" - ".app.v1.ListRegistryItemsResponse\022e\n\022Del" - "eteRegistryItem\022&.viam.app.v1.DeleteRegi" - "stryItemRequest\032\'.viam.app.v1.DeleteRegi" - "stryItemResponse\022k\n\024TransferRegistryItem" - "\022(.viam.app.v1.TransferRegistryItemReque" - "st\032).viam.app.v1.TransferRegistryItemRes" - "ponse\022S\n\014CreateModule\022 .viam.app.v1.Crea" - "teModuleRequest\032!.viam.app.v1.CreateModu" - "leResponse\022S\n\014UpdateModule\022 .viam.app.v1" - ".UpdateModuleRequest\032!.viam.app.v1.Updat" - "eModuleResponse\022a\n\020UploadModuleFile\022$.vi" - "am.app.v1.UploadModuleFileRequest\032%.viam" - ".app.v1.UploadModuleFileResponse(\001\022J\n\tGe" - "tModule\022\035.viam.app.v1.GetModuleRequest\032\036" - ".viam.app.v1.GetModuleResponse\022P\n\013ListMo" - "dules\022\037.viam.app.v1.ListModulesRequest\032 " - ".viam.app.v1.ListModulesResponse\022J\n\tCrea" - "teKey\022\035.viam.app.v1.CreateKeyRequest\032\036.v" - "iam.app.v1.CreateKeyResponse\022J\n\tDeleteKe" - "y\022\035.viam.app.v1.DeleteKeyRequest\032\036.viam." - "app.v1.DeleteKeyResponse\022G\n\010ListKeys\022\034.v" - "iam.app.v1.ListKeysRequest\032\035.viam.app.v1" - ".ListKeysResponse\022J\n\tRenameKey\022\035.viam.ap" - "p.v1.RenameKeyRequest\032\036.viam.app.v1.Rena" - "meKeyResponse\022J\n\tRotateKey\022\035.viam.app.v1" - ".RotateKeyRequest\032\036.viam.app.v1.RotateKe" - "yResponse\022\241\001\n&CreateKeyFromExistingKeyAu" - "thorizations\022:.viam.app.v1.CreateKeyFrom" - "ExistingKeyAuthorizationsRequest\032;.viam." - "app.v1.CreateKeyFromExistingKeyAuthoriza" - "tionsResponseB\030Z\026go.viam.com/api/app/v1b" - "\006proto3" + "zationId\210\001\001\022I\n\036include_markdown_document" + "ation\030\002 \001(\010H\001R\034includeMarkdownDocumentat" + "ion\210\001\001B\022\n\020_organization_idB!\n\037_include_m" + "arkdown_documentation\"D\n\023ListModulesResp" + "onse\022-\n\007modules\030\001 \003(\0132\023.viam.app.v1.Modu" + "leR\007modules\"/\n\027GetUserIDByEmailRequest\022\024" + "\n\005email\030\001 \001(\tR\005email\"3\n\030GetUserIDByEmail" + "Response\022\027\n\007user_id\030\001 \001(\tR\006userId\"9\n\036Lis" + "tOrganizationsByUserRequest\022\027\n\007user_id\030\001" + " \001(\tR\006userId\"\255\001\n\nOrgDetails\022\025\n\006org_id\030\001 " + "\001(\tR\005orgId\022\031\n\010org_name\030\002 \001(\tR\007orgName\022\034\n" + "\007org_cid\030\003 \001(\tH\000R\006orgCid\210\001\001\022.\n\020public_na" + "mespace\030\004 \001(\tH\001R\017publicNamespace\210\001\001B\n\n\010_" + "org_cidB\023\n\021_public_namespace\"N\n\037ListOrga" + "nizationsByUserResponse\022+\n\004orgs\030\001 \003(\0132\027." + "viam.app.v1.OrgDetailsR\004orgs\"\324\001\n\032SearchO" + "rganizationsRequest\022\032\n\006org_id\030\001 \001(\tH\000R\005o" + "rgId\210\001\001\022\036\n\010org_name\030\002 \001(\tH\001R\007orgName\210\001\001\022" + "\025\n\003cid\030\003 \001(\tH\002R\003cid\210\001\001\022.\n\020public_namespa" + "ce\030\004 \001(\tH\003R\017publicNamespace\210\001\001B\t\n\007_org_i" + "dB\013\n\t_org_nameB\006\n\004_cidB\023\n\021_public_namesp" + "ace\"\\\n\033SearchOrganizationsResponse\022=\n\ror" + "ganizations\030\001 \003(\0132\027.viam.app.v1.OrgDetai" + "lsR\rorganizations\"j\n\020CreateKeyRequest\022B\n" + "\016authorizations\030\001 \003(\0132\032.viam.app.v1.Auth" + "orizationR\016authorizations\022\022\n\004name\030\002 \001(\tR" + "\004name\"5\n\021CreateKeyResponse\022\020\n\003key\030\001 \001(\tR" + "\003key\022\016\n\002id\030\002 \001(\tR\002id\"\"\n\020DeleteKeyRequest" + "\022\016\n\002id\030\001 \001(\tR\002id\"\023\n\021DeleteKeyResponse\"6\n" + "\020RenameKeyRequest\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004nam" + "e\030\002 \001(\tR\004name\"7\n\021RenameKeyResponse\022\016\n\002id" + "\030\001 \001(\tR\002id\022\022\n\004name\030\002 \001(\tR\004name\"\315\001\n\024Autho" + "rizationDetails\022-\n\022authorization_type\030\001 " + "\001(\tR\021authorizationType\022)\n\020authorization_" + "id\030\002 \001(\tR\017authorizationId\022#\n\rresource_ty" + "pe\030\003 \001(\tR\014resourceType\022\037\n\013resource_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\006apiKey\022I\n\016aut" + "horizations\030\002 \003(\0132!.viam.app.v1.Authoriz" + "ationDetailsR\016authorizations\"(\n\017ListKeys" + "Request\022\025\n\006org_id\030\001 \001(\tR\005orgId\"T\n\020ListKe" + "ysResponse\022@\n\010api_keys\030\001 \003(\0132%.viam.app." + "v1.APIKeyWithAuthorizationsR\007apiKeys\"\"\n\020" + "RotateKeyRequest\022\016\n\002id\030\001 \001(\tR\002id\"5\n\021Rota" + "teKeyResponse\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001" + "(\tR\003key\"\?\n-CreateKeyFromExistingKeyAutho" + "rizationsRequest\022\016\n\002id\030\001 \001(\tR\002id\"R\n.Crea" + "teKeyFromExistingKeyAuthorizationsRespon" + "se\022\016\n\002id\030\001 \001(\tR\002id\022\020\n\003key\030\002 \001(\tR\003key\"G\n\032" + "OrganizationSetLogoRequest\022\025\n\006org_id\030\001 \001" + "(\tR\005orgId\022\022\n\004logo\030\002 \001(\014R\004logo\"\035\n\033Organiz" + "ationSetLogoResponse\"3\n\032OrganizationGetL" + "ogoRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\"/\n\033Org" + "anizationGetLogoResponse\022\020\n\003url\030\001 \001(\tR\003u" + "rl\"1\n\030EnableAuthServiceRequest\022\025\n\006org_id" + "\030\001 \001(\tR\005orgId\"\033\n\031EnableAuthServiceRespon" + "se\"2\n\031DisableAuthServiceRequest\022\025\n\006org_i" + "d\030\001 \001(\tR\005orgId\"\034\n\032DisableAuthServiceResp" + "onse\"\214\001\n\025CreateOAuthAppRequest\022\025\n\006org_id" + "\030\001 \001(\tR\005orgId\022\037\n\013client_name\030\002 \001(\tR\nclie" + "ntName\022;\n\014oauth_config\030\003 \001(\0132\030.viam.app." + "v1.OAuthConfigR\013oauthConfig\"Z\n\026CreateOAu" + "thAppResponse\022\033\n\tclient_id\030\001 \001(\tR\010client" + "Id\022#\n\rclient_secret\030\002 \001(\tR\014clientSecret\"" + "I\n\023ReadOAuthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005" + "orgId\022\033\n\tclient_id\030\002 \001(\tR\010clientId\"\231\001\n\024R" + "eadOAuthAppResponse\022\037\n\013client_name\030\001 \001(\t" + "R\nclientName\022#\n\rclient_secret\030\002 \001(\tR\014cli" + "entSecret\022;\n\014oauth_config\030\003 \001(\0132\030.viam.a" + "pp.v1.OAuthConfigR\013oauthConfig\"\251\001\n\025Updat" + "eOAuthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022" + "\033\n\tclient_id\030\002 \001(\tR\010clientId\022\037\n\013client_n" + "ame\030\003 \001(\tR\nclientName\022;\n\014oauth_config\030\004 " + "\001(\0132\030.viam.app.v1.OAuthConfigR\013oauthConf" + "ig\"\030\n\026UpdateOAuthAppResponse\"K\n\025DeleteOA" + "uthAppRequest\022\025\n\006org_id\030\001 \001(\tR\005orgId\022\033\n\t" + "client_id\030\002 \001(\tR\010clientId\"\030\n\026DeleteOAuth" + "AppResponse\"-\n\024ListOAuthAppsRequest\022\025\n\006o" + "rg_id\030\001 \001(\tR\005orgId\"6\n\025ListOAuthAppsRespo" + "nse\022\035\n\nclient_ids\030\001 \003(\tR\tclientIds\"\366\002\n\013O" + "AuthConfig\022V\n\025client_authentication\030\001 \001(" + "\0162!.viam.app.v1.ClientAuthenticationR\024cl" + "ientAuthentication\022%\n\004pkce\030\002 \001(\0162\021.viam." + "app.v1.PKCER\004pkce\022A\n\016url_validation\030\003 \001(" + "\0162\032.viam.app.v1.URLValidationR\rurlValida" + "tion\022\037\n\013origin_uris\030\004 \003(\tR\noriginUris\022#\n" + "\rredirect_uris\030\005 \003(\tR\014redirectUris\022\035\n\nlo" + "gout_uri\030\006 \001(\tR\tlogoutUri\022@\n\016enabled_gra" + "nts\030\007 \003(\0162\031.viam.app.v1.EnabledGrantR\ren" + "abledGrants*\321\001\n\022AuthenticationType\022#\n\037AU" + "THENTICATION_TYPE_UNSPECIFIED\020\000\022!\n\035AUTHE" + "NTICATION_TYPE_WEB_OAUTH\020\001\022\037\n\033AUTHENTICA" + "TION_TYPE_API_KEY\020\002\022)\n%AUTHENTICATION_TY" + "PE_ROBOT_PART_SECRET\020\003\022\'\n#AUTHENTICATION" + "_TYPE_LOCATION_SECRET\020\004*\243\001\n\022FragmentVisi" + "bility\022#\n\037FRAGMENT_VISIBILITY_UNSPECIFIE" + "D\020\000\022\037\n\033FRAGMENT_VISIBILITY_PRIVATE\020\001\022\036\n\032" + "FRAGMENT_VISIBILITY_PUBLIC\020\002\022\'\n#FRAGMENT" + "_VISIBILITY_PUBLIC_UNLISTED\020\003*\335\001\n\021Fragme" + "ntErrorType\022#\n\037FRAGMENT_ERROR_TYPE_UNSPE" + "CIFIED\020\000\022!\n\035FRAGMENT_ERROR_TYPE_NO_ACCES" + "S\020\001\022.\n*FRAGMENT_ERROR_TYPE_NESTING_LIMIT" + "_EXCEEDED\020\002\022(\n$FRAGMENT_ERROR_TYPE_CHILD" + "_ID_INVALID\020\003\022&\n\"FRAGMENT_ERROR_TYPE_CYC" + "LE_DETECTED\020\004*\207\001\n\022RegistryItemStatus\022$\n " + "REGISTRY_ITEM_STATUS_UNSPECIFIED\020\000\022\"\n\036RE" + "GISTRY_ITEM_STATUS_PUBLISHED\020\001\022\'\n#REGIST" + "RY_ITEM_STATUS_IN_DEVELOPMENT\020\002*w\n\nVisib" + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\026\n\022VIS" + "IBILITY_PRIVATE\020\001\022\025\n\021VISIBILITY_PUBLIC\020\002" + "\022\036\n\032VISIBILITY_PUBLIC_UNLISTED\020\003*\301\001\n\024Cli" + "entAuthentication\022%\n!CLIENT_AUTHENTICATI" + "ON_UNSPECIFIED\020\000\022\"\n\036CLIENT_AUTHENTICATIO" + "N_REQUIRED\020\001\022&\n\"CLIENT_AUTHENTICATION_NO" + "T_REQUIRED\020\002\0226\n2CLIENT_AUTHENTICATION_NO" + "T_REQUIRED_WHEN_USING_PKCE\020\003*~\n\004PKCE\022\024\n\020" + "PKCE_UNSPECIFIED\020\000\022\021\n\rPKCE_REQUIRED\020\001\022\025\n" + "\021PKCE_NOT_REQUIRED\020\002\0226\n2PKCE_NOT_REQUIRE" + "D_WHEN_USING_CLIENT_AUTHENTICATION\020\003*s\n\r" + "URLValidation\022\036\n\032URL_VALIDATION_UNSPECIF" + "IED\020\000\022\036\n\032URL_VALIDATION_EXACT_MATCH\020\001\022\"\n" + "\036URL_VALIDATION_ALLOW_WILDCARDS\020\002*\313\001\n\014En" + "abledGrant\022\035\n\031ENABLED_GRANT_UNSPECIFIED\020" + "\000\022$\n ENABLED_GRANT_AUTHORIZATION_CODE\020\001\022" + "\032\n\026ENABLED_GRANT_IMPLICIT\020\002\022\032\n\026ENABLED_G" + "RANT_PASSWORD\020\003\022\037\n\033ENABLED_GRANT_REFRESH" + "_TOKEN\020\004\022\035\n\031ENABLED_GRANT_DEVICE_CODE\020\0052" + "\251N\n\nAppService\022_\n\020GetUserIDByEmail\022$.via" + "m.app.v1.GetUserIDByEmailRequest\032%.viam." + "app.v1.GetUserIDByEmailResponse\022e\n\022Creat" + "eOrganization\022&.viam.app.v1.CreateOrgani" + "zationRequest\032\'.viam.app.v1.CreateOrgani" + "zationResponse\022b\n\021ListOrganizations\022%.vi" + "am.app.v1.ListOrganizationsRequest\032&.via" + "m.app.v1.ListOrganizationsResponse\022\233\001\n$G" + "etOrganizationsWithAccessToLocation\0228.vi" + "am.app.v1.GetOrganizationsWithAccessToLo" + "cationRequest\0329.viam.app.v1.GetOrganizat" + "ionsWithAccessToLocationResponse\022t\n\027List" + "OrganizationsByUser\022+.viam.app.v1.ListOr" + "ganizationsByUserRequest\032,.viam.app.v1.L" + "istOrganizationsByUserResponse\022h\n\023Search" + "Organizations\022\'.viam.app.v1.SearchOrgani" + "zationsRequest\032(.viam.app.v1.SearchOrgan" + "izationsResponse\022\\\n\017GetOrganization\022#.vi" + "am.app.v1.GetOrganizationRequest\032$.viam." + "app.v1.GetOrganizationResponse\022\233\001\n$GetOr" + "ganizationNamespaceAvailability\0228.viam.a" + "pp.v1.GetOrganizationNamespaceAvailabili" + "tyRequest\0329.viam.app.v1.GetOrganizationN" + "amespaceAvailabilityResponse\022e\n\022UpdateOr" + "ganization\022&.viam.app.v1.UpdateOrganizat" + "ionRequest\032\'.viam.app.v1.UpdateOrganizat" + "ionResponse\022e\n\022DeleteOrganization\022&.viam" + ".app.v1.DeleteOrganizationRequest\032\'.viam" + ".app.v1.DeleteOrganizationResponse\022t\n\027Ge" + "tOrganizationMetadata\022+.viam.app.v1.GetO" + "rganizationMetadataRequest\032,.viam.app.v1" + ".GetOrganizationMetadataResponse\022}\n\032Upda" + "teOrganizationMetadata\022..viam.app.v1.Upd" + "ateOrganizationMetadataRequest\032/.viam.ap" + "p.v1.UpdateOrganizationMetadataResponse\022" + "t\n\027ListOrganizationMembers\022+.viam.app.v1" + ".ListOrganizationMembersRequest\032,.viam.a" + "pp.v1.ListOrganizationMembersResponse\022w\n" + "\030CreateOrganizationInvite\022,.viam.app.v1." + "CreateOrganizationInviteRequest\032-.viam.a" + "pp.v1.CreateOrganizationInviteResponse\022\241" + "\001\n&UpdateOrganizationInviteAuthorization" + "s\022:.viam.app.v1.UpdateOrganizationInvite" + "AuthorizationsRequest\032;.viam.app.v1.Upda" + "teOrganizationInviteAuthorizationsRespon" + "se\022w\n\030DeleteOrganizationMember\022,.viam.ap" + "p.v1.DeleteOrganizationMemberRequest\032-.v" + "iam.app.v1.DeleteOrganizationMemberRespo" + "nse\022w\n\030DeleteOrganizationInvite\022,.viam.a" + "pp.v1.DeleteOrganizationInviteRequest\032-." + "viam.app.v1.DeleteOrganizationInviteResp" + "onse\022w\n\030ResendOrganizationInvite\022,.viam." + "app.v1.ResendOrganizationInviteRequest\032-" + ".viam.app.v1.ResendOrganizationInviteRes" + "ponse\022k\n\024EnableBillingService\022(.viam.app" + ".v1.EnableBillingServiceRequest\032).viam.a" + "pp.v1.EnableBillingServiceResponse\022n\n\025Di" + "sableBillingService\022).viam.app.v1.Disabl" + "eBillingServiceRequest\032*.viam.app.v1.Dis" + "ableBillingServiceResponse\022k\n\024UpdateBill" + "ingService\022(.viam.app.v1.UpdateBillingSe" + "rviceRequest\032).viam.app.v1.UpdateBilling" + "ServiceResponse\022t\n\027GetBillingServiceConf" + "ig\022+.viam.app.v1.GetBillingServiceConfig" + "Request\032,.viam.app.v1.GetBillingServiceC" + "onfigResponse\022\200\001\n\033OrganizationSetSupport" + "Email\022/.viam.app.v1.OrganizationSetSuppo" + "rtEmailRequest\0320.viam.app.v1.Organizatio" + "nSetSupportEmailResponse\022\200\001\n\033Organizatio" + "nGetSupportEmail\022/.viam.app.v1.Organizat" + "ionGetSupportEmailRequest\0320.viam.app.v1." + "OrganizationGetSupportEmailResponse\022h\n\023O" + "rganizationSetLogo\022\'.viam.app.v1.Organiz" + "ationSetLogoRequest\032(.viam.app.v1.Organi" + "zationSetLogoResponse\022h\n\023OrganizationGet" + "Logo\022\'.viam.app.v1.OrganizationGetLogoRe" + "quest\032(.viam.app.v1.OrganizationGetLogoR" + "esponse\022b\n\021EnableAuthService\022%.viam.app." + "v1.EnableAuthServiceRequest\032&.viam.app.v" + "1.EnableAuthServiceResponse\022e\n\022DisableAu" + "thService\022&.viam.app.v1.DisableAuthServi" + "ceRequest\032\'.viam.app.v1.DisableAuthServi" + "ceResponse\022Y\n\016CreateOAuthApp\022\".viam.app." + "v1.CreateOAuthAppRequest\032#.viam.app.v1.C" + "reateOAuthAppResponse\022S\n\014ReadOAuthApp\022 ." + "viam.app.v1.ReadOAuthAppRequest\032!.viam.a" + "pp.v1.ReadOAuthAppResponse\022Y\n\016UpdateOAut" + "hApp\022\".viam.app.v1.UpdateOAuthAppRequest" + "\032#.viam.app.v1.UpdateOAuthAppResponse\022Y\n" + "\016DeleteOAuthApp\022\".viam.app.v1.DeleteOAut" + "hAppRequest\032#.viam.app.v1.DeleteOAuthApp" + "Response\022V\n\rListOAuthApps\022!.viam.app.v1." + "ListOAuthAppsRequest\032\".viam.app.v1.ListO" + "AuthAppsResponse\022Y\n\016CreateLocation\022\".via" + "m.app.v1.CreateLocationRequest\032#.viam.ap" + "p.v1.CreateLocationResponse\022P\n\013GetLocati" + "on\022\037.viam.app.v1.GetLocationRequest\032 .vi" + "am.app.v1.GetLocationResponse\022Y\n\016UpdateL" + "ocation\022\".viam.app.v1.UpdateLocationRequ" + "est\032#.viam.app.v1.UpdateLocationResponse" + "\022Y\n\016DeleteLocation\022\".viam.app.v1.DeleteL" + "ocationRequest\032#.viam.app.v1.DeleteLocat" + "ionResponse\022h\n\023GetLocationMetadata\022\'.via" + "m.app.v1.GetLocationMetadataRequest\032(.vi" + "am.app.v1.GetLocationMetadataResponse\022q\n" + "\026UpdateLocationMetadata\022*.viam.app.v1.Up" + "dateLocationMetadataRequest\032+.viam.app.v" + "1.UpdateLocationMetadataResponse\022V\n\rList" + "Locations\022!.viam.app.v1.ListLocationsReq" + "uest\032\".viam.app.v1.ListLocationsResponse" + "\022V\n\rShareLocation\022!.viam.app.v1.ShareLoc" + "ationRequest\032\".viam.app.v1.ShareLocation" + "Response\022\\\n\017UnshareLocation\022#.viam.app.v" + "1.UnshareLocationRequest\032$.viam.app.v1.U" + "nshareLocationResponse\022S\n\014LocationAuth\022 " + ".viam.app.v1.LocationAuthRequest\032!.viam." + "app.v1.LocationAuthResponse\022k\n\024CreateLoc" + "ationSecret\022(.viam.app.v1.CreateLocation" + "SecretRequest\032).viam.app.v1.CreateLocati" + "onSecretResponse\022k\n\024DeleteLocationSecret" + "\022(.viam.app.v1.DeleteLocationSecretReque" + "st\032).viam.app.v1.DeleteLocationSecretRes" + "ponse\022G\n\010GetRobot\022\034.viam.app.v1.GetRobot" + "Request\032\035.viam.app.v1.GetRobotResponse\022_" + "\n\020GetRobotMetadata\022$.viam.app.v1.GetRobo" + "tMetadataRequest\032%.viam.app.v1.GetRobotM" + "etadataResponse\022h\n\023UpdateRobotMetadata\022\'" + ".viam.app.v1.UpdateRobotMetadataRequest\032" + "(.viam.app.v1.UpdateRobotMetadataRespons" + "e\022k\n\024GetRoverRentalRobots\022(.viam.app.v1." + "GetRoverRentalRobotsRequest\032).viam.app.v" + "1.GetRoverRentalRobotsResponse\022V\n\rGetRob" + "otParts\022!.viam.app.v1.GetRobotPartsReque" + "st\032\".viam.app.v1.GetRobotPartsResponse\022S" + "\n\014GetRobotPart\022 .viam.app.v1.GetRobotPar" + "tRequest\032!.viam.app.v1.GetRobotPartRespo" + "nse\022_\n\020GetRobotPartLogs\022$.viam.app.v1.Ge" + "tRobotPartLogsRequest\032%.viam.app.v1.GetR" + "obotPartLogsResponse\022d\n\021TailRobotPartLog" + "s\022%.viam.app.v1.TailRobotPartLogsRequest" + "\032&.viam.app.v1.TailRobotPartLogsResponse" + "0\001\022h\n\023GetRobotPartHistory\022\'.viam.app.v1." + "GetRobotPartHistoryRequest\032(.viam.app.v1" + ".GetRobotPartHistoryResponse\022\\\n\017UpdateRo" + "botPart\022#.viam.app.v1.UpdateRobotPartReq" + "uest\032$.viam.app.v1.UpdateRobotPartRespon" + "se\022S\n\014NewRobotPart\022 .viam.app.v1.NewRobo" + "tPartRequest\032!.viam.app.v1.NewRobotPartR" + "esponse\022\\\n\017DeleteRobotPart\022#.viam.app.v1" + ".DeleteRobotPartRequest\032$.viam.app.v1.De" + "leteRobotPartResponse\022k\n\024GetRobotPartMet" + "adata\022(.viam.app.v1.GetRobotPartMetadata" + "Request\032).viam.app.v1.GetRobotPartMetada" + "taResponse\022t\n\027UpdateRobotPartMetadata\022+." + "viam.app.v1.UpdateRobotPartMetadataReque" + "st\032,.viam.app.v1.UpdateRobotPartMetadata" + "Response\022\\\n\017GetRobotAPIKeys\022#.viam.app.v" + "1.GetRobotAPIKeysRequest\032$.viam.app.v1.G" + "etRobotAPIKeysResponse\022Y\n\016MarkPartAsMain" + "\022\".viam.app.v1.MarkPartAsMainRequest\032#.v" + "iam.app.v1.MarkPartAsMainResponse\022e\n\022Mar" + "kPartForRestart\022&.viam.app.v1.MarkPartFo" + "rRestartRequest\032\'.viam.app.v1.MarkPartFo" + "rRestartResponse\022n\n\025CreateRobotPartSecre" + "t\022).viam.app.v1.CreateRobotPartSecretReq" + "uest\032*.viam.app.v1.CreateRobotPartSecret" + "Response\022n\n\025DeleteRobotPartSecret\022).viam" + ".app.v1.DeleteRobotPartSecretRequest\032*.v" + "iam.app.v1.DeleteRobotPartSecretResponse" + "\022M\n\nListRobots\022\036.viam.app.v1.ListRobotsR" + "equest\032\037.viam.app.v1.ListRobotsResponse\022" + "G\n\010NewRobot\022\034.viam.app.v1.NewRobotReques" + "t\032\035.viam.app.v1.NewRobotResponse\022P\n\013Upda" + "teRobot\022\037.viam.app.v1.UpdateRobotRequest" + "\032 .viam.app.v1.UpdateRobotResponse\022P\n\013De" + "leteRobot\022\037.viam.app.v1.DeleteRobotReque" + "st\032 .viam.app.v1.DeleteRobotResponse\022V\n\r" + "ListFragments\022!.viam.app.v1.ListFragment" + "sRequest\032\".viam.app.v1.ListFragmentsResp" + "onse\022P\n\013GetFragment\022\037.viam.app.v1.GetFra" + "gmentRequest\032 .viam.app.v1.GetFragmentRe" + "sponse\022Y\n\016CreateFragment\022\".viam.app.v1.C" + "reateFragmentRequest\032#.viam.app.v1.Creat" + "eFragmentResponse\022Y\n\016UpdateFragment\022\".vi" + "am.app.v1.UpdateFragmentRequest\032#.viam.a" + "pp.v1.UpdateFragmentResponse\022Y\n\016DeleteFr" + "agment\022\".viam.app.v1.DeleteFragmentReque" + "st\032#.viam.app.v1.DeleteFragmentResponse\022" + "k\n\024ListMachineFragments\022(.viam.app.v1.Li" + "stMachineFragmentsRequest\032).viam.app.v1." + "ListMachineFragmentsResponse\022e\n\022GetFragm" + "entHistory\022&.viam.app.v1.GetFragmentHist" + "oryRequest\032\'.viam.app.v1.GetFragmentHist" + "oryResponse\022_\n\020GetFragmentUsage\022$.viam.a" + "pp.v1.GetFragmentUsageRequest\032%.viam.app" + ".v1.GetFragmentUsageResponse\022Y\n\016SetFragm" + "entTag\022\".viam.app.v1.SetFragmentTagReque" + "st\032#.viam.app.v1.SetFragmentTagResponse\022" + "b\n\021DeleteFragmentTag\022%.viam.app.v1.Delet" + "eFragmentTagRequest\032&.viam.app.v1.Delete" + "FragmentTagResponse\022D\n\007AddRole\022\033.viam.ap" + "p.v1.AddRoleRequest\032\034.viam.app.v1.AddRol" + "eResponse\022M\n\nRemoveRole\022\036.viam.app.v1.Re" + "moveRoleRequest\032\037.viam.app.v1.RemoveRole" + "Response\022M\n\nChangeRole\022\036.viam.app.v1.Cha" + "ngeRoleRequest\032\037.viam.app.v1.ChangeRoleR" + "esponse\022e\n\022ListAuthorizations\022&.viam.app" + ".v1.ListAuthorizationsRequest\032\'.viam.app" + ".v1.ListAuthorizationsResponse\022_\n\020CheckP" + "ermissions\022$.viam.app.v1.CheckPermission" + "sRequest\032%.viam.app.v1.CheckPermissionsR" + "esponse\022\\\n\017GetRegistryItem\022#.viam.app.v1" + ".GetRegistryItemRequest\032$.viam.app.v1.Ge" + "tRegistryItemResponse\022e\n\022CreateRegistryI" + "tem\022&.viam.app.v1.CreateRegistryItemRequ" + "est\032\'.viam.app.v1.CreateRegistryItemResp" + "onse\022e\n\022UpdateRegistryItem\022&.viam.app.v1" + ".UpdateRegistryItemRequest\032\'.viam.app.v1" + ".UpdateRegistryItemResponse\022b\n\021ListRegis" + "tryItems\022%.viam.app.v1.ListRegistryItems" + "Request\032&.viam.app.v1.ListRegistryItemsR" + "esponse\022e\n\022DeleteRegistryItem\022&.viam.app" + ".v1.DeleteRegistryItemRequest\032\'.viam.app" + ".v1.DeleteRegistryItemResponse\022k\n\024Transf" + "erRegistryItem\022(.viam.app.v1.TransferReg" + "istryItemRequest\032).viam.app.v1.TransferR" + "egistryItemResponse\022S\n\014CreateModule\022 .vi" + "am.app.v1.CreateModuleRequest\032!.viam.app" + ".v1.CreateModuleResponse\022S\n\014UpdateModule" + "\022 .viam.app.v1.UpdateModuleRequest\032!.via" + "m.app.v1.UpdateModuleResponse\022a\n\020UploadM" + "oduleFile\022$.viam.app.v1.UploadModuleFile" + "Request\032%.viam.app.v1.UploadModuleFileRe" + "sponse(\001\022J\n\tGetModule\022\035.viam.app.v1.GetM" + "oduleRequest\032\036.viam.app.v1.GetModuleResp" + "onse\022P\n\013ListModules\022\037.viam.app.v1.ListMo" + "dulesRequest\032 .viam.app.v1.ListModulesRe" + "sponse\022J\n\tCreateKey\022\035.viam.app.v1.Create" + "KeyRequest\032\036.viam.app.v1.CreateKeyRespon" + "se\022J\n\tDeleteKey\022\035.viam.app.v1.DeleteKeyR" + "equest\032\036.viam.app.v1.DeleteKeyResponse\022G" + "\n\010ListKeys\022\034.viam.app.v1.ListKeysRequest" + "\032\035.viam.app.v1.ListKeysResponse\022J\n\tRenam" + "eKey\022\035.viam.app.v1.RenameKeyRequest\032\036.vi" + "am.app.v1.RenameKeyResponse\022J\n\tRotateKey" + "\022\035.viam.app.v1.RotateKeyRequest\032\036.viam.a" + "pp.v1.RotateKeyResponse\022\241\001\n&CreateKeyFro" + "mExistingKeyAuthorizations\022:.viam.app.v1" + ".CreateKeyFromExistingKeyAuthorizationsR" + "equest\032;.viam.app.v1.CreateKeyFromExisti" + "ngKeyAuthorizationsResponseB\030Z\026go.viam.c" + "om/api/app/v1b\006proto3" ; -static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2fapp_2eproto_deps[6] = { +static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2fapp_2eproto_deps[7] = { &::descriptor_table_app_2fmltraining_2fv1_2fml_5ftraining_2eproto, &::descriptor_table_app_2fpackages_2fv1_2fpackages_2eproto, &::descriptor_table_common_2fv1_2fcommon_2eproto, + &::descriptor_table_google_2fprotobuf_2fany_2eproto, &::descriptor_table_google_2fprotobuf_2fstruct_2eproto, &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, &::descriptor_table_tagger_2fv1_2ftagger_2eproto, }; static ::_pbi::once_flag descriptor_table_app_2fv1_2fapp_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_app_2fv1_2fapp_2eproto = { - false, false, 38487, descriptor_table_protodef_app_2fv1_2fapp_2eproto, + false, false, 41581, 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, 227, + &descriptor_table_app_2fv1_2fapp_2eproto_once, descriptor_table_app_2fv1_2fapp_2eproto_deps, 7, 252, schemas, file_default_instances, TableStruct_app_2fv1_2fapp_2eproto::offsets, file_level_metadata_app_2fv1_2fapp_2eproto, file_level_enum_descriptors_app_2fv1_2fapp_2eproto, file_level_service_descriptors_app_2fv1_2fapp_2eproto, @@ -11806,17 +12433,17 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOrganizationResponse::GetMetadata() cons // =================================================================== -class ListOrganizationMembersRequest::_Internal { +class GetOrganizationMetadataRequest::_Internal { public: }; -ListOrganizationMembersRequest::ListOrganizationMembersRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetOrganizationMetadataRequest::GetOrganizationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListOrganizationMembersRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetOrganizationMetadataRequest) } -ListOrganizationMembersRequest::ListOrganizationMembersRequest(const ListOrganizationMembersRequest& from) +GetOrganizationMetadataRequest::GetOrganizationMetadataRequest(const GetOrganizationMetadataRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); organization_id_.InitDefault(); @@ -11827,18 +12454,18 @@ ListOrganizationMembersRequest::ListOrganizationMembersRequest(const ListOrganiz organization_id_.Set(from._internal_organization_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListOrganizationMembersRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetOrganizationMetadataRequest) } -inline void ListOrganizationMembersRequest::SharedCtor() { +inline void GetOrganizationMetadataRequest::SharedCtor() { organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -ListOrganizationMembersRequest::~ListOrganizationMembersRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListOrganizationMembersRequest) +GetOrganizationMetadataRequest::~GetOrganizationMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetOrganizationMetadataRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -11846,17 +12473,17 @@ ListOrganizationMembersRequest::~ListOrganizationMembersRequest() { SharedDtor(); } -inline void ListOrganizationMembersRequest::SharedDtor() { +inline void GetOrganizationMetadataRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); organization_id_.Destroy(); } -void ListOrganizationMembersRequest::SetCachedSize(int size) const { +void GetOrganizationMetadataRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListOrganizationMembersRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListOrganizationMembersRequest) +void GetOrganizationMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetOrganizationMetadataRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11865,7 +12492,7 @@ void ListOrganizationMembersRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListOrganizationMembersRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetOrganizationMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -11877,7 +12504,739 @@ const char* ListOrganizationMembersRequest::_InternalParse(const char* ptr, ::_p auto str = _internal_mutable_organization_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListOrganizationMembersRequest.organization_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetOrganizationMetadataRequest.organization_id")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GetOrganizationMetadataRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetOrganizationMetadataRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetOrganizationMetadataRequest.organization_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_organization_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetOrganizationMetadataRequest) + return target; +} + +size_t GetOrganizationMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetOrganizationMetadataRequest) + 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 organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_organization_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetOrganizationMetadataRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + GetOrganizationMetadataRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetOrganizationMetadataRequest::GetClassData() const { return &_class_data_; } + +void GetOrganizationMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void GetOrganizationMetadataRequest::MergeFrom(const GetOrganizationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetOrganizationMetadataRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_organization_id().empty()) { + _internal_set_organization_id(from._internal_organization_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GetOrganizationMetadataRequest::CopyFrom(const GetOrganizationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetOrganizationMetadataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetOrganizationMetadataRequest::IsInitialized() const { + return true; +} + +void GetOrganizationMetadataRequest::InternalSwap(GetOrganizationMetadataRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &organization_id_, lhs_arena, + &other->organization_id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationMetadataRequest::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[19]); +} + +// =================================================================== + +GetOrganizationMetadataResponse_DataEntry_DoNotUse::GetOrganizationMetadataResponse_DataEntry_DoNotUse() {} +GetOrganizationMetadataResponse_DataEntry_DoNotUse::GetOrganizationMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void GetOrganizationMetadataResponse_DataEntry_DoNotUse::MergeFrom(const GetOrganizationMetadataResponse_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationMetadataResponse_DataEntry_DoNotUse::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[20]); +} + +// =================================================================== + +class GetOrganizationMetadataResponse::_Internal { + public: +}; + +void GetOrganizationMetadataResponse::clear_data() { + data_.Clear(); +} +GetOrganizationMetadataResponse::GetOrganizationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { + SharedCtor(); + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &GetOrganizationMetadataResponse::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetOrganizationMetadataResponse) +} +GetOrganizationMetadataResponse::GetOrganizationMetadataResponse(const GetOrganizationMetadataResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + data_.MergeFrom(from.data_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetOrganizationMetadataResponse) +} + +inline void GetOrganizationMetadataResponse::SharedCtor() { +} + +GetOrganizationMetadataResponse::~GetOrganizationMetadataResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetOrganizationMetadataResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + ArenaDtor(this); + return; + } + SharedDtor(); +} + +inline void GetOrganizationMetadataResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + data_.Destruct(); +} + +void GetOrganizationMetadataResponse::ArenaDtor(void* object) { + GetOrganizationMetadataResponse* _this = reinterpret_cast< GetOrganizationMetadataResponse* >(object); + _this->data_.Destruct(); +} +void GetOrganizationMetadataResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void GetOrganizationMetadataResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetOrganizationMetadataResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + data_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GetOrganizationMetadataResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // map data = 1 [json_name = "data"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GetOrganizationMetadataResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetOrganizationMetadataResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // map data = 1 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = GetOrganizationMetadataResponse_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetOrganizationMetadataResponse.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetOrganizationMetadataResponse) + return target; +} + +size_t GetOrganizationMetadataResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetOrganizationMetadataResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map data = 1 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += GetOrganizationMetadataResponse_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetOrganizationMetadataResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + GetOrganizationMetadataResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetOrganizationMetadataResponse::GetClassData() const { return &_class_data_; } + +void GetOrganizationMetadataResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void GetOrganizationMetadataResponse::MergeFrom(const GetOrganizationMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetOrganizationMetadataResponse) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + data_.MergeFrom(from.data_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GetOrganizationMetadataResponse::CopyFrom(const GetOrganizationMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetOrganizationMetadataResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetOrganizationMetadataResponse::IsInitialized() const { + return true; +} + +void GetOrganizationMetadataResponse::InternalSwap(GetOrganizationMetadataResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + data_.InternalSwap(&other->data_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationMetadataResponse::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[21]); +} + +// =================================================================== + +UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse() {} +UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::MergeFrom(const UpdateOrganizationMetadataRequest_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::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[22]); +} + +// =================================================================== + +class UpdateOrganizationMetadataRequest::_Internal { + public: +}; + +void UpdateOrganizationMetadataRequest::clear_data() { + data_.Clear(); +} +UpdateOrganizationMetadataRequest::UpdateOrganizationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { + SharedCtor(); + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &UpdateOrganizationMetadataRequest::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateOrganizationMetadataRequest) +} +UpdateOrganizationMetadataRequest::UpdateOrganizationMetadataRequest(const UpdateOrganizationMetadataRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + data_.MergeFrom(from.data_); + organization_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_organization_id().empty()) { + organization_id_.Set(from._internal_organization_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateOrganizationMetadataRequest) +} + +inline void UpdateOrganizationMetadataRequest::SharedCtor() { +organization_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +UpdateOrganizationMetadataRequest::~UpdateOrganizationMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateOrganizationMetadataRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + ArenaDtor(this); + return; + } + SharedDtor(); +} + +inline void UpdateOrganizationMetadataRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + data_.Destruct(); + organization_id_.Destroy(); +} + +void UpdateOrganizationMetadataRequest::ArenaDtor(void* object) { + UpdateOrganizationMetadataRequest* _this = reinterpret_cast< UpdateOrganizationMetadataRequest* >(object); + _this->data_.Destruct(); +} +void UpdateOrganizationMetadataRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void UpdateOrganizationMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateOrganizationMetadataRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + data_.Clear(); + organization_id_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* UpdateOrganizationMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string organization_id = 1 [json_name = "organizationId"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_organization_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateOrganizationMetadataRequest.organization_id")); + } else + goto handle_unusual; + continue; + // map data = 2 [json_name = "data"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* UpdateOrganizationMetadataRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateOrganizationMetadataRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateOrganizationMetadataRequest.organization_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_organization_id(), target); + } + + // map data = 2 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateOrganizationMetadataRequest.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateOrganizationMetadataRequest) + return target; +} + +size_t UpdateOrganizationMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateOrganizationMetadataRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map data = 2 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += UpdateOrganizationMetadataRequest_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_organization_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateOrganizationMetadataRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + UpdateOrganizationMetadataRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateOrganizationMetadataRequest::GetClassData() const { return &_class_data_; } + +void UpdateOrganizationMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void UpdateOrganizationMetadataRequest::MergeFrom(const UpdateOrganizationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateOrganizationMetadataRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + data_.MergeFrom(from.data_); + if (!from._internal_organization_id().empty()) { + _internal_set_organization_id(from._internal_organization_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void UpdateOrganizationMetadataRequest::CopyFrom(const UpdateOrganizationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateOrganizationMetadataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool UpdateOrganizationMetadataRequest::IsInitialized() const { + return true; +} + +void UpdateOrganizationMetadataRequest::InternalSwap(UpdateOrganizationMetadataRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + data_.InternalSwap(&other->data_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &organization_id_, lhs_arena, + &other->organization_id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata UpdateOrganizationMetadataRequest::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[23]); +} + +// =================================================================== + +class UpdateOrganizationMetadataResponse::_Internal { + public: +}; + +UpdateOrganizationMetadataResponse::UpdateOrganizationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateOrganizationMetadataResponse) +} +UpdateOrganizationMetadataResponse::UpdateOrganizationMetadataResponse(const UpdateOrganizationMetadataResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateOrganizationMetadataResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateOrganizationMetadataResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateOrganizationMetadataResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata UpdateOrganizationMetadataResponse::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[24]); +} + +// =================================================================== + +class ListOrganizationMembersRequest::_Internal { + public: +}; + +ListOrganizationMembersRequest::ListOrganizationMembersRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListOrganizationMembersRequest) +} +ListOrganizationMembersRequest::ListOrganizationMembersRequest(const ListOrganizationMembersRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + organization_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_organization_id().empty()) { + organization_id_.Set(from._internal_organization_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListOrganizationMembersRequest) +} + +inline void ListOrganizationMembersRequest::SharedCtor() { +organization_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ListOrganizationMembersRequest::~ListOrganizationMembersRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListOrganizationMembersRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ListOrganizationMembersRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + organization_id_.Destroy(); +} + +void ListOrganizationMembersRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ListOrganizationMembersRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListOrganizationMembersRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + organization_id_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ListOrganizationMembersRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string organization_id = 1 [json_name = "organizationId"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_organization_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListOrganizationMembersRequest.organization_id")); } else goto handle_unusual; continue; @@ -11996,7 +13355,7 @@ void ListOrganizationMembersRequest::InternalSwap(ListOrganizationMembersRequest ::PROTOBUF_NAMESPACE_ID::Metadata ListOrganizationMembersRequest::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[19]); + file_level_metadata_app_2fv1_2fapp_2eproto[25]); } // =================================================================== @@ -12257,7 +13616,7 @@ void ListOrganizationMembersResponse::InternalSwap(ListOrganizationMembersRespon ::PROTOBUF_NAMESPACE_ID::Metadata ListOrganizationMembersResponse::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[20]); + file_level_metadata_app_2fv1_2fapp_2eproto[26]); } // =================================================================== @@ -12570,7 +13929,7 @@ void CreateOrganizationInviteRequest::InternalSwap(CreateOrganizationInviteReque ::PROTOBUF_NAMESPACE_ID::Metadata CreateOrganizationInviteRequest::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[21]); + file_level_metadata_app_2fv1_2fapp_2eproto[27]); } // =================================================================== @@ -12757,7 +14116,7 @@ void CreateOrganizationInviteResponse::InternalSwap(CreateOrganizationInviteResp ::PROTOBUF_NAMESPACE_ID::Metadata CreateOrganizationInviteResponse::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[22]); + file_level_metadata_app_2fv1_2fapp_2eproto[28]); } // =================================================================== @@ -13066,7 +14425,7 @@ void UpdateOrganizationInviteAuthorizationsRequest::InternalSwap(UpdateOrganizat ::PROTOBUF_NAMESPACE_ID::Metadata UpdateOrganizationInviteAuthorizationsRequest::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[23]); + file_level_metadata_app_2fv1_2fapp_2eproto[29]); } // =================================================================== @@ -13253,7 +14612,7 @@ void UpdateOrganizationInviteAuthorizationsResponse::InternalSwap(UpdateOrganiza ::PROTOBUF_NAMESPACE_ID::Metadata UpdateOrganizationInviteAuthorizationsResponse::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[24]); + file_level_metadata_app_2fv1_2fapp_2eproto[30]); } // =================================================================== @@ -13496,7 +14855,7 @@ void DeleteOrganizationInviteRequest::InternalSwap(DeleteOrganizationInviteReque ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOrganizationInviteRequest::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[25]); + file_level_metadata_app_2fv1_2fapp_2eproto[31]); } // =================================================================== @@ -13535,7 +14894,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteOrganizationInviteRespon ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOrganizationInviteResponse::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[26]); + file_level_metadata_app_2fv1_2fapp_2eproto[32]); } // =================================================================== @@ -13778,7 +15137,7 @@ void ResendOrganizationInviteRequest::InternalSwap(ResendOrganizationInviteReque ::PROTOBUF_NAMESPACE_ID::Metadata ResendOrganizationInviteRequest::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[27]); + file_level_metadata_app_2fv1_2fapp_2eproto[33]); } // =================================================================== @@ -13965,7 +15324,7 @@ void ResendOrganizationInviteResponse::InternalSwap(ResendOrganizationInviteResp ::PROTOBUF_NAMESPACE_ID::Metadata ResendOrganizationInviteResponse::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[28]); + file_level_metadata_app_2fv1_2fapp_2eproto[34]); } // =================================================================== @@ -14208,7 +15567,7 @@ void DeleteOrganizationMemberRequest::InternalSwap(DeleteOrganizationMemberReque ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOrganizationMemberRequest::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[29]); + file_level_metadata_app_2fv1_2fapp_2eproto[35]); } // =================================================================== @@ -14247,7 +15606,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteOrganizationMemberRespon ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOrganizationMemberResponse::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[30]); + file_level_metadata_app_2fv1_2fapp_2eproto[36]); } // =================================================================== @@ -14695,7 +16054,7 @@ void BillingAddress::InternalSwap(BillingAddress* other) { ::PROTOBUF_NAMESPACE_ID::Metadata BillingAddress::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[31]); + file_level_metadata_app_2fv1_2fapp_2eproto[37]); } // =================================================================== @@ -14932,7 +16291,7 @@ void EnableBillingServiceRequest::InternalSwap(EnableBillingServiceRequest* othe ::PROTOBUF_NAMESPACE_ID::Metadata EnableBillingServiceRequest::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[32]); + file_level_metadata_app_2fv1_2fapp_2eproto[38]); } // =================================================================== @@ -14971,7 +16330,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnableBillingServiceResponse:: ::PROTOBUF_NAMESPACE_ID::Metadata EnableBillingServiceResponse::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[33]); + file_level_metadata_app_2fv1_2fapp_2eproto[39]); } // =================================================================== @@ -15208,7 +16567,7 @@ void UpdateBillingServiceRequest::InternalSwap(UpdateBillingServiceRequest* othe ::PROTOBUF_NAMESPACE_ID::Metadata UpdateBillingServiceRequest::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[34]); + file_level_metadata_app_2fv1_2fapp_2eproto[40]); } // =================================================================== @@ -15247,7 +16606,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateBillingServiceResponse:: ::PROTOBUF_NAMESPACE_ID::Metadata UpdateBillingServiceResponse::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[35]); + file_level_metadata_app_2fv1_2fapp_2eproto[41]); } // =================================================================== @@ -15442,7 +16801,7 @@ void GetBillingServiceConfigRequest::InternalSwap(GetBillingServiceConfigRequest ::PROTOBUF_NAMESPACE_ID::Metadata GetBillingServiceConfigRequest::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[36]); + file_level_metadata_app_2fv1_2fapp_2eproto[42]); } // =================================================================== @@ -15775,7 +17134,7 @@ void GetBillingServiceConfigResponse::InternalSwap(GetBillingServiceConfigRespon ::PROTOBUF_NAMESPACE_ID::Metadata GetBillingServiceConfigResponse::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[37]); + file_level_metadata_app_2fv1_2fapp_2eproto[43]); } // =================================================================== @@ -15970,7 +17329,7 @@ void DisableBillingServiceRequest::InternalSwap(DisableBillingServiceRequest* ot ::PROTOBUF_NAMESPACE_ID::Metadata DisableBillingServiceRequest::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[38]); + file_level_metadata_app_2fv1_2fapp_2eproto[44]); } // =================================================================== @@ -16009,7 +17368,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DisableBillingServiceResponse: ::PROTOBUF_NAMESPACE_ID::Metadata DisableBillingServiceResponse::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[39]); + file_level_metadata_app_2fv1_2fapp_2eproto[45]); } // =================================================================== @@ -16252,7 +17611,7 @@ void OrganizationSetSupportEmailRequest::InternalSwap(OrganizationSetSupportEmai ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationSetSupportEmailRequest::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[40]); + file_level_metadata_app_2fv1_2fapp_2eproto[46]); } // =================================================================== @@ -16291,7 +17650,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OrganizationSetSupportEmailRes ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationSetSupportEmailResponse::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[41]); + file_level_metadata_app_2fv1_2fapp_2eproto[47]); } // =================================================================== @@ -16486,7 +17845,7 @@ void OrganizationGetSupportEmailRequest::InternalSwap(OrganizationGetSupportEmai ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationGetSupportEmailRequest::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[42]); + file_level_metadata_app_2fv1_2fapp_2eproto[48]); } // =================================================================== @@ -16681,7 +18040,7 @@ void OrganizationGetSupportEmailResponse::InternalSwap(OrganizationGetSupportEma ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationGetSupportEmailResponse::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[43]); + file_level_metadata_app_2fv1_2fapp_2eproto[49]); } // =================================================================== @@ -16924,7 +18283,7 @@ void OrganizationIdentity::InternalSwap(OrganizationIdentity* other) { ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationIdentity::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[44]); + file_level_metadata_app_2fv1_2fapp_2eproto[50]); } // =================================================================== @@ -17145,7 +18504,7 @@ void LocationOrganization::InternalSwap(LocationOrganization* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LocationOrganization::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[45]); + file_level_metadata_app_2fv1_2fapp_2eproto[51]); } // =================================================================== @@ -17421,7 +18780,7 @@ void LocationAuth::InternalSwap(LocationAuth* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LocationAuth::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[46]); + file_level_metadata_app_2fv1_2fapp_2eproto[52]); } // =================================================================== @@ -17616,7 +18975,7 @@ void StorageConfig::InternalSwap(StorageConfig* other) { ::PROTOBUF_NAMESPACE_ID::Metadata StorageConfig::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[47]); + file_level_metadata_app_2fv1_2fapp_2eproto[53]); } // =================================================================== @@ -18100,7 +19459,7 @@ void Location::InternalSwap(Location* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Location::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[48]); + file_level_metadata_app_2fv1_2fapp_2eproto[54]); } // =================================================================== @@ -18426,7 +19785,7 @@ void SharedSecret::InternalSwap(SharedSecret* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SharedSecret::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[49]); + file_level_metadata_app_2fv1_2fapp_2eproto[55]); } // =================================================================== @@ -18730,7 +20089,7 @@ void CreateLocationRequest::InternalSwap(CreateLocationRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateLocationRequest::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[50]); + file_level_metadata_app_2fv1_2fapp_2eproto[56]); } // =================================================================== @@ -18917,7 +20276,7 @@ void CreateLocationResponse::InternalSwap(CreateLocationResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateLocationResponse::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[51]); + file_level_metadata_app_2fv1_2fapp_2eproto[57]); } // =================================================================== @@ -19112,7 +20471,7 @@ void GetLocationRequest::InternalSwap(GetLocationRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetLocationRequest::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[52]); + file_level_metadata_app_2fv1_2fapp_2eproto[58]); } // =================================================================== @@ -19299,7 +20658,7 @@ void GetLocationResponse::InternalSwap(GetLocationResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetLocationResponse::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[53]); + file_level_metadata_app_2fv1_2fapp_2eproto[59]); } // =================================================================== @@ -19668,7 +21027,7 @@ void UpdateLocationRequest::InternalSwap(UpdateLocationRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateLocationRequest::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[54]); + file_level_metadata_app_2fv1_2fapp_2eproto[60]); } // =================================================================== @@ -19855,7 +21214,7 @@ void UpdateLocationResponse::InternalSwap(UpdateLocationResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateLocationResponse::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[55]); + file_level_metadata_app_2fv1_2fapp_2eproto[61]); } // =================================================================== @@ -20050,7 +21409,7 @@ void DeleteLocationRequest::InternalSwap(DeleteLocationRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteLocationRequest::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[56]); + file_level_metadata_app_2fv1_2fapp_2eproto[62]); } // =================================================================== @@ -20089,22 +21448,22 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteLocationResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata DeleteLocationResponse::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[57]); + file_level_metadata_app_2fv1_2fapp_2eproto[63]); } // =================================================================== -class GetOrganizationsWithAccessToLocationRequest::_Internal { +class GetLocationMetadataRequest::_Internal { public: }; -GetOrganizationsWithAccessToLocationRequest::GetOrganizationsWithAccessToLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetLocationMetadataRequest::GetLocationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetLocationMetadataRequest) } -GetOrganizationsWithAccessToLocationRequest::GetOrganizationsWithAccessToLocationRequest(const GetOrganizationsWithAccessToLocationRequest& from) +GetLocationMetadataRequest::GetLocationMetadataRequest(const GetLocationMetadataRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); location_id_.InitDefault(); @@ -20115,18 +21474,18 @@ GetOrganizationsWithAccessToLocationRequest::GetOrganizationsWithAccessToLocatio location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetLocationMetadataRequest) } -inline void GetOrganizationsWithAccessToLocationRequest::SharedCtor() { +inline void GetLocationMetadataRequest::SharedCtor() { location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetOrganizationsWithAccessToLocationRequest::~GetOrganizationsWithAccessToLocationRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) +GetLocationMetadataRequest::~GetLocationMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetLocationMetadataRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -20134,17 +21493,17 @@ GetOrganizationsWithAccessToLocationRequest::~GetOrganizationsWithAccessToLocati SharedDtor(); } -inline void GetOrganizationsWithAccessToLocationRequest::SharedDtor() { +inline void GetLocationMetadataRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); location_id_.Destroy(); } -void GetOrganizationsWithAccessToLocationRequest::SetCachedSize(int size) const { +void GetLocationMetadataRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetOrganizationsWithAccessToLocationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) +void GetLocationMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetLocationMetadataRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -20153,7 +21512,7 @@ void GetOrganizationsWithAccessToLocationRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetOrganizationsWithAccessToLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetLocationMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -20165,7 +21524,7 @@ const char* GetOrganizationsWithAccessToLocationRequest::_InternalParse(const ch auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetOrganizationsWithAccessToLocationRequest.location_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetLocationMetadataRequest.location_id")); } else goto handle_unusual; continue; @@ -20192,9 +21551,9 @@ const char* GetOrganizationsWithAccessToLocationRequest::_InternalParse(const ch #undef CHK_ } -uint8_t* GetOrganizationsWithAccessToLocationRequest::_InternalSerialize( +uint8_t* GetLocationMetadataRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetLocationMetadataRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -20203,7 +21562,7 @@ uint8_t* GetOrganizationsWithAccessToLocationRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetOrganizationsWithAccessToLocationRequest.location_id"); + "viam.app.v1.GetLocationMetadataRequest.location_id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_location_id(), target); } @@ -20212,12 +21571,12 @@ uint8_t* GetOrganizationsWithAccessToLocationRequest::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetLocationMetadataRequest) return target; } -size_t GetOrganizationsWithAccessToLocationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) +size_t GetLocationMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetLocationMetadataRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -20234,21 +21593,21 @@ size_t GetOrganizationsWithAccessToLocationRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetOrganizationsWithAccessToLocationRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetLocationMetadataRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetOrganizationsWithAccessToLocationRequest::MergeImpl + GetLocationMetadataRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetOrganizationsWithAccessToLocationRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetLocationMetadataRequest::GetClassData() const { return &_class_data_; } -void GetOrganizationsWithAccessToLocationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetLocationMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetOrganizationsWithAccessToLocationRequest::MergeFrom(const GetOrganizationsWithAccessToLocationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) +void GetLocationMetadataRequest::MergeFrom(const GetLocationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetLocationMetadataRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -20259,18 +21618,18 @@ void GetOrganizationsWithAccessToLocationRequest::MergeFrom(const GetOrganizatio _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetOrganizationsWithAccessToLocationRequest::CopyFrom(const GetOrganizationsWithAccessToLocationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) +void GetLocationMetadataRequest::CopyFrom(const GetLocationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetLocationMetadataRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetOrganizationsWithAccessToLocationRequest::IsInitialized() const { +bool GetLocationMetadataRequest::IsInitialized() const { return true; } -void GetOrganizationsWithAccessToLocationRequest::InternalSwap(GetOrganizationsWithAccessToLocationRequest* other) { +void GetLocationMetadataRequest::InternalSwap(GetLocationMetadataRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -20281,264 +21640,104 @@ void GetOrganizationsWithAccessToLocationRequest::InternalSwap(GetOrganizationsW ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationsWithAccessToLocationRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetLocationMetadataRequest::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[58]); + file_level_metadata_app_2fv1_2fapp_2eproto[64]); } // =================================================================== -class GetOrganizationsWithAccessToLocationResponse::_Internal { - public: -}; - -GetOrganizationsWithAccessToLocationResponse::GetOrganizationsWithAccessToLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - organization_identities_(arena) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) -} -GetOrganizationsWithAccessToLocationResponse::GetOrganizationsWithAccessToLocationResponse(const GetOrganizationsWithAccessToLocationResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - organization_identities_(from.organization_identities_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) -} - -inline void GetOrganizationsWithAccessToLocationResponse::SharedCtor() { -} - -GetOrganizationsWithAccessToLocationResponse::~GetOrganizationsWithAccessToLocationResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void GetOrganizationsWithAccessToLocationResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void GetOrganizationsWithAccessToLocationResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void GetOrganizationsWithAccessToLocationResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - organization_identities_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* GetOrganizationsWithAccessToLocationResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_organization_identities(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* GetOrganizationsWithAccessToLocationResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; - for (unsigned i = 0, - n = static_cast(this->_internal_organization_identities_size()); i < n; i++) { - const auto& repfield = this->_internal_organization_identities(i); - target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - return target; -} - -size_t GetOrganizationsWithAccessToLocationResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - 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.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; - total_size += 1UL * this->_internal_organization_identities_size(); - for (const auto& msg : this->organization_identities_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetOrganizationsWithAccessToLocationResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetOrganizationsWithAccessToLocationResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetOrganizationsWithAccessToLocationResponse::GetClassData() const { return &_class_data_; } - -void GetOrganizationsWithAccessToLocationResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); +GetLocationMetadataResponse_DataEntry_DoNotUse::GetLocationMetadataResponse_DataEntry_DoNotUse() {} +GetLocationMetadataResponse_DataEntry_DoNotUse::GetLocationMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void GetLocationMetadataResponse_DataEntry_DoNotUse::MergeFrom(const GetLocationMetadataResponse_DataEntry_DoNotUse& other) { + MergeFromInternal(other); } - - -void GetOrganizationsWithAccessToLocationResponse::MergeFrom(const GetOrganizationsWithAccessToLocationResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - organization_identities_.MergeFrom(from.organization_identities_); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void GetOrganizationsWithAccessToLocationResponse::CopyFrom(const GetOrganizationsWithAccessToLocationResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetOrganizationsWithAccessToLocationResponse::IsInitialized() const { - return true; -} - -void GetOrganizationsWithAccessToLocationResponse::InternalSwap(GetOrganizationsWithAccessToLocationResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - organization_identities_.InternalSwap(&other->organization_identities_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationsWithAccessToLocationResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetLocationMetadataResponse_DataEntry_DoNotUse::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[59]); + file_level_metadata_app_2fv1_2fapp_2eproto[65]); } // =================================================================== -class ListLocationsRequest::_Internal { +class GetLocationMetadataResponse::_Internal { public: }; -ListLocationsRequest::ListLocationsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +void GetLocationMetadataResponse::clear_data() { + data_.Clear(); +} +GetLocationMetadataResponse::GetLocationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListLocationsRequest) + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &GetLocationMetadataResponse::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetLocationMetadataResponse) } -ListLocationsRequest::ListLocationsRequest(const ListLocationsRequest& from) +GetLocationMetadataResponse::GetLocationMetadataResponse(const GetLocationMetadataResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - organization_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_organization_id().empty()) { - organization_id_.Set(from._internal_organization_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListLocationsRequest) + data_.MergeFrom(from.data_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetLocationMetadataResponse) } -inline void ListLocationsRequest::SharedCtor() { -organization_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void GetLocationMetadataResponse::SharedCtor() { } -ListLocationsRequest::~ListLocationsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListLocationsRequest) +GetLocationMetadataResponse::~GetLocationMetadataResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetLocationMetadataResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; + ArenaDtor(this); return; } SharedDtor(); } -inline void ListLocationsRequest::SharedDtor() { +inline void GetLocationMetadataResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - organization_id_.Destroy(); + data_.Destruct(); } -void ListLocationsRequest::SetCachedSize(int size) const { +void GetLocationMetadataResponse::ArenaDtor(void* object) { + GetLocationMetadataResponse* _this = reinterpret_cast< GetLocationMetadataResponse* >(object); + _this->data_.Destruct(); +} +void GetLocationMetadataResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListLocationsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListLocationsRequest) +void GetLocationMetadataResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetLocationMetadataResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - organization_id_.ClearToEmpty(); + data_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListLocationsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetLocationMetadataResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string organization_id = 1 [json_name = "organizationId"]; + // map data = 1 [json_name = "data"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_organization_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListLocationsRequest.organization_id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -20565,116 +21764,149 @@ const char* ListLocationsRequest::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* ListLocationsRequest::_InternalSerialize( +uint8_t* GetLocationMetadataResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListLocationsRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string organization_id = 1 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ListLocationsRequest.organization_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_organization_id(), target); + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetLocationMetadataResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // map data = 1 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = GetLocationMetadataResponse_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetLocationMetadataResponse.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListLocationsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetLocationMetadataResponse) return target; } -size_t ListLocationsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListLocationsRequest) +size_t GetLocationMetadataResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetLocationMetadataResponse) 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 organization_id = 1 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_organization_id()); + // map data = 1 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += GetLocationMetadataResponse_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListLocationsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetLocationMetadataResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListLocationsRequest::MergeImpl + GetLocationMetadataResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListLocationsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetLocationMetadataResponse::GetClassData() const { return &_class_data_; } -void ListLocationsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetLocationMetadataResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListLocationsRequest::MergeFrom(const ListLocationsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListLocationsRequest) +void GetLocationMetadataResponse::MergeFrom(const GetLocationMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetLocationMetadataResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_organization_id().empty()) { - _internal_set_organization_id(from._internal_organization_id()); - } + data_.MergeFrom(from.data_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListLocationsRequest::CopyFrom(const ListLocationsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListLocationsRequest) +void GetLocationMetadataResponse::CopyFrom(const GetLocationMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetLocationMetadataResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListLocationsRequest::IsInitialized() const { +bool GetLocationMetadataResponse::IsInitialized() const { return true; } -void ListLocationsRequest::InternalSwap(ListLocationsRequest* other) { +void GetLocationMetadataResponse::InternalSwap(GetLocationMetadataResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &organization_id_, lhs_arena, - &other->organization_id_, rhs_arena - ); + data_.InternalSwap(&other->data_); } -::PROTOBUF_NAMESPACE_ID::Metadata ListLocationsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetLocationMetadataResponse::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[60]); + file_level_metadata_app_2fv1_2fapp_2eproto[66]); } // =================================================================== -class ShareLocationRequest::_Internal { +UpdateLocationMetadataRequest_DataEntry_DoNotUse::UpdateLocationMetadataRequest_DataEntry_DoNotUse() {} +UpdateLocationMetadataRequest_DataEntry_DoNotUse::UpdateLocationMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void UpdateLocationMetadataRequest_DataEntry_DoNotUse::MergeFrom(const UpdateLocationMetadataRequest_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata UpdateLocationMetadataRequest_DataEntry_DoNotUse::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[67]); +} + +// =================================================================== + +class UpdateLocationMetadataRequest::_Internal { public: }; -ShareLocationRequest::ShareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +void UpdateLocationMetadataRequest::clear_data() { + data_.Clear(); +} +UpdateLocationMetadataRequest::UpdateLocationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ShareLocationRequest) + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &UpdateLocationMetadataRequest::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateLocationMetadataRequest) } -ShareLocationRequest::ShareLocationRequest(const ShareLocationRequest& from) +UpdateLocationMetadataRequest::UpdateLocationMetadataRequest(const UpdateLocationMetadataRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + data_.MergeFrom(from.data_); location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); @@ -20683,59 +21915,52 @@ ShareLocationRequest::ShareLocationRequest(const ShareLocationRequest& from) location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - organization_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_organization_id().empty()) { - organization_id_.Set(from._internal_organization_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ShareLocationRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateLocationMetadataRequest) } -inline void ShareLocationRequest::SharedCtor() { +inline void UpdateLocationMetadataRequest::SharedCtor() { location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -organization_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -ShareLocationRequest::~ShareLocationRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ShareLocationRequest) +UpdateLocationMetadataRequest::~UpdateLocationMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateLocationMetadataRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; + ArenaDtor(this); return; } SharedDtor(); } -inline void ShareLocationRequest::SharedDtor() { +inline void UpdateLocationMetadataRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + data_.Destruct(); location_id_.Destroy(); - organization_id_.Destroy(); } -void ShareLocationRequest::SetCachedSize(int size) const { +void UpdateLocationMetadataRequest::ArenaDtor(void* object) { + UpdateLocationMetadataRequest* _this = reinterpret_cast< UpdateLocationMetadataRequest* >(object); + _this->data_.Destruct(); +} +void UpdateLocationMetadataRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ShareLocationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ShareLocationRequest) +void UpdateLocationMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateLocationMetadataRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + data_.Clear(); location_id_.ClearToEmpty(); - organization_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ShareLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateLocationMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -20747,17 +21972,20 @@ const char* ShareLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseC auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ShareLocationRequest.location_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateLocationMetadataRequest.location_id")); } else goto handle_unusual; continue; - // string organization_id = 2 [json_name = "organizationId"]; + // map data = 2 [json_name = "data"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_organization_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ShareLocationRequest.organization_id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); } else goto handle_unusual; continue; @@ -20784,9 +22012,9 @@ const char* ShareLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* ShareLocationRequest::_InternalSerialize( +uint8_t* UpdateLocationMetadataRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ShareLocationRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateLocationMetadataRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -20795,37 +22023,62 @@ uint8_t* ShareLocationRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ShareLocationRequest.location_id"); + "viam.app.v1.UpdateLocationMetadataRequest.location_id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_location_id(), target); } - // string organization_id = 2 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ShareLocationRequest.organization_id"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_organization_id(), target); + // map data = 2 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = UpdateLocationMetadataRequest_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateLocationMetadataRequest.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ShareLocationRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateLocationMetadataRequest) return target; } -size_t ShareLocationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ShareLocationRequest) +size_t UpdateLocationMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateLocationMetadataRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // map data = 2 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += UpdateLocationMetadataRequest_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + // string location_id = 1 [json_name = "locationId"]; if (!this->_internal_location_id().empty()) { total_size += 1 + @@ -20833,102 +22086,90 @@ size_t ShareLocationRequest::ByteSizeLong() const { this->_internal_location_id()); } - // string organization_id = 2 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_organization_id()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ShareLocationRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateLocationMetadataRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ShareLocationRequest::MergeImpl + UpdateLocationMetadataRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShareLocationRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateLocationMetadataRequest::GetClassData() const { return &_class_data_; } -void ShareLocationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateLocationMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ShareLocationRequest::MergeFrom(const ShareLocationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ShareLocationRequest) +void UpdateLocationMetadataRequest::MergeFrom(const UpdateLocationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateLocationMetadataRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; + data_.MergeFrom(from.data_); if (!from._internal_location_id().empty()) { _internal_set_location_id(from._internal_location_id()); } - if (!from._internal_organization_id().empty()) { - _internal_set_organization_id(from._internal_organization_id()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ShareLocationRequest::CopyFrom(const ShareLocationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ShareLocationRequest) +void UpdateLocationMetadataRequest::CopyFrom(const UpdateLocationMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateLocationMetadataRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool ShareLocationRequest::IsInitialized() const { +bool UpdateLocationMetadataRequest::IsInitialized() const { return true; } -void ShareLocationRequest::InternalSwap(ShareLocationRequest* other) { +void UpdateLocationMetadataRequest::InternalSwap(UpdateLocationMetadataRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + data_.InternalSwap(&other->data_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &location_id_, lhs_arena, &other->location_id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &organization_id_, lhs_arena, - &other->organization_id_, rhs_arena - ); } -::PROTOBUF_NAMESPACE_ID::Metadata ShareLocationRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateLocationMetadataRequest::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[61]); + file_level_metadata_app_2fv1_2fapp_2eproto[68]); } // =================================================================== -class ShareLocationResponse::_Internal { +class UpdateLocationMetadataResponse::_Internal { public: }; -ShareLocationResponse::ShareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateLocationMetadataResponse::UpdateLocationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ShareLocationResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateLocationMetadataResponse) } -ShareLocationResponse::ShareLocationResponse(const ShareLocationResponse& from) +UpdateLocationMetadataResponse::UpdateLocationMetadataResponse(const UpdateLocationMetadataResponse& from) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ShareLocationResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateLocationMetadataResponse) } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ShareLocationResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateLocationMetadataResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShareLocationResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateLocationMetadataResponse::GetClassData() const { return &_class_data_; } @@ -20936,25 +22177,25 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShareLocationResponse::GetClas -::PROTOBUF_NAMESPACE_ID::Metadata ShareLocationResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateLocationMetadataResponse::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[62]); + file_level_metadata_app_2fv1_2fapp_2eproto[69]); } // =================================================================== -class UnshareLocationRequest::_Internal { +class GetOrganizationsWithAccessToLocationRequest::_Internal { public: }; -UnshareLocationRequest::UnshareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetOrganizationsWithAccessToLocationRequest::GetOrganizationsWithAccessToLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UnshareLocationRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) } -UnshareLocationRequest::UnshareLocationRequest(const UnshareLocationRequest& from) +GetOrganizationsWithAccessToLocationRequest::GetOrganizationsWithAccessToLocationRequest(const GetOrganizationsWithAccessToLocationRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); location_id_.InitDefault(); @@ -20965,30 +22206,18 @@ UnshareLocationRequest::UnshareLocationRequest(const UnshareLocationRequest& fro location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - organization_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_organization_id().empty()) { - organization_id_.Set(from._internal_organization_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UnshareLocationRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) } -inline void UnshareLocationRequest::SharedCtor() { +inline void GetOrganizationsWithAccessToLocationRequest::SharedCtor() { location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -organization_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -UnshareLocationRequest::~UnshareLocationRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.UnshareLocationRequest) +GetOrganizationsWithAccessToLocationRequest::~GetOrganizationsWithAccessToLocationRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -20996,28 +22225,26 @@ UnshareLocationRequest::~UnshareLocationRequest() { SharedDtor(); } -inline void UnshareLocationRequest::SharedDtor() { +inline void GetOrganizationsWithAccessToLocationRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); location_id_.Destroy(); - organization_id_.Destroy(); } -void UnshareLocationRequest::SetCachedSize(int size) const { +void GetOrganizationsWithAccessToLocationRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UnshareLocationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UnshareLocationRequest) +void GetOrganizationsWithAccessToLocationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; location_id_.ClearToEmpty(); - organization_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UnshareLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetOrganizationsWithAccessToLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -21029,17 +22256,7 @@ const char* UnshareLocationRequest::_InternalParse(const char* ptr, ::_pbi::Pars auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UnshareLocationRequest.location_id")); - } else - goto handle_unusual; - continue; - // string organization_id = 2 [json_name = "organizationId"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_organization_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UnshareLocationRequest.organization_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetOrganizationsWithAccessToLocationRequest.location_id")); } else goto handle_unusual; continue; @@ -21066,9 +22283,9 @@ const char* UnshareLocationRequest::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* UnshareLocationRequest::_InternalSerialize( +uint8_t* GetOrganizationsWithAccessToLocationRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UnshareLocationRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -21077,31 +22294,21 @@ uint8_t* UnshareLocationRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UnshareLocationRequest.location_id"); + "viam.app.v1.GetOrganizationsWithAccessToLocationRequest.location_id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_location_id(), target); } - // string organization_id = 2 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UnshareLocationRequest.organization_id"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_organization_id(), target); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UnshareLocationRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) return target; } -size_t UnshareLocationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UnshareLocationRequest) +size_t GetOrganizationsWithAccessToLocationRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -21115,31 +22322,24 @@ size_t UnshareLocationRequest::ByteSizeLong() const { this->_internal_location_id()); } - // string organization_id = 2 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_organization_id()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnshareLocationRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetOrganizationsWithAccessToLocationRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UnshareLocationRequest::MergeImpl + GetOrganizationsWithAccessToLocationRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnshareLocationRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetOrganizationsWithAccessToLocationRequest::GetClassData() const { return &_class_data_; } -void UnshareLocationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetOrganizationsWithAccessToLocationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UnshareLocationRequest::MergeFrom(const UnshareLocationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UnshareLocationRequest) +void GetOrganizationsWithAccessToLocationRequest::MergeFrom(const GetOrganizationsWithAccessToLocationRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -21147,24 +22347,21 @@ void UnshareLocationRequest::MergeFrom(const UnshareLocationRequest& from) { if (!from._internal_location_id().empty()) { _internal_set_location_id(from._internal_location_id()); } - if (!from._internal_organization_id().empty()) { - _internal_set_organization_id(from._internal_organization_id()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UnshareLocationRequest::CopyFrom(const UnshareLocationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UnshareLocationRequest) +void GetOrganizationsWithAccessToLocationRequest::CopyFrom(const GetOrganizationsWithAccessToLocationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool UnshareLocationRequest::IsInitialized() const { +bool GetOrganizationsWithAccessToLocationRequest::IsInitialized() const { return true; } -void UnshareLocationRequest::InternalSwap(UnshareLocationRequest* other) { +void GetOrganizationsWithAccessToLocationRequest::InternalSwap(GetOrganizationsWithAccessToLocationRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -21173,82 +22370,39 @@ void UnshareLocationRequest::InternalSwap(UnshareLocationRequest* other) { &location_id_, lhs_arena, &other->location_id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &organization_id_, lhs_arena, - &other->organization_id_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata UnshareLocationRequest::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[63]); -} - -// =================================================================== - -class UnshareLocationResponse::_Internal { - public: -}; - -UnshareLocationResponse::UnshareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UnshareLocationResponse) -} -UnshareLocationResponse::UnshareLocationResponse(const UnshareLocationResponse& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UnshareLocationResponse) } - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnshareLocationResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnshareLocationResponse::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata UnshareLocationResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationsWithAccessToLocationRequest::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[64]); + file_level_metadata_app_2fv1_2fapp_2eproto[70]); } // =================================================================== -class ListLocationsResponse::_Internal { +class GetOrganizationsWithAccessToLocationResponse::_Internal { public: }; -ListLocationsResponse::ListLocationsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetOrganizationsWithAccessToLocationResponse::GetOrganizationsWithAccessToLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - locations_(arena) { + organization_identities_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListLocationsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) } -ListLocationsResponse::ListLocationsResponse(const ListLocationsResponse& from) +GetOrganizationsWithAccessToLocationResponse::GetOrganizationsWithAccessToLocationResponse(const GetOrganizationsWithAccessToLocationResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - locations_(from.locations_) { + organization_identities_(from.organization_identities_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListLocationsResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) } -inline void ListLocationsResponse::SharedCtor() { +inline void GetOrganizationsWithAccessToLocationResponse::SharedCtor() { } -ListLocationsResponse::~ListLocationsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListLocationsResponse) +GetOrganizationsWithAccessToLocationResponse::~GetOrganizationsWithAccessToLocationResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -21256,37 +22410,37 @@ ListLocationsResponse::~ListLocationsResponse() { SharedDtor(); } -inline void ListLocationsResponse::SharedDtor() { +inline void GetOrganizationsWithAccessToLocationResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void ListLocationsResponse::SetCachedSize(int size) const { +void GetOrganizationsWithAccessToLocationResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListLocationsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListLocationsResponse) +void GetOrganizationsWithAccessToLocationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - locations_.Clear(); + organization_identities_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListLocationsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetOrganizationsWithAccessToLocationResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; + // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_locations(), ptr); + ptr = ctx->ParseMessage(_internal_add_organization_identities(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); @@ -21316,16 +22470,16 @@ const char* ListLocationsResponse::_InternalParse(const char* ptr, ::_pbi::Parse #undef CHK_ } -uint8_t* ListLocationsResponse::_InternalSerialize( +uint8_t* GetOrganizationsWithAccessToLocationResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListLocationsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; + // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; for (unsigned i = 0, - n = static_cast(this->_internal_locations_size()); i < n; i++) { - const auto& repfield = this->_internal_locations(i); + n = static_cast(this->_internal_organization_identities_size()); i < n; i++) { + const auto& repfield = this->_internal_organization_identities(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } @@ -21334,21 +22488,21 @@ uint8_t* ListLocationsResponse::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListLocationsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) return target; } -size_t ListLocationsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListLocationsResponse) +size_t GetOrganizationsWithAccessToLocationResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) 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.Location locations = 1 [json_name = "locations"]; - total_size += 1UL * this->_internal_locations_size(); - for (const auto& msg : this->locations_) { + // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; + total_size += 1UL * this->_internal_organization_identities_size(); + for (const auto& msg : this->organization_identities_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } @@ -21356,87 +22510,87 @@ size_t ListLocationsResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListLocationsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetOrganizationsWithAccessToLocationResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListLocationsResponse::MergeImpl + GetOrganizationsWithAccessToLocationResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListLocationsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetOrganizationsWithAccessToLocationResponse::GetClassData() const { return &_class_data_; } -void ListLocationsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetOrganizationsWithAccessToLocationResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListLocationsResponse::MergeFrom(const ListLocationsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListLocationsResponse) +void GetOrganizationsWithAccessToLocationResponse::MergeFrom(const GetOrganizationsWithAccessToLocationResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - locations_.MergeFrom(from.locations_); + organization_identities_.MergeFrom(from.organization_identities_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListLocationsResponse::CopyFrom(const ListLocationsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListLocationsResponse) +void GetOrganizationsWithAccessToLocationResponse::CopyFrom(const GetOrganizationsWithAccessToLocationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListLocationsResponse::IsInitialized() const { +bool GetOrganizationsWithAccessToLocationResponse::IsInitialized() const { return true; } -void ListLocationsResponse::InternalSwap(ListLocationsResponse* other) { +void GetOrganizationsWithAccessToLocationResponse::InternalSwap(GetOrganizationsWithAccessToLocationResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - locations_.InternalSwap(&other->locations_); + organization_identities_.InternalSwap(&other->organization_identities_); } -::PROTOBUF_NAMESPACE_ID::Metadata ListLocationsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetOrganizationsWithAccessToLocationResponse::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[65]); + file_level_metadata_app_2fv1_2fapp_2eproto[71]); } // =================================================================== -class CreateLocationSecretRequest::_Internal { +class ListLocationsRequest::_Internal { public: }; -CreateLocationSecretRequest::CreateLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListLocationsRequest::ListLocationsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateLocationSecretRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListLocationsRequest) } -CreateLocationSecretRequest::CreateLocationSecretRequest(const CreateLocationSecretRequest& from) +ListLocationsRequest::ListLocationsRequest(const ListLocationsRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - location_id_.InitDefault(); + organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_id_.Set("", GetArenaForAllocation()); + organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_location_id().empty()) { - location_id_.Set(from._internal_location_id(), + if (!from._internal_organization_id().empty()) { + organization_id_.Set(from._internal_organization_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateLocationSecretRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListLocationsRequest) } -inline void CreateLocationSecretRequest::SharedCtor() { -location_id_.InitDefault(); +inline void ListLocationsRequest::SharedCtor() { +organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_id_.Set("", GetArenaForAllocation()); + organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -CreateLocationSecretRequest::~CreateLocationSecretRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.CreateLocationSecretRequest) +ListLocationsRequest::~ListLocationsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListLocationsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -21444,38 +22598,38 @@ CreateLocationSecretRequest::~CreateLocationSecretRequest() { SharedDtor(); } -inline void CreateLocationSecretRequest::SharedDtor() { +inline void ListLocationsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - location_id_.Destroy(); + organization_id_.Destroy(); } -void CreateLocationSecretRequest::SetCachedSize(int size) const { +void ListLocationsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void CreateLocationSecretRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateLocationSecretRequest) +void ListLocationsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListLocationsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - location_id_.ClearToEmpty(); + organization_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* CreateLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListLocationsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string location_id = 1 [json_name = "locationId"]; + // string organization_id = 1 [json_name = "organizationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_location_id(); + auto str = _internal_mutable_organization_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.CreateLocationSecretRequest.location_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListLocationsRequest.organization_id")); } else goto handle_unusual; continue; @@ -21502,135 +22656,148 @@ const char* CreateLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi: #undef CHK_ } -uint8_t* CreateLocationSecretRequest::_InternalSerialize( +uint8_t* ListLocationsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateLocationSecretRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListLocationsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string location_id = 1 [json_name = "locationId"]; - if (!this->_internal_location_id().empty()) { + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), + this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.CreateLocationSecretRequest.location_id"); + "viam.app.v1.ListLocationsRequest.organization_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_location_id(), target); + 1, this->_internal_organization_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateLocationSecretRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListLocationsRequest) return target; } -size_t CreateLocationSecretRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateLocationSecretRequest) +size_t ListLocationsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListLocationsRequest) 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 location_id = 1 [json_name = "locationId"]; - if (!this->_internal_location_id().empty()) { + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_location_id()); + this->_internal_organization_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateLocationSecretRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListLocationsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - CreateLocationSecretRequest::MergeImpl + ListLocationsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateLocationSecretRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListLocationsRequest::GetClassData() const { return &_class_data_; } -void CreateLocationSecretRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListLocationsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void CreateLocationSecretRequest::MergeFrom(const CreateLocationSecretRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateLocationSecretRequest) +void ListLocationsRequest::MergeFrom(const ListLocationsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListLocationsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_location_id().empty()) { - _internal_set_location_id(from._internal_location_id()); + if (!from._internal_organization_id().empty()) { + _internal_set_organization_id(from._internal_organization_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void CreateLocationSecretRequest::CopyFrom(const CreateLocationSecretRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateLocationSecretRequest) +void ListLocationsRequest::CopyFrom(const ListLocationsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListLocationsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool CreateLocationSecretRequest::IsInitialized() const { +bool ListLocationsRequest::IsInitialized() const { return true; } -void CreateLocationSecretRequest::InternalSwap(CreateLocationSecretRequest* other) { +void ListLocationsRequest::InternalSwap(ListLocationsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &location_id_, lhs_arena, - &other->location_id_, rhs_arena + &organization_id_, lhs_arena, + &other->organization_id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata CreateLocationSecretRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListLocationsRequest::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[66]); + file_level_metadata_app_2fv1_2fapp_2eproto[72]); } // =================================================================== -class CreateLocationSecretResponse::_Internal { +class ShareLocationRequest::_Internal { public: - static const ::viam::app::v1::LocationAuth& auth(const CreateLocationSecretResponse* msg); }; -const ::viam::app::v1::LocationAuth& -CreateLocationSecretResponse::_Internal::auth(const CreateLocationSecretResponse* msg) { - return *msg->auth_; -} -CreateLocationSecretResponse::CreateLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ShareLocationRequest::ShareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateLocationSecretResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ShareLocationRequest) } -CreateLocationSecretResponse::CreateLocationSecretResponse(const CreateLocationSecretResponse& from) +ShareLocationRequest::ShareLocationRequest(const ShareLocationRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_auth()) { - auth_ = new ::viam::app::v1::LocationAuth(*from.auth_); - } else { - auth_ = nullptr; + location_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_location_id().empty()) { + location_id_.Set(from._internal_location_id(), + GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateLocationSecretResponse) + organization_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_organization_id().empty()) { + organization_id_.Set(from._internal_organization_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ShareLocationRequest) } -inline void CreateLocationSecretResponse::SharedCtor() { -auth_ = nullptr; +inline void ShareLocationRequest::SharedCtor() { +location_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +organization_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -CreateLocationSecretResponse::~CreateLocationSecretResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.CreateLocationSecretResponse) +ShareLocationRequest::~ShareLocationRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ShareLocationRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -21638,39 +22805,50 @@ CreateLocationSecretResponse::~CreateLocationSecretResponse() { SharedDtor(); } -inline void CreateLocationSecretResponse::SharedDtor() { +inline void ShareLocationRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete auth_; + location_id_.Destroy(); + organization_id_.Destroy(); } -void CreateLocationSecretResponse::SetCachedSize(int size) const { +void ShareLocationRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void CreateLocationSecretResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateLocationSecretResponse) +void ShareLocationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ShareLocationRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && auth_ != nullptr) { - delete auth_; - } - auth_ = nullptr; + location_id_.ClearToEmpty(); + organization_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* CreateLocationSecretResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ShareLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + // string location_id = 1 [json_name = "locationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_auth(), ptr); + auto str = _internal_mutable_location_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ShareLocationRequest.location_id")); + } else + goto handle_unusual; + continue; + // string organization_id = 2 [json_name = "organizationId"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_organization_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ShareLocationRequest.organization_id")); } else goto handle_unusual; continue; @@ -21697,106 +22875,177 @@ const char* CreateLocationSecretResponse::_InternalParse(const char* ptr, ::_pbi #undef CHK_ } -uint8_t* CreateLocationSecretResponse::_InternalSerialize( +uint8_t* ShareLocationRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateLocationSecretResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ShareLocationRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; - if (this->_internal_has_auth()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::auth(this), - _Internal::auth(this).GetCachedSize(), target, stream); + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.ShareLocationRequest.location_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_location_id(), target); + } + + // string organization_id = 2 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.ShareLocationRequest.organization_id"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_organization_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateLocationSecretResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ShareLocationRequest) return target; } -size_t CreateLocationSecretResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateLocationSecretResponse) +size_t ShareLocationRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ShareLocationRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; - if (this->_internal_has_auth()) { + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *auth_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_location_id()); + } + + // string organization_id = 2 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_organization_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateLocationSecretResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ShareLocationRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - CreateLocationSecretResponse::MergeImpl + ShareLocationRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateLocationSecretResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShareLocationRequest::GetClassData() const { return &_class_data_; } -void CreateLocationSecretResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ShareLocationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void CreateLocationSecretResponse::MergeFrom(const CreateLocationSecretResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateLocationSecretResponse) +void ShareLocationRequest::MergeFrom(const ShareLocationRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ShareLocationRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_auth()) { - _internal_mutable_auth()->::viam::app::v1::LocationAuth::MergeFrom(from._internal_auth()); + if (!from._internal_location_id().empty()) { + _internal_set_location_id(from._internal_location_id()); + } + if (!from._internal_organization_id().empty()) { + _internal_set_organization_id(from._internal_organization_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void CreateLocationSecretResponse::CopyFrom(const CreateLocationSecretResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateLocationSecretResponse) +void ShareLocationRequest::CopyFrom(const ShareLocationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ShareLocationRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool CreateLocationSecretResponse::IsInitialized() const { +bool ShareLocationRequest::IsInitialized() const { return true; } -void CreateLocationSecretResponse::InternalSwap(CreateLocationSecretResponse* other) { +void ShareLocationRequest::InternalSwap(ShareLocationRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(auth_, other->auth_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &location_id_, lhs_arena, + &other->location_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &organization_id_, lhs_arena, + &other->organization_id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata CreateLocationSecretResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ShareLocationRequest::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[67]); + file_level_metadata_app_2fv1_2fapp_2eproto[73]); } // =================================================================== -class DeleteLocationSecretRequest::_Internal { +class ShareLocationResponse::_Internal { public: }; -DeleteLocationSecretRequest::DeleteLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ShareLocationResponse::ShareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ShareLocationResponse) +} +ShareLocationResponse::ShareLocationResponse(const ShareLocationResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ShareLocationResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ShareLocationResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShareLocationResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata ShareLocationResponse::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[74]); +} + +// =================================================================== + +class UnshareLocationRequest::_Internal { + public: +}; + +UnshareLocationRequest::UnshareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteLocationSecretRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UnshareLocationRequest) } -DeleteLocationSecretRequest::DeleteLocationSecretRequest(const DeleteLocationSecretRequest& from) +UnshareLocationRequest::UnshareLocationRequest(const UnshareLocationRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); location_id_.InitDefault(); @@ -21807,30 +23056,30 @@ DeleteLocationSecretRequest::DeleteLocationSecretRequest(const DeleteLocationSec location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - secret_id_.InitDefault(); + organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - secret_id_.Set("", GetArenaForAllocation()); + organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_secret_id().empty()) { - secret_id_.Set(from._internal_secret_id(), + if (!from._internal_organization_id().empty()) { + organization_id_.Set(from._internal_organization_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteLocationSecretRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UnshareLocationRequest) } -inline void DeleteLocationSecretRequest::SharedCtor() { +inline void UnshareLocationRequest::SharedCtor() { location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -secret_id_.InitDefault(); +organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - secret_id_.Set("", GetArenaForAllocation()); + organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -DeleteLocationSecretRequest::~DeleteLocationSecretRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.DeleteLocationSecretRequest) +UnshareLocationRequest::~UnshareLocationRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UnshareLocationRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -21838,28 +23087,28 @@ DeleteLocationSecretRequest::~DeleteLocationSecretRequest() { SharedDtor(); } -inline void DeleteLocationSecretRequest::SharedDtor() { +inline void UnshareLocationRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); location_id_.Destroy(); - secret_id_.Destroy(); + organization_id_.Destroy(); } -void DeleteLocationSecretRequest::SetCachedSize(int size) const { +void UnshareLocationRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DeleteLocationSecretRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteLocationSecretRequest) +void UnshareLocationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UnshareLocationRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; location_id_.ClearToEmpty(); - secret_id_.ClearToEmpty(); + organization_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DeleteLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UnshareLocationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -21871,17 +23120,17 @@ const char* DeleteLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi: auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteLocationSecretRequest.location_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UnshareLocationRequest.location_id")); } else goto handle_unusual; continue; - // string secret_id = 2 [json_name = "secretId"]; + // string organization_id = 2 [json_name = "organizationId"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_secret_id(); + auto str = _internal_mutable_organization_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteLocationSecretRequest.secret_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UnshareLocationRequest.organization_id")); } else goto handle_unusual; continue; @@ -21908,9 +23157,9 @@ const char* DeleteLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi: #undef CHK_ } -uint8_t* DeleteLocationSecretRequest::_InternalSerialize( +uint8_t* UnshareLocationRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteLocationSecretRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UnshareLocationRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -21919,31 +23168,31 @@ uint8_t* DeleteLocationSecretRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteLocationSecretRequest.location_id"); + "viam.app.v1.UnshareLocationRequest.location_id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_location_id(), target); } - // string secret_id = 2 [json_name = "secretId"]; - if (!this->_internal_secret_id().empty()) { + // string organization_id = 2 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_secret_id().data(), static_cast(this->_internal_secret_id().length()), + this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteLocationSecretRequest.secret_id"); + "viam.app.v1.UnshareLocationRequest.organization_id"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_secret_id(), target); + 2, this->_internal_organization_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteLocationSecretRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UnshareLocationRequest) return target; } -size_t DeleteLocationSecretRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteLocationSecretRequest) +size_t UnshareLocationRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UnshareLocationRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -21957,31 +23206,31 @@ size_t DeleteLocationSecretRequest::ByteSizeLong() const { this->_internal_location_id()); } - // string secret_id = 2 [json_name = "secretId"]; - if (!this->_internal_secret_id().empty()) { + // string organization_id = 2 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_secret_id()); + this->_internal_organization_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteLocationSecretRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnshareLocationRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteLocationSecretRequest::MergeImpl + UnshareLocationRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteLocationSecretRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnshareLocationRequest::GetClassData() const { return &_class_data_; } -void DeleteLocationSecretRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UnshareLocationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteLocationSecretRequest::MergeFrom(const DeleteLocationSecretRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteLocationSecretRequest) +void UnshareLocationRequest::MergeFrom(const UnshareLocationRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UnshareLocationRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -21989,24 +23238,24 @@ void DeleteLocationSecretRequest::MergeFrom(const DeleteLocationSecretRequest& f if (!from._internal_location_id().empty()) { _internal_set_location_id(from._internal_location_id()); } - if (!from._internal_secret_id().empty()) { - _internal_set_secret_id(from._internal_secret_id()); + if (!from._internal_organization_id().empty()) { + _internal_set_organization_id(from._internal_organization_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteLocationSecretRequest::CopyFrom(const DeleteLocationSecretRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteLocationSecretRequest) +void UnshareLocationRequest::CopyFrom(const UnshareLocationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UnshareLocationRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteLocationSecretRequest::IsInitialized() const { +bool UnshareLocationRequest::IsInitialized() const { return true; } -void DeleteLocationSecretRequest::InternalSwap(DeleteLocationSecretRequest* other) { +void UnshareLocationRequest::InternalSwap(UnshareLocationRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -22016,43 +23265,43 @@ void DeleteLocationSecretRequest::InternalSwap(DeleteLocationSecretRequest* othe &other->location_id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &secret_id_, lhs_arena, - &other->secret_id_, rhs_arena + &organization_id_, lhs_arena, + &other->organization_id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteLocationSecretRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UnshareLocationRequest::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[68]); + file_level_metadata_app_2fv1_2fapp_2eproto[75]); } // =================================================================== -class DeleteLocationSecretResponse::_Internal { +class UnshareLocationResponse::_Internal { public: }; -DeleteLocationSecretResponse::DeleteLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UnshareLocationResponse::UnshareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteLocationSecretResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UnshareLocationResponse) } -DeleteLocationSecretResponse::DeleteLocationSecretResponse(const DeleteLocationSecretResponse& from) +UnshareLocationResponse::UnshareLocationResponse(const UnshareLocationResponse& from) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteLocationSecretResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UnshareLocationResponse) } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteLocationSecretResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnshareLocationResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteLocationSecretResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnshareLocationResponse::GetClassData() const { return &_class_data_; } @@ -22060,47 +23309,37 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteLocationSecretResponse:: -::PROTOBUF_NAMESPACE_ID::Metadata DeleteLocationSecretResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UnshareLocationResponse::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[69]); + file_level_metadata_app_2fv1_2fapp_2eproto[76]); } // =================================================================== -class LocationAuthRequest::_Internal { +class ListLocationsResponse::_Internal { public: }; -LocationAuthRequest::LocationAuthRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListLocationsResponse::ListLocationsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + locations_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.LocationAuthRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListLocationsResponse) } -LocationAuthRequest::LocationAuthRequest(const LocationAuthRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +ListLocationsResponse::ListLocationsResponse(const ListLocationsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + locations_(from.locations_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - location_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_location_id().empty()) { - location_id_.Set(from._internal_location_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.LocationAuthRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListLocationsResponse) } -inline void LocationAuthRequest::SharedCtor() { -location_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void ListLocationsResponse::SharedCtor() { } -LocationAuthRequest::~LocationAuthRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.LocationAuthRequest) +ListLocationsResponse::~ListLocationsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListLocationsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -22108,38 +23347,40 @@ LocationAuthRequest::~LocationAuthRequest() { SharedDtor(); } -inline void LocationAuthRequest::SharedDtor() { +inline void ListLocationsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - location_id_.Destroy(); } -void LocationAuthRequest::SetCachedSize(int size) const { +void ListLocationsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void LocationAuthRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.LocationAuthRequest) +void ListLocationsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListLocationsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - location_id_.ClearToEmpty(); + locations_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* LocationAuthRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListLocationsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string location_id = 1 [json_name = "locationId"]; + // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_location_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.LocationAuthRequest.location_id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_locations(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -22166,135 +23407,127 @@ const char* LocationAuthRequest::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -uint8_t* LocationAuthRequest::_InternalSerialize( +uint8_t* ListLocationsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.LocationAuthRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListLocationsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string location_id = 1 [json_name = "locationId"]; - if (!this->_internal_location_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.LocationAuthRequest.location_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_location_id(), target); + // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; + for (unsigned i = 0, + n = static_cast(this->_internal_locations_size()); i < n; i++) { + const auto& repfield = this->_internal_locations(i); + target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.LocationAuthRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListLocationsResponse) return target; } -size_t LocationAuthRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.LocationAuthRequest) +size_t ListLocationsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListLocationsResponse) 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 location_id = 1 [json_name = "locationId"]; - if (!this->_internal_location_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_location_id()); + // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; + total_size += 1UL * this->_internal_locations_size(); + for (const auto& msg : this->locations_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocationAuthRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListLocationsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - LocationAuthRequest::MergeImpl + ListLocationsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocationAuthRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListLocationsResponse::GetClassData() const { return &_class_data_; } -void LocationAuthRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListLocationsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void LocationAuthRequest::MergeFrom(const LocationAuthRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.LocationAuthRequest) +void ListLocationsResponse::MergeFrom(const ListLocationsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListLocationsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_location_id().empty()) { - _internal_set_location_id(from._internal_location_id()); - } + locations_.MergeFrom(from.locations_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void LocationAuthRequest::CopyFrom(const LocationAuthRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.LocationAuthRequest) +void ListLocationsResponse::CopyFrom(const ListLocationsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListLocationsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool LocationAuthRequest::IsInitialized() const { +bool ListLocationsResponse::IsInitialized() const { return true; } -void LocationAuthRequest::InternalSwap(LocationAuthRequest* other) { +void ListLocationsResponse::InternalSwap(ListLocationsResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &location_id_, lhs_arena, - &other->location_id_, rhs_arena - ); + locations_.InternalSwap(&other->locations_); } -::PROTOBUF_NAMESPACE_ID::Metadata LocationAuthRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListLocationsResponse::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[70]); + file_level_metadata_app_2fv1_2fapp_2eproto[77]); } // =================================================================== -class LocationAuthResponse::_Internal { +class CreateLocationSecretRequest::_Internal { public: - static const ::viam::app::v1::LocationAuth& auth(const LocationAuthResponse* msg); }; -const ::viam::app::v1::LocationAuth& -LocationAuthResponse::_Internal::auth(const LocationAuthResponse* msg) { - return *msg->auth_; -} -LocationAuthResponse::LocationAuthResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +CreateLocationSecretRequest::CreateLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.LocationAuthResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateLocationSecretRequest) } -LocationAuthResponse::LocationAuthResponse(const LocationAuthResponse& from) +CreateLocationSecretRequest::CreateLocationSecretRequest(const CreateLocationSecretRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_auth()) { - auth_ = new ::viam::app::v1::LocationAuth(*from.auth_); - } else { - auth_ = nullptr; + location_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_location_id().empty()) { + location_id_.Set(from._internal_location_id(), + GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.LocationAuthResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateLocationSecretRequest) } -inline void LocationAuthResponse::SharedCtor() { -auth_ = nullptr; +inline void CreateLocationSecretRequest::SharedCtor() { +location_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -LocationAuthResponse::~LocationAuthResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.LocationAuthResponse) +CreateLocationSecretRequest::~CreateLocationSecretRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.CreateLocationSecretRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -22302,39 +23535,38 @@ LocationAuthResponse::~LocationAuthResponse() { SharedDtor(); } -inline void LocationAuthResponse::SharedDtor() { +inline void CreateLocationSecretRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete auth_; + location_id_.Destroy(); } -void LocationAuthResponse::SetCachedSize(int size) const { +void CreateLocationSecretRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void LocationAuthResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.LocationAuthResponse) +void CreateLocationSecretRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateLocationSecretRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && auth_ != nullptr) { - delete auth_; - } - auth_ = nullptr; + location_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* LocationAuthResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* CreateLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + // string location_id = 1 [json_name = "locationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_auth(), ptr); + auto str = _internal_mutable_location_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.CreateLocationSecretRequest.location_id")); } else goto handle_unusual; continue; @@ -22361,128 +23593,135 @@ const char* LocationAuthResponse::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* LocationAuthResponse::_InternalSerialize( +uint8_t* CreateLocationSecretRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.LocationAuthResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateLocationSecretRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; - if (this->_internal_has_auth()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::auth(this), - _Internal::auth(this).GetCachedSize(), target, stream); + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.CreateLocationSecretRequest.location_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_location_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.LocationAuthResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateLocationSecretRequest) return target; } -size_t LocationAuthResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.LocationAuthResponse) +size_t CreateLocationSecretRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateLocationSecretRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; - if (this->_internal_has_auth()) { + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *auth_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_location_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocationAuthResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateLocationSecretRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - LocationAuthResponse::MergeImpl + CreateLocationSecretRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocationAuthResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateLocationSecretRequest::GetClassData() const { return &_class_data_; } -void LocationAuthResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateLocationSecretRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void LocationAuthResponse::MergeFrom(const LocationAuthResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.LocationAuthResponse) +void CreateLocationSecretRequest::MergeFrom(const CreateLocationSecretRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateLocationSecretRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_auth()) { - _internal_mutable_auth()->::viam::app::v1::LocationAuth::MergeFrom(from._internal_auth()); + if (!from._internal_location_id().empty()) { + _internal_set_location_id(from._internal_location_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void LocationAuthResponse::CopyFrom(const LocationAuthResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.LocationAuthResponse) +void CreateLocationSecretRequest::CopyFrom(const CreateLocationSecretRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateLocationSecretRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool LocationAuthResponse::IsInitialized() const { +bool CreateLocationSecretRequest::IsInitialized() const { return true; } -void LocationAuthResponse::InternalSwap(LocationAuthResponse* other) { +void CreateLocationSecretRequest::InternalSwap(CreateLocationSecretRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(auth_, other->auth_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &location_id_, lhs_arena, + &other->location_id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata LocationAuthResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata CreateLocationSecretRequest::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[71]); + file_level_metadata_app_2fv1_2fapp_2eproto[78]); } // =================================================================== -class GetRobotRequest::_Internal { +class CreateLocationSecretResponse::_Internal { public: + static const ::viam::app::v1::LocationAuth& auth(const CreateLocationSecretResponse* msg); }; -GetRobotRequest::GetRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::viam::app::v1::LocationAuth& +CreateLocationSecretResponse::_Internal::auth(const CreateLocationSecretResponse* msg) { + return *msg->auth_; +} +CreateLocationSecretResponse::CreateLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateLocationSecretResponse) } -GetRobotRequest::GetRobotRequest(const GetRobotRequest& from) +CreateLocationSecretResponse::CreateLocationSecretResponse(const CreateLocationSecretResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), - GetArenaForAllocation()); + if (from._internal_has_auth()) { + auth_ = new ::viam::app::v1::LocationAuth(*from.auth_); + } else { + auth_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateLocationSecretResponse) } -inline void GetRobotRequest::SharedCtor() { -id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void CreateLocationSecretResponse::SharedCtor() { +auth_ = nullptr; } -GetRobotRequest::~GetRobotRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotRequest) +CreateLocationSecretResponse::~CreateLocationSecretResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.CreateLocationSecretResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -22490,38 +23729,39 @@ GetRobotRequest::~GetRobotRequest() { SharedDtor(); } -inline void GetRobotRequest::SharedDtor() { +inline void CreateLocationSecretResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); + if (this != internal_default_instance()) delete auth_; } -void GetRobotRequest::SetCachedSize(int size) const { +void CreateLocationSecretResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotRequest) +void CreateLocationSecretResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateLocationSecretResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && auth_ != nullptr) { + delete auth_; + } + auth_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* CreateLocationSecretResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_mutable_auth(), ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotRequest.id")); } else goto handle_unusual; continue; @@ -22548,136 +23788,140 @@ const char* GetRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContex #undef CHK_ } -uint8_t* GetRobotRequest::_InternalSerialize( +uint8_t* CreateLocationSecretResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateLocationSecretResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotRequest.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + if (this->_internal_has_auth()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::auth(this), + _Internal::auth(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateLocationSecretResponse) return target; } -size_t GetRobotRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotRequest) +size_t CreateLocationSecretResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateLocationSecretResponse) 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()) { + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + if (this->_internal_has_auth()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *auth_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateLocationSecretResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotRequest::MergeImpl + CreateLocationSecretResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateLocationSecretResponse::GetClassData() const { return &_class_data_; } -void GetRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateLocationSecretResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotRequest::MergeFrom(const GetRobotRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotRequest) +void CreateLocationSecretResponse::MergeFrom(const CreateLocationSecretResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateLocationSecretResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); + if (from._internal_has_auth()) { + _internal_mutable_auth()->::viam::app::v1::LocationAuth::MergeFrom(from._internal_auth()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotRequest::CopyFrom(const GetRobotRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotRequest) +void CreateLocationSecretResponse::CopyFrom(const CreateLocationSecretResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateLocationSecretResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotRequest::IsInitialized() const { +bool CreateLocationSecretResponse::IsInitialized() const { return true; } -void GetRobotRequest::InternalSwap(GetRobotRequest* other) { +void CreateLocationSecretResponse::InternalSwap(CreateLocationSecretResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena - ); + swap(auth_, other->auth_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata CreateLocationSecretResponse::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[72]); + file_level_metadata_app_2fv1_2fapp_2eproto[79]); } // =================================================================== -class GetRoverRentalRobotsRequest::_Internal { +class DeleteLocationSecretRequest::_Internal { public: }; -GetRoverRentalRobotsRequest::GetRoverRentalRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteLocationSecretRequest::DeleteLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRoverRentalRobotsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteLocationSecretRequest) } -GetRoverRentalRobotsRequest::GetRoverRentalRobotsRequest(const GetRoverRentalRobotsRequest& from) +DeleteLocationSecretRequest::DeleteLocationSecretRequest(const DeleteLocationSecretRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - org_id_.InitDefault(); + location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - org_id_.Set("", GetArenaForAllocation()); + location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_org_id().empty()) { - org_id_.Set(from._internal_org_id(), + if (!from._internal_location_id().empty()) { + location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRoverRentalRobotsRequest) + secret_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + secret_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_secret_id().empty()) { + secret_id_.Set(from._internal_secret_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteLocationSecretRequest) } -inline void GetRoverRentalRobotsRequest::SharedCtor() { -org_id_.InitDefault(); +inline void DeleteLocationSecretRequest::SharedCtor() { +location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - org_id_.Set("", GetArenaForAllocation()); + location_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +secret_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + secret_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetRoverRentalRobotsRequest::~GetRoverRentalRobotsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRoverRentalRobotsRequest) +DeleteLocationSecretRequest::~DeleteLocationSecretRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.DeleteLocationSecretRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -22685,38 +23929,50 @@ GetRoverRentalRobotsRequest::~GetRoverRentalRobotsRequest() { SharedDtor(); } -inline void GetRoverRentalRobotsRequest::SharedDtor() { +inline void DeleteLocationSecretRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - org_id_.Destroy(); + location_id_.Destroy(); + secret_id_.Destroy(); } -void GetRoverRentalRobotsRequest::SetCachedSize(int size) const { +void DeleteLocationSecretRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRoverRentalRobotsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRoverRentalRobotsRequest) +void DeleteLocationSecretRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteLocationSecretRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - org_id_.ClearToEmpty(); + location_id_.ClearToEmpty(); + secret_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRoverRentalRobotsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DeleteLocationSecretRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string org_id = 1 [json_name = "orgId"]; + // string location_id = 1 [json_name = "locationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_org_id(); + auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRoverRentalRobotsRequest.org_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteLocationSecretRequest.location_id")); + } else + goto handle_unusual; + continue; + // string secret_id = 2 [json_name = "secretId"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_secret_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteLocationSecretRequest.secret_id")); } else goto handle_unusual; continue; @@ -22743,124 +23999,179 @@ const char* GetRoverRentalRobotsRequest::_InternalParse(const char* ptr, ::_pbi: #undef CHK_ } -uint8_t* GetRoverRentalRobotsRequest::_InternalSerialize( +uint8_t* DeleteLocationSecretRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRoverRentalRobotsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteLocationSecretRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string org_id = 1 [json_name = "orgId"]; - if (!this->_internal_org_id().empty()) { + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_org_id().data(), static_cast(this->_internal_org_id().length()), + this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRoverRentalRobotsRequest.org_id"); + "viam.app.v1.DeleteLocationSecretRequest.location_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_org_id(), target); + 1, this->_internal_location_id(), target); + } + + // string secret_id = 2 [json_name = "secretId"]; + if (!this->_internal_secret_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_secret_id().data(), static_cast(this->_internal_secret_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.DeleteLocationSecretRequest.secret_id"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_secret_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRoverRentalRobotsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteLocationSecretRequest) return target; } -size_t GetRoverRentalRobotsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRoverRentalRobotsRequest) +size_t DeleteLocationSecretRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteLocationSecretRequest) 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 org_id = 1 [json_name = "orgId"]; - if (!this->_internal_org_id().empty()) { + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_org_id()); + this->_internal_location_id()); + } + + // string secret_id = 2 [json_name = "secretId"]; + if (!this->_internal_secret_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_secret_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRoverRentalRobotsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteLocationSecretRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRoverRentalRobotsRequest::MergeImpl + DeleteLocationSecretRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRoverRentalRobotsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteLocationSecretRequest::GetClassData() const { return &_class_data_; } -void GetRoverRentalRobotsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteLocationSecretRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRoverRentalRobotsRequest::MergeFrom(const GetRoverRentalRobotsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRoverRentalRobotsRequest) +void DeleteLocationSecretRequest::MergeFrom(const DeleteLocationSecretRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteLocationSecretRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_org_id().empty()) { - _internal_set_org_id(from._internal_org_id()); + if (!from._internal_location_id().empty()) { + _internal_set_location_id(from._internal_location_id()); + } + if (!from._internal_secret_id().empty()) { + _internal_set_secret_id(from._internal_secret_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRoverRentalRobotsRequest::CopyFrom(const GetRoverRentalRobotsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRoverRentalRobotsRequest) +void DeleteLocationSecretRequest::CopyFrom(const DeleteLocationSecretRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteLocationSecretRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRoverRentalRobotsRequest::IsInitialized() const { +bool DeleteLocationSecretRequest::IsInitialized() const { return true; } -void GetRoverRentalRobotsRequest::InternalSwap(GetRoverRentalRobotsRequest* other) { +void DeleteLocationSecretRequest::InternalSwap(DeleteLocationSecretRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &org_id_, lhs_arena, - &other->org_id_, rhs_arena + &location_id_, lhs_arena, + &other->location_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &secret_id_, lhs_arena, + &other->secret_id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRoverRentalRobotsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteLocationSecretRequest::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[73]); + file_level_metadata_app_2fv1_2fapp_2eproto[80]); } // =================================================================== -class RoverRentalRobot::_Internal { +class DeleteLocationSecretResponse::_Internal { public: }; -RoverRentalRobot::RoverRentalRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteLocationSecretResponse::DeleteLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteLocationSecretResponse) +} +DeleteLocationSecretResponse::DeleteLocationSecretResponse(const DeleteLocationSecretResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteLocationSecretResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteLocationSecretResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteLocationSecretResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteLocationSecretResponse::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[81]); +} + +// =================================================================== + +class LocationAuthRequest::_Internal { + public: +}; + +LocationAuthRequest::LocationAuthRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.RoverRentalRobot) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.LocationAuthRequest) } -RoverRentalRobot::RoverRentalRobot(const RoverRentalRobot& from) +LocationAuthRequest::LocationAuthRequest(const LocationAuthRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - robot_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_robot_id().empty()) { - robot_id_.Set(from._internal_robot_id(), - GetArenaForAllocation()); - } location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); @@ -22869,46 +24180,18 @@ RoverRentalRobot::RoverRentalRobot(const RoverRentalRobot& from) location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - robot_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_robot_name().empty()) { - robot_name_.Set(from._internal_robot_name(), - GetArenaForAllocation()); - } - robot_main_part_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_main_part_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_robot_main_part_id().empty()) { - robot_main_part_id_.Set(from._internal_robot_main_part_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.RoverRentalRobot) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.LocationAuthRequest) } -inline void RoverRentalRobot::SharedCtor() { -robot_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void LocationAuthRequest::SharedCtor() { location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -robot_name_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_name_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -robot_main_part_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_main_part_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -RoverRentalRobot::~RoverRentalRobot() { - // @@protoc_insertion_point(destructor:viam.app.v1.RoverRentalRobot) +LocationAuthRequest::~LocationAuthRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.LocationAuthRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -22916,74 +24199,38 @@ RoverRentalRobot::~RoverRentalRobot() { SharedDtor(); } -inline void RoverRentalRobot::SharedDtor() { +inline void LocationAuthRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - robot_id_.Destroy(); location_id_.Destroy(); - robot_name_.Destroy(); - robot_main_part_id_.Destroy(); } -void RoverRentalRobot::SetCachedSize(int size) const { +void LocationAuthRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void RoverRentalRobot::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.RoverRentalRobot) +void LocationAuthRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.LocationAuthRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - robot_id_.ClearToEmpty(); location_id_.ClearToEmpty(); - robot_name_.ClearToEmpty(); - robot_main_part_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* RoverRentalRobot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* LocationAuthRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string robot_id = 1 [json_name = "robotId"]; + // string location_id = 1 [json_name = "locationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_robot_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.robot_id")); - } else - goto handle_unusual; - continue; - // string location_id = 2 [json_name = "locationId"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.location_id")); - } else - goto handle_unusual; - continue; - // string robot_name = 3 [json_name = "robotName"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_robot_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.robot_name")); - } else - goto handle_unusual; - continue; - // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_robot_main_part_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.robot_main_part_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.LocationAuthRequest.location_id")); } else goto handle_unusual; continue; @@ -23010,198 +24257,135 @@ const char* RoverRentalRobot::_InternalParse(const char* ptr, ::_pbi::ParseConte #undef CHK_ } -uint8_t* RoverRentalRobot::_InternalSerialize( +uint8_t* LocationAuthRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.RoverRentalRobot) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.LocationAuthRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.RoverRentalRobot.robot_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_robot_id(), target); - } - - // string location_id = 2 [json_name = "locationId"]; + // string location_id = 1 [json_name = "locationId"]; if (!this->_internal_location_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.RoverRentalRobot.location_id"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_location_id(), target); - } - - // string robot_name = 3 [json_name = "robotName"]; - if (!this->_internal_robot_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_robot_name().data(), static_cast(this->_internal_robot_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.RoverRentalRobot.robot_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_robot_name(), target); - } - - // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; - if (!this->_internal_robot_main_part_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_robot_main_part_id().data(), static_cast(this->_internal_robot_main_part_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.RoverRentalRobot.robot_main_part_id"); + "viam.app.v1.LocationAuthRequest.location_id"); target = stream->WriteStringMaybeAliased( - 4, this->_internal_robot_main_part_id(), target); + 1, this->_internal_location_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.RoverRentalRobot) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.LocationAuthRequest) return target; } -size_t RoverRentalRobot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.RoverRentalRobot) +size_t LocationAuthRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.LocationAuthRequest) 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 robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_robot_id()); - } - - // string location_id = 2 [json_name = "locationId"]; + // string location_id = 1 [json_name = "locationId"]; if (!this->_internal_location_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_location_id()); } - // string robot_name = 3 [json_name = "robotName"]; - if (!this->_internal_robot_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_robot_name()); - } - - // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; - if (!this->_internal_robot_main_part_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_robot_main_part_id()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RoverRentalRobot::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocationAuthRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - RoverRentalRobot::MergeImpl + LocationAuthRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RoverRentalRobot::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocationAuthRequest::GetClassData() const { return &_class_data_; } -void RoverRentalRobot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void LocationAuthRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void RoverRentalRobot::MergeFrom(const RoverRentalRobot& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.RoverRentalRobot) +void LocationAuthRequest::MergeFrom(const LocationAuthRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.LocationAuthRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_robot_id().empty()) { - _internal_set_robot_id(from._internal_robot_id()); - } if (!from._internal_location_id().empty()) { _internal_set_location_id(from._internal_location_id()); } - if (!from._internal_robot_name().empty()) { - _internal_set_robot_name(from._internal_robot_name()); - } - if (!from._internal_robot_main_part_id().empty()) { - _internal_set_robot_main_part_id(from._internal_robot_main_part_id()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void RoverRentalRobot::CopyFrom(const RoverRentalRobot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.RoverRentalRobot) +void LocationAuthRequest::CopyFrom(const LocationAuthRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.LocationAuthRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool RoverRentalRobot::IsInitialized() const { +bool LocationAuthRequest::IsInitialized() const { return true; } -void RoverRentalRobot::InternalSwap(RoverRentalRobot* other) { +void LocationAuthRequest::InternalSwap(LocationAuthRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &robot_id_, lhs_arena, - &other->robot_id_, rhs_arena - ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &location_id_, lhs_arena, &other->location_id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &robot_name_, lhs_arena, - &other->robot_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &robot_main_part_id_, lhs_arena, - &other->robot_main_part_id_, rhs_arena - ); } -::PROTOBUF_NAMESPACE_ID::Metadata RoverRentalRobot::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata LocationAuthRequest::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[74]); + file_level_metadata_app_2fv1_2fapp_2eproto[82]); } // =================================================================== -class GetRoverRentalRobotsResponse::_Internal { +class LocationAuthResponse::_Internal { public: + static const ::viam::app::v1::LocationAuth& auth(const LocationAuthResponse* msg); }; -GetRoverRentalRobotsResponse::GetRoverRentalRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::viam::app::v1::LocationAuth& +LocationAuthResponse::_Internal::auth(const LocationAuthResponse* msg) { + return *msg->auth_; +} +LocationAuthResponse::LocationAuthResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - robots_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRoverRentalRobotsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.LocationAuthResponse) } -GetRoverRentalRobotsResponse::GetRoverRentalRobotsResponse(const GetRoverRentalRobotsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - robots_(from.robots_) { +LocationAuthResponse::LocationAuthResponse(const LocationAuthResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRoverRentalRobotsResponse) + if (from._internal_has_auth()) { + auth_ = new ::viam::app::v1::LocationAuth(*from.auth_); + } else { + auth_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.LocationAuthResponse) } -inline void GetRoverRentalRobotsResponse::SharedCtor() { +inline void LocationAuthResponse::SharedCtor() { +auth_ = nullptr; } -GetRoverRentalRobotsResponse::~GetRoverRentalRobotsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRoverRentalRobotsResponse) +LocationAuthResponse::~LocationAuthResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.LocationAuthResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -23209,40 +24393,39 @@ GetRoverRentalRobotsResponse::~GetRoverRentalRobotsResponse() { SharedDtor(); } -inline void GetRoverRentalRobotsResponse::SharedDtor() { +inline void LocationAuthResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete auth_; } -void GetRoverRentalRobotsResponse::SetCachedSize(int size) const { +void LocationAuthResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRoverRentalRobotsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRoverRentalRobotsResponse) +void LocationAuthResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.LocationAuthResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - robots_.Clear(); + if (GetArenaForAllocation() == nullptr && auth_ != nullptr) { + delete auth_; + } + auth_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRoverRentalRobotsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* LocationAuthResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_robots(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + ptr = ctx->ParseMessage(_internal_mutable_auth(), ptr); + CHK_(ptr); } else goto handle_unusual; continue; @@ -23269,126 +24452,128 @@ const char* GetRoverRentalRobotsResponse::_InternalParse(const char* ptr, ::_pbi #undef CHK_ } -uint8_t* GetRoverRentalRobotsResponse::_InternalSerialize( +uint8_t* LocationAuthResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRoverRentalRobotsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.LocationAuthResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; - for (unsigned i = 0, - n = static_cast(this->_internal_robots_size()); i < n; i++) { - const auto& repfield = this->_internal_robots(i); + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + if (this->_internal_has_auth()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + InternalWriteMessage(1, _Internal::auth(this), + _Internal::auth(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRoverRentalRobotsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.LocationAuthResponse) return target; } -size_t GetRoverRentalRobotsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRoverRentalRobotsResponse) +size_t LocationAuthResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.LocationAuthResponse) 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.RoverRentalRobot robots = 1 [json_name = "robots"]; - total_size += 1UL * this->_internal_robots_size(); - for (const auto& msg : this->robots_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + if (this->_internal_has_auth()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *auth_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRoverRentalRobotsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LocationAuthResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRoverRentalRobotsResponse::MergeImpl + LocationAuthResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRoverRentalRobotsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LocationAuthResponse::GetClassData() const { return &_class_data_; } -void GetRoverRentalRobotsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void LocationAuthResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRoverRentalRobotsResponse::MergeFrom(const GetRoverRentalRobotsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRoverRentalRobotsResponse) +void LocationAuthResponse::MergeFrom(const LocationAuthResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.LocationAuthResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - robots_.MergeFrom(from.robots_); + if (from._internal_has_auth()) { + _internal_mutable_auth()->::viam::app::v1::LocationAuth::MergeFrom(from._internal_auth()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRoverRentalRobotsResponse::CopyFrom(const GetRoverRentalRobotsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRoverRentalRobotsResponse) +void LocationAuthResponse::CopyFrom(const LocationAuthResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.LocationAuthResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRoverRentalRobotsResponse::IsInitialized() const { +bool LocationAuthResponse::IsInitialized() const { return true; } -void GetRoverRentalRobotsResponse::InternalSwap(GetRoverRentalRobotsResponse* other) { +void LocationAuthResponse::InternalSwap(LocationAuthResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - robots_.InternalSwap(&other->robots_); + swap(auth_, other->auth_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRoverRentalRobotsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata LocationAuthResponse::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[75]); + file_level_metadata_app_2fv1_2fapp_2eproto[83]); } // =================================================================== -class GetRobotResponse::_Internal { +class GetRobotRequest::_Internal { public: - static const ::viam::app::v1::Robot& robot(const GetRobotResponse* msg); }; -const ::viam::app::v1::Robot& -GetRobotResponse::_Internal::robot(const GetRobotResponse* msg) { - return *msg->robot_; -} -GetRobotResponse::GetRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotRequest::GetRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotRequest) } -GetRobotResponse::GetRobotResponse(const GetRobotResponse& from) +GetRobotRequest::GetRobotRequest(const GetRobotRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_robot()) { - robot_ = new ::viam::app::v1::Robot(*from.robot_); - } else { - robot_ = nullptr; + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotRequest) } -inline void GetRobotResponse::SharedCtor() { -robot_ = nullptr; +inline void GetRobotRequest::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetRobotResponse::~GetRobotResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotResponse) +GetRobotRequest::~GetRobotRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -23396,39 +24581,38 @@ GetRobotResponse::~GetRobotResponse() { SharedDtor(); } -inline void GetRobotResponse::SharedDtor() { +inline void GetRobotRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete robot_; + id_.Destroy(); } -void GetRobotResponse::SetCachedSize(int size) const { +void GetRobotRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotResponse) +void GetRobotRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && robot_ != nullptr) { - delete robot_; - } - robot_ = nullptr; + id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_robot(), ptr); + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotRequest.id")); } else goto handle_unusual; continue; @@ -23455,128 +24639,136 @@ const char* GetRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseConte #undef CHK_ } -uint8_t* GetRobotResponse::_InternalSerialize( +uint8_t* GetRobotRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; - if (this->_internal_has_robot()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::robot(this), - _Internal::robot(this).GetCachedSize(), target, stream); + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotRequest.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotRequest) return target; } -size_t GetRobotResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotResponse) +size_t GetRobotRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; - if (this->_internal_has_robot()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *robot_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotResponse::MergeImpl + GetRobotRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotRequest::GetClassData() const { return &_class_data_; } -void GetRobotResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotResponse::MergeFrom(const GetRobotResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotResponse) +void GetRobotRequest::MergeFrom(const GetRobotRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_robot()) { - _internal_mutable_robot()->::viam::app::v1::Robot::MergeFrom(from._internal_robot()); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotResponse::CopyFrom(const GetRobotResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotResponse) +void GetRobotRequest::CopyFrom(const GetRobotRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotResponse::IsInitialized() const { +bool GetRobotRequest::IsInitialized() const { return true; } -void GetRobotResponse::InternalSwap(GetRobotResponse* other) { +void GetRobotRequest::InternalSwap(GetRobotRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(robot_, other->robot_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotRequest::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[76]); + file_level_metadata_app_2fv1_2fapp_2eproto[84]); } // =================================================================== -class GetRobotPartsRequest::_Internal { +class GetRoverRentalRobotsRequest::_Internal { public: }; -GetRobotPartsRequest::GetRobotPartsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRoverRentalRobotsRequest::GetRoverRentalRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRoverRentalRobotsRequest) } -GetRobotPartsRequest::GetRobotPartsRequest(const GetRobotPartsRequest& from) +GetRoverRentalRobotsRequest::GetRoverRentalRobotsRequest(const GetRoverRentalRobotsRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - robot_id_.InitDefault(); + org_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); + org_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_robot_id().empty()) { - robot_id_.Set(from._internal_robot_id(), + if (!from._internal_org_id().empty()) { + org_id_.Set(from._internal_org_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartsRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRoverRentalRobotsRequest) } -inline void GetRobotPartsRequest::SharedCtor() { -robot_id_.InitDefault(); +inline void GetRoverRentalRobotsRequest::SharedCtor() { +org_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); + org_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetRobotPartsRequest::~GetRobotPartsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartsRequest) +GetRoverRentalRobotsRequest::~GetRoverRentalRobotsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRoverRentalRobotsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -23584,38 +24776,38 @@ GetRobotPartsRequest::~GetRobotPartsRequest() { SharedDtor(); } -inline void GetRobotPartsRequest::SharedDtor() { +inline void GetRoverRentalRobotsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - robot_id_.Destroy(); + org_id_.Destroy(); } -void GetRobotPartsRequest::SetCachedSize(int size) const { +void GetRoverRentalRobotsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartsRequest) +void GetRoverRentalRobotsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRoverRentalRobotsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - robot_id_.ClearToEmpty(); + org_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRoverRentalRobotsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string robot_id = 1 [json_name = "robotId"]; + // string org_id = 1 [json_name = "orgId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_robot_id(); + auto str = _internal_mutable_org_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartsRequest.robot_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRoverRentalRobotsRequest.org_id")); } else goto handle_unusual; continue; @@ -23642,126 +24834,172 @@ const char* GetRobotPartsRequest::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* GetRobotPartsRequest::_InternalSerialize( +uint8_t* GetRoverRentalRobotsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRoverRentalRobotsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { + // string org_id = 1 [json_name = "orgId"]; + if (!this->_internal_org_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), + this->_internal_org_id().data(), static_cast(this->_internal_org_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartsRequest.robot_id"); + "viam.app.v1.GetRoverRentalRobotsRequest.org_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_robot_id(), target); + 1, this->_internal_org_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRoverRentalRobotsRequest) return target; } -size_t GetRobotPartsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartsRequest) +size_t GetRoverRentalRobotsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRoverRentalRobotsRequest) 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 robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { + // string org_id = 1 [json_name = "orgId"]; + if (!this->_internal_org_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_robot_id()); + this->_internal_org_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRoverRentalRobotsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartsRequest::MergeImpl + GetRoverRentalRobotsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRoverRentalRobotsRequest::GetClassData() const { return &_class_data_; } -void GetRobotPartsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRoverRentalRobotsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartsRequest::MergeFrom(const GetRobotPartsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartsRequest) +void GetRoverRentalRobotsRequest::MergeFrom(const GetRoverRentalRobotsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRoverRentalRobotsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_robot_id().empty()) { - _internal_set_robot_id(from._internal_robot_id()); + if (!from._internal_org_id().empty()) { + _internal_set_org_id(from._internal_org_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartsRequest::CopyFrom(const GetRobotPartsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartsRequest) +void GetRoverRentalRobotsRequest::CopyFrom(const GetRoverRentalRobotsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRoverRentalRobotsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartsRequest::IsInitialized() const { +bool GetRoverRentalRobotsRequest::IsInitialized() const { return true; } -void GetRobotPartsRequest::InternalSwap(GetRobotPartsRequest* other) { +void GetRoverRentalRobotsRequest::InternalSwap(GetRoverRentalRobotsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &robot_id_, lhs_arena, - &other->robot_id_, rhs_arena + &org_id_, lhs_arena, + &other->org_id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRoverRentalRobotsRequest::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[77]); + file_level_metadata_app_2fv1_2fapp_2eproto[85]); } // =================================================================== -class GetRobotPartsResponse::_Internal { +class RoverRentalRobot::_Internal { public: }; -GetRobotPartsResponse::GetRobotPartsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +RoverRentalRobot::RoverRentalRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - parts_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.RoverRentalRobot) } -GetRobotPartsResponse::GetRobotPartsResponse(const GetRobotPartsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - parts_(from.parts_) { +RoverRentalRobot::RoverRentalRobot(const RoverRentalRobot& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartsResponse) + robot_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_robot_id().empty()) { + robot_id_.Set(from._internal_robot_id(), + GetArenaForAllocation()); + } + location_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_location_id().empty()) { + location_id_.Set(from._internal_location_id(), + GetArenaForAllocation()); + } + robot_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_robot_name().empty()) { + robot_name_.Set(from._internal_robot_name(), + GetArenaForAllocation()); + } + robot_main_part_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_main_part_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_robot_main_part_id().empty()) { + robot_main_part_id_.Set(from._internal_robot_main_part_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.RoverRentalRobot) } -inline void GetRobotPartsResponse::SharedCtor() { +inline void RoverRentalRobot::SharedCtor() { +robot_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +location_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +robot_name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +robot_main_part_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_main_part_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetRobotPartsResponse::~GetRobotPartsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartsResponse) +RoverRentalRobot::~RoverRentalRobot() { + // @@protoc_insertion_point(destructor:viam.app.v1.RoverRentalRobot) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -23769,40 +25007,74 @@ GetRobotPartsResponse::~GetRobotPartsResponse() { SharedDtor(); } -inline void GetRobotPartsResponse::SharedDtor() { +inline void RoverRentalRobot::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + robot_id_.Destroy(); + location_id_.Destroy(); + robot_name_.Destroy(); + robot_main_part_id_.Destroy(); } -void GetRobotPartsResponse::SetCachedSize(int size) const { +void RoverRentalRobot::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartsResponse) +void RoverRentalRobot::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.RoverRentalRobot) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - parts_.Clear(); + robot_id_.ClearToEmpty(); + location_id_.ClearToEmpty(); + robot_name_.ClearToEmpty(); + robot_main_part_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* RoverRentalRobot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; + // string robot_id = 1 [json_name = "robotId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_parts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + auto str = _internal_mutable_robot_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.robot_id")); + } else + goto handle_unusual; + continue; + // string location_id = 2 [json_name = "locationId"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_location_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.location_id")); + } else + goto handle_unusual; + continue; + // string robot_name = 3 [json_name = "robotName"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_robot_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.robot_name")); + } else + goto handle_unusual; + continue; + // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_robot_main_part_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.RoverRentalRobot.robot_main_part_id")); } else goto handle_unusual; continue; @@ -23829,127 +25101,198 @@ const char* GetRobotPartsResponse::_InternalParse(const char* ptr, ::_pbi::Parse #undef CHK_ } -uint8_t* GetRobotPartsResponse::_InternalSerialize( +uint8_t* RoverRentalRobot::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.RoverRentalRobot) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; - for (unsigned i = 0, - n = static_cast(this->_internal_parts_size()); i < n; i++) { - const auto& repfield = this->_internal_parts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.RoverRentalRobot.robot_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_robot_id(), target); + } + + // string location_id = 2 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.RoverRentalRobot.location_id"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_location_id(), target); + } + + // string robot_name = 3 [json_name = "robotName"]; + if (!this->_internal_robot_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_robot_name().data(), static_cast(this->_internal_robot_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.RoverRentalRobot.robot_name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_robot_name(), target); + } + + // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; + if (!this->_internal_robot_main_part_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_robot_main_part_id().data(), static_cast(this->_internal_robot_main_part_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.RoverRentalRobot.robot_main_part_id"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_robot_main_part_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.RoverRentalRobot) return target; } -size_t GetRobotPartsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartsResponse) +size_t RoverRentalRobot::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.RoverRentalRobot) 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.RobotPart parts = 1 [json_name = "parts"]; - total_size += 1UL * this->_internal_parts_size(); - for (const auto& msg : this->parts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_robot_id()); + } + + // string location_id = 2 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_location_id()); + } + + // string robot_name = 3 [json_name = "robotName"]; + if (!this->_internal_robot_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_robot_name()); + } + + // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; + if (!this->_internal_robot_main_part_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_robot_main_part_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RoverRentalRobot::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartsResponse::MergeImpl + RoverRentalRobot::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RoverRentalRobot::GetClassData() const { return &_class_data_; } -void GetRobotPartsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void RoverRentalRobot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartsResponse::MergeFrom(const GetRobotPartsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartsResponse) +void RoverRentalRobot::MergeFrom(const RoverRentalRobot& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.RoverRentalRobot) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - parts_.MergeFrom(from.parts_); + if (!from._internal_robot_id().empty()) { + _internal_set_robot_id(from._internal_robot_id()); + } + if (!from._internal_location_id().empty()) { + _internal_set_location_id(from._internal_location_id()); + } + if (!from._internal_robot_name().empty()) { + _internal_set_robot_name(from._internal_robot_name()); + } + if (!from._internal_robot_main_part_id().empty()) { + _internal_set_robot_main_part_id(from._internal_robot_main_part_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartsResponse::CopyFrom(const GetRobotPartsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartsResponse) +void RoverRentalRobot::CopyFrom(const RoverRentalRobot& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.RoverRentalRobot) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartsResponse::IsInitialized() const { +bool RoverRentalRobot::IsInitialized() const { return true; } -void GetRobotPartsResponse::InternalSwap(GetRobotPartsResponse* other) { +void RoverRentalRobot::InternalSwap(RoverRentalRobot* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - parts_.InternalSwap(&other->parts_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &robot_id_, lhs_arena, + &other->robot_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &location_id_, lhs_arena, + &other->location_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &robot_name_, lhs_arena, + &other->robot_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &robot_main_part_id_, lhs_arena, + &other->robot_main_part_id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata RoverRentalRobot::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[78]); + file_level_metadata_app_2fv1_2fapp_2eproto[86]); } // =================================================================== -class GetRobotPartRequest::_Internal { +class GetRoverRentalRobotsResponse::_Internal { public: }; -GetRobotPartRequest::GetRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRoverRentalRobotsResponse::GetRoverRentalRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + robots_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRoverRentalRobotsResponse) } -GetRobotPartRequest::GetRobotPartRequest(const GetRobotPartRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +GetRoverRentalRobotsResponse::GetRoverRentalRobotsResponse(const GetRoverRentalRobotsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + robots_(from.robots_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRoverRentalRobotsResponse) } -inline void GetRobotPartRequest::SharedCtor() { -id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void GetRoverRentalRobotsResponse::SharedCtor() { } -GetRobotPartRequest::~GetRobotPartRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartRequest) +GetRoverRentalRobotsResponse::~GetRoverRentalRobotsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRoverRentalRobotsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -23957,38 +25300,40 @@ GetRobotPartRequest::~GetRobotPartRequest() { SharedDtor(); } -inline void GetRobotPartRequest::SharedDtor() { +inline void GetRoverRentalRobotsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); } -void GetRobotPartRequest::SetCachedSize(int size) const { +void GetRoverRentalRobotsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartRequest) +void GetRoverRentalRobotsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRoverRentalRobotsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmpty(); + robots_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRoverRentalRobotsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; + // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartRequest.id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_robots(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -24015,147 +25360,126 @@ const char* GetRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -uint8_t* GetRobotPartRequest::_InternalSerialize( +uint8_t* GetRoverRentalRobotsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRoverRentalRobotsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartRequest.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); + // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; + for (unsigned i = 0, + n = static_cast(this->_internal_robots_size()); i < n; i++) { + const auto& repfield = this->_internal_robots(i); + target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRoverRentalRobotsResponse) return target; } -size_t GetRobotPartRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartRequest) +size_t GetRoverRentalRobotsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRoverRentalRobotsResponse) 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 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); + // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; + total_size += 1UL * this->_internal_robots_size(); + for (const auto& msg : this->robots_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRoverRentalRobotsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartRequest::MergeImpl + GetRoverRentalRobotsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRoverRentalRobotsResponse::GetClassData() const { return &_class_data_; } -void GetRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRoverRentalRobotsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartRequest::MergeFrom(const GetRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartRequest) +void GetRoverRentalRobotsResponse::MergeFrom(const GetRoverRentalRobotsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRoverRentalRobotsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); - } + robots_.MergeFrom(from.robots_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartRequest::CopyFrom(const GetRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartRequest) +void GetRoverRentalRobotsResponse::CopyFrom(const GetRoverRentalRobotsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRoverRentalRobotsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartRequest::IsInitialized() const { +bool GetRoverRentalRobotsResponse::IsInitialized() const { return true; } -void GetRobotPartRequest::InternalSwap(GetRobotPartRequest* other) { +void GetRoverRentalRobotsResponse::InternalSwap(GetRoverRentalRobotsResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena - ); + robots_.InternalSwap(&other->robots_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRoverRentalRobotsResponse::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[79]); + file_level_metadata_app_2fv1_2fapp_2eproto[87]); } // =================================================================== -class GetRobotPartResponse::_Internal { +class GetRobotResponse::_Internal { public: - static const ::viam::app::v1::RobotPart& part(const GetRobotPartResponse* msg); + static const ::viam::app::v1::Robot& robot(const GetRobotResponse* msg); }; -const ::viam::app::v1::RobotPart& -GetRobotPartResponse::_Internal::part(const GetRobotPartResponse* msg) { - return *msg->part_; +const ::viam::app::v1::Robot& +GetRobotResponse::_Internal::robot(const GetRobotResponse* msg) { + return *msg->robot_; } -GetRobotPartResponse::GetRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotResponse::GetRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotResponse) } -GetRobotPartResponse::GetRobotPartResponse(const GetRobotPartResponse& from) +GetRobotResponse::GetRobotResponse(const GetRobotResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - config_json_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - config_json_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_config_json().empty()) { - config_json_.Set(from._internal_config_json(), - GetArenaForAllocation()); - } - if (from._internal_has_part()) { - part_ = new ::viam::app::v1::RobotPart(*from.part_); + if (from._internal_has_robot()) { + robot_ = new ::viam::app::v1::Robot(*from.robot_); } else { - part_ = nullptr; + robot_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotResponse) } -inline void GetRobotPartResponse::SharedCtor() { -config_json_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - config_json_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -part_ = nullptr; +inline void GetRobotResponse::SharedCtor() { +robot_ = nullptr; } -GetRobotPartResponse::~GetRobotPartResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartResponse) +GetRobotResponse::~GetRobotResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -24163,51 +25487,39 @@ GetRobotPartResponse::~GetRobotPartResponse() { SharedDtor(); } -inline void GetRobotPartResponse::SharedDtor() { +inline void GetRobotResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - config_json_.Destroy(); - if (this != internal_default_instance()) delete part_; + if (this != internal_default_instance()) delete robot_; } -void GetRobotPartResponse::SetCachedSize(int size) const { +void GetRobotResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartResponse) +void GetRobotResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - config_json_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && part_ != nullptr) { - delete part_; + if (GetArenaForAllocation() == nullptr && robot_ != nullptr) { + delete robot_; } - part_ = nullptr; + robot_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_part(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string config_json = 2 [json_name = "configJson"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_config_json(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_mutable_robot(), ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartResponse.config_json")); } else goto handle_unusual; continue; @@ -24234,247 +25546,128 @@ const char* GetRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* GetRobotPartResponse::_InternalSerialize( +uint8_t* GetRobotResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; - if (this->_internal_has_part()) { + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + if (this->_internal_has_robot()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::part(this), - _Internal::part(this).GetCachedSize(), target, stream); - } - - // string config_json = 2 [json_name = "configJson"]; - if (!this->_internal_config_json().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_config_json().data(), static_cast(this->_internal_config_json().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartResponse.config_json"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_config_json(), target); + InternalWriteMessage(1, _Internal::robot(this), + _Internal::robot(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotResponse) return target; } -size_t GetRobotPartResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartResponse) +size_t GetRobotResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotResponse) 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 config_json = 2 [json_name = "configJson"]; - if (!this->_internal_config_json().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_config_json()); - } - - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; - if (this->_internal_has_part()) { + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + if (this->_internal_has_robot()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *part_); + *robot_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartResponse::MergeImpl + GetRobotResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotResponse::GetClassData() const { return &_class_data_; } -void GetRobotPartResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartResponse::MergeFrom(const GetRobotPartResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartResponse) +void GetRobotResponse::MergeFrom(const GetRobotResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_config_json().empty()) { - _internal_set_config_json(from._internal_config_json()); - } - if (from._internal_has_part()) { - _internal_mutable_part()->::viam::app::v1::RobotPart::MergeFrom(from._internal_part()); + if (from._internal_has_robot()) { + _internal_mutable_robot()->::viam::app::v1::Robot::MergeFrom(from._internal_robot()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartResponse::CopyFrom(const GetRobotPartResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartResponse) +void GetRobotResponse::CopyFrom(const GetRobotResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartResponse::IsInitialized() const { +bool GetRobotResponse::IsInitialized() const { return true; } -void GetRobotPartResponse::InternalSwap(GetRobotPartResponse* other) { +void GetRobotResponse::InternalSwap(GetRobotResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &config_json_, lhs_arena, - &other->config_json_, rhs_arena - ); - swap(part_, other->part_); + swap(robot_, other->robot_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotResponse::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[80]); + file_level_metadata_app_2fv1_2fapp_2eproto[88]); } // =================================================================== -class GetRobotPartLogsRequest::_Internal { +class GetRobotPartsRequest::_Internal { public: - using HasBits = decltype(std::declval()._has_bits_); - static void set_has_filter(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_page_token(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& start(const GetRobotPartLogsRequest* msg); - static void set_has_start(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& end(const GetRobotPartLogsRequest* msg); - static void set_has_end(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_limit(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_source(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } }; -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -GetRobotPartLogsRequest::_Internal::start(const GetRobotPartLogsRequest* msg) { - return *msg->start_; -} -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -GetRobotPartLogsRequest::_Internal::end(const GetRobotPartLogsRequest* msg) { - return *msg->end_; -} -void GetRobotPartLogsRequest::clear_start() { - if (start_ != nullptr) start_->Clear(); - _has_bits_[0] &= ~0x00000008u; -} -void GetRobotPartLogsRequest::clear_end() { - if (end_ != nullptr) end_->Clear(); - _has_bits_[0] &= ~0x00000010u; -} -GetRobotPartLogsRequest::GetRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotPartsRequest::GetRobotPartsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - levels_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartLogsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartsRequest) } -GetRobotPartLogsRequest::GetRobotPartLogsRequest(const GetRobotPartLogsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_), - levels_(from.levels_) { +GetRobotPartsRequest::GetRobotPartsRequest(const GetRobotPartsRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), - GetArenaForAllocation()); - } - filter_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - filter_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filter()) { - filter_.Set(from._internal_filter(), - GetArenaForAllocation()); - } - page_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - page_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_page_token()) { - page_token_.Set(from._internal_page_token(), - GetArenaForAllocation()); - } - source_.InitDefault(); + robot_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - source_.Set("", GetArenaForAllocation()); + robot_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_source()) { - source_.Set(from._internal_source(), + if (!from._internal_robot_id().empty()) { + robot_id_.Set(from._internal_robot_id(), GetArenaForAllocation()); } - if (from._internal_has_start()) { - start_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.start_); - } else { - start_ = nullptr; - } - if (from._internal_has_end()) { - end_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.end_); - } else { - end_ = nullptr; - } - ::memcpy(&limit_, &from.limit_, - static_cast(reinterpret_cast(&errors_only_) - - reinterpret_cast(&limit_)) + sizeof(errors_only_)); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartLogsRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartsRequest) } -inline void GetRobotPartLogsRequest::SharedCtor() { -id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -filter_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - filter_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -page_token_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - page_token_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -source_.InitDefault(); +inline void GetRobotPartsRequest::SharedCtor() { +robot_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - source_.Set("", GetArenaForAllocation()); + robot_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&start_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&errors_only_) - - reinterpret_cast(&start_)) + sizeof(errors_only_)); } -GetRobotPartLogsRequest::~GetRobotPartLogsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartLogsRequest) +GetRobotPartsRequest::~GetRobotPartsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -24482,146 +25675,38 @@ GetRobotPartLogsRequest::~GetRobotPartLogsRequest() { SharedDtor(); } -inline void GetRobotPartLogsRequest::SharedDtor() { +inline void GetRobotPartsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); - filter_.Destroy(); - page_token_.Destroy(); - source_.Destroy(); - if (this != internal_default_instance()) delete start_; - if (this != internal_default_instance()) delete end_; + robot_id_.Destroy(); } -void GetRobotPartLogsRequest::SetCachedSize(int size) const { +void GetRobotPartsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartLogsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartLogsRequest) +void GetRobotPartsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - levels_.Clear(); - id_.ClearToEmpty(); - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - filter_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - page_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - source_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(start_ != nullptr); - start_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(end_ != nullptr); - end_->Clear(); - } - } - limit_ = int64_t{0}; - errors_only_ = false; - _has_bits_.Clear(); + robot_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; + // string robot_id = 1 [json_name = "robotId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.id")); - } else - goto handle_unusual; - continue; - // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - errors_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string filter = 3 [json_name = "filter"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_filter(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.filter")); - } else - goto handle_unusual; - continue; - // optional string page_token = 4 [json_name = "pageToken"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_page_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.page_token")); - } else - goto handle_unusual; - continue; - // repeated string levels = 5 [json_name = "levels"]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_levels(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.levels")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_end(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 limit = 8 [json_name = "limit"]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_limit(&has_bits); - limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string source = 9 [json_name = "source"]; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_source(); + auto str = _internal_mutable_robot_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.source")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartsRequest.robot_id")); } else goto handle_unusual; continue; @@ -24641,7 +25726,6 @@ const char* GetRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::Par CHK_(ptr != nullptr); } // while message_done: - _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -24649,309 +25733,126 @@ const char* GetRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::Par #undef CHK_ } -uint8_t* GetRobotPartLogsRequest::_InternalSerialize( +uint8_t* GetRobotPartsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartLogsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartLogsRequest.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); - } - - // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; - if (this->_internal_errors_only() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_errors_only(), target); - } - - // optional string filter = 3 [json_name = "filter"]; - if (_internal_has_filter()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_filter().data(), static_cast(this->_internal_filter().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartLogsRequest.filter"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_filter(), target); - } - - // optional string page_token = 4 [json_name = "pageToken"]; - if (_internal_has_page_token()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartLogsRequest.page_token"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_page_token(), target); - } - - // repeated string levels = 5 [json_name = "levels"]; - for (int i = 0, n = this->_internal_levels_size(); i < n; i++) { - const auto& s = this->_internal_levels(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartLogsRequest.levels"); - target = stream->WriteString(5, s, target); - } - - // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; - if (_internal_has_start()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::start(this), - _Internal::start(this).GetCachedSize(), target, stream); - } - - // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; - if (_internal_has_end()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::end(this), - _Internal::end(this).GetCachedSize(), target, stream); - } - - // optional int64 limit = 8 [json_name = "limit"]; - if (_internal_has_limit()) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(8, this->_internal_limit(), target); - } - - // optional string source = 9 [json_name = "source"]; - if (_internal_has_source()) { + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_source().data(), static_cast(this->_internal_source().length()), + this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartLogsRequest.source"); + "viam.app.v1.GetRobotPartsRequest.robot_id"); target = stream->WriteStringMaybeAliased( - 9, this->_internal_source(), target); + 1, this->_internal_robot_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartLogsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartsRequest) return target; } -size_t GetRobotPartLogsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartLogsRequest) +size_t GetRobotPartsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartsRequest) 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 levels = 5 [json_name = "levels"]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(levels_.size()); - for (int i = 0, n = levels_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - levels_.Get(i)); - } - - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string filter = 3 [json_name = "filter"]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filter()); - } - - // optional string page_token = 4 [json_name = "pageToken"]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_page_token()); - } - - // optional string source = 9 [json_name = "source"]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_source()); - } - - // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *start_); - } - - // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *end_); - } - - // optional int64 limit = 8 [json_name = "limit"]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_limit()); - } - - } - // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; - if (this->_internal_errors_only() != 0) { - total_size += 1 + 1; + this->_internal_robot_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartLogsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartLogsRequest::MergeImpl + GetRobotPartsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartLogsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartsRequest::GetClassData() const { return &_class_data_; } -void GetRobotPartLogsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartLogsRequest::MergeFrom(const GetRobotPartLogsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartLogsRequest) +void GetRobotPartsRequest::MergeFrom(const GetRobotPartsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - levels_.MergeFrom(from.levels_); - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); - } - cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _internal_set_filter(from._internal_filter()); - } - if (cached_has_bits & 0x00000002u) { - _internal_set_page_token(from._internal_page_token()); - } - if (cached_has_bits & 0x00000004u) { - _internal_set_source(from._internal_source()); - } - if (cached_has_bits & 0x00000008u) { - _internal_mutable_start()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_start()); - } - if (cached_has_bits & 0x00000010u) { - _internal_mutable_end()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_end()); - } - if (cached_has_bits & 0x00000020u) { - limit_ = from.limit_; - } - _has_bits_[0] |= cached_has_bits; - } - if (from._internal_errors_only() != 0) { - _internal_set_errors_only(from._internal_errors_only()); + if (!from._internal_robot_id().empty()) { + _internal_set_robot_id(from._internal_robot_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartLogsRequest::CopyFrom(const GetRobotPartLogsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartLogsRequest) +void GetRobotPartsRequest::CopyFrom(const GetRobotPartsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartLogsRequest::IsInitialized() const { +bool GetRobotPartsRequest::IsInitialized() const { return true; } -void GetRobotPartLogsRequest::InternalSwap(GetRobotPartLogsRequest* other) { +void GetRobotPartsRequest::InternalSwap(GetRobotPartsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - levels_.InternalSwap(&other->levels_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena + &robot_id_, lhs_arena, + &other->robot_id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &filter_, lhs_arena, - &other->filter_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &page_token_, lhs_arena, - &other->page_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &source_, lhs_arena, - &other->source_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetRobotPartLogsRequest, errors_only_) - + sizeof(GetRobotPartLogsRequest::errors_only_) - - PROTOBUF_FIELD_OFFSET(GetRobotPartLogsRequest, start_)>( - reinterpret_cast(&start_), - reinterpret_cast(&other->start_)); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartLogsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartsRequest::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[81]); + file_level_metadata_app_2fv1_2fapp_2eproto[89]); } // =================================================================== -class GetRobotPartLogsResponse::_Internal { +class GetRobotPartsResponse::_Internal { public: }; -void GetRobotPartLogsResponse::clear_logs() { - logs_.Clear(); -} -GetRobotPartLogsResponse::GetRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotPartsResponse::GetRobotPartsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - logs_(arena) { + parts_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartLogsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartsResponse) } -GetRobotPartLogsResponse::GetRobotPartLogsResponse(const GetRobotPartLogsResponse& from) +GetRobotPartsResponse::GetRobotPartsResponse(const GetRobotPartsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - logs_(from.logs_) { + parts_(from.parts_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - next_page_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - next_page_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_next_page_token().empty()) { - next_page_token_.Set(from._internal_next_page_token(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartLogsResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartsResponse) } -inline void GetRobotPartLogsResponse::SharedCtor() { -next_page_token_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - next_page_token_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void GetRobotPartsResponse::SharedCtor() { } -GetRobotPartLogsResponse::~GetRobotPartLogsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartLogsResponse) +GetRobotPartsResponse::~GetRobotPartsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -24959,55 +25860,43 @@ GetRobotPartLogsResponse::~GetRobotPartLogsResponse() { SharedDtor(); } -inline void GetRobotPartLogsResponse::SharedDtor() { +inline void GetRobotPartsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - next_page_token_.Destroy(); } -void GetRobotPartLogsResponse::SetCachedSize(int size) const { +void GetRobotPartsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartLogsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartLogsResponse) +void GetRobotPartsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - logs_.Clear(); - next_page_token_.ClearToEmpty(); + parts_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartLogsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_logs(), ptr); + ptr = ctx->ParseMessage(_internal_add_parts(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; - // string next_page_token = 2 [json_name = "nextPageToken"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_next_page_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsResponse.next_page_token")); - } else - goto handle_unusual; - continue; default: goto handle_unusual; } // switch @@ -25031,137 +25920,106 @@ const char* GetRobotPartLogsResponse::_InternalParse(const char* ptr, ::_pbi::Pa #undef CHK_ } -uint8_t* GetRobotPartLogsResponse::_InternalSerialize( +uint8_t* GetRobotPartsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartLogsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; for (unsigned i = 0, - n = static_cast(this->_internal_logs_size()); i < n; i++) { - const auto& repfield = this->_internal_logs(i); + n = static_cast(this->_internal_parts_size()); i < n; i++) { + const auto& repfield = this->_internal_parts(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } - // string next_page_token = 2 [json_name = "nextPageToken"]; - if (!this->_internal_next_page_token().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartLogsResponse.next_page_token"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_next_page_token(), target); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartLogsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartsResponse) return target; } -size_t GetRobotPartLogsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartLogsResponse) +size_t GetRobotPartsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartsResponse) 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.common.v1.LogEntry logs = 1 [json_name = "logs"]; - total_size += 1UL * this->_internal_logs_size(); - for (const auto& msg : this->logs_) { + // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; + total_size += 1UL * this->_internal_parts_size(); + for (const auto& msg : this->parts_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - // string next_page_token = 2 [json_name = "nextPageToken"]; - if (!this->_internal_next_page_token().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_next_page_token()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartLogsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartLogsResponse::MergeImpl + GetRobotPartsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartLogsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartsResponse::GetClassData() const { return &_class_data_; } -void GetRobotPartLogsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartLogsResponse::MergeFrom(const GetRobotPartLogsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartLogsResponse) +void GetRobotPartsResponse::MergeFrom(const GetRobotPartsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - logs_.MergeFrom(from.logs_); - if (!from._internal_next_page_token().empty()) { - _internal_set_next_page_token(from._internal_next_page_token()); - } + parts_.MergeFrom(from.parts_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartLogsResponse::CopyFrom(const GetRobotPartLogsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartLogsResponse) +void GetRobotPartsResponse::CopyFrom(const GetRobotPartsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartLogsResponse::IsInitialized() const { +bool GetRobotPartsResponse::IsInitialized() const { return true; } -void GetRobotPartLogsResponse::InternalSwap(GetRobotPartLogsResponse* other) { +void GetRobotPartsResponse::InternalSwap(GetRobotPartsResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - logs_.InternalSwap(&other->logs_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &next_page_token_, lhs_arena, - &other->next_page_token_, rhs_arena - ); + parts_.InternalSwap(&other->parts_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartLogsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartsResponse::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[82]); + file_level_metadata_app_2fv1_2fapp_2eproto[90]); } // =================================================================== -class TailRobotPartLogsRequest::_Internal { +class GetRobotPartRequest::_Internal { public: - using HasBits = decltype(std::declval()._has_bits_); - static void set_has_filter(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } }; -TailRobotPartLogsRequest::TailRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotPartRequest::GetRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.TailRobotPartLogsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartRequest) } -TailRobotPartLogsRequest::TailRobotPartLogsRequest(const TailRobotPartLogsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { +GetRobotPartRequest::GetRobotPartRequest(const GetRobotPartRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING @@ -25171,32 +26029,18 @@ TailRobotPartLogsRequest::TailRobotPartLogsRequest(const TailRobotPartLogsReques id_.Set(from._internal_id(), GetArenaForAllocation()); } - filter_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - filter_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filter()) { - filter_.Set(from._internal_filter(), - GetArenaForAllocation()); - } - errors_only_ = from.errors_only_; - // @@protoc_insertion_point(copy_constructor:viam.app.v1.TailRobotPartLogsRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartRequest) } -inline void TailRobotPartLogsRequest::SharedCtor() { +inline void GetRobotPartRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -filter_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - filter_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -errors_only_ = false; } -TailRobotPartLogsRequest::~TailRobotPartLogsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.TailRobotPartLogsRequest) +GetRobotPartRequest::~GetRobotPartRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -25204,35 +26048,27 @@ TailRobotPartLogsRequest::~TailRobotPartLogsRequest() { SharedDtor(); } -inline void TailRobotPartLogsRequest::SharedDtor() { +inline void GetRobotPartRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); - filter_.Destroy(); } -void TailRobotPartLogsRequest::SetCachedSize(int size) const { +void GetRobotPartRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void TailRobotPartLogsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.TailRobotPartLogsRequest) +void GetRobotPartRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; id_.ClearToEmpty(); - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - filter_.ClearNonDefaultToEmpty(); - } - errors_only_ = false; - _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* TailRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); @@ -25243,25 +26079,7 @@ const char* TailRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::Pa auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.TailRobotPartLogsRequest.id")); - } else - goto handle_unusual; - continue; - // bool errors_only = 2 [json_name = "errorsOnly"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - errors_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string filter = 3 [json_name = "filter"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_filter(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.TailRobotPartLogsRequest.filter")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartRequest.id")); } else goto handle_unusual; continue; @@ -25281,7 +26099,6 @@ const char* TailRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::Pa CHK_(ptr != nullptr); } // while message_done: - _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -25289,9 +26106,9 @@ const char* TailRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::Pa #undef CHK_ } -uint8_t* TailRobotPartLogsRequest::_InternalSerialize( +uint8_t* GetRobotPartRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.TailRobotPartLogsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -25300,37 +26117,21 @@ uint8_t* TailRobotPartLogsRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.TailRobotPartLogsRequest.id"); + "viam.app.v1.GetRobotPartRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } - // bool errors_only = 2 [json_name = "errorsOnly"]; - if (this->_internal_errors_only() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_errors_only(), target); - } - - // optional string filter = 3 [json_name = "filter"]; - if (_internal_has_filter()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_filter().data(), static_cast(this->_internal_filter().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.TailRobotPartLogsRequest.filter"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_filter(), target); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.TailRobotPartLogsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartRequest) return target; } -size_t TailRobotPartLogsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.TailRobotPartLogsRequest) +size_t GetRobotPartRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -25344,37 +26145,24 @@ size_t TailRobotPartLogsRequest::ByteSizeLong() const { this->_internal_id()); } - // optional string filter = 3 [json_name = "filter"]; - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filter()); - } - - // bool errors_only = 2 [json_name = "errorsOnly"]; - if (this->_internal_errors_only() != 0) { - total_size += 1 + 1; - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TailRobotPartLogsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - TailRobotPartLogsRequest::MergeImpl + GetRobotPartRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TailRobotPartLogsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartRequest::GetClassData() const { return &_class_data_; } -void TailRobotPartLogsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void TailRobotPartLogsRequest::MergeFrom(const TailRobotPartLogsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.TailRobotPartLogsRequest) +void GetRobotPartRequest::MergeFrom(const GetRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -25382,77 +26170,83 @@ void TailRobotPartLogsRequest::MergeFrom(const TailRobotPartLogsRequest& from) { if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } - if (from._internal_has_filter()) { - _internal_set_filter(from._internal_filter()); - } - if (from._internal_errors_only() != 0) { - _internal_set_errors_only(from._internal_errors_only()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void TailRobotPartLogsRequest::CopyFrom(const TailRobotPartLogsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.TailRobotPartLogsRequest) +void GetRobotPartRequest::CopyFrom(const GetRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool TailRobotPartLogsRequest::IsInitialized() const { +bool GetRobotPartRequest::IsInitialized() const { return true; } -void TailRobotPartLogsRequest::InternalSwap(TailRobotPartLogsRequest* other) { +void GetRobotPartRequest::InternalSwap(GetRobotPartRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &id_, lhs_arena, &other->id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &filter_, lhs_arena, - &other->filter_, rhs_arena - ); - swap(errors_only_, other->errors_only_); } -::PROTOBUF_NAMESPACE_ID::Metadata TailRobotPartLogsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartRequest::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[83]); + file_level_metadata_app_2fv1_2fapp_2eproto[91]); } // =================================================================== -class TailRobotPartLogsResponse::_Internal { +class GetRobotPartResponse::_Internal { public: + static const ::viam::app::v1::RobotPart& part(const GetRobotPartResponse* msg); }; -void TailRobotPartLogsResponse::clear_logs() { - logs_.Clear(); +const ::viam::app::v1::RobotPart& +GetRobotPartResponse::_Internal::part(const GetRobotPartResponse* msg) { + return *msg->part_; } -TailRobotPartLogsResponse::TailRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotPartResponse::GetRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - logs_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.TailRobotPartLogsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartResponse) } -TailRobotPartLogsResponse::TailRobotPartLogsResponse(const TailRobotPartLogsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - logs_(from.logs_) { +GetRobotPartResponse::GetRobotPartResponse(const GetRobotPartResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.TailRobotPartLogsResponse) + config_json_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + config_json_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_config_json().empty()) { + config_json_.Set(from._internal_config_json(), + GetArenaForAllocation()); + } + if (from._internal_has_part()) { + part_ = new ::viam::app::v1::RobotPart(*from.part_); + } else { + part_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartResponse) } -inline void TailRobotPartLogsResponse::SharedCtor() { +inline void GetRobotPartResponse::SharedCtor() { +config_json_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + config_json_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +part_ = nullptr; } -TailRobotPartLogsResponse::~TailRobotPartLogsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.TailRobotPartLogsResponse) +GetRobotPartResponse::~GetRobotPartResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -25460,40 +26254,51 @@ TailRobotPartLogsResponse::~TailRobotPartLogsResponse() { SharedDtor(); } -inline void TailRobotPartLogsResponse::SharedDtor() { +inline void GetRobotPartResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + config_json_.Destroy(); + if (this != internal_default_instance()) delete part_; } -void TailRobotPartLogsResponse::SetCachedSize(int size) const { +void GetRobotPartResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void TailRobotPartLogsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.TailRobotPartLogsResponse) +void GetRobotPartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - logs_.Clear(); + config_json_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && part_ != nullptr) { + delete part_; + } + part_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* TailRobotPartLogsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_logs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + ptr = ctx->ParseMessage(_internal_mutable_part(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string config_json = 2 [json_name = "configJson"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_config_json(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartResponse.config_json")); } else goto handle_unusual; continue; @@ -25520,127 +26325,247 @@ const char* TailRobotPartLogsResponse::_InternalParse(const char* ptr, ::_pbi::P #undef CHK_ } -uint8_t* TailRobotPartLogsResponse::_InternalSerialize( +uint8_t* GetRobotPartResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.TailRobotPartLogsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; - for (unsigned i = 0, - n = static_cast(this->_internal_logs_size()); i < n; i++) { - const auto& repfield = this->_internal_logs(i); + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + if (this->_internal_has_part()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + InternalWriteMessage(1, _Internal::part(this), + _Internal::part(this).GetCachedSize(), target, stream); + } + + // string config_json = 2 [json_name = "configJson"]; + if (!this->_internal_config_json().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_config_json().data(), static_cast(this->_internal_config_json().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartResponse.config_json"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_config_json(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.TailRobotPartLogsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartResponse) return target; } -size_t TailRobotPartLogsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.TailRobotPartLogsResponse) +size_t GetRobotPartResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartResponse) 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.common.v1.LogEntry logs = 1 [json_name = "logs"]; - total_size += 1UL * this->_internal_logs_size(); - for (const auto& msg : this->logs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string config_json = 2 [json_name = "configJson"]; + if (!this->_internal_config_json().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_config_json()); + } + + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + if (this->_internal_has_part()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *part_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TailRobotPartLogsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - TailRobotPartLogsResponse::MergeImpl + GetRobotPartResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TailRobotPartLogsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartResponse::GetClassData() const { return &_class_data_; } -void TailRobotPartLogsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void TailRobotPartLogsResponse::MergeFrom(const TailRobotPartLogsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.TailRobotPartLogsResponse) +void GetRobotPartResponse::MergeFrom(const GetRobotPartResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - logs_.MergeFrom(from.logs_); + if (!from._internal_config_json().empty()) { + _internal_set_config_json(from._internal_config_json()); + } + if (from._internal_has_part()) { + _internal_mutable_part()->::viam::app::v1::RobotPart::MergeFrom(from._internal_part()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void TailRobotPartLogsResponse::CopyFrom(const TailRobotPartLogsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.TailRobotPartLogsResponse) +void GetRobotPartResponse::CopyFrom(const GetRobotPartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool TailRobotPartLogsResponse::IsInitialized() const { +bool GetRobotPartResponse::IsInitialized() const { return true; } -void TailRobotPartLogsResponse::InternalSwap(TailRobotPartLogsResponse* other) { +void GetRobotPartResponse::InternalSwap(GetRobotPartResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - logs_.InternalSwap(&other->logs_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &config_json_, lhs_arena, + &other->config_json_, rhs_arena + ); + swap(part_, other->part_); } -::PROTOBUF_NAMESPACE_ID::Metadata TailRobotPartLogsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartResponse::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[92]); } // =================================================================== -class GetRobotPartHistoryRequest::_Internal { +class GetRobotPartLogsRequest::_Internal { public: -}; - -GetRobotPartHistoryRequest::GetRobotPartHistoryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartHistoryRequest) -} -GetRobotPartHistoryRequest::GetRobotPartHistoryRequest(const GetRobotPartHistoryRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_filter(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_page_token(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& start(const GetRobotPartLogsRequest* msg); + static void set_has_start(HasBits* has_bits) { + (*has_bits)[0] |= 8u; + } + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& end(const GetRobotPartLogsRequest* msg); + static void set_has_end(HasBits* has_bits) { + (*has_bits)[0] |= 16u; + } + static void set_has_limit(HasBits* has_bits) { + (*has_bits)[0] |= 32u; + } + static void set_has_source(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } +}; + +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +GetRobotPartLogsRequest::_Internal::start(const GetRobotPartLogsRequest* msg) { + return *msg->start_; +} +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +GetRobotPartLogsRequest::_Internal::end(const GetRobotPartLogsRequest* msg) { + return *msg->end_; +} +void GetRobotPartLogsRequest::clear_start() { + if (start_ != nullptr) start_->Clear(); + _has_bits_[0] &= ~0x00000008u; +} +void GetRobotPartLogsRequest::clear_end() { + if (end_ != nullptr) end_->Clear(); + _has_bits_[0] &= ~0x00000010u; +} +GetRobotPartLogsRequest::GetRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + levels_(arena) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartLogsRequest) +} +GetRobotPartLogsRequest::GetRobotPartLogsRequest(const GetRobotPartLogsRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_), + levels_(from.levels_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_id().empty()) { id_.Set(from._internal_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartHistoryRequest) + filter_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + filter_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_filter()) { + filter_.Set(from._internal_filter(), + GetArenaForAllocation()); + } + page_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_page_token()) { + page_token_.Set(from._internal_page_token(), + GetArenaForAllocation()); + } + source_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + source_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_source()) { + source_.Set(from._internal_source(), + GetArenaForAllocation()); + } + if (from._internal_has_start()) { + start_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.start_); + } else { + start_ = nullptr; + } + if (from._internal_has_end()) { + end_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.end_); + } else { + end_ = nullptr; + } + ::memcpy(&limit_, &from.limit_, + static_cast(reinterpret_cast(&errors_only_) - + reinterpret_cast(&limit_)) + sizeof(errors_only_)); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartLogsRequest) } -inline void GetRobotPartHistoryRequest::SharedCtor() { +inline void GetRobotPartLogsRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +filter_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + filter_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +page_token_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +source_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + source_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&start_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&errors_only_) - + reinterpret_cast(&start_)) + sizeof(errors_only_)); } -GetRobotPartHistoryRequest::~GetRobotPartHistoryRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartHistoryRequest) +GetRobotPartLogsRequest::~GetRobotPartLogsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartLogsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -25648,27 +26573,57 @@ GetRobotPartHistoryRequest::~GetRobotPartHistoryRequest() { SharedDtor(); } -inline void GetRobotPartHistoryRequest::SharedDtor() { +inline void GetRobotPartLogsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); + filter_.Destroy(); + page_token_.Destroy(); + source_.Destroy(); + if (this != internal_default_instance()) delete start_; + if (this != internal_default_instance()) delete end_; } -void GetRobotPartHistoryRequest::SetCachedSize(int size) const { +void GetRobotPartLogsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartHistoryRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartHistoryRequest) +void GetRobotPartLogsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartLogsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + levels_.Clear(); id_.ClearToEmpty(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x0000001fu) { + if (cached_has_bits & 0x00000001u) { + filter_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000002u) { + page_token_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000004u) { + source_.ClearNonDefaultToEmpty(); + } + if (cached_has_bits & 0x00000008u) { + GOOGLE_DCHECK(start_ != nullptr); + start_->Clear(); + } + if (cached_has_bits & 0x00000010u) { + GOOGLE_DCHECK(end_ != nullptr); + end_->Clear(); + } + } + limit_ = int64_t{0}; + errors_only_ = false; + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartHistoryRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); @@ -25679,7 +26634,85 @@ const char* GetRobotPartHistoryRequest::_InternalParse(const char* ptr, ::_pbi:: auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartHistoryRequest.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.id")); + } else + goto handle_unusual; + continue; + // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + errors_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string filter = 3 [json_name = "filter"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_filter(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.filter")); + } else + goto handle_unusual; + continue; + // optional string page_token = 4 [json_name = "pageToken"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_page_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.page_token")); + } else + goto handle_unusual; + continue; + // repeated string levels = 5 [json_name = "levels"]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_levels(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.levels")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_end(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional int64 limit = 8 [json_name = "limit"]; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _Internal::set_has_limit(&has_bits); + limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional string source = 9 [json_name = "source"]; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_source(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsRequest.source")); } else goto handle_unusual; continue; @@ -25699,6 +26732,7 @@ const char* GetRobotPartHistoryRequest::_InternalParse(const char* ptr, ::_pbi:: CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -25706,9 +26740,9 @@ const char* GetRobotPartHistoryRequest::_InternalParse(const char* ptr, ::_pbi:: #undef CHK_ } -uint8_t* GetRobotPartHistoryRequest::_InternalSerialize( +uint8_t* GetRobotPartLogsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartHistoryRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartLogsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -25717,27 +26751,101 @@ uint8_t* GetRobotPartHistoryRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotPartHistoryRequest.id"); + "viam.app.v1.GetRobotPartLogsRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } + // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; + if (this->_internal_errors_only() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_errors_only(), target); + } + + // optional string filter = 3 [json_name = "filter"]; + if (_internal_has_filter()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_filter().data(), static_cast(this->_internal_filter().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartLogsRequest.filter"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_filter(), target); + } + + // optional string page_token = 4 [json_name = "pageToken"]; + if (_internal_has_page_token()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartLogsRequest.page_token"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_page_token(), target); + } + + // repeated string levels = 5 [json_name = "levels"]; + for (int i = 0, n = this->_internal_levels_size(); i < n; i++) { + const auto& s = this->_internal_levels(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartLogsRequest.levels"); + target = stream->WriteString(5, s, target); + } + + // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; + if (_internal_has_start()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::start(this), + _Internal::start(this).GetCachedSize(), target, stream); + } + + // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; + if (_internal_has_end()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::end(this), + _Internal::end(this).GetCachedSize(), target, stream); + } + + // optional int64 limit = 8 [json_name = "limit"]; + if (_internal_has_limit()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(8, this->_internal_limit(), target); + } + + // optional string source = 9 [json_name = "source"]; + if (_internal_has_source()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_source().data(), static_cast(this->_internal_source().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartLogsRequest.source"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_source(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartHistoryRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartLogsRequest) return target; } -size_t GetRobotPartHistoryRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartHistoryRequest) +size_t GetRobotPartLogsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartLogsRequest) 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 levels = 5 [json_name = "levels"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(levels_.size()); + for (int i = 0, n = levels_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + levels_.Get(i)); + } + // string id = 1 [json_name = "id"]; if (!this->_internal_id().empty()) { total_size += 1 + @@ -25745,87 +26853,196 @@ size_t GetRobotPartHistoryRequest::ByteSizeLong() const { this->_internal_id()); } + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + // optional string filter = 3 [json_name = "filter"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_filter()); + } + + // optional string page_token = 4 [json_name = "pageToken"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_page_token()); + } + + // optional string source = 9 [json_name = "source"]; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_source()); + } + + // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; + if (cached_has_bits & 0x00000008u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *start_); + } + + // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; + if (cached_has_bits & 0x00000010u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *end_); + } + + // optional int64 limit = 8 [json_name = "limit"]; + if (cached_has_bits & 0x00000020u) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_limit()); + } + + } + // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; + if (this->_internal_errors_only() != 0) { + total_size += 1 + 1; + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartHistoryRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartLogsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartHistoryRequest::MergeImpl + GetRobotPartLogsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartHistoryRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartLogsRequest::GetClassData() const { return &_class_data_; } -void GetRobotPartHistoryRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartLogsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartHistoryRequest::MergeFrom(const GetRobotPartHistoryRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartHistoryRequest) +void GetRobotPartLogsRequest::MergeFrom(const GetRobotPartLogsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartLogsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; + levels_.MergeFrom(from.levels_); if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x0000003fu) { + if (cached_has_bits & 0x00000001u) { + _internal_set_filter(from._internal_filter()); + } + if (cached_has_bits & 0x00000002u) { + _internal_set_page_token(from._internal_page_token()); + } + if (cached_has_bits & 0x00000004u) { + _internal_set_source(from._internal_source()); + } + if (cached_has_bits & 0x00000008u) { + _internal_mutable_start()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_start()); + } + if (cached_has_bits & 0x00000010u) { + _internal_mutable_end()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_end()); + } + if (cached_has_bits & 0x00000020u) { + limit_ = from.limit_; + } + _has_bits_[0] |= cached_has_bits; + } + if (from._internal_errors_only() != 0) { + _internal_set_errors_only(from._internal_errors_only()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartHistoryRequest::CopyFrom(const GetRobotPartHistoryRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartHistoryRequest) +void GetRobotPartLogsRequest::CopyFrom(const GetRobotPartLogsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartLogsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartHistoryRequest::IsInitialized() const { +bool GetRobotPartLogsRequest::IsInitialized() const { return true; } -void GetRobotPartHistoryRequest::InternalSwap(GetRobotPartHistoryRequest* other) { +void GetRobotPartLogsRequest::InternalSwap(GetRobotPartLogsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + levels_.InternalSwap(&other->levels_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &id_, lhs_arena, &other->id_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &filter_, lhs_arena, + &other->filter_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &page_token_, lhs_arena, + &other->page_token_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &source_, lhs_arena, + &other->source_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetRobotPartLogsRequest, errors_only_) + + sizeof(GetRobotPartLogsRequest::errors_only_) + - PROTOBUF_FIELD_OFFSET(GetRobotPartLogsRequest, start_)>( + reinterpret_cast(&start_), + reinterpret_cast(&other->start_)); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartHistoryRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartLogsRequest::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[93]); } // =================================================================== -class GetRobotPartHistoryResponse::_Internal { +class GetRobotPartLogsResponse::_Internal { public: }; -GetRobotPartHistoryResponse::GetRobotPartHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +void GetRobotPartLogsResponse::clear_logs() { + logs_.Clear(); +} +GetRobotPartLogsResponse::GetRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - history_(arena) { + logs_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartHistoryResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartLogsResponse) } -GetRobotPartHistoryResponse::GetRobotPartHistoryResponse(const GetRobotPartHistoryResponse& from) +GetRobotPartLogsResponse::GetRobotPartLogsResponse(const GetRobotPartLogsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - history_(from.history_) { + logs_(from.logs_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartHistoryResponse) + next_page_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_next_page_token().empty()) { + next_page_token_.Set(from._internal_next_page_token(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartLogsResponse) } -inline void GetRobotPartHistoryResponse::SharedCtor() { +inline void GetRobotPartLogsResponse::SharedCtor() { +next_page_token_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetRobotPartHistoryResponse::~GetRobotPartHistoryResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartHistoryResponse) +GetRobotPartLogsResponse::~GetRobotPartLogsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartLogsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -25833,43 +27050,55 @@ GetRobotPartHistoryResponse::~GetRobotPartHistoryResponse() { SharedDtor(); } -inline void GetRobotPartHistoryResponse::SharedDtor() { +inline void GetRobotPartLogsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + next_page_token_.Destroy(); } -void GetRobotPartHistoryResponse::SetCachedSize(int size) const { +void GetRobotPartLogsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotPartHistoryResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartHistoryResponse) +void GetRobotPartLogsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartLogsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - history_.Clear(); + logs_.Clear(); + next_page_token_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotPartHistoryResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartLogsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.RobotPartHistoryEntry history = 1 [json_name = "history"]; + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_history(), ptr); + ptr = ctx->ParseMessage(_internal_add_logs(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; + // string next_page_token = 2 [json_name = "nextPageToken"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_next_page_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartLogsResponse.next_page_token")); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -25893,117 +27122,137 @@ const char* GetRobotPartHistoryResponse::_InternalParse(const char* ptr, ::_pbi: #undef CHK_ } -uint8_t* GetRobotPartHistoryResponse::_InternalSerialize( +uint8_t* GetRobotPartLogsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartHistoryResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartLogsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.RobotPartHistoryEntry history = 1 [json_name = "history"]; + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; for (unsigned i = 0, - n = static_cast(this->_internal_history_size()); i < n; i++) { - const auto& repfield = this->_internal_history(i); + n = static_cast(this->_internal_logs_size()); i < n; i++) { + const auto& repfield = this->_internal_logs(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } + // string next_page_token = 2 [json_name = "nextPageToken"]; + if (!this->_internal_next_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartLogsResponse.next_page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_next_page_token(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartHistoryResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartLogsResponse) return target; } -size_t GetRobotPartHistoryResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartHistoryResponse) +size_t GetRobotPartLogsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartLogsResponse) 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.RobotPartHistoryEntry history = 1 [json_name = "history"]; - total_size += 1UL * this->_internal_history_size(); - for (const auto& msg : this->history_) { + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + total_size += 1UL * this->_internal_logs_size(); + for (const auto& msg : this->logs_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // string next_page_token = 2 [json_name = "nextPageToken"]; + if (!this->_internal_next_page_token().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_next_page_token()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartHistoryResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartLogsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotPartHistoryResponse::MergeImpl + GetRobotPartLogsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartHistoryResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartLogsResponse::GetClassData() const { return &_class_data_; } -void GetRobotPartHistoryResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartLogsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotPartHistoryResponse::MergeFrom(const GetRobotPartHistoryResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartHistoryResponse) +void GetRobotPartLogsResponse::MergeFrom(const GetRobotPartLogsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartLogsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - history_.MergeFrom(from.history_); + logs_.MergeFrom(from.logs_); + if (!from._internal_next_page_token().empty()) { + _internal_set_next_page_token(from._internal_next_page_token()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotPartHistoryResponse::CopyFrom(const GetRobotPartHistoryResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartHistoryResponse) +void GetRobotPartLogsResponse::CopyFrom(const GetRobotPartLogsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartLogsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotPartHistoryResponse::IsInitialized() const { +bool GetRobotPartLogsResponse::IsInitialized() const { return true; } -void GetRobotPartHistoryResponse::InternalSwap(GetRobotPartHistoryResponse* other) { +void GetRobotPartLogsResponse::InternalSwap(GetRobotPartLogsResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - history_.InternalSwap(&other->history_); + logs_.InternalSwap(&other->logs_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &next_page_token_, lhs_arena, + &other->next_page_token_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartHistoryResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartLogsResponse::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[94]); } // =================================================================== -class UpdateRobotPartRequest::_Internal { +class TailRobotPartLogsRequest::_Internal { public: - static const ::PROTOBUF_NAMESPACE_ID::Struct& robot_config(const UpdateRobotPartRequest* msg); + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_filter(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; -const ::PROTOBUF_NAMESPACE_ID::Struct& -UpdateRobotPartRequest::_Internal::robot_config(const UpdateRobotPartRequest* msg) { - return *msg->robot_config_; -} -void UpdateRobotPartRequest::clear_robot_config() { - if (GetArenaForAllocation() == nullptr && robot_config_ != nullptr) { - delete robot_config_; - } - robot_config_ = nullptr; -} -UpdateRobotPartRequest::UpdateRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +TailRobotPartLogsRequest::TailRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotPartRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.TailRobotPartLogsRequest) } -UpdateRobotPartRequest::UpdateRobotPartRequest(const UpdateRobotPartRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +TailRobotPartLogsRequest::TailRobotPartLogsRequest(const TailRobotPartLogsRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING @@ -26013,36 +27262,32 @@ UpdateRobotPartRequest::UpdateRobotPartRequest(const UpdateRobotPartRequest& fro id_.Set(from._internal_id(), GetArenaForAllocation()); } - name_.InitDefault(); + filter_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); + filter_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), + if (from._internal_has_filter()) { + filter_.Set(from._internal_filter(), GetArenaForAllocation()); } - if (from._internal_has_robot_config()) { - robot_config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.robot_config_); - } else { - robot_config_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotPartRequest) + errors_only_ = from.errors_only_; + // @@protoc_insertion_point(copy_constructor:viam.app.v1.TailRobotPartLogsRequest) } -inline void UpdateRobotPartRequest::SharedCtor() { +inline void TailRobotPartLogsRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -name_.InitDefault(); +filter_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); + filter_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -robot_config_ = nullptr; +errors_only_ = false; } -UpdateRobotPartRequest::~UpdateRobotPartRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotPartRequest) +TailRobotPartLogsRequest::~TailRobotPartLogsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.TailRobotPartLogsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -26050,34 +27295,35 @@ UpdateRobotPartRequest::~UpdateRobotPartRequest() { SharedDtor(); } -inline void UpdateRobotPartRequest::SharedDtor() { +inline void TailRobotPartLogsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); - name_.Destroy(); - if (this != internal_default_instance()) delete robot_config_; + filter_.Destroy(); } -void UpdateRobotPartRequest::SetCachedSize(int size) const { +void TailRobotPartLogsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UpdateRobotPartRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotPartRequest) +void TailRobotPartLogsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.TailRobotPartLogsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; id_.ClearToEmpty(); - name_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && robot_config_ != nullptr) { - delete robot_config_; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + filter_.ClearNonDefaultToEmpty(); } - robot_config_ = nullptr; + errors_only_ = false; + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UpdateRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* TailRobotPartLogsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); @@ -26088,25 +27334,25 @@ const char* UpdateRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::Pars auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotPartRequest.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.TailRobotPartLogsRequest.id")); } else goto handle_unusual; continue; - // string name = 2 [json_name = "name"]; + // bool errors_only = 2 [json_name = "errorsOnly"]; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + errors_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotPartRequest.name")); } else goto handle_unusual; continue; - // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; + // optional string filter = 3 [json_name = "filter"]; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_robot_config(), ptr); + auto str = _internal_mutable_filter(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.TailRobotPartLogsRequest.filter")); } else goto handle_unusual; continue; @@ -26126,6 +27372,7 @@ const char* UpdateRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::Pars CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -26133,9 +27380,9 @@ const char* UpdateRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* UpdateRobotPartRequest::_InternalSerialize( +uint8_t* TailRobotPartLogsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.TailRobotPartLogsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -26144,38 +27391,37 @@ uint8_t* UpdateRobotPartRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateRobotPartRequest.id"); + "viam.app.v1.TailRobotPartLogsRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } - // string name = 2 [json_name = "name"]; - if (!this->_internal_name().empty()) { + // bool errors_only = 2 [json_name = "errorsOnly"]; + if (this->_internal_errors_only() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_errors_only(), target); + } + + // optional string filter = 3 [json_name = "filter"]; + if (_internal_has_filter()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), + this->_internal_filter().data(), static_cast(this->_internal_filter().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateRobotPartRequest.name"); + "viam.app.v1.TailRobotPartLogsRequest.filter"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; - if (this->_internal_has_robot_config()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::robot_config(this), - _Internal::robot_config(this).GetCachedSize(), target, stream); + 3, this->_internal_filter(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.TailRobotPartLogsRequest) return target; } -size_t UpdateRobotPartRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotPartRequest) +size_t TailRobotPartLogsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.TailRobotPartLogsRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -26189,38 +27435,37 @@ size_t UpdateRobotPartRequest::ByteSizeLong() const { this->_internal_id()); } - // string name = 2 [json_name = "name"]; - if (!this->_internal_name().empty()) { + // optional string filter = 3 [json_name = "filter"]; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); + this->_internal_filter()); } - // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; - if (this->_internal_has_robot_config()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *robot_config_); + // bool errors_only = 2 [json_name = "errorsOnly"]; + if (this->_internal_errors_only() != 0) { + total_size += 1 + 1; } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotPartRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TailRobotPartLogsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UpdateRobotPartRequest::MergeImpl + TailRobotPartLogsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotPartRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TailRobotPartLogsRequest::GetClassData() const { return &_class_data_; } -void UpdateRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void TailRobotPartLogsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UpdateRobotPartRequest::MergeFrom(const UpdateRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotPartRequest) +void TailRobotPartLogsRequest::MergeFrom(const TailRobotPartLogsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.TailRobotPartLogsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -26228,82 +27473,77 @@ void UpdateRobotPartRequest::MergeFrom(const UpdateRobotPartRequest& from) { if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); + if (from._internal_has_filter()) { + _internal_set_filter(from._internal_filter()); } - if (from._internal_has_robot_config()) { - _internal_mutable_robot_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_robot_config()); + if (from._internal_errors_only() != 0) { + _internal_set_errors_only(from._internal_errors_only()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UpdateRobotPartRequest::CopyFrom(const UpdateRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotPartRequest) +void TailRobotPartLogsRequest::CopyFrom(const TailRobotPartLogsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.TailRobotPartLogsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool UpdateRobotPartRequest::IsInitialized() const { +bool TailRobotPartLogsRequest::IsInitialized() const { return true; } -void UpdateRobotPartRequest::InternalSwap(UpdateRobotPartRequest* other) { +void TailRobotPartLogsRequest::InternalSwap(TailRobotPartLogsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &id_, lhs_arena, &other->id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena + &filter_, lhs_arena, + &other->filter_, rhs_arena ); - swap(robot_config_, other->robot_config_); + swap(errors_only_, other->errors_only_); } -::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata TailRobotPartLogsRequest::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[95]); } // =================================================================== -class UpdateRobotPartResponse::_Internal { +class TailRobotPartLogsResponse::_Internal { public: - static const ::viam::app::v1::RobotPart& part(const UpdateRobotPartResponse* msg); }; -const ::viam::app::v1::RobotPart& -UpdateRobotPartResponse::_Internal::part(const UpdateRobotPartResponse* msg) { - return *msg->part_; +void TailRobotPartLogsResponse::clear_logs() { + logs_.Clear(); } -UpdateRobotPartResponse::UpdateRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +TailRobotPartLogsResponse::TailRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + logs_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotPartResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.TailRobotPartLogsResponse) } -UpdateRobotPartResponse::UpdateRobotPartResponse(const UpdateRobotPartResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +TailRobotPartLogsResponse::TailRobotPartLogsResponse(const TailRobotPartLogsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + logs_(from.logs_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_part()) { - part_ = new ::viam::app::v1::RobotPart(*from.part_); - } else { - part_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotPartResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.TailRobotPartLogsResponse) } -inline void UpdateRobotPartResponse::SharedCtor() { -part_ = nullptr; +inline void TailRobotPartLogsResponse::SharedCtor() { } -UpdateRobotPartResponse::~UpdateRobotPartResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotPartResponse) +TailRobotPartLogsResponse::~TailRobotPartLogsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.TailRobotPartLogsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -26311,39 +27551,40 @@ UpdateRobotPartResponse::~UpdateRobotPartResponse() { SharedDtor(); } -inline void UpdateRobotPartResponse::SharedDtor() { +inline void TailRobotPartLogsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete part_; } -void UpdateRobotPartResponse::SetCachedSize(int size) const { +void TailRobotPartLogsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UpdateRobotPartResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotPartResponse) +void TailRobotPartLogsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.TailRobotPartLogsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && part_ != nullptr) { - delete part_; - } - part_ = nullptr; + logs_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UpdateRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* TailRobotPartLogsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_part(), ptr); - CHK_(ptr); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_logs(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -26370,140 +27611,127 @@ const char* UpdateRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::Par #undef CHK_ } -uint8_t* UpdateRobotPartResponse::_InternalSerialize( +uint8_t* TailRobotPartLogsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotPartResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.TailRobotPartLogsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; - if (this->_internal_has_part()) { + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + for (unsigned i = 0, + n = static_cast(this->_internal_logs_size()); i < n; i++) { + const auto& repfield = this->_internal_logs(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::part(this), - _Internal::part(this).GetCachedSize(), target, stream); + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotPartResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.TailRobotPartLogsResponse) return target; } -size_t UpdateRobotPartResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotPartResponse) +size_t TailRobotPartLogsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.TailRobotPartLogsResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; - if (this->_internal_has_part()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *part_); + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + total_size += 1UL * this->_internal_logs_size(); + for (const auto& msg : this->logs_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotPartResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TailRobotPartLogsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UpdateRobotPartResponse::MergeImpl + TailRobotPartLogsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotPartResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TailRobotPartLogsResponse::GetClassData() const { return &_class_data_; } -void UpdateRobotPartResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void TailRobotPartLogsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UpdateRobotPartResponse::MergeFrom(const UpdateRobotPartResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotPartResponse) +void TailRobotPartLogsResponse::MergeFrom(const TailRobotPartLogsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.TailRobotPartLogsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_part()) { - _internal_mutable_part()->::viam::app::v1::RobotPart::MergeFrom(from._internal_part()); - } + logs_.MergeFrom(from.logs_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UpdateRobotPartResponse::CopyFrom(const UpdateRobotPartResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotPartResponse) +void TailRobotPartLogsResponse::CopyFrom(const TailRobotPartLogsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.TailRobotPartLogsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool UpdateRobotPartResponse::IsInitialized() const { +bool TailRobotPartLogsResponse::IsInitialized() const { return true; } -void UpdateRobotPartResponse::InternalSwap(UpdateRobotPartResponse* other) { +void TailRobotPartLogsResponse::InternalSwap(TailRobotPartLogsResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(part_, other->part_); + logs_.InternalSwap(&other->logs_); } -::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata TailRobotPartLogsResponse::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[96]); } // =================================================================== -class NewRobotPartRequest::_Internal { +class GetRobotPartHistoryRequest::_Internal { public: }; -NewRobotPartRequest::NewRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotPartHistoryRequest::GetRobotPartHistoryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotPartRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartHistoryRequest) } -NewRobotPartRequest::NewRobotPartRequest(const NewRobotPartRequest& from) +GetRobotPartHistoryRequest::GetRobotPartHistoryRequest(const GetRobotPartHistoryRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - robot_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_robot_id().empty()) { - robot_id_.Set(from._internal_robot_id(), - GetArenaForAllocation()); - } - part_name_.InitDefault(); + id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - part_name_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_part_name().empty()) { - part_name_.Set(from._internal_part_name(), + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotPartRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartHistoryRequest) } -inline void NewRobotPartRequest::SharedCtor() { -robot_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -part_name_.InitDefault(); +inline void GetRobotPartHistoryRequest::SharedCtor() { +id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - part_name_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -NewRobotPartRequest::~NewRobotPartRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotPartRequest) +GetRobotPartHistoryRequest::~GetRobotPartHistoryRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartHistoryRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -26511,50 +27739,38 @@ NewRobotPartRequest::~NewRobotPartRequest() { SharedDtor(); } -inline void NewRobotPartRequest::SharedDtor() { +inline void GetRobotPartHistoryRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - robot_id_.Destroy(); - part_name_.Destroy(); + id_.Destroy(); } -void NewRobotPartRequest::SetCachedSize(int size) const { +void GetRobotPartHistoryRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NewRobotPartRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotPartRequest) +void GetRobotPartHistoryRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartHistoryRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - robot_id_.ClearToEmpty(); - part_name_.ClearToEmpty(); + id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NewRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartHistoryRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string robot_id = 1 [json_name = "robotId"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_robot_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotPartRequest.robot_id")); - } else - goto handle_unusual; - continue; - // string part_name = 2 [json_name = "partName"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_part_name(); + auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotPartRequest.part_name")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartHistoryRequest.id")); } else goto handle_unusual; continue; @@ -26581,160 +27797,126 @@ const char* NewRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -uint8_t* NewRobotPartRequest::_InternalSerialize( +uint8_t* GetRobotPartHistoryRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartHistoryRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.NewRobotPartRequest.robot_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_robot_id(), target); - } - - // string part_name = 2 [json_name = "partName"]; - if (!this->_internal_part_name().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_part_name().data(), static_cast(this->_internal_part_name().length()), + this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.NewRobotPartRequest.part_name"); + "viam.app.v1.GetRobotPartHistoryRequest.id"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_part_name(), target); + 1, this->_internal_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartHistoryRequest) return target; } -size_t NewRobotPartRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotPartRequest) +size_t GetRobotPartHistoryRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartHistoryRequest) 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 robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_robot_id()); - } - - // string part_name = 2 [json_name = "partName"]; - if (!this->_internal_part_name().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_part_name()); + this->_internal_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotPartRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartHistoryRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NewRobotPartRequest::MergeImpl + GetRobotPartHistoryRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotPartRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartHistoryRequest::GetClassData() const { return &_class_data_; } -void NewRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartHistoryRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NewRobotPartRequest::MergeFrom(const NewRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotPartRequest) +void GetRobotPartHistoryRequest::MergeFrom(const GetRobotPartHistoryRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartHistoryRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_robot_id().empty()) { - _internal_set_robot_id(from._internal_robot_id()); - } - if (!from._internal_part_name().empty()) { - _internal_set_part_name(from._internal_part_name()); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NewRobotPartRequest::CopyFrom(const NewRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotPartRequest) +void GetRobotPartHistoryRequest::CopyFrom(const GetRobotPartHistoryRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartHistoryRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NewRobotPartRequest::IsInitialized() const { +bool GetRobotPartHistoryRequest::IsInitialized() const { return true; } -void NewRobotPartRequest::InternalSwap(NewRobotPartRequest* other) { +void GetRobotPartHistoryRequest::InternalSwap(GetRobotPartHistoryRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &robot_id_, lhs_arena, - &other->robot_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &part_name_, lhs_arena, - &other->part_name_, rhs_arena + &id_, lhs_arena, + &other->id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata NewRobotPartRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartHistoryRequest::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[97]); } // =================================================================== -class NewRobotPartResponse::_Internal { +class GetRobotPartHistoryResponse::_Internal { public: }; -NewRobotPartResponse::NewRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotPartHistoryResponse::GetRobotPartHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + history_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotPartResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartHistoryResponse) } -NewRobotPartResponse::NewRobotPartResponse(const NewRobotPartResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +GetRobotPartHistoryResponse::GetRobotPartHistoryResponse(const GetRobotPartHistoryResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + history_(from.history_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - part_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - part_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_part_id().empty()) { - part_id_.Set(from._internal_part_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotPartResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartHistoryResponse) } -inline void NewRobotPartResponse::SharedCtor() { -part_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - part_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void GetRobotPartHistoryResponse::SharedCtor() { } -NewRobotPartResponse::~NewRobotPartResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotPartResponse) +GetRobotPartHistoryResponse::~GetRobotPartHistoryResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartHistoryResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -26742,38 +27924,40 @@ NewRobotPartResponse::~NewRobotPartResponse() { SharedDtor(); } -inline void NewRobotPartResponse::SharedDtor() { +inline void GetRobotPartHistoryResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - part_id_.Destroy(); } -void NewRobotPartResponse::SetCachedSize(int size) const { +void GetRobotPartHistoryResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NewRobotPartResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotPartResponse) +void GetRobotPartHistoryResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartHistoryResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - part_id_.ClearToEmpty(); + history_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NewRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartHistoryResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string part_id = 1 [json_name = "partId"]; + // repeated .viam.app.v1.RobotPartHistoryEntry history = 1 [json_name = "history"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_part_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotPartResponse.part_id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_history(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -26800,136 +27984,156 @@ const char* NewRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* NewRobotPartResponse::_InternalSerialize( +uint8_t* GetRobotPartHistoryResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotPartResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartHistoryResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string part_id = 1 [json_name = "partId"]; - if (!this->_internal_part_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_part_id().data(), static_cast(this->_internal_part_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.NewRobotPartResponse.part_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_part_id(), target); + // repeated .viam.app.v1.RobotPartHistoryEntry 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(i); + target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotPartResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartHistoryResponse) return target; } -size_t NewRobotPartResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotPartResponse) +size_t GetRobotPartHistoryResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartHistoryResponse) 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 part_id = 1 [json_name = "partId"]; - if (!this->_internal_part_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_part_id()); + // repeated .viam.app.v1.RobotPartHistoryEntry history = 1 [json_name = "history"]; + total_size += 1UL * this->_internal_history_size(); + for (const auto& msg : this->history_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotPartResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartHistoryResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NewRobotPartResponse::MergeImpl + GetRobotPartHistoryResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotPartResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartHistoryResponse::GetClassData() const { return &_class_data_; } -void NewRobotPartResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotPartHistoryResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NewRobotPartResponse::MergeFrom(const NewRobotPartResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotPartResponse) +void GetRobotPartHistoryResponse::MergeFrom(const GetRobotPartHistoryResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartHistoryResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_part_id().empty()) { - _internal_set_part_id(from._internal_part_id()); - } + history_.MergeFrom(from.history_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NewRobotPartResponse::CopyFrom(const NewRobotPartResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotPartResponse) +void GetRobotPartHistoryResponse::CopyFrom(const GetRobotPartHistoryResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartHistoryResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NewRobotPartResponse::IsInitialized() const { +bool GetRobotPartHistoryResponse::IsInitialized() const { return true; } -void NewRobotPartResponse::InternalSwap(NewRobotPartResponse* other) { +void GetRobotPartHistoryResponse::InternalSwap(GetRobotPartHistoryResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &part_id_, lhs_arena, - &other->part_id_, rhs_arena - ); + history_.InternalSwap(&other->history_); } -::PROTOBUF_NAMESPACE_ID::Metadata NewRobotPartResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartHistoryResponse::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[98]); } // =================================================================== -class DeleteRobotPartRequest::_Internal { +class UpdateRobotPartRequest::_Internal { public: + static const ::PROTOBUF_NAMESPACE_ID::Struct& robot_config(const UpdateRobotPartRequest* msg); }; -DeleteRobotPartRequest::DeleteRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::PROTOBUF_NAMESPACE_ID::Struct& +UpdateRobotPartRequest::_Internal::robot_config(const UpdateRobotPartRequest* msg) { + return *msg->robot_config_; +} +void UpdateRobotPartRequest::clear_robot_config() { + if (GetArenaForAllocation() == nullptr && robot_config_ != nullptr) { + delete robot_config_; + } + robot_config_ = nullptr; +} +UpdateRobotPartRequest::UpdateRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotPartRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotPartRequest) } -DeleteRobotPartRequest::DeleteRobotPartRequest(const DeleteRobotPartRequest& from) +UpdateRobotPartRequest::UpdateRobotPartRequest(const UpdateRobotPartRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - part_id_.InitDefault(); + id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - part_id_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_part_id().empty()) { - part_id_.Set(from._internal_part_id(), + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotPartRequest) + name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), + GetArenaForAllocation()); + } + if (from._internal_has_robot_config()) { + robot_config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.robot_config_); + } else { + robot_config_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotPartRequest) } -inline void DeleteRobotPartRequest::SharedCtor() { -part_id_.InitDefault(); +inline void UpdateRobotPartRequest::SharedCtor() { +id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - part_id_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +robot_config_ = nullptr; } -DeleteRobotPartRequest::~DeleteRobotPartRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.DeleteRobotPartRequest) +UpdateRobotPartRequest::~UpdateRobotPartRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotPartRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -26937,38 +28141,63 @@ DeleteRobotPartRequest::~DeleteRobotPartRequest() { SharedDtor(); } -inline void DeleteRobotPartRequest::SharedDtor() { +inline void UpdateRobotPartRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - part_id_.Destroy(); + id_.Destroy(); + name_.Destroy(); + if (this != internal_default_instance()) delete robot_config_; } -void DeleteRobotPartRequest::SetCachedSize(int size) const { +void UpdateRobotPartRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DeleteRobotPartRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteRobotPartRequest) +void UpdateRobotPartRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotPartRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - part_id_.ClearToEmpty(); + id_.ClearToEmpty(); + name_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && robot_config_ != nullptr) { + delete robot_config_; + } + robot_config_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DeleteRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string part_id = 1 [json_name = "partId"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_part_id(); + auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteRobotPartRequest.part_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotPartRequest.id")); + } else + goto handle_unusual; + continue; + // string name = 2 [json_name = "name"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotPartRequest.name")); + } else + goto handle_unusual; + continue; + // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_robot_config(), ptr); + CHK_(ptr); } else goto handle_unusual; continue; @@ -26995,136 +28224,177 @@ const char* DeleteRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* DeleteRobotPartRequest::_InternalSerialize( +uint8_t* UpdateRobotPartRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotPartRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string part_id = 1 [json_name = "partId"]; - if (!this->_internal_part_id().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_part_id().data(), static_cast(this->_internal_part_id().length()), + this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteRobotPartRequest.part_id"); + "viam.app.v1.UpdateRobotPartRequest.id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_part_id(), target); + 1, this->_internal_id(), target); + } + + // string name = 2 [json_name = "name"]; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotPartRequest.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; + if (this->_internal_has_robot_config()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::robot_config(this), + _Internal::robot_config(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteRobotPartRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotPartRequest) return target; } -size_t DeleteRobotPartRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteRobotPartRequest) +size_t UpdateRobotPartRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotPartRequest) 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 part_id = 1 [json_name = "partId"]; - if (!this->_internal_part_id().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_part_id()); + this->_internal_id()); + } + + // string name = 2 [json_name = "name"]; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; + if (this->_internal_has_robot_config()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *robot_config_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotPartRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotPartRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteRobotPartRequest::MergeImpl + UpdateRobotPartRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotPartRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotPartRequest::GetClassData() const { return &_class_data_; } -void DeleteRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteRobotPartRequest::MergeFrom(const DeleteRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteRobotPartRequest) +void UpdateRobotPartRequest::MergeFrom(const UpdateRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotPartRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_part_id().empty()) { - _internal_set_part_id(from._internal_part_id()); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } + if (from._internal_has_robot_config()) { + _internal_mutable_robot_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_robot_config()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteRobotPartRequest::CopyFrom(const DeleteRobotPartRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteRobotPartRequest) +void UpdateRobotPartRequest::CopyFrom(const UpdateRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotPartRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteRobotPartRequest::IsInitialized() const { +bool UpdateRobotPartRequest::IsInitialized() const { return true; } -void DeleteRobotPartRequest::InternalSwap(DeleteRobotPartRequest* other) { +void UpdateRobotPartRequest::InternalSwap(UpdateRobotPartRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &part_id_, lhs_arena, - &other->part_id_, rhs_arena + &id_, lhs_arena, + &other->id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &name_, lhs_arena, + &other->name_, rhs_arena ); + swap(robot_config_, other->robot_config_); } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartRequest::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[99]); } // =================================================================== -class GetRobotAPIKeysRequest::_Internal { +class UpdateRobotPartResponse::_Internal { public: + static const ::viam::app::v1::RobotPart& part(const UpdateRobotPartResponse* msg); }; -GetRobotAPIKeysRequest::GetRobotAPIKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::viam::app::v1::RobotPart& +UpdateRobotPartResponse::_Internal::part(const UpdateRobotPartResponse* msg) { + return *msg->part_; +} +UpdateRobotPartResponse::UpdateRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotAPIKeysRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotPartResponse) } -GetRobotAPIKeysRequest::GetRobotAPIKeysRequest(const GetRobotAPIKeysRequest& from) +UpdateRobotPartResponse::UpdateRobotPartResponse(const UpdateRobotPartResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - robot_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_robot_id().empty()) { - robot_id_.Set(from._internal_robot_id(), - GetArenaForAllocation()); + if (from._internal_has_part()) { + part_ = new ::viam::app::v1::RobotPart(*from.part_); + } else { + part_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotAPIKeysRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotPartResponse) } -inline void GetRobotAPIKeysRequest::SharedCtor() { -robot_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - robot_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void UpdateRobotPartResponse::SharedCtor() { +part_ = nullptr; } -GetRobotAPIKeysRequest::~GetRobotAPIKeysRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotAPIKeysRequest) +UpdateRobotPartResponse::~UpdateRobotPartResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotPartResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -27132,38 +28402,39 @@ GetRobotAPIKeysRequest::~GetRobotAPIKeysRequest() { SharedDtor(); } -inline void GetRobotAPIKeysRequest::SharedDtor() { +inline void UpdateRobotPartResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - robot_id_.Destroy(); + if (this != internal_default_instance()) delete part_; } -void GetRobotAPIKeysRequest::SetCachedSize(int size) const { +void UpdateRobotPartResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotAPIKeysRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotAPIKeysRequest) +void UpdateRobotPartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotPartResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - robot_id_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && part_ != nullptr) { + delete part_; + } + part_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotAPIKeysRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string robot_id = 1 [json_name = "robotId"]; + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_robot_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_mutable_part(), ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotAPIKeysRequest.robot_id")); } else goto handle_unusual; continue; @@ -27190,177 +28461,140 @@ const char* GetRobotAPIKeysRequest::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* GetRobotAPIKeysRequest::_InternalSerialize( +uint8_t* UpdateRobotPartResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotAPIKeysRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotPartResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetRobotAPIKeysRequest.robot_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_robot_id(), target); + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + if (this->_internal_has_part()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::part(this), + _Internal::part(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotAPIKeysRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotPartResponse) return target; } -size_t GetRobotAPIKeysRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotAPIKeysRequest) +size_t UpdateRobotPartResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotPartResponse) 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 robot_id = 1 [json_name = "robotId"]; - if (!this->_internal_robot_id().empty()) { + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + if (this->_internal_has_part()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_robot_id()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *part_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotAPIKeysRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotPartResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotAPIKeysRequest::MergeImpl + UpdateRobotPartResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotAPIKeysRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotPartResponse::GetClassData() const { return &_class_data_; } -void GetRobotAPIKeysRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateRobotPartResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotAPIKeysRequest::MergeFrom(const GetRobotAPIKeysRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotAPIKeysRequest) +void UpdateRobotPartResponse::MergeFrom(const UpdateRobotPartResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotPartResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_robot_id().empty()) { - _internal_set_robot_id(from._internal_robot_id()); + if (from._internal_has_part()) { + _internal_mutable_part()->::viam::app::v1::RobotPart::MergeFrom(from._internal_part()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotAPIKeysRequest::CopyFrom(const GetRobotAPIKeysRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotAPIKeysRequest) +void UpdateRobotPartResponse::CopyFrom(const UpdateRobotPartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotPartResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotAPIKeysRequest::IsInitialized() const { +bool UpdateRobotPartResponse::IsInitialized() const { return true; } -void GetRobotAPIKeysRequest::InternalSwap(GetRobotAPIKeysRequest* other) { +void UpdateRobotPartResponse::InternalSwap(UpdateRobotPartResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &robot_id_, lhs_arena, - &other->robot_id_, rhs_arena - ); + swap(part_, other->part_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotAPIKeysRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartResponse::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[100]); } // =================================================================== -class APIKey::_Internal { +class NewRobotPartRequest::_Internal { public: - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on(const APIKey* msg); }; -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -APIKey::_Internal::created_on(const APIKey* msg) { - return *msg->created_on_; -} -void APIKey::clear_created_on() { - if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { - delete created_on_; - } - created_on_ = nullptr; -} -APIKey::APIKey(::PROTOBUF_NAMESPACE_ID::Arena* arena, +NewRobotPartRequest::NewRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.APIKey) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotPartRequest) } -APIKey::APIKey(const APIKey& from) +NewRobotPartRequest::NewRobotPartRequest(const NewRobotPartRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), - GetArenaForAllocation()); - } - key_.InitDefault(); + robot_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - key_.Set("", GetArenaForAllocation()); + robot_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_key().empty()) { - key_.Set(from._internal_key(), + if (!from._internal_robot_id().empty()) { + robot_id_.Set(from._internal_robot_id(), GetArenaForAllocation()); } - name_.InitDefault(); + part_name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); + part_name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), + if (!from._internal_part_name().empty()) { + part_name_.Set(from._internal_part_name(), GetArenaForAllocation()); } - if (from._internal_has_created_on()) { - created_on_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.created_on_); - } else { - created_on_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.APIKey) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotPartRequest) } -inline void APIKey::SharedCtor() { -id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -key_.InitDefault(); +inline void NewRobotPartRequest::SharedCtor() { +robot_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - key_.Set("", GetArenaForAllocation()); + robot_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -name_.InitDefault(); +part_name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); + part_name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -created_on_ = nullptr; } -APIKey::~APIKey() { - // @@protoc_insertion_point(destructor:viam.app.v1.APIKey) +NewRobotPartRequest::~NewRobotPartRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotPartRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -27368,75 +28602,50 @@ APIKey::~APIKey() { SharedDtor(); } -inline void APIKey::SharedDtor() { +inline void NewRobotPartRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); - key_.Destroy(); - name_.Destroy(); - if (this != internal_default_instance()) delete created_on_; + robot_id_.Destroy(); + part_name_.Destroy(); } -void APIKey::SetCachedSize(int size) const { +void NewRobotPartRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void APIKey::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.APIKey) +void NewRobotPartRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotPartRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmpty(); - key_.ClearToEmpty(); - name_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { - delete created_on_; - } - created_on_ = nullptr; + robot_id_.ClearToEmpty(); + part_name_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* APIKey::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* NewRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; + // string robot_id = 1 [json_name = "robotId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); + auto str = _internal_mutable_robot_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.APIKey.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotPartRequest.robot_id")); } else goto handle_unusual; continue; - // string key = 2 [json_name = "key"]; + // string part_name = 2 [json_name = "partName"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.APIKey.key")); - } else - goto handle_unusual; - continue; - // string name = 3 [json_name = "name"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_name(); + auto str = _internal_mutable_part_name(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.APIKey.name")); - } else - goto handle_unusual; - continue; - // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_created_on(), ptr); - CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotPartRequest.part_name")); } else goto handle_unusual; continue; @@ -27463,192 +28672,160 @@ const char* APIKey::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #undef CHK_ } -uint8_t* APIKey::_InternalSerialize( +uint8_t* NewRobotPartRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.APIKey) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotPartRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.APIKey.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); - } - - // string key = 2 [json_name = "key"]; - if (!this->_internal_key().empty()) { + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_key().data(), static_cast(this->_internal_key().length()), + this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.APIKey.key"); + "viam.app.v1.NewRobotPartRequest.robot_id"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_key(), target); + 1, this->_internal_robot_id(), target); } - // string name = 3 [json_name = "name"]; - if (!this->_internal_name().empty()) { + // string part_name = 2 [json_name = "partName"]; + if (!this->_internal_part_name().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), + this->_internal_part_name().data(), static_cast(this->_internal_part_name().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.APIKey.name"); + "viam.app.v1.NewRobotPartRequest.part_name"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_name(), target); - } - - // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; - if (this->_internal_has_created_on()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::created_on(this), - _Internal::created_on(this).GetCachedSize(), target, stream); + 2, this->_internal_part_name(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.APIKey) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotPartRequest) return target; } -size_t APIKey::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.APIKey) +size_t NewRobotPartRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotPartRequest) 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 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - // string key = 2 [json_name = "key"]; - if (!this->_internal_key().empty()) { + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + this->_internal_robot_id()); } - // string name = 3 [json_name = "name"]; - if (!this->_internal_name().empty()) { + // string part_name = 2 [json_name = "partName"]; + if (!this->_internal_part_name().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; - if (this->_internal_has_created_on()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *created_on_); + this->_internal_part_name()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData APIKey::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotPartRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - APIKey::MergeImpl + NewRobotPartRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*APIKey::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotPartRequest::GetClassData() const { return &_class_data_; } -void APIKey::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void NewRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void APIKey::MergeFrom(const APIKey& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.APIKey) +void NewRobotPartRequest::MergeFrom(const NewRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotPartRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); - } - if (!from._internal_key().empty()) { - _internal_set_key(from._internal_key()); - } - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); + if (!from._internal_robot_id().empty()) { + _internal_set_robot_id(from._internal_robot_id()); } - if (from._internal_has_created_on()) { - _internal_mutable_created_on()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_created_on()); + if (!from._internal_part_name().empty()) { + _internal_set_part_name(from._internal_part_name()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void APIKey::CopyFrom(const APIKey& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.APIKey) +void NewRobotPartRequest::CopyFrom(const NewRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotPartRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool APIKey::IsInitialized() const { +bool NewRobotPartRequest::IsInitialized() const { return true; } -void APIKey::InternalSwap(APIKey* other) { +void NewRobotPartRequest::InternalSwap(NewRobotPartRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &key_, lhs_arena, - &other->key_, rhs_arena + &robot_id_, lhs_arena, + &other->robot_id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena + &part_name_, lhs_arena, + &other->part_name_, rhs_arena ); - swap(created_on_, other->created_on_); } -::PROTOBUF_NAMESPACE_ID::Metadata APIKey::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata NewRobotPartRequest::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[101]); } // =================================================================== -class GetRobotAPIKeysResponse::_Internal { +class NewRobotPartResponse::_Internal { public: }; -GetRobotAPIKeysResponse::GetRobotAPIKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +NewRobotPartResponse::NewRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - api_keys_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotAPIKeysResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotPartResponse) } -GetRobotAPIKeysResponse::GetRobotAPIKeysResponse(const GetRobotAPIKeysResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - api_keys_(from.api_keys_) { +NewRobotPartResponse::NewRobotPartResponse(const NewRobotPartResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotAPIKeysResponse) + part_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + part_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_part_id().empty()) { + part_id_.Set(from._internal_part_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotPartResponse) } -inline void GetRobotAPIKeysResponse::SharedCtor() { +inline void NewRobotPartResponse::SharedCtor() { +part_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + part_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetRobotAPIKeysResponse::~GetRobotAPIKeysResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotAPIKeysResponse) +NewRobotPartResponse::~NewRobotPartResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotPartResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -27656,40 +28833,38 @@ GetRobotAPIKeysResponse::~GetRobotAPIKeysResponse() { SharedDtor(); } -inline void GetRobotAPIKeysResponse::SharedDtor() { +inline void NewRobotPartResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + part_id_.Destroy(); } -void GetRobotAPIKeysResponse::SetCachedSize(int size) const { +void NewRobotPartResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetRobotAPIKeysResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotAPIKeysResponse) +void NewRobotPartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotPartResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - api_keys_.Clear(); + part_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetRobotAPIKeysResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* NewRobotPartResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; + // string part_id = 1 [json_name = "partId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_api_keys(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + auto str = _internal_mutable_part_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotPartResponse.part_id")); } else goto handle_unusual; continue; @@ -27716,177 +28891,309 @@ const char* GetRobotAPIKeysResponse::_InternalParse(const char* ptr, ::_pbi::Par #undef CHK_ } -uint8_t* GetRobotAPIKeysResponse::_InternalSerialize( +uint8_t* NewRobotPartResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotAPIKeysResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotPartResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; - for (unsigned i = 0, - n = static_cast(this->_internal_api_keys_size()); i < n; i++) { - const auto& repfield = this->_internal_api_keys(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + // string part_id = 1 [json_name = "partId"]; + if (!this->_internal_part_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_part_id().data(), static_cast(this->_internal_part_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.NewRobotPartResponse.part_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_part_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotAPIKeysResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotPartResponse) return target; } -size_t GetRobotAPIKeysResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotAPIKeysResponse) +size_t NewRobotPartResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotPartResponse) 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.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; - total_size += 1UL * this->_internal_api_keys_size(); - for (const auto& msg : this->api_keys_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string part_id = 1 [json_name = "partId"]; + if (!this->_internal_part_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_part_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotAPIKeysResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotPartResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetRobotAPIKeysResponse::MergeImpl + NewRobotPartResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotAPIKeysResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotPartResponse::GetClassData() const { return &_class_data_; } -void GetRobotAPIKeysResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void NewRobotPartResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetRobotAPIKeysResponse::MergeFrom(const GetRobotAPIKeysResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotAPIKeysResponse) +void NewRobotPartResponse::MergeFrom(const NewRobotPartResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotPartResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - api_keys_.MergeFrom(from.api_keys_); + if (!from._internal_part_id().empty()) { + _internal_set_part_id(from._internal_part_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetRobotAPIKeysResponse::CopyFrom(const GetRobotAPIKeysResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotAPIKeysResponse) +void NewRobotPartResponse::CopyFrom(const NewRobotPartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotPartResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetRobotAPIKeysResponse::IsInitialized() const { +bool NewRobotPartResponse::IsInitialized() const { return true; } -void GetRobotAPIKeysResponse::InternalSwap(GetRobotAPIKeysResponse* other) { +void NewRobotPartResponse::InternalSwap(NewRobotPartResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - api_keys_.InternalSwap(&other->api_keys_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &part_id_, lhs_arena, + &other->part_id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetRobotAPIKeysResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata NewRobotPartResponse::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[102]); } // =================================================================== -class DeleteRobotPartResponse::_Internal { +class DeleteRobotPartRequest::_Internal { public: }; -DeleteRobotPartResponse::DeleteRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteRobotPartRequest::DeleteRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotPartResponse) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotPartRequest) } -DeleteRobotPartResponse::DeleteRobotPartResponse(const DeleteRobotPartResponse& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { +DeleteRobotPartRequest::DeleteRobotPartRequest(const DeleteRobotPartRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotPartResponse) + part_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + part_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_part_id().empty()) { + part_id_.Set(from._internal_part_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotPartRequest) } +inline void DeleteRobotPartRequest::SharedCtor() { +part_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + part_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} +DeleteRobotPartRequest::~DeleteRobotPartRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.DeleteRobotPartRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} +inline void DeleteRobotPartRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + part_id_.Destroy(); +} +void DeleteRobotPartRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotPartResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotPartResponse::GetClassData() const { return &_class_data_; } - - +void DeleteRobotPartRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteRobotPartRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + part_id_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} +const char* DeleteRobotPartRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string part_id = 1 [json_name = "partId"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_part_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteRobotPartRequest.part_id")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} +uint8_t* DeleteRobotPartRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteRobotPartRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + // string part_id = 1 [json_name = "partId"]; + if (!this->_internal_part_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_part_id().data(), static_cast(this->_internal_part_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.DeleteRobotPartRequest.part_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_part_id(), target); + } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartResponse::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]); + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteRobotPartRequest) + return target; } -// =================================================================== +size_t DeleteRobotPartRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteRobotPartRequest) + size_t total_size = 0; -class Fragment::_Internal { - public: - static const ::PROTOBUF_NAMESPACE_ID::Struct& fragment(const Fragment* msg); - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on(const Fragment* msg); - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& last_updated(const Fragment* msg); -}; + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; -const ::PROTOBUF_NAMESPACE_ID::Struct& -Fragment::_Internal::fragment(const Fragment* msg) { - return *msg->fragment_; -} -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -Fragment::_Internal::created_on(const Fragment* msg) { - return *msg->created_on_; + // string part_id = 1 [json_name = "partId"]; + if (!this->_internal_part_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_part_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -Fragment::_Internal::last_updated(const Fragment* msg) { - return *msg->last_updated_; + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotPartRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + DeleteRobotPartRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotPartRequest::GetClassData() const { return &_class_data_; } + +void DeleteRobotPartRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); } -void Fragment::clear_fragment() { - if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { - delete fragment_; + + +void DeleteRobotPartRequest::MergeFrom(const DeleteRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteRobotPartRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_part_id().empty()) { + _internal_set_part_id(from._internal_part_id()); } - fragment_ = nullptr; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void Fragment::clear_created_on() { - if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { - delete created_on_; - } - created_on_ = nullptr; + +void DeleteRobotPartRequest::CopyFrom(const DeleteRobotPartRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteRobotPartRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void Fragment::clear_last_updated() { - if (GetArenaForAllocation() == nullptr && last_updated_ != nullptr) { - delete last_updated_; - } - last_updated_ = nullptr; + +bool DeleteRobotPartRequest::IsInitialized() const { + return true; } -Fragment::Fragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + +void DeleteRobotPartRequest::InternalSwap(DeleteRobotPartRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &part_id_, lhs_arena, + &other->part_id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartRequest::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]); +} + +// =================================================================== + +class GetRobotPartMetadataRequest::_Internal { + public: +}; + +GetRobotPartMetadataRequest::GetRobotPartMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.Fragment) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartMetadataRequest) } -Fragment::Fragment(const Fragment& from) +GetRobotPartMetadataRequest::GetRobotPartMetadataRequest(const GetRobotPartMetadataRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.InitDefault(); @@ -27897,88 +29204,18 @@ Fragment::Fragment(const Fragment& from) id_.Set(from._internal_id(), GetArenaForAllocation()); } - name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), - GetArenaForAllocation()); - } - organization_owner_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_owner_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_organization_owner().empty()) { - organization_owner_.Set(from._internal_organization_owner(), - GetArenaForAllocation()); - } - organization_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_organization_name().empty()) { - organization_name_.Set(from._internal_organization_name(), - GetArenaForAllocation()); - } - revision_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_revision().empty()) { - revision_.Set(from._internal_revision(), - GetArenaForAllocation()); - } - if (from._internal_has_fragment()) { - fragment_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.fragment_); - } else { - fragment_ = nullptr; - } - if (from._internal_has_created_on()) { - created_on_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.created_on_); - } else { - created_on_ = nullptr; - } - if (from._internal_has_last_updated()) { - last_updated_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.last_updated_); - } else { - last_updated_ = nullptr; - } - ::memcpy(&public__, &from.public__, - static_cast(reinterpret_cast(&visibility_) - - reinterpret_cast(&public__)) + sizeof(visibility_)); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.Fragment) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartMetadataRequest) } -inline void Fragment::SharedCtor() { +inline void GetRobotPartMetadataRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -name_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -organization_owner_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_owner_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -organization_name_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_name_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -revision_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&fragment_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&visibility_) - - reinterpret_cast(&fragment_)) + sizeof(visibility_)); } -Fragment::~Fragment() { - // @@protoc_insertion_point(destructor:viam.app.v1.Fragment) +GetRobotPartMetadataRequest::~GetRobotPartMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartMetadataRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -27986,169 +29223,38 @@ Fragment::~Fragment() { SharedDtor(); } -inline void Fragment::SharedDtor() { +inline void GetRobotPartMetadataRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); - name_.Destroy(); - organization_owner_.Destroy(); - organization_name_.Destroy(); - revision_.Destroy(); - if (this != internal_default_instance()) delete fragment_; - if (this != internal_default_instance()) delete created_on_; - if (this != internal_default_instance()) delete last_updated_; } -void Fragment::SetCachedSize(int size) const { +void GetRobotPartMetadataRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void Fragment::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.Fragment) +void GetRobotPartMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartMetadataRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; id_.ClearToEmpty(); - name_.ClearToEmpty(); - organization_owner_.ClearToEmpty(); - organization_name_.ClearToEmpty(); - revision_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { - delete fragment_; - } - fragment_ = nullptr; - if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { - delete created_on_; - } - created_on_ = nullptr; - if (GetArenaForAllocation() == nullptr && last_updated_ != nullptr) { - delete last_updated_; - } - last_updated_ = nullptr; - ::memset(&public__, 0, static_cast( - reinterpret_cast(&visibility_) - - reinterpret_cast(&public__)) + sizeof(visibility_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* Fragment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotPartMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.id")); - } else - goto handle_unusual; - continue; - // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.name")); - } else - goto handle_unusual; - continue; - // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_fragment(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_organization_owner(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.organization_owner")); - } else - goto handle_unusual; - continue; - // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - public__ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_created_on(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string organization_name = 7 [json_name = "organizationName"]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_organization_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.organization_name")); - } else - goto handle_unusual; - continue; - // int32 robot_part_count = 9 [json_name = "robotPartCount"]; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - robot_part_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 organization_count = 10 [json_name = "organizationCount"]; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - organization_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - only_used_by_owner_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); - } else - goto handle_unusual; - continue; - // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_last_updated(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string revision = 14 [json_name = "revision"]; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_revision(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.revision")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotPartMetadataRequest.id")); } else goto handle_unusual; continue; @@ -28175,429 +29281,3285 @@ const char* Fragment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) #undef CHK_ } -uint8_t* Fragment::_InternalSerialize( +uint8_t* GetRobotPartMetadataRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.Fragment) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartMetadataRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + // string id = 1 [json_name = "id"]; if (!this->_internal_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.Fragment.id"); + "viam.app.v1.GetRobotPartMetadataRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } - // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.Fragment.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; - if (this->_internal_has_fragment()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::fragment(this), - _Internal::fragment(this).GetCachedSize(), target, stream); - } - - // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; - if (!this->_internal_organization_owner().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_organization_owner().data(), static_cast(this->_internal_organization_owner().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.Fragment.organization_owner"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_organization_owner(), target); - } - - // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; - if (this->_internal_public_() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_public_(), target); - } - - // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; - if (this->_internal_has_created_on()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::created_on(this), - _Internal::created_on(this).GetCachedSize(), target, stream); - } - - // string organization_name = 7 [json_name = "organizationName"]; - if (!this->_internal_organization_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_organization_name().data(), static_cast(this->_internal_organization_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.Fragment.organization_name"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_organization_name(), target); - } - - // int32 robot_part_count = 9 [json_name = "robotPartCount"]; - if (this->_internal_robot_part_count() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_robot_part_count(), target); - } - - // int32 organization_count = 10 [json_name = "organizationCount"]; - if (this->_internal_organization_count() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_organization_count(), target); - } - - // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; - if (this->_internal_only_used_by_owner() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_only_used_by_owner(), target); - } - - // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; - if (this->_internal_visibility() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 12, this->_internal_visibility(), target); - } - - // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; - if (this->_internal_has_last_updated()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::last_updated(this), - _Internal::last_updated(this).GetCachedSize(), target, stream); - } - - // string revision = 14 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_revision().data(), static_cast(this->_internal_revision().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.Fragment.revision"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_revision(), target); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.Fragment) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartMetadataRequest) return target; } -size_t Fragment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.Fragment) +size_t GetRobotPartMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartMetadataRequest) 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", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + // string id = 1 [json_name = "id"]; if (!this->_internal_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_id()); } - // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} - // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; - if (!this->_internal_organization_owner().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_organization_owner()); - } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartMetadataRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + GetRobotPartMetadataRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartMetadataRequest::GetClassData() const { return &_class_data_; } - // string organization_name = 7 [json_name = "organizationName"]; - if (!this->_internal_organization_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_organization_name()); +void GetRobotPartMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void GetRobotPartMetadataRequest::MergeFrom(const GetRobotPartMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartMetadataRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} - // string revision = 14 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_revision()); +void GetRobotPartMetadataRequest::CopyFrom(const GetRobotPartMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartMetadataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetRobotPartMetadataRequest::IsInitialized() const { + return true; +} + +void GetRobotPartMetadataRequest::InternalSwap(GetRobotPartMetadataRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartMetadataRequest::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]); +} + +// =================================================================== + +GetRobotPartMetadataResponse_DataEntry_DoNotUse::GetRobotPartMetadataResponse_DataEntry_DoNotUse() {} +GetRobotPartMetadataResponse_DataEntry_DoNotUse::GetRobotPartMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void GetRobotPartMetadataResponse_DataEntry_DoNotUse::MergeFrom(const GetRobotPartMetadataResponse_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartMetadataResponse_DataEntry_DoNotUse::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]); +} + +// =================================================================== + +class GetRobotPartMetadataResponse::_Internal { + public: +}; + +void GetRobotPartMetadataResponse::clear_data() { + data_.Clear(); +} +GetRobotPartMetadataResponse::GetRobotPartMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { + SharedCtor(); + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &GetRobotPartMetadataResponse::ArenaDtor); } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotPartMetadataResponse) +} +GetRobotPartMetadataResponse::GetRobotPartMetadataResponse(const GetRobotPartMetadataResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + data_.MergeFrom(from.data_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotPartMetadataResponse) +} - // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; - if (this->_internal_has_fragment()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *fragment_); +inline void GetRobotPartMetadataResponse::SharedCtor() { +} + +GetRobotPartMetadataResponse::~GetRobotPartMetadataResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotPartMetadataResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + ArenaDtor(this); + return; } + SharedDtor(); +} - // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; - if (this->_internal_has_created_on()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *created_on_); +inline void GetRobotPartMetadataResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + data_.Destruct(); +} + +void GetRobotPartMetadataResponse::ArenaDtor(void* object) { + GetRobotPartMetadataResponse* _this = reinterpret_cast< GetRobotPartMetadataResponse* >(object); + _this->data_.Destruct(); +} +void GetRobotPartMetadataResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void GetRobotPartMetadataResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotPartMetadataResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + data_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GetRobotPartMetadataResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // map data = 1 [json_name = "data"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GetRobotPartMetadataResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotPartMetadataResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // map data = 1 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = GetRobotPartMetadataResponse_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotPartMetadataResponse.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotPartMetadataResponse) + return target; +} + +size_t GetRobotPartMetadataResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotPartMetadataResponse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map data = 1 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += GetRobotPartMetadataResponse_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotPartMetadataResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + GetRobotPartMetadataResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotPartMetadataResponse::GetClassData() const { return &_class_data_; } + +void GetRobotPartMetadataResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void GetRobotPartMetadataResponse::MergeFrom(const GetRobotPartMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotPartMetadataResponse) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + data_.MergeFrom(from.data_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GetRobotPartMetadataResponse::CopyFrom(const GetRobotPartMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotPartMetadataResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetRobotPartMetadataResponse::IsInitialized() const { + return true; +} + +void GetRobotPartMetadataResponse::InternalSwap(GetRobotPartMetadataResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + data_.InternalSwap(&other->data_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotPartMetadataResponse::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]); +} + +// =================================================================== + +UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse() {} +UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::MergeFrom(const UpdateRobotPartMetadataRequest_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::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]); +} + +// =================================================================== + +class UpdateRobotPartMetadataRequest::_Internal { + public: +}; + +void UpdateRobotPartMetadataRequest::clear_data() { + data_.Clear(); +} +UpdateRobotPartMetadataRequest::UpdateRobotPartMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { + SharedCtor(); + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &UpdateRobotPartMetadataRequest::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotPartMetadataRequest) +} +UpdateRobotPartMetadataRequest::UpdateRobotPartMetadataRequest(const UpdateRobotPartMetadataRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + data_.MergeFrom(from.data_); + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotPartMetadataRequest) +} + +inline void UpdateRobotPartMetadataRequest::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +UpdateRobotPartMetadataRequest::~UpdateRobotPartMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotPartMetadataRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + ArenaDtor(this); + return; + } + SharedDtor(); +} + +inline void UpdateRobotPartMetadataRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + data_.Destruct(); + id_.Destroy(); +} + +void UpdateRobotPartMetadataRequest::ArenaDtor(void* object) { + UpdateRobotPartMetadataRequest* _this = reinterpret_cast< UpdateRobotPartMetadataRequest* >(object); + _this->data_.Destruct(); +} +void UpdateRobotPartMetadataRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void UpdateRobotPartMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotPartMetadataRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + data_.Clear(); + id_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* UpdateRobotPartMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string id = 1 [json_name = "id"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotPartMetadataRequest.id")); + } else + goto handle_unusual; + continue; + // map data = 2 [json_name = "data"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* UpdateRobotPartMetadataRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotPartMetadataRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotPartMetadataRequest.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // map data = 2 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotPartMetadataRequest.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotPartMetadataRequest) + return target; +} + +size_t UpdateRobotPartMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotPartMetadataRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map data = 2 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += UpdateRobotPartMetadataRequest_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotPartMetadataRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + UpdateRobotPartMetadataRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotPartMetadataRequest::GetClassData() const { return &_class_data_; } + +void UpdateRobotPartMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void UpdateRobotPartMetadataRequest::MergeFrom(const UpdateRobotPartMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotPartMetadataRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + data_.MergeFrom(from.data_); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void UpdateRobotPartMetadataRequest::CopyFrom(const UpdateRobotPartMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotPartMetadataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool UpdateRobotPartMetadataRequest::IsInitialized() const { + return true; +} + +void UpdateRobotPartMetadataRequest::InternalSwap(UpdateRobotPartMetadataRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + data_.InternalSwap(&other->data_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartMetadataRequest::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]); +} + +// =================================================================== + +class UpdateRobotPartMetadataResponse::_Internal { + public: +}; + +UpdateRobotPartMetadataResponse::UpdateRobotPartMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotPartMetadataResponse) +} +UpdateRobotPartMetadataResponse::UpdateRobotPartMetadataResponse(const UpdateRobotPartMetadataResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotPartMetadataResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotPartMetadataResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotPartMetadataResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotPartMetadataResponse::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]); +} + +// =================================================================== + +class GetRobotAPIKeysRequest::_Internal { + public: +}; + +GetRobotAPIKeysRequest::GetRobotAPIKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotAPIKeysRequest) +} +GetRobotAPIKeysRequest::GetRobotAPIKeysRequest(const GetRobotAPIKeysRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + robot_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_robot_id().empty()) { + robot_id_.Set(from._internal_robot_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotAPIKeysRequest) +} + +inline void GetRobotAPIKeysRequest::SharedCtor() { +robot_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + robot_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +GetRobotAPIKeysRequest::~GetRobotAPIKeysRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotAPIKeysRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GetRobotAPIKeysRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + robot_id_.Destroy(); +} + +void GetRobotAPIKeysRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void GetRobotAPIKeysRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotAPIKeysRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + robot_id_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GetRobotAPIKeysRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string robot_id = 1 [json_name = "robotId"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_robot_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotAPIKeysRequest.robot_id")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GetRobotAPIKeysRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotAPIKeysRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_robot_id().data(), static_cast(this->_internal_robot_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotAPIKeysRequest.robot_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_robot_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotAPIKeysRequest) + return target; +} + +size_t GetRobotAPIKeysRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotAPIKeysRequest) + 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 robot_id = 1 [json_name = "robotId"]; + if (!this->_internal_robot_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_robot_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotAPIKeysRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + GetRobotAPIKeysRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotAPIKeysRequest::GetClassData() const { return &_class_data_; } + +void GetRobotAPIKeysRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void GetRobotAPIKeysRequest::MergeFrom(const GetRobotAPIKeysRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotAPIKeysRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_robot_id().empty()) { + _internal_set_robot_id(from._internal_robot_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GetRobotAPIKeysRequest::CopyFrom(const GetRobotAPIKeysRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotAPIKeysRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetRobotAPIKeysRequest::IsInitialized() const { + return true; +} + +void GetRobotAPIKeysRequest::InternalSwap(GetRobotAPIKeysRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &robot_id_, lhs_arena, + &other->robot_id_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotAPIKeysRequest::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]); +} + +// =================================================================== + +class APIKey::_Internal { + public: + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on(const APIKey* msg); +}; + +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +APIKey::_Internal::created_on(const APIKey* msg) { + return *msg->created_on_; +} +void APIKey::clear_created_on() { + if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { + delete created_on_; + } + created_on_ = nullptr; +} +APIKey::APIKey(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.APIKey) +} +APIKey::APIKey(const APIKey& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); + } + key_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + key_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_key().empty()) { + key_.Set(from._internal_key(), + GetArenaForAllocation()); + } + name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), + GetArenaForAllocation()); + } + if (from._internal_has_created_on()) { + created_on_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.created_on_); + } else { + created_on_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.APIKey) +} + +inline void APIKey::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +key_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + key_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +created_on_ = nullptr; +} + +APIKey::~APIKey() { + // @@protoc_insertion_point(destructor:viam.app.v1.APIKey) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void APIKey::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + id_.Destroy(); + key_.Destroy(); + name_.Destroy(); + if (this != internal_default_instance()) delete created_on_; +} + +void APIKey::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void APIKey::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.APIKey) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + id_.ClearToEmpty(); + key_.ClearToEmpty(); + name_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { + delete created_on_; + } + created_on_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* APIKey::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string id = 1 [json_name = "id"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.APIKey.id")); + } else + goto handle_unusual; + continue; + // string key = 2 [json_name = "key"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_key(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.APIKey.key")); + } else + goto handle_unusual; + continue; + // string name = 3 [json_name = "name"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.APIKey.name")); + } else + goto handle_unusual; + continue; + // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_created_on(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* APIKey::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.APIKey) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.APIKey.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // string key = 2 [json_name = "key"]; + if (!this->_internal_key().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_key().data(), static_cast(this->_internal_key().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.APIKey.key"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_key(), target); + } + + // string name = 3 [json_name = "name"]; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.APIKey.name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_name(), target); + } + + // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; + if (this->_internal_has_created_on()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::created_on(this), + _Internal::created_on(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.APIKey) + return target; +} + +size_t APIKey::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.APIKey) + 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 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // string key = 2 [json_name = "key"]; + if (!this->_internal_key().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); + } + + // string name = 3 [json_name = "name"]; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; + if (this->_internal_has_created_on()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *created_on_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData APIKey::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + APIKey::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*APIKey::GetClassData() const { return &_class_data_; } + +void APIKey::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void APIKey::MergeFrom(const APIKey& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.APIKey) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + if (!from._internal_key().empty()) { + _internal_set_key(from._internal_key()); + } + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } + if (from._internal_has_created_on()) { + _internal_mutable_created_on()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_created_on()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void APIKey::CopyFrom(const APIKey& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.APIKey) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool APIKey::IsInitialized() const { + return true; +} + +void APIKey::InternalSwap(APIKey* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &key_, lhs_arena, + &other->key_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &name_, lhs_arena, + &other->name_, rhs_arena + ); + swap(created_on_, other->created_on_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata APIKey::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]); +} + +// =================================================================== + +class GetRobotAPIKeysResponse::_Internal { + public: +}; + +GetRobotAPIKeysResponse::GetRobotAPIKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + api_keys_(arena) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotAPIKeysResponse) +} +GetRobotAPIKeysResponse::GetRobotAPIKeysResponse(const GetRobotAPIKeysResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + api_keys_(from.api_keys_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotAPIKeysResponse) +} + +inline void GetRobotAPIKeysResponse::SharedCtor() { +} + +GetRobotAPIKeysResponse::~GetRobotAPIKeysResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotAPIKeysResponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GetRobotAPIKeysResponse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void GetRobotAPIKeysResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void GetRobotAPIKeysResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotAPIKeysResponse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + api_keys_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GetRobotAPIKeysResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_api_keys(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GetRobotAPIKeysResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotAPIKeysResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; + for (unsigned i = 0, + n = static_cast(this->_internal_api_keys_size()); i < n; i++) { + const auto& repfield = this->_internal_api_keys(i); + target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotAPIKeysResponse) + return target; +} + +size_t GetRobotAPIKeysResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotAPIKeysResponse) + 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.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; + total_size += 1UL * this->_internal_api_keys_size(); + for (const auto& msg : this->api_keys_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotAPIKeysResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + GetRobotAPIKeysResponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotAPIKeysResponse::GetClassData() const { return &_class_data_; } + +void GetRobotAPIKeysResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void GetRobotAPIKeysResponse::MergeFrom(const GetRobotAPIKeysResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotAPIKeysResponse) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + api_keys_.MergeFrom(from.api_keys_); + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GetRobotAPIKeysResponse::CopyFrom(const GetRobotAPIKeysResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotAPIKeysResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetRobotAPIKeysResponse::IsInitialized() const { + return true; +} + +void GetRobotAPIKeysResponse::InternalSwap(GetRobotAPIKeysResponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + api_keys_.InternalSwap(&other->api_keys_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotAPIKeysResponse::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]); +} + +// =================================================================== + +class DeleteRobotPartResponse::_Internal { + public: +}; + +DeleteRobotPartResponse::DeleteRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotPartResponse) +} +DeleteRobotPartResponse::DeleteRobotPartResponse(const DeleteRobotPartResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotPartResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotPartResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotPartResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartResponse::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]); +} + +// =================================================================== + +class Fragment::_Internal { + public: + static const ::PROTOBUF_NAMESPACE_ID::Struct& fragment(const Fragment* msg); + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on(const Fragment* msg); + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& last_updated(const Fragment* msg); +}; + +const ::PROTOBUF_NAMESPACE_ID::Struct& +Fragment::_Internal::fragment(const Fragment* msg) { + return *msg->fragment_; +} +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +Fragment::_Internal::created_on(const Fragment* msg) { + return *msg->created_on_; +} +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +Fragment::_Internal::last_updated(const Fragment* msg) { + return *msg->last_updated_; +} +void Fragment::clear_fragment() { + if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { + delete fragment_; + } + fragment_ = nullptr; +} +void Fragment::clear_created_on() { + if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { + delete created_on_; + } + created_on_ = nullptr; +} +void Fragment::clear_last_updated() { + if (GetArenaForAllocation() == nullptr && last_updated_ != nullptr) { + delete last_updated_; + } + last_updated_ = nullptr; +} +Fragment::Fragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.Fragment) +} +Fragment::Fragment(const Fragment& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); + } + name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), + GetArenaForAllocation()); + } + organization_owner_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_owner_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_organization_owner().empty()) { + organization_owner_.Set(from._internal_organization_owner(), + GetArenaForAllocation()); + } + organization_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_organization_name().empty()) { + organization_name_.Set(from._internal_organization_name(), + GetArenaForAllocation()); + } + revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_revision().empty()) { + revision_.Set(from._internal_revision(), + GetArenaForAllocation()); + } + if (from._internal_has_fragment()) { + fragment_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.fragment_); + } else { + fragment_ = nullptr; + } + if (from._internal_has_created_on()) { + created_on_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.created_on_); + } else { + created_on_ = nullptr; + } + if (from._internal_has_last_updated()) { + last_updated_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.last_updated_); + } else { + last_updated_ = nullptr; + } + ::memcpy(&public__, &from.public__, + static_cast(reinterpret_cast(&visibility_) - + reinterpret_cast(&public__)) + sizeof(visibility_)); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.Fragment) +} + +inline void Fragment::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +organization_owner_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_owner_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +organization_name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + organization_name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +revision_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&fragment_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&visibility_) - + reinterpret_cast(&fragment_)) + sizeof(visibility_)); +} + +Fragment::~Fragment() { + // @@protoc_insertion_point(destructor:viam.app.v1.Fragment) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Fragment::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + id_.Destroy(); + name_.Destroy(); + organization_owner_.Destroy(); + organization_name_.Destroy(); + revision_.Destroy(); + if (this != internal_default_instance()) delete fragment_; + if (this != internal_default_instance()) delete created_on_; + if (this != internal_default_instance()) delete last_updated_; +} + +void Fragment::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void Fragment::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.Fragment) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + id_.ClearToEmpty(); + name_.ClearToEmpty(); + organization_owner_.ClearToEmpty(); + organization_name_.ClearToEmpty(); + revision_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { + delete fragment_; + } + fragment_ = nullptr; + if (GetArenaForAllocation() == nullptr && created_on_ != nullptr) { + delete created_on_; + } + created_on_ = nullptr; + if (GetArenaForAllocation() == nullptr && last_updated_ != nullptr) { + delete last_updated_; + } + last_updated_ = nullptr; + ::memset(&public__, 0, static_cast( + reinterpret_cast(&visibility_) - + reinterpret_cast(&public__)) + sizeof(visibility_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Fragment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.id")); + } else + goto handle_unusual; + continue; + // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.name")); + } else + goto handle_unusual; + continue; + // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_fragment(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_organization_owner(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.organization_owner")); + } else + goto handle_unusual; + continue; + // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + public__ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_created_on(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string organization_name = 7 [json_name = "organizationName"]; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { + auto str = _internal_mutable_organization_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.organization_name")); + } else + goto handle_unusual; + continue; + // int32 robot_part_count = 9 [json_name = "robotPartCount"]; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { + robot_part_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 organization_count = 10 [json_name = "organizationCount"]; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { + organization_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { + only_used_by_owner_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); + } else + goto handle_unusual; + continue; + // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_last_updated(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string revision = 14 [json_name = "revision"]; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.Fragment.revision")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Fragment::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.Fragment) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.Fragment.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.Fragment.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + if (this->_internal_has_fragment()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::fragment(this), + _Internal::fragment(this).GetCachedSize(), target, stream); + } + + // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; + if (!this->_internal_organization_owner().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_organization_owner().data(), static_cast(this->_internal_organization_owner().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.Fragment.organization_owner"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_organization_owner(), target); + } + + // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; + if (this->_internal_public_() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_public_(), target); + } + + // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; + if (this->_internal_has_created_on()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::created_on(this), + _Internal::created_on(this).GetCachedSize(), target, stream); + } + + // string organization_name = 7 [json_name = "organizationName"]; + if (!this->_internal_organization_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_organization_name().data(), static_cast(this->_internal_organization_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.Fragment.organization_name"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_organization_name(), target); + } + + // int32 robot_part_count = 9 [json_name = "robotPartCount"]; + if (this->_internal_robot_part_count() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_robot_part_count(), target); + } + + // int32 organization_count = 10 [json_name = "organizationCount"]; + if (this->_internal_organization_count() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_organization_count(), target); + } + + // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; + if (this->_internal_only_used_by_owner() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_only_used_by_owner(), target); + } + + // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; + if (this->_internal_visibility() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 12, this->_internal_visibility(), target); + } + + // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; + if (this->_internal_has_last_updated()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::last_updated(this), + _Internal::last_updated(this).GetCachedSize(), target, stream); + } + + // string revision = 14 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.Fragment.revision"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_revision(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.Fragment) + return target; +} + +size_t Fragment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.Fragment) + 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", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + if (!this->_internal_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; + if (!this->_internal_organization_owner().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_organization_owner()); + } + + // string organization_name = 7 [json_name = "organizationName"]; + if (!this->_internal_organization_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_organization_name()); + } + + // string revision = 14 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_revision()); + } + + // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + if (this->_internal_has_fragment()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *fragment_); + } + + // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; + if (this->_internal_has_created_on()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *created_on_); + } + + // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; + if (this->_internal_has_last_updated()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *last_updated_); + } + + // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; + if (this->_internal_public_() != 0) { + total_size += 1 + 1; + } + + // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; + if (this->_internal_only_used_by_owner() != 0) { + total_size += 1 + 1; + } + + // int32 robot_part_count = 9 [json_name = "robotPartCount"]; + if (this->_internal_robot_part_count() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_robot_part_count()); + } + + // int32 organization_count = 10 [json_name = "organizationCount"]; + if (this->_internal_organization_count() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_organization_count()); + } + + // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; + if (this->_internal_visibility() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_visibility()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Fragment::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + Fragment::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Fragment::GetClassData() const { return &_class_data_; } + +void Fragment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void Fragment::MergeFrom(const Fragment& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.Fragment) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } + if (!from._internal_organization_owner().empty()) { + _internal_set_organization_owner(from._internal_organization_owner()); + } + if (!from._internal_organization_name().empty()) { + _internal_set_organization_name(from._internal_organization_name()); + } + if (!from._internal_revision().empty()) { + _internal_set_revision(from._internal_revision()); + } + if (from._internal_has_fragment()) { + _internal_mutable_fragment()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_fragment()); + } + if (from._internal_has_created_on()) { + _internal_mutable_created_on()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_created_on()); + } + if (from._internal_has_last_updated()) { + _internal_mutable_last_updated()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_last_updated()); + } + if (from._internal_public_() != 0) { + _internal_set_public_(from._internal_public_()); + } + if (from._internal_only_used_by_owner() != 0) { + _internal_set_only_used_by_owner(from._internal_only_used_by_owner()); + } + if (from._internal_robot_part_count() != 0) { + _internal_set_robot_part_count(from._internal_robot_part_count()); + } + if (from._internal_organization_count() != 0) { + _internal_set_organization_count(from._internal_organization_count()); + } + if (from._internal_visibility() != 0) { + _internal_set_visibility(from._internal_visibility()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Fragment::CopyFrom(const Fragment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.Fragment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Fragment::IsInitialized() const { + return true; +} + +void Fragment::InternalSwap(Fragment* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &name_, lhs_arena, + &other->name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &organization_owner_, lhs_arena, + &other->organization_owner_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &organization_name_, lhs_arena, + &other->organization_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &revision_, lhs_arena, + &other->revision_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Fragment, visibility_) + + sizeof(Fragment::visibility_) + - PROTOBUF_FIELD_OFFSET(Fragment, fragment_)>( + reinterpret_cast(&fragment_), + reinterpret_cast(&other->fragment_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Fragment::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]); +} + +// =================================================================== + +class FragmentHistoryEntry::_Internal { + public: + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& edited_on(const FragmentHistoryEntry* msg); + static const ::viam::app::v1::Fragment& old(const FragmentHistoryEntry* msg); + static const ::viam::app::v1::AuthenticatorInfo& edited_by(const FragmentHistoryEntry* msg); + static const ::PROTOBUF_NAMESPACE_ID::Struct& config(const FragmentHistoryEntry* msg); +}; + +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +FragmentHistoryEntry::_Internal::edited_on(const FragmentHistoryEntry* msg) { + return *msg->edited_on_; +} +const ::viam::app::v1::Fragment& +FragmentHistoryEntry::_Internal::old(const FragmentHistoryEntry* msg) { + return *msg->old_; +} +const ::viam::app::v1::AuthenticatorInfo& +FragmentHistoryEntry::_Internal::edited_by(const FragmentHistoryEntry* msg) { + return *msg->edited_by_; +} +const ::PROTOBUF_NAMESPACE_ID::Struct& +FragmentHistoryEntry::_Internal::config(const FragmentHistoryEntry* msg) { + return *msg->config_; +} +void FragmentHistoryEntry::clear_edited_on() { + if (GetArenaForAllocation() == nullptr && edited_on_ != nullptr) { + delete edited_on_; + } + edited_on_ = nullptr; +} +void FragmentHistoryEntry::clear_config() { + if (GetArenaForAllocation() == nullptr && config_ != nullptr) { + delete config_; + } + config_ = nullptr; +} +FragmentHistoryEntry::FragmentHistoryEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentHistoryEntry) +} +FragmentHistoryEntry::FragmentHistoryEntry(const FragmentHistoryEntry& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + fragment_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fragment().empty()) { + fragment_.Set(from._internal_fragment(), + GetArenaForAllocation()); + } + revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_revision().empty()) { + revision_.Set(from._internal_revision(), + GetArenaForAllocation()); + } + if (from._internal_has_edited_on()) { + edited_on_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.edited_on_); + } else { + edited_on_ = nullptr; + } + if (from._internal_has_old()) { + old_ = new ::viam::app::v1::Fragment(*from.old_); + } else { + old_ = nullptr; + } + if (from._internal_has_edited_by()) { + edited_by_ = new ::viam::app::v1::AuthenticatorInfo(*from.edited_by_); + } else { + edited_by_ = nullptr; + } + if (from._internal_has_config()) { + config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.config_); + } else { + config_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentHistoryEntry) +} + +inline void FragmentHistoryEntry::SharedCtor() { +fragment_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +revision_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&edited_on_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&config_) - + reinterpret_cast(&edited_on_)) + sizeof(config_)); +} + +FragmentHistoryEntry::~FragmentHistoryEntry() { + // @@protoc_insertion_point(destructor:viam.app.v1.FragmentHistoryEntry) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void FragmentHistoryEntry::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + fragment_.Destroy(); + revision_.Destroy(); + if (this != internal_default_instance()) delete edited_on_; + if (this != internal_default_instance()) delete old_; + if (this != internal_default_instance()) delete edited_by_; + if (this != internal_default_instance()) delete config_; +} + +void FragmentHistoryEntry::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void FragmentHistoryEntry::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentHistoryEntry) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + fragment_.ClearToEmpty(); + revision_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && edited_on_ != nullptr) { + delete edited_on_; + } + edited_on_ = nullptr; + if (GetArenaForAllocation() == nullptr && old_ != nullptr) { + delete old_; + } + old_ = nullptr; + if (GetArenaForAllocation() == nullptr && edited_by_ != nullptr) { + delete edited_by_; + } + edited_by_ = nullptr; + if (GetArenaForAllocation() == nullptr && config_ != nullptr) { + delete config_; + } + config_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* FragmentHistoryEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_fragment(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentHistoryEntry.fragment")); + } else + goto handle_unusual; + continue; + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_edited_on(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_old(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_edited_by(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentHistoryEntry.revision")); + } else + goto handle_unusual; + continue; + // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_config(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* FragmentHistoryEntry::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::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()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fragment().data(), static_cast(this->_internal_fragment().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentHistoryEntry.fragment"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_fragment(), target); + } + + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + if (this->_internal_has_edited_on()) { + target = ::PROTOBUF_NAMESPACE_ID::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 (this->_internal_has_old()) { + target = ::PROTOBUF_NAMESPACE_ID::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 (this->_internal_has_edited_by()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::edited_by(this), + _Internal::edited_by(this).GetCachedSize(), target, stream); + } + + // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentHistoryEntry.revision"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_revision(), target); + } + + // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; + if (this->_internal_has_config()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::config(this), + _Internal::config(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.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 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fragment()); + } + + // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; + if (!this->_internal_revision().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_revision()); + } + + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + if (this->_internal_has_edited_on()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *edited_on_); + } + + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + if (this->_internal_has_old()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *old_); + } + + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + if (this->_internal_has_edited_by()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *edited_by_); + } + + // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; + if (this->_internal_has_config()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *config_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentHistoryEntry::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + FragmentHistoryEntry::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentHistoryEntry::GetClassData() const { return &_class_data_; } + +void FragmentHistoryEntry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void FragmentHistoryEntry::MergeFrom(const FragmentHistoryEntry& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentHistoryEntry) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_fragment().empty()) { + _internal_set_fragment(from._internal_fragment()); + } + if (!from._internal_revision().empty()) { + _internal_set_revision(from._internal_revision()); + } + if (from._internal_has_edited_on()) { + _internal_mutable_edited_on()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_edited_on()); + } + if (from._internal_has_old()) { + _internal_mutable_old()->::viam::app::v1::Fragment::MergeFrom(from._internal_old()); + } + if (from._internal_has_edited_by()) { + _internal_mutable_edited_by()->::viam::app::v1::AuthenticatorInfo::MergeFrom(from._internal_edited_by()); + } + if (from._internal_has_config()) { + _internal_mutable_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_config()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::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); +} + +bool FragmentHistoryEntry::IsInitialized() const { + return true; +} + +void FragmentHistoryEntry::InternalSwap(FragmentHistoryEntry* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &fragment_, lhs_arena, + &other->fragment_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &revision_, lhs_arena, + &other->revision_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, config_) + + sizeof(FragmentHistoryEntry::config_) + - PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, edited_on_)>( + reinterpret_cast(&edited_on_), + reinterpret_cast(&other->edited_on_)); +} + +::PROTOBUF_NAMESPACE_ID::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[115]); +} + +// =================================================================== + +class FragmentRevision::_Internal { + public: + static const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_at(const FragmentRevision* msg); +}; + +const ::PROTOBUF_NAMESPACE_ID::Timestamp& +FragmentRevision::_Internal::created_at(const FragmentRevision* msg) { + return *msg->created_at_; +} +void FragmentRevision::clear_created_at() { + if (GetArenaForAllocation() == nullptr && created_at_ != nullptr) { + delete created_at_; + } + created_at_ = nullptr; +} +FragmentRevision::FragmentRevision(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentRevision) +} +FragmentRevision::FragmentRevision(const FragmentRevision& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_revision().empty()) { + revision_.Set(from._internal_revision(), + GetArenaForAllocation()); + } + if (from._internal_has_created_at()) { + created_at_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.created_at_); + } else { + created_at_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentRevision) +} + +inline void FragmentRevision::SharedCtor() { +revision_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +created_at_ = nullptr; +} + +FragmentRevision::~FragmentRevision() { + // @@protoc_insertion_point(destructor:viam.app.v1.FragmentRevision) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void FragmentRevision::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + revision_.Destroy(); + if (this != internal_default_instance()) delete created_at_; +} + +void FragmentRevision::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void FragmentRevision::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentRevision) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + revision_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && created_at_ != nullptr) { + delete created_at_; + } + created_at_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* FragmentRevision::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string revision = 1 [json_name = "revision"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentRevision.revision")); + } else + goto handle_unusual; + continue; + // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_created_at(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* FragmentRevision::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentRevision) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string revision = 1 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentRevision.revision"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_revision(), target); + } + + // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; + if (this->_internal_has_created_at()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::created_at(this), + _Internal::created_at(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentRevision) + return target; +} + +size_t FragmentRevision::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentRevision) + 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 revision = 1 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_revision()); + } + + // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; + if (this->_internal_has_created_at()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *created_at_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentRevision::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + FragmentRevision::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentRevision::GetClassData() const { return &_class_data_; } + +void FragmentRevision::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void FragmentRevision::MergeFrom(const FragmentRevision& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentRevision) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_revision().empty()) { + _internal_set_revision(from._internal_revision()); + } + if (from._internal_has_created_at()) { + _internal_mutable_created_at()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_created_at()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void FragmentRevision::CopyFrom(const FragmentRevision& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentRevision) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FragmentRevision::IsInitialized() const { + return true; +} + +void FragmentRevision::InternalSwap(FragmentRevision* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &revision_, lhs_arena, + &other->revision_, rhs_arena + ); + swap(created_at_, other->created_at_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata FragmentRevision::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]); +} + +// =================================================================== + +class FragmentTag::_Internal { + public: +}; + +FragmentTag::FragmentTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentTag) +} +FragmentTag::FragmentTag(const FragmentTag& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_tag().empty()) { + tag_.Set(from._internal_tag(), + GetArenaForAllocation()); + } + revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_revision().empty()) { + revision_.Set(from._internal_revision(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentTag) +} + +inline void FragmentTag::SharedCtor() { +tag_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + tag_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +revision_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +FragmentTag::~FragmentTag() { + // @@protoc_insertion_point(destructor:viam.app.v1.FragmentTag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void FragmentTag::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + tag_.Destroy(); + revision_.Destroy(); +} + +void FragmentTag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void FragmentTag::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentTag) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + tag_.ClearToEmpty(); + revision_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* FragmentTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string tag = 1 [json_name = "tag"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentTag.tag")); + } else + goto handle_unusual; + continue; + // string revision = 2 [json_name = "revision"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentTag.revision")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* FragmentTag::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentTag) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string tag = 1 [json_name = "tag"]; + if (!this->_internal_tag().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentTag.tag"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_tag(), target); + } + + // string revision = 2 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentTag.revision"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_revision(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentTag) + return target; +} + +size_t FragmentTag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentTag) + 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 tag = 1 [json_name = "tag"]; + if (!this->_internal_tag().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tag()); + } + + // string revision = 2 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_revision()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentTag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + FragmentTag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentTag::GetClassData() const { return &_class_data_; } + +void FragmentTag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void FragmentTag::MergeFrom(const FragmentTag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentTag) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_tag().empty()) { + _internal_set_tag(from._internal_tag()); + } + if (!from._internal_revision().empty()) { + _internal_set_revision(from._internal_revision()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void FragmentTag::CopyFrom(const FragmentTag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentTag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FragmentTag::IsInitialized() const { + return true; +} + +void FragmentTag::InternalSwap(FragmentTag* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &tag_, lhs_arena, + &other->tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &revision_, lhs_arena, + &other->revision_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata FragmentTag::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]); +} + +// =================================================================== + +class FragmentError::_Internal { + public: +}; + +FragmentError::FragmentError(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentError) +} +FragmentError::FragmentError(const FragmentError& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + fragment_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fragment_id().empty()) { + fragment_id_.Set(from._internal_fragment_id(), + GetArenaForAllocation()); + } + detail_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + detail_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_detail().empty()) { + detail_.Set(from._internal_detail(), + GetArenaForAllocation()); + } + error_type_ = from.error_type_; + // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentError) +} + +inline void FragmentError::SharedCtor() { +fragment_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +detail_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + detail_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +error_type_ = 0; +} + +FragmentError::~FragmentError() { + // @@protoc_insertion_point(destructor:viam.app.v1.FragmentError) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void FragmentError::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + fragment_id_.Destroy(); + detail_.Destroy(); +} + +void FragmentError::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void FragmentError::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentError) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + fragment_id_.ClearToEmpty(); + detail_.ClearToEmpty(); + error_type_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* FragmentError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_error_type(static_cast<::viam::app::v1::FragmentErrorType>(val)); + } else + goto handle_unusual; + continue; + // string fragment_id = 2 [json_name = "fragmentId"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_fragment_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentError.fragment_id")); + } else + goto handle_unusual; + continue; + // string detail = 3 [json_name = "detail"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_detail(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentError.detail")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* FragmentError::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentError) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; + if (this->_internal_error_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_error_type(), target); + } + + // string fragment_id = 2 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentError.fragment_id"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_fragment_id(), target); } - // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; - if (this->_internal_has_last_updated()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *last_updated_); + // string detail = 3 [json_name = "detail"]; + if (!this->_internal_detail().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_detail().data(), static_cast(this->_internal_detail().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.FragmentError.detail"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_detail(), target); } - // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; - if (this->_internal_public_() != 0) { - total_size += 1 + 1; + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentError) + return target; +} - // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; - if (this->_internal_only_used_by_owner() != 0) { - total_size += 1 + 1; - } +size_t FragmentError::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentError) + size_t total_size = 0; - // int32 robot_part_count = 9 [json_name = "robotPartCount"]; - if (this->_internal_robot_part_count() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_robot_part_count()); + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string fragment_id = 2 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fragment_id()); } - // int32 organization_count = 10 [json_name = "organizationCount"]; - if (this->_internal_organization_count() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_organization_count()); + // string detail = 3 [json_name = "detail"]; + if (!this->_internal_detail().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_detail()); } - // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; - if (this->_internal_visibility() != 0) { + // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; + if (this->_internal_error_type() != 0) { total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_visibility()); + ::_pbi::WireFormatLite::EnumSize(this->_internal_error_type()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Fragment::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentError::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - Fragment::MergeImpl + FragmentError::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Fragment::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentError::GetClassData() const { return &_class_data_; } -void Fragment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void FragmentError::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void Fragment::MergeFrom(const Fragment& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.Fragment) +void FragmentError::MergeFrom(const FragmentError& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentError) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); - } - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } - if (!from._internal_organization_owner().empty()) { - _internal_set_organization_owner(from._internal_organization_owner()); - } - if (!from._internal_organization_name().empty()) { - _internal_set_organization_name(from._internal_organization_name()); - } - if (!from._internal_revision().empty()) { - _internal_set_revision(from._internal_revision()); - } - if (from._internal_has_fragment()) { - _internal_mutable_fragment()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_fragment()); - } - if (from._internal_has_created_on()) { - _internal_mutable_created_on()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_created_on()); - } - if (from._internal_has_last_updated()) { - _internal_mutable_last_updated()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_last_updated()); - } - if (from._internal_public_() != 0) { - _internal_set_public_(from._internal_public_()); - } - if (from._internal_only_used_by_owner() != 0) { - _internal_set_only_used_by_owner(from._internal_only_used_by_owner()); - } - if (from._internal_robot_part_count() != 0) { - _internal_set_robot_part_count(from._internal_robot_part_count()); + if (!from._internal_fragment_id().empty()) { + _internal_set_fragment_id(from._internal_fragment_id()); } - if (from._internal_organization_count() != 0) { - _internal_set_organization_count(from._internal_organization_count()); + if (!from._internal_detail().empty()) { + _internal_set_detail(from._internal_detail()); } - if (from._internal_visibility() != 0) { - _internal_set_visibility(from._internal_visibility()); + if (from._internal_error_type() != 0) { + _internal_set_error_type(from._internal_error_type()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void Fragment::CopyFrom(const Fragment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.Fragment) +void FragmentError::CopyFrom(const FragmentError& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentError) if (&from == this) return; Clear(); MergeFrom(from); } -bool Fragment::IsInitialized() const { +bool FragmentError::IsInitialized() const { return true; } -void Fragment::InternalSwap(Fragment* other) { +void FragmentError::InternalSwap(FragmentError* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &organization_owner_, lhs_arena, - &other->organization_owner_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &organization_name_, lhs_arena, - &other->organization_name_, rhs_arena + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &revision_, lhs_arena, - &other->revision_, rhs_arena + &detail_, lhs_arena, + &other->detail_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Fragment, visibility_) - + sizeof(Fragment::visibility_) - - PROTOBUF_FIELD_OFFSET(Fragment, fragment_)>( - reinterpret_cast(&fragment_), - reinterpret_cast(&other->fragment_)); + swap(error_type_, other->error_type_); } -::PROTOBUF_NAMESPACE_ID::Metadata Fragment::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata FragmentError::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[118]); } // =================================================================== -class FragmentHistoryEntry::_Internal { +class FragmentUsage::_Internal { public: - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& edited_on(const FragmentHistoryEntry* msg); - static const ::viam::app::v1::Fragment& old(const FragmentHistoryEntry* msg); - static const ::viam::app::v1::AuthenticatorInfo& edited_by(const FragmentHistoryEntry* msg); - static const ::PROTOBUF_NAMESPACE_ID::Struct& config(const FragmentHistoryEntry* msg); + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -FragmentHistoryEntry::_Internal::edited_on(const FragmentHistoryEntry* msg) { - return *msg->edited_on_; -} -const ::viam::app::v1::Fragment& -FragmentHistoryEntry::_Internal::old(const FragmentHistoryEntry* msg) { - return *msg->old_; -} -const ::viam::app::v1::AuthenticatorInfo& -FragmentHistoryEntry::_Internal::edited_by(const FragmentHistoryEntry* msg) { - return *msg->edited_by_; -} -const ::PROTOBUF_NAMESPACE_ID::Struct& -FragmentHistoryEntry::_Internal::config(const FragmentHistoryEntry* msg) { - return *msg->config_; -} -void FragmentHistoryEntry::clear_edited_on() { - if (GetArenaForAllocation() == nullptr && edited_on_ != nullptr) { - delete edited_on_; - } - edited_on_ = nullptr; -} -void FragmentHistoryEntry::clear_config() { - if (GetArenaForAllocation() == nullptr && config_ != nullptr) { - delete config_; - } - config_ = nullptr; -} -FragmentHistoryEntry::FragmentHistoryEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, +FragmentUsage::FragmentUsage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentHistoryEntry) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentUsage) } -FragmentHistoryEntry::FragmentHistoryEntry(const FragmentHistoryEntry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +FragmentUsage::FragmentUsage(const FragmentUsage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - fragment_.InitDefault(); + fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_.Set("", GetArenaForAllocation()); + fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_fragment().empty()) { - fragment_.Set(from._internal_fragment(), + if (!from._internal_fragment_id().empty()) { + fragment_id_.Set(from._internal_fragment_id(), GetArenaForAllocation()); } - revision_.InitDefault(); + version_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); + version_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_revision().empty()) { - revision_.Set(from._internal_revision(), + if (from._internal_has_version()) { + version_.Set(from._internal_version(), GetArenaForAllocation()); } - if (from._internal_has_edited_on()) { - edited_on_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.edited_on_); - } else { - edited_on_ = nullptr; - } - if (from._internal_has_old()) { - old_ = new ::viam::app::v1::Fragment(*from.old_); - } else { - old_ = nullptr; - } - if (from._internal_has_edited_by()) { - edited_by_ = new ::viam::app::v1::AuthenticatorInfo(*from.edited_by_); - } else { - edited_by_ = nullptr; - } - if (from._internal_has_config()) { - config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.config_); - } else { - config_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentHistoryEntry) + ::memcpy(&organizations_, &from.organizations_, + static_cast(reinterpret_cast(&machines_in_current_org_) - + reinterpret_cast(&organizations_)) + sizeof(machines_in_current_org_)); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentUsage) } -inline void FragmentHistoryEntry::SharedCtor() { -fragment_.InitDefault(); +inline void FragmentUsage::SharedCtor() { +fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_.Set("", GetArenaForAllocation()); + fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -revision_.InitDefault(); +version_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); + version_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING ::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&edited_on_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&config_) - - reinterpret_cast(&edited_on_)) + sizeof(config_)); + reinterpret_cast(&organizations_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&machines_in_current_org_) - + reinterpret_cast(&organizations_)) + sizeof(machines_in_current_org_)); } -FragmentHistoryEntry::~FragmentHistoryEntry() { - // @@protoc_insertion_point(destructor:viam.app.v1.FragmentHistoryEntry) +FragmentUsage::~FragmentUsage() { + // @@protoc_insertion_point(destructor:viam.app.v1.FragmentUsage) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -28605,102 +32567,82 @@ FragmentHistoryEntry::~FragmentHistoryEntry() { SharedDtor(); } -inline void FragmentHistoryEntry::SharedDtor() { +inline void FragmentUsage::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - fragment_.Destroy(); - revision_.Destroy(); - if (this != internal_default_instance()) delete edited_on_; - if (this != internal_default_instance()) delete old_; - if (this != internal_default_instance()) delete edited_by_; - if (this != internal_default_instance()) delete config_; + fragment_id_.Destroy(); + version_.Destroy(); } -void FragmentHistoryEntry::SetCachedSize(int size) const { +void FragmentUsage::SetCachedSize(int size) const { _cached_size_.Set(size); } -void FragmentHistoryEntry::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentHistoryEntry) +void FragmentUsage::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentUsage) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_.ClearToEmpty(); - revision_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && edited_on_ != nullptr) { - delete edited_on_; - } - edited_on_ = nullptr; - if (GetArenaForAllocation() == nullptr && old_ != nullptr) { - delete old_; - } - old_ = nullptr; - if (GetArenaForAllocation() == nullptr && edited_by_ != nullptr) { - delete edited_by_; - } - edited_by_ = nullptr; - if (GetArenaForAllocation() == nullptr && config_ != nullptr) { - delete config_; + fragment_id_.ClearToEmpty(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + version_.ClearNonDefaultToEmpty(); } - config_ = nullptr; + ::memset(&organizations_, 0, static_cast( + reinterpret_cast(&machines_in_current_org_) - + reinterpret_cast(&organizations_)) + sizeof(machines_in_current_org_)); + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* FragmentHistoryEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* FragmentUsage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + // string fragment_id = 1 [json_name = "fragmentId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_fragment(); + auto str = _internal_mutable_fragment_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentHistoryEntry.fragment")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentUsage.fragment_id")); } else goto handle_unusual; continue; - // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + // int32 organizations = 2 [json_name = "organizations"]; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_edited_on(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + organizations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + // int32 machines = 3 [json_name = "machines"]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_old(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + machines_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_edited_by(), ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + machines_in_current_org_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); } else goto handle_unusual; continue; - // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; + // optional string version = 5 [json_name = "version"]; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_revision(); + auto str = _internal_mutable_version(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentHistoryEntry.revision")); - } else - goto handle_unusual; - continue; - // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_config(), ptr); - CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentUsage.version")); } else goto handle_unusual; continue; @@ -28720,6 +32662,7 @@ const char* FragmentHistoryEntry::_InternalParse(const char* ptr, ::_pbi::ParseC CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -28727,225 +32670,214 @@ const char* FragmentHistoryEntry::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* FragmentHistoryEntry::_InternalSerialize( +uint8_t* FragmentUsage::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentHistoryEntry) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentUsage) 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()) { + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fragment().data(), static_cast(this->_internal_fragment().length()), + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentHistoryEntry.fragment"); + "viam.app.v1.FragmentUsage.fragment_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_fragment(), target); + 1, this->_internal_fragment_id(), target); } - // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; - if (this->_internal_has_edited_on()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::edited_on(this), - _Internal::edited_on(this).GetCachedSize(), target, stream); + // int32 organizations = 2 [json_name = "organizations"]; + if (this->_internal_organizations() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_organizations(), target); } - // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; - if (this->_internal_has_old()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::old(this), - _Internal::old(this).GetCachedSize(), target, stream); + // int32 machines = 3 [json_name = "machines"]; + if (this->_internal_machines() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_machines(), target); } - // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; - if (this->_internal_has_edited_by()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::edited_by(this), - _Internal::edited_by(this).GetCachedSize(), target, stream); + // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; + if (this->_internal_machines_in_current_org() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_machines_in_current_org(), target); } - // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; - if (!this->_internal_revision().empty()) { + // optional string version = 5 [json_name = "version"]; + if (_internal_has_version()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + this->_internal_version().data(), static_cast(this->_internal_version().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentHistoryEntry.revision"); + "viam.app.v1.FragmentUsage.version"); target = stream->WriteStringMaybeAliased( - 5, this->_internal_revision(), target); - } - - // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; - if (this->_internal_has_config()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::config(this), - _Internal::config(this).GetCachedSize(), target, stream); + 5, this->_internal_version(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentHistoryEntry) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentUsage) return target; } -size_t FragmentHistoryEntry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentHistoryEntry) +size_t FragmentUsage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentUsage) 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()) { + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fragment()); + this->_internal_fragment_id()); } - // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; - if (!this->_internal_revision().empty()) { + // optional string version = 5 [json_name = "version"]; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_revision()); - } - - // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; - if (this->_internal_has_edited_on()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *edited_on_); + this->_internal_version()); } - // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; - if (this->_internal_has_old()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *old_); + // int32 organizations = 2 [json_name = "organizations"]; + if (this->_internal_organizations() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_organizations()); } - // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; - if (this->_internal_has_edited_by()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *edited_by_); + // int32 machines = 3 [json_name = "machines"]; + if (this->_internal_machines() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_machines()); } - // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; - if (this->_internal_has_config()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *config_); + // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; + if (this->_internal_machines_in_current_org() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_machines_in_current_org()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentHistoryEntry::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentUsage::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - FragmentHistoryEntry::MergeImpl + FragmentUsage::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentHistoryEntry::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentUsage::GetClassData() const { return &_class_data_; } -void FragmentHistoryEntry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void FragmentUsage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void FragmentHistoryEntry::MergeFrom(const FragmentHistoryEntry& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentHistoryEntry) +void FragmentUsage::MergeFrom(const FragmentUsage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentUsage) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_fragment().empty()) { - _internal_set_fragment(from._internal_fragment()); - } - if (!from._internal_revision().empty()) { - _internal_set_revision(from._internal_revision()); + if (!from._internal_fragment_id().empty()) { + _internal_set_fragment_id(from._internal_fragment_id()); } - if (from._internal_has_edited_on()) { - _internal_mutable_edited_on()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_edited_on()); + if (from._internal_has_version()) { + _internal_set_version(from._internal_version()); } - if (from._internal_has_old()) { - _internal_mutable_old()->::viam::app::v1::Fragment::MergeFrom(from._internal_old()); + if (from._internal_organizations() != 0) { + _internal_set_organizations(from._internal_organizations()); } - if (from._internal_has_edited_by()) { - _internal_mutable_edited_by()->::viam::app::v1::AuthenticatorInfo::MergeFrom(from._internal_edited_by()); + if (from._internal_machines() != 0) { + _internal_set_machines(from._internal_machines()); } - if (from._internal_has_config()) { - _internal_mutable_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_config()); + if (from._internal_machines_in_current_org() != 0) { + _internal_set_machines_in_current_org(from._internal_machines_in_current_org()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void FragmentHistoryEntry::CopyFrom(const FragmentHistoryEntry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentHistoryEntry) +void FragmentUsage::CopyFrom(const FragmentUsage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentUsage) if (&from == this) return; Clear(); MergeFrom(from); } -bool FragmentHistoryEntry::IsInitialized() const { +bool FragmentUsage::IsInitialized() const { return true; } -void FragmentHistoryEntry::InternalSwap(FragmentHistoryEntry* other) { +void FragmentUsage::InternalSwap(FragmentUsage* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &fragment_, lhs_arena, - &other->fragment_, rhs_arena + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &revision_, lhs_arena, - &other->revision_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, config_) - + sizeof(FragmentHistoryEntry::config_) - - PROTOBUF_FIELD_OFFSET(FragmentHistoryEntry, edited_on_)>( - reinterpret_cast(&edited_on_), - reinterpret_cast(&other->edited_on_)); + &version_, lhs_arena, + &other->version_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(FragmentUsage, machines_in_current_org_) + + sizeof(FragmentUsage::machines_in_current_org_) + - PROTOBUF_FIELD_OFFSET(FragmentUsage, organizations_)>( + reinterpret_cast(&organizations_), + reinterpret_cast(&other->organizations_)); } -::PROTOBUF_NAMESPACE_ID::Metadata FragmentHistoryEntry::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata FragmentUsage::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[119]); } // =================================================================== -class FragmentRevision::_Internal { +class ResolvedFragment::_Internal { public: - static const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_at(const FragmentRevision* msg); + static const ::PROTOBUF_NAMESPACE_ID::Struct& resolved_config(const ResolvedFragment* msg); + static const ::viam::app::v1::FragmentError& error(const ResolvedFragment* msg); }; -const ::PROTOBUF_NAMESPACE_ID::Timestamp& -FragmentRevision::_Internal::created_at(const FragmentRevision* msg) { - return *msg->created_at_; +const ::PROTOBUF_NAMESPACE_ID::Struct& +ResolvedFragment::_Internal::resolved_config(const ResolvedFragment* msg) { + return *msg->resolved_config_; } -void FragmentRevision::clear_created_at() { - if (GetArenaForAllocation() == nullptr && created_at_ != nullptr) { - delete created_at_; +const ::viam::app::v1::FragmentError& +ResolvedFragment::_Internal::error(const ResolvedFragment* msg) { + return *msg->error_; +} +void ResolvedFragment::clear_resolved_config() { + if (GetArenaForAllocation() == nullptr && resolved_config_ != nullptr) { + delete resolved_config_; } - created_at_ = nullptr; + resolved_config_ = nullptr; } -FragmentRevision::FragmentRevision(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ResolvedFragment::ResolvedFragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentRevision) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ResolvedFragment) } -FragmentRevision::FragmentRevision(const FragmentRevision& from) +ResolvedFragment::ResolvedFragment(const ResolvedFragment& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + fragment_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fragment_id().empty()) { + fragment_id_.Set(from._internal_fragment_id(), + GetArenaForAllocation()); + } revision_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING revision_.Set("", GetArenaForAllocation()); @@ -28954,24 +32886,36 @@ FragmentRevision::FragmentRevision(const FragmentRevision& from) revision_.Set(from._internal_revision(), GetArenaForAllocation()); } - if (from._internal_has_created_at()) { - created_at_ = new ::PROTOBUF_NAMESPACE_ID::Timestamp(*from.created_at_); + if (from._internal_has_resolved_config()) { + resolved_config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.resolved_config_); } else { - created_at_ = nullptr; + resolved_config_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentRevision) + if (from._internal_has_error()) { + error_ = new ::viam::app::v1::FragmentError(*from.error_); + } else { + error_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ResolvedFragment) } -inline void FragmentRevision::SharedCtor() { +inline void ResolvedFragment::SharedCtor() { +fragment_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING revision_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING revision_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -created_at_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&resolved_config_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&error_) - + reinterpret_cast(&resolved_config_)) + sizeof(error_)); } -FragmentRevision::~FragmentRevision() { - // @@protoc_insertion_point(destructor:viam.app.v1.FragmentRevision) +ResolvedFragment::~ResolvedFragment() { + // @@protoc_insertion_point(destructor:viam.app.v1.ResolvedFragment) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -28979,51 +32923,76 @@ FragmentRevision::~FragmentRevision() { SharedDtor(); } -inline void FragmentRevision::SharedDtor() { +inline void ResolvedFragment::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + fragment_id_.Destroy(); revision_.Destroy(); - if (this != internal_default_instance()) delete created_at_; + if (this != internal_default_instance()) delete resolved_config_; + if (this != internal_default_instance()) delete error_; } -void FragmentRevision::SetCachedSize(int size) const { +void ResolvedFragment::SetCachedSize(int size) const { _cached_size_.Set(size); } -void FragmentRevision::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentRevision) +void ResolvedFragment::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ResolvedFragment) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + fragment_id_.ClearToEmpty(); revision_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && created_at_ != nullptr) { - delete created_at_; + if (GetArenaForAllocation() == nullptr && resolved_config_ != nullptr) { + delete resolved_config_; } - created_at_ = nullptr; + resolved_config_ = nullptr; + if (GetArenaForAllocation() == nullptr && error_ != nullptr) { + delete error_; + } + error_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* FragmentRevision::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ResolvedFragment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string revision = 1 [json_name = "revision"]; + // string fragment_id = 1 [json_name = "fragmentId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_revision(); + auto str = _internal_mutable_fragment_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentRevision.revision")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ResolvedFragment.fragment_id")); } else goto handle_unusual; continue; - // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; + // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_created_at(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_resolved_config(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_error(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string revision = 4 [json_name = "revision"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ResolvedFragment.revision")); } else goto handle_unusual; continue; @@ -29050,166 +33019,204 @@ const char* FragmentRevision::_InternalParse(const char* ptr, ::_pbi::ParseConte #undef CHK_ } -uint8_t* FragmentRevision::_InternalSerialize( +uint8_t* ResolvedFragment::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentRevision) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ResolvedFragment) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string revision = 1 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentRevision.revision"); + "viam.app.v1.ResolvedFragment.fragment_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_revision(), target); + 1, this->_internal_fragment_id(), target); } - // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; - if (this->_internal_has_created_at()) { + // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; + if (this->_internal_has_resolved_config()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::created_at(this), - _Internal::created_at(this).GetCachedSize(), target, stream); + InternalWriteMessage(2, _Internal::resolved_config(this), + _Internal::resolved_config(this).GetCachedSize(), target, stream); + } + + // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; + if (this->_internal_has_error()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::error(this), + _Internal::error(this).GetCachedSize(), target, stream); + } + + // string revision = 4 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.ResolvedFragment.revision"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_revision(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentRevision) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ResolvedFragment) return target; } -size_t FragmentRevision::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentRevision) +size_t ResolvedFragment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ResolvedFragment) 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 revision = 1 [json_name = "revision"]; + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fragment_id()); + } + + // string revision = 4 [json_name = "revision"]; if (!this->_internal_revision().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_revision()); } - // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; - if (this->_internal_has_created_at()) { + // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; + if (this->_internal_has_resolved_config()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *created_at_); + *resolved_config_); + } + + // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; + if (this->_internal_has_error()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *error_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentRevision::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ResolvedFragment::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - FragmentRevision::MergeImpl + ResolvedFragment::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentRevision::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ResolvedFragment::GetClassData() const { return &_class_data_; } -void FragmentRevision::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ResolvedFragment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void FragmentRevision::MergeFrom(const FragmentRevision& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentRevision) +void ResolvedFragment::MergeFrom(const ResolvedFragment& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ResolvedFragment) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; + if (!from._internal_fragment_id().empty()) { + _internal_set_fragment_id(from._internal_fragment_id()); + } if (!from._internal_revision().empty()) { _internal_set_revision(from._internal_revision()); } - if (from._internal_has_created_at()) { - _internal_mutable_created_at()->::PROTOBUF_NAMESPACE_ID::Timestamp::MergeFrom(from._internal_created_at()); + if (from._internal_has_resolved_config()) { + _internal_mutable_resolved_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_resolved_config()); + } + if (from._internal_has_error()) { + _internal_mutable_error()->::viam::app::v1::FragmentError::MergeFrom(from._internal_error()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void FragmentRevision::CopyFrom(const FragmentRevision& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentRevision) +void ResolvedFragment::CopyFrom(const ResolvedFragment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ResolvedFragment) if (&from == this) return; Clear(); MergeFrom(from); } -bool FragmentRevision::IsInitialized() const { +bool ResolvedFragment::IsInitialized() const { return true; } -void FragmentRevision::InternalSwap(FragmentRevision* other) { +void ResolvedFragment::InternalSwap(ResolvedFragment* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &revision_, lhs_arena, &other->revision_, rhs_arena ); - swap(created_at_, other->created_at_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ResolvedFragment, error_) + + sizeof(ResolvedFragment::error_) + - PROTOBUF_FIELD_OFFSET(ResolvedFragment, resolved_config_)>( + reinterpret_cast(&resolved_config_), + reinterpret_cast(&other->resolved_config_)); } -::PROTOBUF_NAMESPACE_ID::Metadata FragmentRevision::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ResolvedFragment::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[120]); } // =================================================================== -class FragmentTag::_Internal { +class ListFragmentsRequest::_Internal { public: }; -FragmentTag::FragmentTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListFragmentsRequest::ListFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + fragment_visibility_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentTag) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListFragmentsRequest) } -FragmentTag::FragmentTag(const FragmentTag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +ListFragmentsRequest::ListFragmentsRequest(const ListFragmentsRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + fragment_visibility_(from.fragment_visibility_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_tag().empty()) { - tag_.Set(from._internal_tag(), - GetArenaForAllocation()); - } - revision_.InitDefault(); + organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); + organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_revision().empty()) { - revision_.Set(from._internal_revision(), + if (!from._internal_organization_id().empty()) { + organization_id_.Set(from._internal_organization_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentTag) + show_public_ = from.show_public_; + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListFragmentsRequest) } -inline void FragmentTag::SharedCtor() { -tag_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - tag_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -revision_.InitDefault(); +inline void ListFragmentsRequest::SharedCtor() { +organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); + organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +show_public_ = false; } -FragmentTag::~FragmentTag() { - // @@protoc_insertion_point(destructor:viam.app.v1.FragmentTag) +ListFragmentsRequest::~ListFragmentsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListFragmentsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -29217,50 +33224,60 @@ FragmentTag::~FragmentTag() { SharedDtor(); } -inline void FragmentTag::SharedDtor() { +inline void ListFragmentsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - tag_.Destroy(); - revision_.Destroy(); + organization_id_.Destroy(); } -void FragmentTag::SetCachedSize(int size) const { +void ListFragmentsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void FragmentTag::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentTag) +void ListFragmentsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListFragmentsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - tag_.ClearToEmpty(); - revision_.ClearToEmpty(); + fragment_visibility_.Clear(); + organization_id_.ClearToEmpty(); + show_public_ = false; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* FragmentTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string tag = 1 [json_name = "tag"]; + // string organization_id = 1 [json_name = "organizationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_tag(); + auto str = _internal_mutable_organization_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentTag.tag")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListFragmentsRequest.organization_id")); } else goto handle_unusual; continue; - // string revision = 2 [json_name = "revision"]; + // bool show_public = 2 [json_name = "showPublic"]; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_revision(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + show_public_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentTag.revision")); + } else + goto handle_unusual; + continue; + // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_fragment_visibility(), ptr, ctx); + CHK_(ptr); + } else if (static_cast(tag) == 24) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_add_fragment_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); } else goto handle_unusual; continue; @@ -29287,174 +33304,171 @@ const char* FragmentTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* c #undef CHK_ } -uint8_t* FragmentTag::_InternalSerialize( +uint8_t* ListFragmentsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentTag) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListFragmentsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string tag = 1 [json_name = "tag"]; - if (!this->_internal_tag().empty()) { + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentTag.tag"); + "viam.app.v1.ListFragmentsRequest.organization_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_tag(), target); + 1, this->_internal_organization_id(), target); } - // string revision = 2 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_revision().data(), static_cast(this->_internal_revision().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentTag.revision"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_revision(), target); + // bool show_public = 2 [json_name = "showPublic"]; + if (this->_internal_show_public() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_show_public(), target); + } + + // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; + { + int byte_size = _fragment_visibility_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteEnumPacked( + 3, fragment_visibility_, byte_size, target); + } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentTag) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListFragmentsRequest) return target; } -size_t FragmentTag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentTag) +size_t ListFragmentsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListFragmentsRequest) 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 tag = 1 [json_name = "tag"]; - if (!this->_internal_tag().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tag()); + // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; + { + size_t data_size = 0; + unsigned int count = static_cast(this->_internal_fragment_visibility_size());for (unsigned int i = 0; i < count; i++) { + data_size += ::_pbi::WireFormatLite::EnumSize( + this->_internal_fragment_visibility(static_cast(i))); + } + if (data_size > 0) { + total_size += 1 + + ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); + } + int cached_size = ::_pbi::ToCachedSize(data_size); + _fragment_visibility_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; } - // string revision = 2 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { + // string organization_id = 1 [json_name = "organizationId"]; + if (!this->_internal_organization_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_revision()); + this->_internal_organization_id()); + } + + // bool show_public = 2 [json_name = "showPublic"]; + if (this->_internal_show_public() != 0) { + total_size += 1 + 1; } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentTag::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListFragmentsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - FragmentTag::MergeImpl + ListFragmentsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentTag::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListFragmentsRequest::GetClassData() const { return &_class_data_; } -void FragmentTag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListFragmentsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void FragmentTag::MergeFrom(const FragmentTag& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentTag) +void ListFragmentsRequest::MergeFrom(const ListFragmentsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListFragmentsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_tag().empty()) { - _internal_set_tag(from._internal_tag()); + fragment_visibility_.MergeFrom(from.fragment_visibility_); + if (!from._internal_organization_id().empty()) { + _internal_set_organization_id(from._internal_organization_id()); } - if (!from._internal_revision().empty()) { - _internal_set_revision(from._internal_revision()); + if (from._internal_show_public() != 0) { + _internal_set_show_public(from._internal_show_public()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void FragmentTag::CopyFrom(const FragmentTag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentTag) +void ListFragmentsRequest::CopyFrom(const ListFragmentsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListFragmentsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool FragmentTag::IsInitialized() const { +bool ListFragmentsRequest::IsInitialized() const { return true; } -void FragmentTag::InternalSwap(FragmentTag* other) { +void ListFragmentsRequest::InternalSwap(ListFragmentsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + fragment_visibility_.InternalSwap(&other->fragment_visibility_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &tag_, lhs_arena, - &other->tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &revision_, lhs_arena, - &other->revision_, rhs_arena + &organization_id_, lhs_arena, + &other->organization_id_, rhs_arena ); + swap(show_public_, other->show_public_); } -::PROTOBUF_NAMESPACE_ID::Metadata FragmentTag::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[99]); + file_level_metadata_app_2fv1_2fapp_2eproto[121]); } // =================================================================== -class FragmentError::_Internal { +class ListFragmentsResponse::_Internal { public: }; -FragmentError::FragmentError(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListFragmentsResponse::ListFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + fragments_(arena), + fragment_usages_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentError) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListFragmentsResponse) } -FragmentError::FragmentError(const FragmentError& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +ListFragmentsResponse::ListFragmentsResponse(const ListFragmentsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + fragments_(from.fragments_), + fragment_usages_(from.fragment_usages_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - fragment_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_fragment_id().empty()) { - fragment_id_.Set(from._internal_fragment_id(), - GetArenaForAllocation()); - } - detail_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - detail_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_detail().empty()) { - detail_.Set(from._internal_detail(), - GetArenaForAllocation()); - } - error_type_ = from.error_type_; - // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentError) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListFragmentsResponse) } -inline void FragmentError::SharedCtor() { -fragment_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -detail_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - detail_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -error_type_ = 0; +inline void ListFragmentsResponse::SharedCtor() { } -FragmentError::~FragmentError() { - // @@protoc_insertion_point(destructor:viam.app.v1.FragmentError) +ListFragmentsResponse::~ListFragmentsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListFragmentsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -29462,60 +33476,54 @@ FragmentError::~FragmentError() { SharedDtor(); } -inline void FragmentError::SharedDtor() { +inline void ListFragmentsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - fragment_id_.Destroy(); - detail_.Destroy(); } -void FragmentError::SetCachedSize(int size) const { +void ListFragmentsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void FragmentError::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentError) +void ListFragmentsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListFragmentsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_id_.ClearToEmpty(); - detail_.ClearToEmpty(); - error_type_ = 0; + fragments_.Clear(); + fragment_usages_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* FragmentError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListFragmentsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_error_type(static_cast<::viam::app::v1::FragmentErrorType>(val)); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_fragments(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; - // string fragment_id = 2 [json_name = "fragmentId"]; + // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_fragment_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentError.fragment_id")); - } else - goto handle_unusual; - continue; - // string detail = 3 [json_name = "detail"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_detail(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentError.detail")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_fragment_usages(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); } else goto handle_unusual; continue; @@ -29542,168 +33550,143 @@ const char* FragmentError::_InternalParse(const char* ptr, ::_pbi::ParseContext* #undef CHK_ } -uint8_t* FragmentError::_InternalSerialize( +uint8_t* ListFragmentsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentError) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListFragmentsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; - if (this->_internal_error_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_error_type(), target); - } - - // string fragment_id = 2 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentError.fragment_id"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_fragment_id(), target); + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + for (unsigned i = 0, + n = static_cast(this->_internal_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_fragments(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } - // string detail = 3 [json_name = "detail"]; - if (!this->_internal_detail().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_detail().data(), static_cast(this->_internal_detail().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentError.detail"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_detail(), target); + // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; + for (unsigned i = 0, + n = static_cast(this->_internal_fragment_usages_size()); i < n; i++) { + const auto& repfield = this->_internal_fragment_usages(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentError) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListFragmentsResponse) return target; } -size_t FragmentError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentError) +size_t ListFragmentsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListFragmentsResponse) 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_id = 2 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fragment_id()); - } - - // string detail = 3 [json_name = "detail"]; - if (!this->_internal_detail().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_detail()); + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + total_size += 1UL * this->_internal_fragments_size(); + for (const auto& msg : this->fragments_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; - if (this->_internal_error_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_error_type()); + // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; + total_size += 1UL * this->_internal_fragment_usages_size(); + for (const auto& msg : this->fragment_usages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentError::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListFragmentsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - FragmentError::MergeImpl + ListFragmentsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentError::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListFragmentsResponse::GetClassData() const { return &_class_data_; } -void FragmentError::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListFragmentsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void FragmentError::MergeFrom(const FragmentError& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentError) +void ListFragmentsResponse::MergeFrom(const ListFragmentsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListFragmentsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_fragment_id().empty()) { - _internal_set_fragment_id(from._internal_fragment_id()); - } - if (!from._internal_detail().empty()) { - _internal_set_detail(from._internal_detail()); - } - if (from._internal_error_type() != 0) { - _internal_set_error_type(from._internal_error_type()); - } + fragments_.MergeFrom(from.fragments_); + fragment_usages_.MergeFrom(from.fragment_usages_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void FragmentError::CopyFrom(const FragmentError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentError) +void ListFragmentsResponse::CopyFrom(const ListFragmentsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListFragmentsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool FragmentError::IsInitialized() const { +bool ListFragmentsResponse::IsInitialized() const { return true; } -void FragmentError::InternalSwap(FragmentError* other) { +void ListFragmentsResponse::InternalSwap(ListFragmentsResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &fragment_id_, lhs_arena, - &other->fragment_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &detail_, lhs_arena, - &other->detail_, rhs_arena - ); - swap(error_type_, other->error_type_); + fragments_.InternalSwap(&other->fragments_); + fragment_usages_.InternalSwap(&other->fragment_usages_); } -::PROTOBUF_NAMESPACE_ID::Metadata FragmentError::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[100]); + file_level_metadata_app_2fv1_2fapp_2eproto[122]); } // =================================================================== -class FragmentUsage::_Internal { +class GetFragmentRequest::_Internal { public: - using HasBits = decltype(std::declval()._has_bits_); + using HasBits = decltype(std::declval()._has_bits_); static void set_has_version(HasBits* has_bits) { (*has_bits)[0] |= 1u; } }; -FragmentUsage::FragmentUsage(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetFragmentRequest::GetFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.FragmentUsage) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentRequest) } -FragmentUsage::FragmentUsage(const FragmentUsage& from) +GetFragmentRequest::GetFragmentRequest(const GetFragmentRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - fragment_id_.InitDefault(); + id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_fragment_id().empty()) { - fragment_id_.Set(from._internal_fragment_id(), + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); + } + current_organization_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + current_organization_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_current_organization_id().empty()) { + current_organization_id_.Set(from._internal_current_organization_id(), GetArenaForAllocation()); } version_.InitDefault(); @@ -29714,29 +33697,26 @@ FragmentUsage::FragmentUsage(const FragmentUsage& from) version_.Set(from._internal_version(), GetArenaForAllocation()); } - ::memcpy(&organizations_, &from.organizations_, - static_cast(reinterpret_cast(&machines_in_current_org_) - - reinterpret_cast(&organizations_)) + sizeof(machines_in_current_org_)); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.FragmentUsage) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentRequest) } -inline void FragmentUsage::SharedCtor() { -fragment_id_.InitDefault(); +inline void GetFragmentRequest::SharedCtor() { +id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +current_organization_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + current_organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING version_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING version_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&organizations_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&machines_in_current_org_) - - reinterpret_cast(&organizations_)) + sizeof(machines_in_current_org_)); } -FragmentUsage::~FragmentUsage() { - // @@protoc_insertion_point(destructor:viam.app.v1.FragmentUsage) +GetFragmentRequest::~GetFragmentRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -29744,82 +33724,67 @@ FragmentUsage::~FragmentUsage() { SharedDtor(); } -inline void FragmentUsage::SharedDtor() { +inline void GetFragmentRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - fragment_id_.Destroy(); + id_.Destroy(); + current_organization_id_.Destroy(); version_.Destroy(); } -void FragmentUsage::SetCachedSize(int size) const { +void GetFragmentRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void FragmentUsage::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.FragmentUsage) +void GetFragmentRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_id_.ClearToEmpty(); + id_.ClearToEmpty(); + current_organization_id_.ClearToEmpty(); cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { version_.ClearNonDefaultToEmpty(); } - ::memset(&organizations_, 0, static_cast( - reinterpret_cast(&machines_in_current_org_) - - reinterpret_cast(&organizations_)) + sizeof(machines_in_current_org_)); _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* FragmentUsage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string fragment_id = 1 [json_name = "fragmentId"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_fragment_id(); + auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentUsage.fragment_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentRequest.id")); } else goto handle_unusual; continue; - // int32 organizations = 2 [json_name = "organizations"]; + // string current_organization_id = 2 [json_name = "currentOrganizationId"]; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - organizations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_current_organization_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentRequest.current_organization_id")); } else goto handle_unusual; continue; - // int32 machines = 3 [json_name = "machines"]; + // optional string version = 3 [json_name = "version"]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - machines_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - machines_in_current_org_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string version = 5 [json_name = "version"]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { auto str = _internal_mutable_version(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.FragmentUsage.version")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentRequest.version")); } else goto handle_unusual; continue; @@ -29847,74 +33812,73 @@ const char* FragmentUsage::_InternalParse(const char* ptr, ::_pbi::ParseContext* #undef CHK_ } -uint8_t* FragmentUsage::_InternalSerialize( +uint8_t* GetFragmentRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.FragmentUsage) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string fragment_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), + this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentUsage.fragment_id"); + "viam.app.v1.GetFragmentRequest.id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_fragment_id(), target); - } - - // int32 organizations = 2 [json_name = "organizations"]; - if (this->_internal_organizations() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_organizations(), target); - } - - // int32 machines = 3 [json_name = "machines"]; - if (this->_internal_machines() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_machines(), target); + 1, this->_internal_id(), target); } - // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; - if (this->_internal_machines_in_current_org() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_machines_in_current_org(), target); + // string current_organization_id = 2 [json_name = "currentOrganizationId"]; + if (!this->_internal_current_organization_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_current_organization_id().data(), static_cast(this->_internal_current_organization_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetFragmentRequest.current_organization_id"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_current_organization_id(), target); } - // optional string version = 5 [json_name = "version"]; + // optional string version = 3 [json_name = "version"]; if (_internal_has_version()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_version().data(), static_cast(this->_internal_version().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.FragmentUsage.version"); + "viam.app.v1.GetFragmentRequest.version"); target = stream->WriteStringMaybeAliased( - 5, this->_internal_version(), target); + 3, this->_internal_version(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.FragmentUsage) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentRequest) return target; } -size_t FragmentUsage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.FragmentUsage) +size_t GetFragmentRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentRequest) 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_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fragment_id()); + this->_internal_id()); } - // optional string version = 5 [json_name = "version"]; + // string current_organization_id = 2 [json_name = "currentOrganizationId"]; + if (!this->_internal_current_organization_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_current_organization_id()); + } + + // optional string version = 3 [json_name = "version"]; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + @@ -29922,165 +33886,128 @@ size_t FragmentUsage::ByteSizeLong() const { this->_internal_version()); } - // int32 organizations = 2 [json_name = "organizations"]; - if (this->_internal_organizations() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_organizations()); - } - - // int32 machines = 3 [json_name = "machines"]; - if (this->_internal_machines() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_machines()); - } - - // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; - if (this->_internal_machines_in_current_org() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_machines_in_current_org()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FragmentUsage::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - FragmentUsage::MergeImpl + GetFragmentRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FragmentUsage::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentRequest::GetClassData() const { return &_class_data_; } -void FragmentUsage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void FragmentUsage::MergeFrom(const FragmentUsage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.FragmentUsage) +void GetFragmentRequest::MergeFrom(const GetFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_fragment_id().empty()) { - _internal_set_fragment_id(from._internal_fragment_id()); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + if (!from._internal_current_organization_id().empty()) { + _internal_set_current_organization_id(from._internal_current_organization_id()); } if (from._internal_has_version()) { _internal_set_version(from._internal_version()); } - if (from._internal_organizations() != 0) { - _internal_set_organizations(from._internal_organizations()); - } - if (from._internal_machines() != 0) { - _internal_set_machines(from._internal_machines()); - } - if (from._internal_machines_in_current_org() != 0) { - _internal_set_machines_in_current_org(from._internal_machines_in_current_org()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void FragmentUsage::CopyFrom(const FragmentUsage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.FragmentUsage) +void GetFragmentRequest::CopyFrom(const GetFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool FragmentUsage::IsInitialized() const { +bool GetFragmentRequest::IsInitialized() const { return true; } -void FragmentUsage::InternalSwap(FragmentUsage* other) { +void GetFragmentRequest::InternalSwap(GetFragmentRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &fragment_id_, lhs_arena, - &other->fragment_id_, rhs_arena + &id_, lhs_arena, + &other->id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + ¤t_organization_id_, lhs_arena, + &other->current_organization_id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &version_, lhs_arena, &other->version_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(FragmentUsage, machines_in_current_org_) - + sizeof(FragmentUsage::machines_in_current_org_) - - PROTOBUF_FIELD_OFFSET(FragmentUsage, organizations_)>( - reinterpret_cast(&organizations_), - reinterpret_cast(&other->organizations_)); } -::PROTOBUF_NAMESPACE_ID::Metadata FragmentUsage::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[101]); + file_level_metadata_app_2fv1_2fapp_2eproto[123]); } // =================================================================== -class ResolvedFragment::_Internal { +class GetFragmentResponse::_Internal { public: - static const ::PROTOBUF_NAMESPACE_ID::Struct& resolved_config(const ResolvedFragment* msg); - static const ::viam::app::v1::FragmentError& error(const ResolvedFragment* msg); + static const ::viam::app::v1::Fragment& fragment(const GetFragmentResponse* msg); + static const ::viam::app::v1::FragmentUsage& fragment_usage(const GetFragmentResponse* msg); }; -const ::PROTOBUF_NAMESPACE_ID::Struct& -ResolvedFragment::_Internal::resolved_config(const ResolvedFragment* msg) { - return *msg->resolved_config_; -} -const ::viam::app::v1::FragmentError& -ResolvedFragment::_Internal::error(const ResolvedFragment* msg) { - return *msg->error_; +const ::viam::app::v1::Fragment& +GetFragmentResponse::_Internal::fragment(const GetFragmentResponse* msg) { + return *msg->fragment_; } -void ResolvedFragment::clear_resolved_config() { - if (GetArenaForAllocation() == nullptr && resolved_config_ != nullptr) { - delete resolved_config_; - } - resolved_config_ = nullptr; +const ::viam::app::v1::FragmentUsage& +GetFragmentResponse::_Internal::fragment_usage(const GetFragmentResponse* msg) { + return *msg->fragment_usage_; } -ResolvedFragment::ResolvedFragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetFragmentResponse::GetFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + revisions_(arena), + tags_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ResolvedFragment) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentResponse) } -ResolvedFragment::ResolvedFragment(const ResolvedFragment& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +GetFragmentResponse::GetFragmentResponse(const GetFragmentResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + revisions_(from.revisions_), + tags_(from.tags_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - fragment_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_fragment_id().empty()) { - fragment_id_.Set(from._internal_fragment_id(), - GetArenaForAllocation()); - } - if (from._internal_has_resolved_config()) { - resolved_config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.resolved_config_); + if (from._internal_has_fragment()) { + fragment_ = new ::viam::app::v1::Fragment(*from.fragment_); } else { - resolved_config_ = nullptr; + fragment_ = nullptr; } - if (from._internal_has_error()) { - error_ = new ::viam::app::v1::FragmentError(*from.error_); + if (from._internal_has_fragment_usage()) { + fragment_usage_ = new ::viam::app::v1::FragmentUsage(*from.fragment_usage_); } else { - error_ = nullptr; + fragment_usage_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ResolvedFragment) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentResponse) } -inline void ResolvedFragment::SharedCtor() { -fragment_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void GetFragmentResponse::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&resolved_config_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&error_) - - reinterpret_cast(&resolved_config_)) + sizeof(error_)); + reinterpret_cast(&fragment_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&fragment_usage_) - + reinterpret_cast(&fragment_)) + sizeof(fragment_usage_)); } -ResolvedFragment::~ResolvedFragment() { - // @@protoc_insertion_point(destructor:viam.app.v1.ResolvedFragment) +GetFragmentResponse::~GetFragmentResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -30088,64 +34015,80 @@ ResolvedFragment::~ResolvedFragment() { SharedDtor(); } -inline void ResolvedFragment::SharedDtor() { +inline void GetFragmentResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - fragment_id_.Destroy(); - if (this != internal_default_instance()) delete resolved_config_; - if (this != internal_default_instance()) delete error_; + if (this != internal_default_instance()) delete fragment_; + if (this != internal_default_instance()) delete fragment_usage_; } -void ResolvedFragment::SetCachedSize(int size) const { +void GetFragmentResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ResolvedFragment::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ResolvedFragment) +void GetFragmentResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_id_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && resolved_config_ != nullptr) { - delete resolved_config_; + revisions_.Clear(); + tags_.Clear(); + if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { + delete fragment_; } - resolved_config_ = nullptr; - if (GetArenaForAllocation() == nullptr && error_ != nullptr) { - delete error_; + fragment_ = nullptr; + if (GetArenaForAllocation() == nullptr && fragment_usage_ != nullptr) { + delete fragment_usage_; } - error_ = nullptr; + fragment_usage_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ResolvedFragment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string fragment_id = 1 [json_name = "fragmentId"]; + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_fragment_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_mutable_fragment(), ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ResolvedFragment.fragment_id")); } else goto handle_unusual; continue; - // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; + // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_resolved_config(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_fragment_usage(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; + // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_error(), ptr); - CHK_(ptr); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_revisions(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_tags(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); } else goto handle_unusual; continue; @@ -30172,158 +34115,188 @@ const char* ResolvedFragment::_InternalParse(const char* ptr, ::_pbi::ParseConte #undef CHK_ } -uint8_t* ResolvedFragment::_InternalSerialize( +uint8_t* GetFragmentResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ResolvedFragment) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string fragment_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ResolvedFragment.fragment_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_fragment_id(), target); + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + if (this->_internal_has_fragment()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::fragment(this), + _Internal::fragment(this).GetCachedSize(), target, stream); } - // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; - if (this->_internal_has_resolved_config()) { + // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; + if (this->_internal_has_fragment_usage()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::resolved_config(this), - _Internal::resolved_config(this).GetCachedSize(), target, stream); + InternalWriteMessage(2, _Internal::fragment_usage(this), + _Internal::fragment_usage(this).GetCachedSize(), target, stream); } - // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; - if (this->_internal_has_error()) { + // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; + for (unsigned i = 0, + n = static_cast(this->_internal_revisions_size()); i < n; i++) { + const auto& repfield = this->_internal_revisions(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::error(this), - _Internal::error(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; + for (unsigned i = 0, + n = static_cast(this->_internal_tags_size()); i < n; i++) { + const auto& repfield = this->_internal_tags(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ResolvedFragment) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentResponse) return target; } -size_t ResolvedFragment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ResolvedFragment) +size_t GetFragmentResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentResponse) 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_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fragment_id()); + // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; + total_size += 1UL * this->_internal_revisions_size(); + for (const auto& msg : this->revisions_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; - if (this->_internal_has_resolved_config()) { + // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; + total_size += 1UL * this->_internal_tags_size(); + for (const auto& msg : this->tags_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + if (this->_internal_has_fragment()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *resolved_config_); + *fragment_); } - // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; - if (this->_internal_has_error()) { + // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; + if (this->_internal_has_fragment_usage()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *error_); + *fragment_usage_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ResolvedFragment::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ResolvedFragment::MergeImpl + GetFragmentResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ResolvedFragment::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentResponse::GetClassData() const { return &_class_data_; } -void ResolvedFragment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetFragmentResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ResolvedFragment::MergeFrom(const ResolvedFragment& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ResolvedFragment) +void GetFragmentResponse::MergeFrom(const GetFragmentResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_fragment_id().empty()) { - _internal_set_fragment_id(from._internal_fragment_id()); - } - if (from._internal_has_resolved_config()) { - _internal_mutable_resolved_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_resolved_config()); + revisions_.MergeFrom(from.revisions_); + tags_.MergeFrom(from.tags_); + if (from._internal_has_fragment()) { + _internal_mutable_fragment()->::viam::app::v1::Fragment::MergeFrom(from._internal_fragment()); } - if (from._internal_has_error()) { - _internal_mutable_error()->::viam::app::v1::FragmentError::MergeFrom(from._internal_error()); + if (from._internal_has_fragment_usage()) { + _internal_mutable_fragment_usage()->::viam::app::v1::FragmentUsage::MergeFrom(from._internal_fragment_usage()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ResolvedFragment::CopyFrom(const ResolvedFragment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ResolvedFragment) +void GetFragmentResponse::CopyFrom(const GetFragmentResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool ResolvedFragment::IsInitialized() const { +bool GetFragmentResponse::IsInitialized() const { return true; } -void ResolvedFragment::InternalSwap(ResolvedFragment* other) { +void GetFragmentResponse::InternalSwap(GetFragmentResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &fragment_id_, lhs_arena, - &other->fragment_id_, rhs_arena - ); + revisions_.InternalSwap(&other->revisions_); + tags_.InternalSwap(&other->tags_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ResolvedFragment, error_) - + sizeof(ResolvedFragment::error_) - - PROTOBUF_FIELD_OFFSET(ResolvedFragment, resolved_config_)>( - reinterpret_cast(&resolved_config_), - reinterpret_cast(&other->resolved_config_)); + PROTOBUF_FIELD_OFFSET(GetFragmentResponse, fragment_usage_) + + sizeof(GetFragmentResponse::fragment_usage_) + - PROTOBUF_FIELD_OFFSET(GetFragmentResponse, fragment_)>( + reinterpret_cast(&fragment_), + reinterpret_cast(&other->fragment_)); } -::PROTOBUF_NAMESPACE_ID::Metadata ResolvedFragment::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[102]); + file_level_metadata_app_2fv1_2fapp_2eproto[124]); } // =================================================================== -class ListFragmentsRequest::_Internal { +class CreateFragmentRequest::_Internal { public: + using HasBits = decltype(std::declval()._has_bits_); + static const ::PROTOBUF_NAMESPACE_ID::Struct& config(const CreateFragmentRequest* msg); + static void set_has_visibility(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; -ListFragmentsRequest::ListFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::PROTOBUF_NAMESPACE_ID::Struct& +CreateFragmentRequest::_Internal::config(const CreateFragmentRequest* msg) { + return *msg->config_; +} +void CreateFragmentRequest::clear_config() { + if (GetArenaForAllocation() == nullptr && config_ != nullptr) { + delete config_; + } + config_ = nullptr; +} +CreateFragmentRequest::CreateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - fragment_visibility_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListFragmentsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateFragmentRequest) } -ListFragmentsRequest::ListFragmentsRequest(const ListFragmentsRequest& from) +CreateFragmentRequest::CreateFragmentRequest(const CreateFragmentRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - fragment_visibility_(from.fragment_visibility_) { + _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), + GetArenaForAllocation()); + } organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING organization_id_.Set("", GetArenaForAllocation()); @@ -30332,20 +34305,32 @@ ListFragmentsRequest::ListFragmentsRequest(const ListFragmentsRequest& from) organization_id_.Set(from._internal_organization_id(), GetArenaForAllocation()); } - show_public_ = from.show_public_; - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListFragmentsRequest) + if (from._internal_has_config()) { + config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.config_); + } else { + config_ = nullptr; + } + visibility_ = from.visibility_; + // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateFragmentRequest) } -inline void ListFragmentsRequest::SharedCtor() { +inline void CreateFragmentRequest::SharedCtor() { +name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING organization_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING organization_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -show_public_ = false; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&config_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&visibility_) - + reinterpret_cast(&config_)) + sizeof(visibility_)); } -ListFragmentsRequest::~ListFragmentsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListFragmentsRequest) +CreateFragmentRequest::~CreateFragmentRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.CreateFragmentRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -30353,60 +34338,75 @@ ListFragmentsRequest::~ListFragmentsRequest() { SharedDtor(); } -inline void ListFragmentsRequest::SharedDtor() { +inline void CreateFragmentRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + name_.Destroy(); organization_id_.Destroy(); + if (this != internal_default_instance()) delete config_; } -void ListFragmentsRequest::SetCachedSize(int size) const { +void CreateFragmentRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListFragmentsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListFragmentsRequest) +void CreateFragmentRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateFragmentRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_visibility_.Clear(); + name_.ClearToEmpty(); organization_id_.ClearToEmpty(); - show_public_ = false; + if (GetArenaForAllocation() == nullptr && config_ != nullptr) { + delete config_; + } + config_ = nullptr; + visibility_ = 0; + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* CreateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string organization_id = 1 [json_name = "organizationId"]; + // string name = 1 [json_name = "name"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_organization_id(); + auto str = _internal_mutable_name(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListFragmentsRequest.organization_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.CreateFragmentRequest.name")); } else goto handle_unusual; continue; - // bool show_public = 2 [json_name = "showPublic"]; + // .google.protobuf.Struct config = 2 [json_name = "config"]; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - show_public_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_config(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; + // string organization_id = 3 [json_name = "organizationId"]; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_fragment_visibility(), ptr, ctx); + auto str = _internal_mutable_organization_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else if (static_cast(tag) == 24) { + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.CreateFragmentRequest.organization_id")); + } else + goto handle_unusual; + continue; + // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - _internal_add_fragment_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); + _internal_set_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); } else goto handle_unusual; continue; @@ -30426,6 +34426,7 @@ const char* ListFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseC CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -30433,171 +34434,200 @@ const char* ListFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseC #undef CHK_ } -uint8_t* ListFragmentsRequest::_InternalSerialize( +uint8_t* CreateFragmentRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListFragmentsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateFragmentRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string organization_id = 1 [json_name = "organizationId"]; + // string name = 1 [json_name = "name"]; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.CreateFragmentRequest.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // .google.protobuf.Struct config = 2 [json_name = "config"]; + if (this->_internal_has_config()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::config(this), + _Internal::config(this).GetCachedSize(), target, stream); + } + + // string organization_id = 3 [json_name = "organizationId"]; if (!this->_internal_organization_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ListFragmentsRequest.organization_id"); + "viam.app.v1.CreateFragmentRequest.organization_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_organization_id(), target); + 3, this->_internal_organization_id(), target); } - // bool show_public = 2 [json_name = "showPublic"]; - if (this->_internal_show_public() != 0) { + // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; + if (_internal_has_visibility()) { target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_show_public(), target); - } - - // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; - { - int byte_size = _fragment_visibility_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteEnumPacked( - 3, fragment_visibility_, byte_size, target); - } + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 4, this->_internal_visibility(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListFragmentsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateFragmentRequest) return target; } -size_t ListFragmentsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListFragmentsRequest) +size_t CreateFragmentRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateFragmentRequest) 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.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_fragment_visibility_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_fragment_visibility(static_cast(i))); - } - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _fragment_visibility_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; + // string name = 1 [json_name = "name"]; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } - // string organization_id = 1 [json_name = "organizationId"]; + // string organization_id = 3 [json_name = "organizationId"]; if (!this->_internal_organization_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_organization_id()); } - // bool show_public = 2 [json_name = "showPublic"]; - if (this->_internal_show_public() != 0) { - total_size += 1 + 1; + // .google.protobuf.Struct config = 2 [json_name = "config"]; + if (this->_internal_has_config()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *config_); + } + + // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_visibility()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListFragmentsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateFragmentRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListFragmentsRequest::MergeImpl + CreateFragmentRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListFragmentsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateFragmentRequest::GetClassData() const { return &_class_data_; } -void ListFragmentsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListFragmentsRequest::MergeFrom(const ListFragmentsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListFragmentsRequest) +void CreateFragmentRequest::MergeFrom(const CreateFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateFragmentRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - fragment_visibility_.MergeFrom(from.fragment_visibility_); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } if (!from._internal_organization_id().empty()) { _internal_set_organization_id(from._internal_organization_id()); } - if (from._internal_show_public() != 0) { - _internal_set_show_public(from._internal_show_public()); + if (from._internal_has_config()) { + _internal_mutable_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_config()); + } + if (from._internal_has_visibility()) { + _internal_set_visibility(from._internal_visibility()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListFragmentsRequest::CopyFrom(const ListFragmentsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListFragmentsRequest) +void CreateFragmentRequest::CopyFrom(const CreateFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateFragmentRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListFragmentsRequest::IsInitialized() const { +bool CreateFragmentRequest::IsInitialized() const { return true; } -void ListFragmentsRequest::InternalSwap(ListFragmentsRequest* other) { +void CreateFragmentRequest::InternalSwap(CreateFragmentRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - fragment_visibility_.InternalSwap(&other->fragment_visibility_); + swap(_has_bits_[0], other->_has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &name_, lhs_arena, + &other->name_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &organization_id_, lhs_arena, &other->organization_id_, rhs_arena ); - swap(show_public_, other->show_public_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateFragmentRequest, visibility_) + + sizeof(CreateFragmentRequest::visibility_) + - PROTOBUF_FIELD_OFFSET(CreateFragmentRequest, config_)>( + reinterpret_cast(&config_), + reinterpret_cast(&other->config_)); } -::PROTOBUF_NAMESPACE_ID::Metadata ListFragmentsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[103]); + file_level_metadata_app_2fv1_2fapp_2eproto[125]); } // =================================================================== -class ListFragmentsResponse::_Internal { +class CreateFragmentResponse::_Internal { public: + static const ::viam::app::v1::Fragment& fragment(const CreateFragmentResponse* msg); }; -ListFragmentsResponse::ListFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::viam::app::v1::Fragment& +CreateFragmentResponse::_Internal::fragment(const CreateFragmentResponse* msg) { + return *msg->fragment_; +} +CreateFragmentResponse::CreateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - fragments_(arena), - fragment_usages_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListFragmentsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateFragmentResponse) } -ListFragmentsResponse::ListFragmentsResponse(const ListFragmentsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - fragments_(from.fragments_), - fragment_usages_(from.fragment_usages_) { +CreateFragmentResponse::CreateFragmentResponse(const CreateFragmentResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListFragmentsResponse) + if (from._internal_has_fragment()) { + fragment_ = new ::viam::app::v1::Fragment(*from.fragment_); + } else { + fragment_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateFragmentResponse) } -inline void ListFragmentsResponse::SharedCtor() { +inline void CreateFragmentResponse::SharedCtor() { +fragment_ = nullptr; } -ListFragmentsResponse::~ListFragmentsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListFragmentsResponse) +CreateFragmentResponse::~CreateFragmentResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.CreateFragmentResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -30605,54 +34635,39 @@ ListFragmentsResponse::~ListFragmentsResponse() { SharedDtor(); } -inline void ListFragmentsResponse::SharedDtor() { +inline void CreateFragmentResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete fragment_; } -void ListFragmentsResponse::SetCachedSize(int size) const { +void CreateFragmentResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListFragmentsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListFragmentsResponse) +void CreateFragmentResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateFragmentResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragments_.Clear(); - fragment_usages_.Clear(); + if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { + delete fragment_; + } + fragment_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListFragmentsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* CreateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_fragments(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_fragment_usages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + ptr = ctx->ParseMessage(_internal_mutable_fragment(), ptr); + CHK_(ptr); } else goto handle_unusual; continue; @@ -30677,128 +34692,126 @@ const char* ListFragmentsResponse::_InternalParse(const char* ptr, ::_pbi::Parse ptr = nullptr; goto message_done; #undef CHK_ -} - -uint8_t* ListFragmentsResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListFragmentsResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; - for (unsigned i = 0, - n = static_cast(this->_internal_fragments_size()); i < n; i++) { - const auto& repfield = this->_internal_fragments(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } +} - // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; - for (unsigned i = 0, - n = static_cast(this->_internal_fragment_usages_size()); i < n; i++) { - const auto& repfield = this->_internal_fragment_usages(i); +uint8_t* CreateFragmentResponse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateFragmentResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + if (this->_internal_has_fragment()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + InternalWriteMessage(1, _Internal::fragment(this), + _Internal::fragment(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListFragmentsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateFragmentResponse) return target; } -size_t ListFragmentsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListFragmentsResponse) +size_t CreateFragmentResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateFragmentResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; - total_size += 1UL * this->_internal_fragments_size(); - for (const auto& msg : this->fragments_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; - total_size += 1UL * this->_internal_fragment_usages_size(); - for (const auto& msg : this->fragment_usages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + if (this->_internal_has_fragment()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *fragment_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListFragmentsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateFragmentResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListFragmentsResponse::MergeImpl + CreateFragmentResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListFragmentsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateFragmentResponse::GetClassData() const { return &_class_data_; } -void ListFragmentsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateFragmentResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListFragmentsResponse::MergeFrom(const ListFragmentsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListFragmentsResponse) +void CreateFragmentResponse::MergeFrom(const CreateFragmentResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateFragmentResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - fragments_.MergeFrom(from.fragments_); - fragment_usages_.MergeFrom(from.fragment_usages_); + if (from._internal_has_fragment()) { + _internal_mutable_fragment()->::viam::app::v1::Fragment::MergeFrom(from._internal_fragment()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListFragmentsResponse::CopyFrom(const ListFragmentsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListFragmentsResponse) +void CreateFragmentResponse::CopyFrom(const CreateFragmentResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateFragmentResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListFragmentsResponse::IsInitialized() const { +bool CreateFragmentResponse::IsInitialized() const { return true; } -void ListFragmentsResponse::InternalSwap(ListFragmentsResponse* other) { +void CreateFragmentResponse::InternalSwap(CreateFragmentResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - fragments_.InternalSwap(&other->fragments_); - fragment_usages_.InternalSwap(&other->fragment_usages_); + swap(fragment_, other->fragment_); } -::PROTOBUF_NAMESPACE_ID::Metadata ListFragmentsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[104]); + file_level_metadata_app_2fv1_2fapp_2eproto[126]); } // =================================================================== -class GetFragmentRequest::_Internal { +class UpdateFragmentRequest::_Internal { public: - using HasBits = decltype(std::declval()._has_bits_); - static void set_has_version(HasBits* has_bits) { + using HasBits = decltype(std::declval()._has_bits_); + static const ::PROTOBUF_NAMESPACE_ID::Struct& config(const UpdateFragmentRequest* msg); + static void set_has_public_(HasBits* has_bits) { (*has_bits)[0] |= 1u; } + static void set_has_visibility(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } }; -GetFragmentRequest::GetFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::PROTOBUF_NAMESPACE_ID::Struct& +UpdateFragmentRequest::_Internal::config(const UpdateFragmentRequest* msg) { + return *msg->config_; +} +void UpdateFragmentRequest::clear_config() { + if (GetArenaForAllocation() == nullptr && config_ != nullptr) { + delete config_; + } + config_ = nullptr; +} +UpdateFragmentRequest::UpdateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateFragmentRequest) } -GetFragmentRequest::GetFragmentRequest(const GetFragmentRequest& from) +UpdateFragmentRequest::UpdateFragmentRequest(const UpdateFragmentRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -30810,42 +34823,42 @@ GetFragmentRequest::GetFragmentRequest(const GetFragmentRequest& from) id_.Set(from._internal_id(), GetArenaForAllocation()); } - current_organization_id_.InitDefault(); + name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - current_organization_id_.Set("", GetArenaForAllocation()); + name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_current_organization_id().empty()) { - current_organization_id_.Set(from._internal_current_organization_id(), + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), GetArenaForAllocation()); } - version_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - version_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_version()) { - version_.Set(from._internal_version(), - GetArenaForAllocation()); + if (from._internal_has_config()) { + config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.config_); + } else { + config_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentRequest) + ::memcpy(&public__, &from.public__, + static_cast(reinterpret_cast(&visibility_) - + reinterpret_cast(&public__)) + sizeof(visibility_)); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateFragmentRequest) } -inline void GetFragmentRequest::SharedCtor() { +inline void UpdateFragmentRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -current_organization_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - current_organization_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -version_.InitDefault(); +name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - version_.Set("", GetArenaForAllocation()); + name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&config_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&visibility_) - + reinterpret_cast(&config_)) + sizeof(visibility_)); } -GetFragmentRequest::~GetFragmentRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentRequest) +UpdateFragmentRequest::~UpdateFragmentRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateFragmentRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -30853,34 +34866,40 @@ GetFragmentRequest::~GetFragmentRequest() { SharedDtor(); } -inline void GetFragmentRequest::SharedDtor() { +inline void UpdateFragmentRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); - current_organization_id_.Destroy(); - version_.Destroy(); + name_.Destroy(); + if (this != internal_default_instance()) delete config_; } -void GetFragmentRequest::SetCachedSize(int size) const { +void UpdateFragmentRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetFragmentRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentRequest) +void UpdateFragmentRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateFragmentRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; id_.ClearToEmpty(); - current_organization_id_.ClearToEmpty(); + name_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && config_ != nullptr) { + delete config_; + } + config_ = nullptr; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - version_.ClearNonDefaultToEmpty(); + if (cached_has_bits & 0x00000003u) { + ::memset(&public__, 0, static_cast( + reinterpret_cast(&visibility_) - + reinterpret_cast(&public__)) + sizeof(visibility_)); } _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { @@ -30893,27 +34912,43 @@ const char* GetFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentRequest.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateFragmentRequest.id")); } else goto handle_unusual; continue; - // string current_organization_id = 2 [json_name = "currentOrganizationId"]; + // string name = 2 [json_name = "name"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_current_organization_id(); + auto str = _internal_mutable_name(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentRequest.current_organization_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateFragmentRequest.name")); } else goto handle_unusual; continue; - // optional string version = 3 [json_name = "version"]; + // .google.protobuf.Struct config = 3 [json_name = "config"]; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_version(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_mutable_config(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional bool public = 4 [json_name = "public"]; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _Internal::set_has_public_(&has_bits); + public__ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentRequest.version")); + } else + goto handle_unusual; + continue; + // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); } else goto handle_unusual; continue; @@ -30941,9 +34976,9 @@ const char* GetFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon #undef CHK_ } -uint8_t* GetFragmentRequest::_InternalSerialize( +uint8_t* UpdateFragmentRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateFragmentRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -30952,41 +34987,51 @@ uint8_t* GetFragmentRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentRequest.id"); + "viam.app.v1.UpdateFragmentRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } - // string current_organization_id = 2 [json_name = "currentOrganizationId"]; - if (!this->_internal_current_organization_id().empty()) { + // string name = 2 [json_name = "name"]; + if (!this->_internal_name().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_current_organization_id().data(), static_cast(this->_internal_current_organization_id().length()), + this->_internal_name().data(), static_cast(this->_internal_name().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentRequest.current_organization_id"); + "viam.app.v1.UpdateFragmentRequest.name"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_current_organization_id(), target); + 2, this->_internal_name(), target); } - // optional string version = 3 [json_name = "version"]; - if (_internal_has_version()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_version().data(), static_cast(this->_internal_version().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentRequest.version"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_version(), target); + // .google.protobuf.Struct config = 3 [json_name = "config"]; + if (this->_internal_has_config()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::config(this), + _Internal::config(this).GetCachedSize(), target, stream); + } + + // optional bool public = 4 [json_name = "public"]; + if (_internal_has_public_()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_public_(), target); + } + + // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; + if (_internal_has_visibility()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 5, this->_internal_visibility(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateFragmentRequest) return target; } -size_t GetFragmentRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentRequest) +size_t UpdateFragmentRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateFragmentRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -31000,39 +35045,52 @@ size_t GetFragmentRequest::ByteSizeLong() const { this->_internal_id()); } - // string current_organization_id = 2 [json_name = "currentOrganizationId"]; - if (!this->_internal_current_organization_id().empty()) { + // string name = 2 [json_name = "name"]; + if (!this->_internal_name().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_current_organization_id()); + this->_internal_name()); } - // optional string version = 3 [json_name = "version"]; - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { + // .google.protobuf.Struct config = 3 [json_name = "config"]; + if (this->_internal_has_config()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *config_); } + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional bool public = 4 [json_name = "public"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + 1; + } + + // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_visibility()); + } + + } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateFragmentRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetFragmentRequest::MergeImpl + UpdateFragmentRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateFragmentRequest::GetClassData() const { return &_class_data_; } -void GetFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetFragmentRequest::MergeFrom(const GetFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentRequest) +void UpdateFragmentRequest::MergeFrom(const UpdateFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateFragmentRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -31040,27 +35098,37 @@ void GetFragmentRequest::MergeFrom(const GetFragmentRequest& from) { if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } - if (!from._internal_current_organization_id().empty()) { - _internal_set_current_organization_id(from._internal_current_organization_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); } - if (from._internal_has_version()) { - _internal_set_version(from._internal_version()); + if (from._internal_has_config()) { + _internal_mutable_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_config()); + } + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + public__ = from.public__; + } + if (cached_has_bits & 0x00000002u) { + visibility_ = from.visibility_; + } + _has_bits_[0] |= cached_has_bits; } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetFragmentRequest::CopyFrom(const GetFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentRequest) +void UpdateFragmentRequest::CopyFrom(const UpdateFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateFragmentRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetFragmentRequest::IsInitialized() const { +bool UpdateFragmentRequest::IsInitialized() const { return true; } -void GetFragmentRequest::InternalSwap(GetFragmentRequest* other) { +void UpdateFragmentRequest::InternalSwap(UpdateFragmentRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -31071,72 +35139,57 @@ void GetFragmentRequest::InternalSwap(GetFragmentRequest* other) { &other->id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - ¤t_organization_id_, lhs_arena, - &other->current_organization_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &version_, lhs_arena, - &other->version_, rhs_arena + &name_, lhs_arena, + &other->name_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateFragmentRequest, visibility_) + + sizeof(UpdateFragmentRequest::visibility_) + - PROTOBUF_FIELD_OFFSET(UpdateFragmentRequest, config_)>( + reinterpret_cast(&config_), + reinterpret_cast(&other->config_)); } -::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[105]); + file_level_metadata_app_2fv1_2fapp_2eproto[127]); } // =================================================================== -class GetFragmentResponse::_Internal { +class UpdateFragmentResponse::_Internal { public: - static const ::viam::app::v1::Fragment& fragment(const GetFragmentResponse* msg); - static const ::viam::app::v1::FragmentUsage& fragment_usage(const GetFragmentResponse* msg); + static const ::viam::app::v1::Fragment& fragment(const UpdateFragmentResponse* msg); }; const ::viam::app::v1::Fragment& -GetFragmentResponse::_Internal::fragment(const GetFragmentResponse* msg) { +UpdateFragmentResponse::_Internal::fragment(const UpdateFragmentResponse* msg) { return *msg->fragment_; } -const ::viam::app::v1::FragmentUsage& -GetFragmentResponse::_Internal::fragment_usage(const GetFragmentResponse* msg) { - return *msg->fragment_usage_; -} -GetFragmentResponse::GetFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateFragmentResponse::UpdateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - revisions_(arena), - tags_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateFragmentResponse) } -GetFragmentResponse::GetFragmentResponse(const GetFragmentResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - revisions_(from.revisions_), - tags_(from.tags_) { +UpdateFragmentResponse::UpdateFragmentResponse(const UpdateFragmentResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_fragment()) { fragment_ = new ::viam::app::v1::Fragment(*from.fragment_); } else { fragment_ = nullptr; } - if (from._internal_has_fragment_usage()) { - fragment_usage_ = new ::viam::app::v1::FragmentUsage(*from.fragment_usage_); - } else { - fragment_usage_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateFragmentResponse) } -inline void GetFragmentResponse::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&fragment_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&fragment_usage_) - - reinterpret_cast(&fragment_)) + sizeof(fragment_usage_)); +inline void UpdateFragmentResponse::SharedCtor() { +fragment_ = nullptr; } -GetFragmentResponse::~GetFragmentResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentResponse) +UpdateFragmentResponse::~UpdateFragmentResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateFragmentResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -31144,36 +35197,29 @@ GetFragmentResponse::~GetFragmentResponse() { SharedDtor(); } -inline void GetFragmentResponse::SharedDtor() { +inline void UpdateFragmentResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete fragment_; - if (this != internal_default_instance()) delete fragment_usage_; } -void GetFragmentResponse::SetCachedSize(int size) const { +void UpdateFragmentResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetFragmentResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentResponse) +void UpdateFragmentResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateFragmentResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - revisions_.Clear(); - tags_.Clear(); if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { delete fragment_; } fragment_ = nullptr; - if (GetArenaForAllocation() == nullptr && fragment_usage_ != nullptr) { - delete fragment_usage_; - } - fragment_usage_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -31187,40 +35233,6 @@ const char* GetFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseCo } else goto handle_unusual; continue; - // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_fragment_usage(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_revisions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tags(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; default: goto handle_unusual; } // switch @@ -31244,9 +35256,9 @@ const char* GetFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -uint8_t* GetFragmentResponse::_InternalSerialize( +uint8_t* UpdateFragmentResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateFragmentResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -31257,59 +35269,22 @@ uint8_t* GetFragmentResponse::_InternalSerialize( _Internal::fragment(this).GetCachedSize(), target, stream); } - // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; - if (this->_internal_has_fragment_usage()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::fragment_usage(this), - _Internal::fragment_usage(this).GetCachedSize(), target, stream); - } - - // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; - for (unsigned i = 0, - n = static_cast(this->_internal_revisions_size()); i < n; i++) { - const auto& repfield = this->_internal_revisions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; - for (unsigned i = 0, - n = static_cast(this->_internal_tags_size()); i < n; i++) { - const auto& repfield = this->_internal_tags(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateFragmentResponse) return target; } -size_t GetFragmentResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentResponse) +size_t UpdateFragmentResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateFragmentResponse) 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.FragmentRevision revisions = 3 [json_name = "revisions"]; - total_size += 1UL * this->_internal_revisions_size(); - for (const auto& msg : this->revisions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; - total_size += 1UL * this->_internal_tags_size(); - for (const auto& msg : this->tags_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; if (this->_internal_has_fragment()) { total_size += 1 + @@ -31317,149 +35292,92 @@ size_t GetFragmentResponse::ByteSizeLong() const { *fragment_); } - // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; - if (this->_internal_has_fragment_usage()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *fragment_usage_); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateFragmentResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetFragmentResponse::MergeImpl + UpdateFragmentResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateFragmentResponse::GetClassData() const { return &_class_data_; } -void GetFragmentResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateFragmentResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetFragmentResponse::MergeFrom(const GetFragmentResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentResponse) +void UpdateFragmentResponse::MergeFrom(const UpdateFragmentResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateFragmentResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - revisions_.MergeFrom(from.revisions_); - tags_.MergeFrom(from.tags_); if (from._internal_has_fragment()) { _internal_mutable_fragment()->::viam::app::v1::Fragment::MergeFrom(from._internal_fragment()); } - if (from._internal_has_fragment_usage()) { - _internal_mutable_fragment_usage()->::viam::app::v1::FragmentUsage::MergeFrom(from._internal_fragment_usage()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetFragmentResponse::CopyFrom(const GetFragmentResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentResponse) +void UpdateFragmentResponse::CopyFrom(const UpdateFragmentResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateFragmentResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetFragmentResponse::IsInitialized() const { +bool UpdateFragmentResponse::IsInitialized() const { return true; } -void GetFragmentResponse::InternalSwap(GetFragmentResponse* other) { +void UpdateFragmentResponse::InternalSwap(UpdateFragmentResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - revisions_.InternalSwap(&other->revisions_); - tags_.InternalSwap(&other->tags_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetFragmentResponse, fragment_usage_) - + sizeof(GetFragmentResponse::fragment_usage_) - - PROTOBUF_FIELD_OFFSET(GetFragmentResponse, fragment_)>( - reinterpret_cast(&fragment_), - reinterpret_cast(&other->fragment_)); + swap(fragment_, other->fragment_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[106]); + file_level_metadata_app_2fv1_2fapp_2eproto[128]); } // =================================================================== -class CreateFragmentRequest::_Internal { +class DeleteFragmentRequest::_Internal { public: - using HasBits = decltype(std::declval()._has_bits_); - static const ::PROTOBUF_NAMESPACE_ID::Struct& config(const CreateFragmentRequest* msg); - static void set_has_visibility(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } }; -const ::PROTOBUF_NAMESPACE_ID::Struct& -CreateFragmentRequest::_Internal::config(const CreateFragmentRequest* msg) { - return *msg->config_; -} -void CreateFragmentRequest::clear_config() { - if (GetArenaForAllocation() == nullptr && config_ != nullptr) { - delete config_; - } - config_ = nullptr; -} -CreateFragmentRequest::CreateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteFragmentRequest::DeleteFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateFragmentRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentRequest) } -CreateFragmentRequest::CreateFragmentRequest(const CreateFragmentRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { +DeleteFragmentRequest::DeleteFragmentRequest(const DeleteFragmentRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), - GetArenaForAllocation()); - } - organization_id_.InitDefault(); + id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_organization_id().empty()) { - organization_id_.Set(from._internal_organization_id(), + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), GetArenaForAllocation()); } - if (from._internal_has_config()) { - config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.config_); - } else { - config_ = nullptr; - } - visibility_ = from.visibility_; - // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateFragmentRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentRequest) } -inline void CreateFragmentRequest::SharedCtor() { -name_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -organization_id_.InitDefault(); +inline void DeleteFragmentRequest::SharedCtor() { +id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - organization_id_.Set("", GetArenaForAllocation()); + id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&config_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&visibility_) - - reinterpret_cast(&config_)) + sizeof(visibility_)); } -CreateFragmentRequest::~CreateFragmentRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.CreateFragmentRequest) +DeleteFragmentRequest::~DeleteFragmentRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.DeleteFragmentRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -31467,75 +35385,38 @@ CreateFragmentRequest::~CreateFragmentRequest() { SharedDtor(); } -inline void CreateFragmentRequest::SharedDtor() { +inline void DeleteFragmentRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - name_.Destroy(); - organization_id_.Destroy(); - if (this != internal_default_instance()) delete config_; + id_.Destroy(); } -void CreateFragmentRequest::SetCachedSize(int size) const { +void DeleteFragmentRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void CreateFragmentRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateFragmentRequest) +void DeleteFragmentRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteFragmentRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - name_.ClearToEmpty(); - organization_id_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && config_ != nullptr) { - delete config_; - } - config_ = nullptr; - visibility_ = 0; - _has_bits_.Clear(); + id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* CreateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DeleteFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string name = 1 [json_name = "name"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.CreateFragmentRequest.name")); - } else - goto handle_unusual; - continue; - // .google.protobuf.Struct config = 2 [json_name = "config"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_config(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string organization_id = 3 [json_name = "organizationId"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_organization_id(); + auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.CreateFragmentRequest.organization_id")); - } else - goto handle_unusual; - continue; - // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteFragmentRequest.id")); } else goto handle_unusual; continue; @@ -31555,7 +35436,6 @@ const char* CreateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::Parse CHK_(ptr != nullptr); } // while message_done: - _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -31563,200 +35443,197 @@ const char* CreateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::Parse #undef CHK_ } -uint8_t* CreateFragmentRequest::_InternalSerialize( +uint8_t* DeleteFragmentRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteFragmentRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1 [json_name = "name"]; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.CreateFragmentRequest.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // .google.protobuf.Struct config = 2 [json_name = "config"]; - if (this->_internal_has_config()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::config(this), - _Internal::config(this).GetCachedSize(), target, stream); - } - - // string organization_id = 3 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_organization_id().data(), static_cast(this->_internal_organization_id().length()), + this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.CreateFragmentRequest.organization_id"); + "viam.app.v1.DeleteFragmentRequest.id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_organization_id(), target); - } - - // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; - if (_internal_has_visibility()) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_visibility(), target); + 1, this->_internal_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteFragmentRequest) return target; } -size_t CreateFragmentRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateFragmentRequest) +size_t DeleteFragmentRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteFragmentRequest) 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 name = 1 [json_name = "name"]; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string organization_id = 3 [json_name = "organizationId"]; - if (!this->_internal_organization_id().empty()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_organization_id()); - } - - // .google.protobuf.Struct config = 2 [json_name = "config"]; - if (this->_internal_has_config()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *config_); - } - - // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_visibility()); + this->_internal_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateFragmentRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - CreateFragmentRequest::MergeImpl + DeleteFragmentRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateFragmentRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentRequest::GetClassData() const { return &_class_data_; } -void CreateFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void CreateFragmentRequest::MergeFrom(const CreateFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateFragmentRequest) +void DeleteFragmentRequest::MergeFrom(const DeleteFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteFragmentRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } - if (!from._internal_organization_id().empty()) { - _internal_set_organization_id(from._internal_organization_id()); - } - if (from._internal_has_config()) { - _internal_mutable_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_config()); - } - if (from._internal_has_visibility()) { - _internal_set_visibility(from._internal_visibility()); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void CreateFragmentRequest::CopyFrom(const CreateFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateFragmentRequest) +void DeleteFragmentRequest::CopyFrom(const DeleteFragmentRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteFragmentRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool CreateFragmentRequest::IsInitialized() const { +bool DeleteFragmentRequest::IsInitialized() const { return true; } -void CreateFragmentRequest::InternalSwap(CreateFragmentRequest* other) { +void DeleteFragmentRequest::InternalSwap(DeleteFragmentRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena - ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &organization_id_, lhs_arena, - &other->organization_id_, rhs_arena + &id_, lhs_arena, + &other->id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CreateFragmentRequest, visibility_) - + sizeof(CreateFragmentRequest::visibility_) - - PROTOBUF_FIELD_OFFSET(CreateFragmentRequest, config_)>( - reinterpret_cast(&config_), - reinterpret_cast(&other->config_)); } -::PROTOBUF_NAMESPACE_ID::Metadata CreateFragmentRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[107]); + file_level_metadata_app_2fv1_2fapp_2eproto[129]); } // =================================================================== -class CreateFragmentResponse::_Internal { +class DeleteFragmentResponse::_Internal { public: - static const ::viam::app::v1::Fragment& fragment(const CreateFragmentResponse* msg); }; -const ::viam::app::v1::Fragment& -CreateFragmentResponse::_Internal::fragment(const CreateFragmentResponse* msg) { - return *msg->fragment_; +DeleteFragmentResponse::DeleteFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentResponse) } -CreateFragmentResponse::CreateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteFragmentResponse::DeleteFragmentResponse(const DeleteFragmentResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::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[130]); +} + +// =================================================================== + +class GetFragmentHistoryRequest::_Internal { + public: + using HasBits = decltype(std::declval()._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(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.CreateFragmentResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentHistoryRequest) } -CreateFragmentResponse::CreateFragmentResponse(const CreateFragmentResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +GetFragmentHistoryRequest::GetFragmentHistoryRequest(const GetFragmentHistoryRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_fragment()) { - fragment_ = new ::viam::app::v1::Fragment(*from.fragment_); - } else { - fragment_ = nullptr; + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.CreateFragmentResponse) + page_token_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_page_token()) { + page_token_.Set(from._internal_page_token(), + GetArenaForAllocation()); + } + page_limit_ = from.page_limit_; + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentHistoryRequest) } -inline void CreateFragmentResponse::SharedCtor() { -fragment_ = nullptr; +inline void GetFragmentHistoryRequest::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +page_token_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +page_limit_ = int64_t{0}; } -CreateFragmentResponse::~CreateFragmentResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.CreateFragmentResponse) +GetFragmentHistoryRequest::~GetFragmentHistoryRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentHistoryRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -31764,38 +35641,64 @@ CreateFragmentResponse::~CreateFragmentResponse() { SharedDtor(); } -inline void CreateFragmentResponse::SharedDtor() { +inline void GetFragmentHistoryRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete fragment_; + id_.Destroy(); + page_token_.Destroy(); } -void CreateFragmentResponse::SetCachedSize(int size) const { +void GetFragmentHistoryRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void CreateFragmentResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.CreateFragmentResponse) +void GetFragmentHistoryRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentHistoryRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { - delete fragment_; + id_.ClearToEmpty(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + page_token_.ClearNonDefaultToEmpty(); } - fragment_ = nullptr; + page_limit_ = int64_t{0}; + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* CreateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetFragmentHistoryRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_fragment(), ptr); + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentHistoryRequest.id")); + } else + goto handle_unusual; + continue; + // optional string page_token = 2 [json_name = "pageToken"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_page_token(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentHistoryRequest.page_token")); + } else + goto handle_unusual; + continue; + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_page_limit(&has_bits); + page_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; @@ -31816,6 +35719,7 @@ const char* CreateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::Pars CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -31823,171 +35727,185 @@ const char* CreateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* CreateFragmentResponse::_InternalSerialize( +uint8_t* GetFragmentHistoryRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.CreateFragmentResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentHistoryRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - if (this->_internal_has_fragment()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::fragment(this), - _Internal::fragment(this).GetCachedSize(), target, stream); + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetFragmentHistoryRequest.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // optional string page_token = 2 [json_name = "pageToken"]; + if (_internal_has_page_token()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetFragmentHistoryRequest.page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_page_token(), target); + } + + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + if (_internal_has_page_limit()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_page_limit(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.CreateFragmentResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentHistoryRequest) return target; } -size_t CreateFragmentResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.CreateFragmentResponse) +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; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - if (this->_internal_has_fragment()) { + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *fragment_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); } + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // optional string page_token = 2 [json_name = "pageToken"]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::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, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateFragmentResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentHistoryRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - CreateFragmentResponse::MergeImpl + GetFragmentHistoryRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateFragmentResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentHistoryRequest::GetClassData() const { return &_class_data_; } -void CreateFragmentResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetFragmentHistoryRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void CreateFragmentResponse::MergeFrom(const CreateFragmentResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.CreateFragmentResponse) +void GetFragmentHistoryRequest::MergeFrom(const GetFragmentHistoryRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentHistoryRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_fragment()) { - _internal_mutable_fragment()->::viam::app::v1::Fragment::MergeFrom(from._internal_fragment()); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_page_token(from._internal_page_token()); + } + if (cached_has_bits & 0x00000002u) { + page_limit_ = from.page_limit_; + } + _has_bits_[0] |= cached_has_bits; } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void CreateFragmentResponse::CopyFrom(const CreateFragmentResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.CreateFragmentResponse) +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); } -bool CreateFragmentResponse::IsInitialized() const { +bool GetFragmentHistoryRequest::IsInitialized() const { return true; } -void CreateFragmentResponse::InternalSwap(CreateFragmentResponse* other) { +void GetFragmentHistoryRequest::InternalSwap(GetFragmentHistoryRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(fragment_, other->fragment_); + swap(_has_bits_[0], other->_has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &page_token_, lhs_arena, + &other->page_token_, rhs_arena + ); + swap(page_limit_, other->page_limit_); } -::PROTOBUF_NAMESPACE_ID::Metadata CreateFragmentResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[108]); + file_level_metadata_app_2fv1_2fapp_2eproto[131]); } // =================================================================== -class UpdateFragmentRequest::_Internal { +class GetFragmentHistoryResponse::_Internal { public: - using HasBits = decltype(std::declval()._has_bits_); - static const ::PROTOBUF_NAMESPACE_ID::Struct& config(const UpdateFragmentRequest* msg); - static void set_has_public_(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_visibility(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } }; -const ::PROTOBUF_NAMESPACE_ID::Struct& -UpdateFragmentRequest::_Internal::config(const UpdateFragmentRequest* msg) { - return *msg->config_; -} -void UpdateFragmentRequest::clear_config() { - if (GetArenaForAllocation() == nullptr && config_ != nullptr) { - delete config_; - } - config_ = nullptr; -} -UpdateFragmentRequest::UpdateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetFragmentHistoryResponse::GetFragmentHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + history_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateFragmentRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentHistoryResponse) } -UpdateFragmentRequest::UpdateFragmentRequest(const UpdateFragmentRequest& from) +GetFragmentHistoryResponse::GetFragmentHistoryResponse(const GetFragmentHistoryResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { + history_(from.history_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), - GetArenaForAllocation()); - } - name_.InitDefault(); + next_page_token_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); + next_page_token_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), + if (!from._internal_next_page_token().empty()) { + next_page_token_.Set(from._internal_next_page_token(), GetArenaForAllocation()); } - if (from._internal_has_config()) { - config_ = new ::PROTOBUF_NAMESPACE_ID::Struct(*from.config_); - } else { - config_ = nullptr; - } - ::memcpy(&public__, &from.public__, - static_cast(reinterpret_cast(&visibility_) - - reinterpret_cast(&public__)) + sizeof(visibility_)); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateFragmentRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentHistoryResponse) } -inline void UpdateFragmentRequest::SharedCtor() { -id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -name_.InitDefault(); +inline void GetFragmentHistoryResponse::SharedCtor() { +next_page_token_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); + next_page_token_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&config_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&visibility_) - - reinterpret_cast(&config_)) + sizeof(visibility_)); } -UpdateFragmentRequest::~UpdateFragmentRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.UpdateFragmentRequest) +GetFragmentHistoryResponse::~GetFragmentHistoryResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentHistoryResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -31995,89 +35913,52 @@ UpdateFragmentRequest::~UpdateFragmentRequest() { SharedDtor(); } -inline void UpdateFragmentRequest::SharedDtor() { +inline void GetFragmentHistoryResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); - name_.Destroy(); - if (this != internal_default_instance()) delete config_; + next_page_token_.Destroy(); } -void UpdateFragmentRequest::SetCachedSize(int size) const { +void GetFragmentHistoryResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UpdateFragmentRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateFragmentRequest) +void GetFragmentHistoryResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentHistoryResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmpty(); - name_.ClearToEmpty(); - if (GetArenaForAllocation() == nullptr && config_ != nullptr) { - delete config_; - } - config_ = nullptr; - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&public__, 0, static_cast( - reinterpret_cast(&visibility_) - - reinterpret_cast(&public__)) + sizeof(visibility_)); - } - _has_bits_.Clear(); + history_.Clear(); + next_page_token_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UpdateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetFragmentHistoryResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateFragmentRequest.id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_history(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; - // string name = 2 [json_name = "name"]; + // string next_page_token = 2 [json_name = "nextPageToken"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); + auto str = _internal_mutable_next_page_token(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateFragmentRequest.name")); - } else - goto handle_unusual; - continue; - // .google.protobuf.Struct config = 3 [json_name = "config"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_config(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool public = 4 [json_name = "public"]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_public_(&has_bits); - public__ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - _internal_set_visibility(static_cast<::viam::app::v1::FragmentVisibility>(val)); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentHistoryResponse.next_page_token")); } else goto handle_unusual; continue; @@ -32097,7 +35978,6 @@ const char* UpdateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::Parse CHK_(ptr != nullptr); } // while message_done: - _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -32105,220 +35985,153 @@ const char* UpdateFragmentRequest::_InternalParse(const char* ptr, ::_pbi::Parse #undef CHK_ } -uint8_t* UpdateFragmentRequest::_InternalSerialize( +uint8_t* GetFragmentHistoryResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentHistoryResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateFragmentRequest.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); + // 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(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } - // string name = 2 [json_name = "name"]; - if (!this->_internal_name().empty()) { + // string next_page_token = 2 [json_name = "nextPageToken"]; + if (!this->_internal_next_page_token().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), + this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateFragmentRequest.name"); + "viam.app.v1.GetFragmentHistoryResponse.next_page_token"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // .google.protobuf.Struct config = 3 [json_name = "config"]; - if (this->_internal_has_config()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::config(this), - _Internal::config(this).GetCachedSize(), target, stream); - } - - // optional bool public = 4 [json_name = "public"]; - if (_internal_has_public_()) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_public_(), target); - } - - // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; - if (_internal_has_visibility()) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 5, this->_internal_visibility(), target); + 2, this->_internal_next_page_token(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentHistoryResponse) return target; } -size_t UpdateFragmentRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateFragmentRequest) +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; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + total_size += 1UL * this->_internal_history_size(); + for (const auto& msg : this->history_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - // string name = 2 [json_name = "name"]; - if (!this->_internal_name().empty()) { + // string next_page_token = 2 [json_name = "nextPageToken"]; + if (!this->_internal_next_page_token().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // .google.protobuf.Struct config = 3 [json_name = "config"]; - if (this->_internal_has_config()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *config_); + this->_internal_next_page_token()); } - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bool public = 4 [json_name = "public"]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_visibility()); - } - - } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateFragmentRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentHistoryResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UpdateFragmentRequest::MergeImpl + GetFragmentHistoryResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateFragmentRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentHistoryResponse::GetClassData() const { return &_class_data_; } -void UpdateFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetFragmentHistoryResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UpdateFragmentRequest::MergeFrom(const UpdateFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateFragmentRequest) +void GetFragmentHistoryResponse::MergeFrom(const GetFragmentHistoryResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentHistoryResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); - } - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } - if (from._internal_has_config()) { - _internal_mutable_config()->::PROTOBUF_NAMESPACE_ID::Struct::MergeFrom(from._internal_config()); - } - cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - public__ = from.public__; - } - if (cached_has_bits & 0x00000002u) { - visibility_ = from.visibility_; - } - _has_bits_[0] |= cached_has_bits; + history_.MergeFrom(from.history_); + if (!from._internal_next_page_token().empty()) { + _internal_set_next_page_token(from._internal_next_page_token()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UpdateFragmentRequest::CopyFrom(const UpdateFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateFragmentRequest) +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); } -bool UpdateFragmentRequest::IsInitialized() const { +bool GetFragmentHistoryResponse::IsInitialized() const { return true; } -void UpdateFragmentRequest::InternalSwap(UpdateFragmentRequest* other) { +void GetFragmentHistoryResponse::InternalSwap(GetFragmentHistoryResponse* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena - ); + history_.InternalSwap(&other->history_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena + &next_page_token_, lhs_arena, + &other->next_page_token_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(UpdateFragmentRequest, visibility_) - + sizeof(UpdateFragmentRequest::visibility_) - - PROTOBUF_FIELD_OFFSET(UpdateFragmentRequest, config_)>( - reinterpret_cast(&config_), - reinterpret_cast(&other->config_)); } -::PROTOBUF_NAMESPACE_ID::Metadata UpdateFragmentRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[109]); + file_level_metadata_app_2fv1_2fapp_2eproto[132]); } // =================================================================== -class UpdateFragmentResponse::_Internal { +class GetFragmentUsageRequest::_Internal { public: - static const ::viam::app::v1::Fragment& fragment(const UpdateFragmentResponse* msg); }; -const ::viam::app::v1::Fragment& -UpdateFragmentResponse::_Internal::fragment(const UpdateFragmentResponse* msg) { - return *msg->fragment_; -} -UpdateFragmentResponse::UpdateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetFragmentUsageRequest::GetFragmentUsageRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateFragmentResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentUsageRequest) } -UpdateFragmentResponse::UpdateFragmentResponse(const UpdateFragmentResponse& from) +GetFragmentUsageRequest::GetFragmentUsageRequest(const GetFragmentUsageRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_fragment()) { - fragment_ = new ::viam::app::v1::Fragment(*from.fragment_); - } else { - fragment_ = nullptr; + fragment_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fragment_id().empty()) { + fragment_id_.Set(from._internal_fragment_id(), + GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateFragmentResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentUsageRequest) } -inline void UpdateFragmentResponse::SharedCtor() { -fragment_ = nullptr; +inline void GetFragmentUsageRequest::SharedCtor() { +fragment_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -UpdateFragmentResponse::~UpdateFragmentResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.UpdateFragmentResponse) +GetFragmentUsageRequest::~GetFragmentUsageRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentUsageRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -32326,39 +36139,38 @@ UpdateFragmentResponse::~UpdateFragmentResponse() { SharedDtor(); } -inline void UpdateFragmentResponse::SharedDtor() { +inline void GetFragmentUsageRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete fragment_; + fragment_id_.Destroy(); } -void UpdateFragmentResponse::SetCachedSize(int size) const { +void GetFragmentUsageRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UpdateFragmentResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateFragmentResponse) +void GetFragmentUsageRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentUsageRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && fragment_ != nullptr) { - delete fragment_; - } - fragment_ = nullptr; + fragment_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UpdateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetFragmentUsageRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + // string fragment_id = 1 [json_name = "fragmentId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_fragment(), ptr); + auto str = _internal_mutable_fragment_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentUsageRequest.fragment_id")); } else goto handle_unusual; continue; @@ -32385,128 +36197,126 @@ const char* UpdateFragmentResponse::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* UpdateFragmentResponse::_InternalSerialize( +uint8_t* GetFragmentUsageRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateFragmentResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentUsageRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - if (this->_internal_has_fragment()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::fragment(this), - _Internal::fragment(this).GetCachedSize(), target, stream); + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetFragmentUsageRequest.fragment_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_fragment_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateFragmentResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentUsageRequest) return target; } -size_t UpdateFragmentResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateFragmentResponse) +size_t GetFragmentUsageRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentUsageRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - if (this->_internal_has_fragment()) { + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *fragment_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fragment_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateFragmentResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentUsageRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UpdateFragmentResponse::MergeImpl + GetFragmentUsageRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateFragmentResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentUsageRequest::GetClassData() const { return &_class_data_; } -void UpdateFragmentResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetFragmentUsageRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UpdateFragmentResponse::MergeFrom(const UpdateFragmentResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateFragmentResponse) +void GetFragmentUsageRequest::MergeFrom(const GetFragmentUsageRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentUsageRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_fragment()) { - _internal_mutable_fragment()->::viam::app::v1::Fragment::MergeFrom(from._internal_fragment()); + if (!from._internal_fragment_id().empty()) { + _internal_set_fragment_id(from._internal_fragment_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UpdateFragmentResponse::CopyFrom(const UpdateFragmentResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateFragmentResponse) +void GetFragmentUsageRequest::CopyFrom(const GetFragmentUsageRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentUsageRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool UpdateFragmentResponse::IsInitialized() const { +bool GetFragmentUsageRequest::IsInitialized() const { return true; } -void UpdateFragmentResponse::InternalSwap(UpdateFragmentResponse* other) { +void GetFragmentUsageRequest::InternalSwap(GetFragmentUsageRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(fragment_, other->fragment_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata UpdateFragmentResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentUsageRequest::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[133]); } // =================================================================== -class DeleteFragmentRequest::_Internal { +class GetFragmentUsageResponse::_Internal { public: }; -DeleteFragmentRequest::DeleteFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetFragmentUsageResponse::GetFragmentUsageResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + version_usages_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentUsageResponse) } -DeleteFragmentRequest::DeleteFragmentRequest(const DeleteFragmentRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +GetFragmentUsageResponse::GetFragmentUsageResponse(const GetFragmentUsageResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + version_usages_(from.version_usages_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentUsageResponse) } -inline void DeleteFragmentRequest::SharedCtor() { -id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void GetFragmentUsageResponse::SharedCtor() { } -DeleteFragmentRequest::~DeleteFragmentRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.DeleteFragmentRequest) +GetFragmentUsageResponse::~GetFragmentUsageResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentUsageResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -32514,38 +36324,40 @@ DeleteFragmentRequest::~DeleteFragmentRequest() { SharedDtor(); } -inline void DeleteFragmentRequest::SharedDtor() { +inline void GetFragmentUsageResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); } -void DeleteFragmentRequest::SetCachedSize(int size) const { +void GetFragmentUsageResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DeleteFragmentRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteFragmentRequest) +void GetFragmentUsageResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentUsageResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmpty(); + version_usages_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DeleteFragmentRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetFragmentUsageResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteFragmentRequest.id")); + // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_version_usages(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -32572,197 +36384,151 @@ const char* DeleteFragmentRequest::_InternalParse(const char* ptr, ::_pbi::Parse #undef CHK_ } -uint8_t* DeleteFragmentRequest::_InternalSerialize( +uint8_t* GetFragmentUsageResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentUsageResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteFragmentRequest.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); + // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; + for (unsigned i = 0, + n = static_cast(this->_internal_version_usages_size()); i < n; i++) { + const auto& repfield = this->_internal_version_usages(i); + target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteFragmentRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentUsageResponse) return target; } -size_t DeleteFragmentRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteFragmentRequest) +size_t GetFragmentUsageResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentUsageResponse) 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 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); + // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; + total_size += 1UL * this->_internal_version_usages_size(); + for (const auto& msg : this->version_usages_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentUsageResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteFragmentRequest::MergeImpl + GetFragmentUsageResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentUsageResponse::GetClassData() const { return &_class_data_; } -void DeleteFragmentRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetFragmentUsageResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteFragmentRequest::MergeFrom(const DeleteFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteFragmentRequest) +void GetFragmentUsageResponse::MergeFrom(const GetFragmentUsageResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentUsageResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); - } + version_usages_.MergeFrom(from.version_usages_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteFragmentRequest::CopyFrom(const DeleteFragmentRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteFragmentRequest) +void GetFragmentUsageResponse::CopyFrom(const GetFragmentUsageResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentUsageResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteFragmentRequest::IsInitialized() const { +bool GetFragmentUsageResponse::IsInitialized() const { return true; } -void DeleteFragmentRequest::InternalSwap(DeleteFragmentRequest* other) { +void GetFragmentUsageResponse::InternalSwap(GetFragmentUsageResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::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[111]); -} - -// =================================================================== - -class DeleteFragmentResponse::_Internal { - public: -}; - -DeleteFragmentResponse::DeleteFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentResponse) -} -DeleteFragmentResponse::DeleteFragmentResponse(const DeleteFragmentResponse& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentResponse) + version_usages_.InternalSwap(&other->version_usages_); } - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentResponse::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata DeleteFragmentResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentUsageResponse::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[134]); } // =================================================================== -class GetFragmentHistoryRequest::_Internal { +class SetFragmentTagRequest::_Internal { public: - using HasBits = decltype(std::declval()._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(::PROTOBUF_NAMESPACE_ID::Arena* arena, +SetFragmentTagRequest::SetFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentHistoryRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.SetFragmentTagRequest) } -GetFragmentHistoryRequest::GetFragmentHistoryRequest(const GetFragmentHistoryRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { +SetFragmentTagRequest::SetFragmentTagRequest(const SetFragmentTagRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_.InitDefault(); + fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); + fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_id().empty()) { - id_.Set(from._internal_id(), + if (!from._internal_fragment_id().empty()) { + fragment_id_.Set(from._internal_fragment_id(), GetArenaForAllocation()); } - page_token_.InitDefault(); + tag_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - page_token_.Set("", GetArenaForAllocation()); + tag_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_page_token()) { - page_token_.Set(from._internal_page_token(), + if (!from._internal_tag().empty()) { + tag_.Set(from._internal_tag(), GetArenaForAllocation()); } - page_limit_ = from.page_limit_; - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentHistoryRequest) + revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_revision().empty()) { + revision_.Set(from._internal_revision(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.SetFragmentTagRequest) } -inline void GetFragmentHistoryRequest::SharedCtor() { -id_.InitDefault(); +inline void SetFragmentTagRequest::SharedCtor() { +fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - id_.Set("", GetArenaForAllocation()); + fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -page_token_.InitDefault(); +tag_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - page_token_.Set("", GetArenaForAllocation()); + tag_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +revision_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + revision_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -page_limit_ = int64_t{0}; } -GetFragmentHistoryRequest::~GetFragmentHistoryRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentHistoryRequest) +SetFragmentTagRequest::~SetFragmentTagRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.SetFragmentTagRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -32770,65 +36536,62 @@ GetFragmentHistoryRequest::~GetFragmentHistoryRequest() { SharedDtor(); } -inline void GetFragmentHistoryRequest::SharedDtor() { +inline void SetFragmentTagRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - id_.Destroy(); - page_token_.Destroy(); + fragment_id_.Destroy(); + tag_.Destroy(); + revision_.Destroy(); } -void GetFragmentHistoryRequest::SetCachedSize(int size) const { +void SetFragmentTagRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetFragmentHistoryRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentHistoryRequest) +void SetFragmentTagRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.SetFragmentTagRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_.ClearToEmpty(); - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - page_token_.ClearNonDefaultToEmpty(); - } - page_limit_ = int64_t{0}; - _has_bits_.Clear(); + fragment_id_.ClearToEmpty(); + tag_.ClearToEmpty(); + revision_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetFragmentHistoryRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* SetFragmentTagRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string id = 1 [json_name = "id"]; + // string fragment_id = 1 [json_name = "fragmentId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); + auto str = _internal_mutable_fragment_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentHistoryRequest.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.SetFragmentTagRequest.fragment_id")); } else goto handle_unusual; continue; - // optional string page_token = 2 [json_name = "pageToken"]; + // string tag = 2 [json_name = "tag"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_page_token(); + auto str = _internal_mutable_tag(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentHistoryRequest.page_token")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.SetFragmentTagRequest.tag")); } else goto handle_unusual; continue; - // optional int64 page_limit = 3 [json_name = "pageLimit"]; + // string revision = 3 [json_name = "revision"]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_page_limit(&has_bits); - page_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.SetFragmentTagRequest.revision")); } else goto handle_unusual; continue; @@ -32848,7 +36611,6 @@ const char* GetFragmentHistoryRequest::_InternalParse(const char* ptr, ::_pbi::P CHK_(ptr != nullptr); } // while message_done: - _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -32856,185 +36618,174 @@ const char* GetFragmentHistoryRequest::_InternalParse(const char* ptr, ::_pbi::P #undef CHK_ } -uint8_t* GetFragmentHistoryRequest::_InternalSerialize( +uint8_t* SetFragmentTagRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentHistoryRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.SetFragmentTagRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string id = 1 [json_name = "id"]; - if (!this->_internal_id().empty()) { + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_id().data(), static_cast(this->_internal_id().length()), + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentHistoryRequest.id"); + "viam.app.v1.SetFragmentTagRequest.fragment_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); + 1, this->_internal_fragment_id(), target); } - // optional string page_token = 2 [json_name = "pageToken"]; - if (_internal_has_page_token()) { + // string tag = 2 [json_name = "tag"]; + if (!this->_internal_tag().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), + this->_internal_tag().data(), static_cast(this->_internal_tag().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentHistoryRequest.page_token"); + "viam.app.v1.SetFragmentTagRequest.tag"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_page_token(), target); + 2, this->_internal_tag(), target); } - // optional int64 page_limit = 3 [json_name = "pageLimit"]; - if (_internal_has_page_limit()) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_page_limit(), target); + // string revision = 3 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.SetFragmentTagRequest.revision"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_revision(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentHistoryRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.SetFragmentTagRequest) return target; } -size_t GetFragmentHistoryRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentHistoryRequest) +size_t SetFragmentTagRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.SetFragmentTagRequest) 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()) { + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); + this->_internal_fragment_id()); } - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string page_token = 2 [json_name = "pageToken"]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::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()); - } + // string tag = 2 [json_name = "tag"]; + if (!this->_internal_tag().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tag()); + } + // string revision = 3 [json_name = "revision"]; + if (!this->_internal_revision().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_revision()); } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentHistoryRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetFragmentTagRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetFragmentHistoryRequest::MergeImpl + SetFragmentTagRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentHistoryRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetFragmentTagRequest::GetClassData() const { return &_class_data_; } -void GetFragmentHistoryRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void SetFragmentTagRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetFragmentHistoryRequest::MergeFrom(const GetFragmentHistoryRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentHistoryRequest) +void SetFragmentTagRequest::MergeFrom(const SetFragmentTagRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.SetFragmentTagRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_id().empty()) { - _internal_set_id(from._internal_id()); + if (!from._internal_fragment_id().empty()) { + _internal_set_fragment_id(from._internal_fragment_id()); } - cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _internal_set_page_token(from._internal_page_token()); - } - if (cached_has_bits & 0x00000002u) { - page_limit_ = from.page_limit_; - } - _has_bits_[0] |= cached_has_bits; + if (!from._internal_tag().empty()) { + _internal_set_tag(from._internal_tag()); + } + if (!from._internal_revision().empty()) { + _internal_set_revision(from._internal_revision()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetFragmentHistoryRequest::CopyFrom(const GetFragmentHistoryRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentHistoryRequest) +void SetFragmentTagRequest::CopyFrom(const SetFragmentTagRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.SetFragmentTagRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetFragmentHistoryRequest::IsInitialized() const { +bool SetFragmentTagRequest::IsInitialized() const { return true; } -void GetFragmentHistoryRequest::InternalSwap(GetFragmentHistoryRequest* other) { +void SetFragmentTagRequest::InternalSwap(SetFragmentTagRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &id_, lhs_arena, - &other->id_, rhs_arena + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &page_token_, lhs_arena, - &other->page_token_, rhs_arena + &tag_, lhs_arena, + &other->tag_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &revision_, lhs_arena, + &other->revision_, rhs_arena ); - swap(page_limit_, other->page_limit_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentHistoryRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata SetFragmentTagRequest::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[135]); } // =================================================================== -class GetFragmentHistoryResponse::_Internal { +class SetFragmentTagResponse::_Internal { public: }; -GetFragmentHistoryResponse::GetFragmentHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +SetFragmentTagResponse::SetFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - history_(arena) { + tags_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentHistoryResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.SetFragmentTagResponse) } -GetFragmentHistoryResponse::GetFragmentHistoryResponse(const GetFragmentHistoryResponse& from) +SetFragmentTagResponse::SetFragmentTagResponse(const SetFragmentTagResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - history_(from.history_) { + tags_(from.tags_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - next_page_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - next_page_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_next_page_token().empty()) { - next_page_token_.Set(from._internal_next_page_token(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentHistoryResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.SetFragmentTagResponse) } -inline void GetFragmentHistoryResponse::SharedCtor() { -next_page_token_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - next_page_token_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void SetFragmentTagResponse::SharedCtor() { } -GetFragmentHistoryResponse::~GetFragmentHistoryResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentHistoryResponse) +SetFragmentTagResponse::~SetFragmentTagResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.SetFragmentTagResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -33042,55 +36793,43 @@ GetFragmentHistoryResponse::~GetFragmentHistoryResponse() { SharedDtor(); } -inline void GetFragmentHistoryResponse::SharedDtor() { +inline void SetFragmentTagResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - next_page_token_.Destroy(); } -void GetFragmentHistoryResponse::SetCachedSize(int size) const { +void SetFragmentTagResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetFragmentHistoryResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentHistoryResponse) +void SetFragmentTagResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.SetFragmentTagResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - history_.Clear(); - next_page_token_.ClearToEmpty(); + tags_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetFragmentHistoryResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* SetFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_history(), ptr); + ptr = ctx->ParseMessage(_internal_add_tags(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; - // string next_page_token = 2 [json_name = "nextPageToken"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_next_page_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentHistoryResponse.next_page_token")); - } else - goto handle_unusual; - continue; default: goto handle_unusual; } // switch @@ -33114,131 +36853,105 @@ const char* GetFragmentHistoryResponse::_InternalParse(const char* ptr, ::_pbi:: #undef CHK_ } -uint8_t* GetFragmentHistoryResponse::_InternalSerialize( +uint8_t* SetFragmentTagResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentHistoryResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.SetFragmentTagResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; for (unsigned i = 0, - n = static_cast(this->_internal_history_size()); i < n; i++) { - const auto& repfield = this->_internal_history(i); + n = static_cast(this->_internal_tags_size()); i < n; i++) { + const auto& repfield = this->_internal_tags(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } - // string next_page_token = 2 [json_name = "nextPageToken"]; - if (!this->_internal_next_page_token().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentHistoryResponse.next_page_token"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_next_page_token(), target); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentHistoryResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.SetFragmentTagResponse) return target; } -size_t GetFragmentHistoryResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentHistoryResponse) +size_t SetFragmentTagResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.SetFragmentTagResponse) 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->history_) { + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; + total_size += 1UL * this->_internal_tags_size(); + for (const auto& msg : this->tags_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - // string next_page_token = 2 [json_name = "nextPageToken"]; - if (!this->_internal_next_page_token().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_next_page_token()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentHistoryResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetFragmentTagResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetFragmentHistoryResponse::MergeImpl + SetFragmentTagResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentHistoryResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetFragmentTagResponse::GetClassData() const { return &_class_data_; } -void GetFragmentHistoryResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void SetFragmentTagResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetFragmentHistoryResponse::MergeFrom(const GetFragmentHistoryResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentHistoryResponse) +void SetFragmentTagResponse::MergeFrom(const SetFragmentTagResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.SetFragmentTagResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - history_.MergeFrom(from.history_); - if (!from._internal_next_page_token().empty()) { - _internal_set_next_page_token(from._internal_next_page_token()); - } + tags_.MergeFrom(from.tags_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetFragmentHistoryResponse::CopyFrom(const GetFragmentHistoryResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentHistoryResponse) +void SetFragmentTagResponse::CopyFrom(const SetFragmentTagResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.SetFragmentTagResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetFragmentHistoryResponse::IsInitialized() const { +bool SetFragmentTagResponse::IsInitialized() const { return true; } -void GetFragmentHistoryResponse::InternalSwap(GetFragmentHistoryResponse* other) { +void SetFragmentTagResponse::InternalSwap(SetFragmentTagResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - history_.InternalSwap(&other->history_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &next_page_token_, lhs_arena, - &other->next_page_token_, rhs_arena - ); + tags_.InternalSwap(&other->tags_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentHistoryResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata SetFragmentTagResponse::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[136]); } // =================================================================== -class GetFragmentUsageRequest::_Internal { +class DeleteFragmentTagRequest::_Internal { public: }; -GetFragmentUsageRequest::GetFragmentUsageRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteFragmentTagRequest::DeleteFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentUsageRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentTagRequest) } -GetFragmentUsageRequest::GetFragmentUsageRequest(const GetFragmentUsageRequest& from) +DeleteFragmentTagRequest::DeleteFragmentTagRequest(const DeleteFragmentTagRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); fragment_id_.InitDefault(); @@ -33249,18 +36962,30 @@ GetFragmentUsageRequest::GetFragmentUsageRequest(const GetFragmentUsageRequest& fragment_id_.Set(from._internal_fragment_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentUsageRequest) + tag_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + tag_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_tag().empty()) { + tag_.Set(from._internal_tag(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentTagRequest) } -inline void GetFragmentUsageRequest::SharedCtor() { +inline void DeleteFragmentTagRequest::SharedCtor() { fragment_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING fragment_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +tag_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + tag_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -GetFragmentUsageRequest::~GetFragmentUsageRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentUsageRequest) +DeleteFragmentTagRequest::~DeleteFragmentTagRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.DeleteFragmentTagRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -33268,26 +36993,28 @@ GetFragmentUsageRequest::~GetFragmentUsageRequest() { SharedDtor(); } -inline void GetFragmentUsageRequest::SharedDtor() { +inline void DeleteFragmentTagRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); fragment_id_.Destroy(); + tag_.Destroy(); } -void GetFragmentUsageRequest::SetCachedSize(int size) const { +void DeleteFragmentTagRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetFragmentUsageRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentUsageRequest) +void DeleteFragmentTagRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteFragmentTagRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; fragment_id_.ClearToEmpty(); + tag_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetFragmentUsageRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DeleteFragmentTagRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -33299,7 +37026,17 @@ const char* GetFragmentUsageRequest::_InternalParse(const char* ptr, ::_pbi::Par auto str = _internal_mutable_fragment_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetFragmentUsageRequest.fragment_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteFragmentTagRequest.fragment_id")); + } else + goto handle_unusual; + continue; + // string tag = 2 [json_name = "tag"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_tag(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteFragmentTagRequest.tag")); } else goto handle_unusual; continue; @@ -33326,9 +37063,9 @@ const char* GetFragmentUsageRequest::_InternalParse(const char* ptr, ::_pbi::Par #undef CHK_ } -uint8_t* GetFragmentUsageRequest::_InternalSerialize( +uint8_t* DeleteFragmentTagRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentUsageRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteFragmentTagRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -33337,21 +37074,31 @@ uint8_t* GetFragmentUsageRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.GetFragmentUsageRequest.fragment_id"); + "viam.app.v1.DeleteFragmentTagRequest.fragment_id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_fragment_id(), target); } + // string tag = 2 [json_name = "tag"]; + if (!this->_internal_tag().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.DeleteFragmentTagRequest.tag"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_tag(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentUsageRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteFragmentTagRequest) return target; } -size_t GetFragmentUsageRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentUsageRequest) +size_t DeleteFragmentTagRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteFragmentTagRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -33365,24 +37112,31 @@ size_t GetFragmentUsageRequest::ByteSizeLong() const { this->_internal_fragment_id()); } + // string tag = 2 [json_name = "tag"]; + if (!this->_internal_tag().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tag()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentUsageRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentTagRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetFragmentUsageRequest::MergeImpl + DeleteFragmentTagRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentUsageRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentTagRequest::GetClassData() const { return &_class_data_; } -void GetFragmentUsageRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteFragmentTagRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetFragmentUsageRequest::MergeFrom(const GetFragmentUsageRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentUsageRequest) +void DeleteFragmentTagRequest::MergeFrom(const DeleteFragmentTagRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteFragmentTagRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -33390,21 +37144,24 @@ void GetFragmentUsageRequest::MergeFrom(const GetFragmentUsageRequest& from) { if (!from._internal_fragment_id().empty()) { _internal_set_fragment_id(from._internal_fragment_id()); } + if (!from._internal_tag().empty()) { + _internal_set_tag(from._internal_tag()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetFragmentUsageRequest::CopyFrom(const GetFragmentUsageRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentUsageRequest) +void DeleteFragmentTagRequest::CopyFrom(const DeleteFragmentTagRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteFragmentTagRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetFragmentUsageRequest::IsInitialized() const { +bool DeleteFragmentTagRequest::IsInitialized() const { return true; } -void GetFragmentUsageRequest::InternalSwap(GetFragmentUsageRequest* other) { +void DeleteFragmentTagRequest::InternalSwap(DeleteFragmentTagRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -33413,39 +37170,43 @@ void GetFragmentUsageRequest::InternalSwap(GetFragmentUsageRequest* other) { &fragment_id_, lhs_arena, &other->fragment_id_, rhs_arena ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &tag_, lhs_arena, + &other->tag_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentUsageRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteFragmentTagRequest::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[137]); } // =================================================================== -class GetFragmentUsageResponse::_Internal { +class DeleteFragmentTagResponse::_Internal { public: }; -GetFragmentUsageResponse::GetFragmentUsageResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteFragmentTagResponse::DeleteFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - version_usages_(arena) { + tags_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetFragmentUsageResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentTagResponse) } -GetFragmentUsageResponse::GetFragmentUsageResponse(const GetFragmentUsageResponse& from) +DeleteFragmentTagResponse::DeleteFragmentTagResponse(const DeleteFragmentTagResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - version_usages_(from.version_usages_) { + tags_(from.tags_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetFragmentUsageResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentTagResponse) } -inline void GetFragmentUsageResponse::SharedCtor() { +inline void DeleteFragmentTagResponse::SharedCtor() { } -GetFragmentUsageResponse::~GetFragmentUsageResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.GetFragmentUsageResponse) +DeleteFragmentTagResponse::~DeleteFragmentTagResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.DeleteFragmentTagResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -33453,37 +37214,37 @@ GetFragmentUsageResponse::~GetFragmentUsageResponse() { SharedDtor(); } -inline void GetFragmentUsageResponse::SharedDtor() { +inline void DeleteFragmentTagResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void GetFragmentUsageResponse::SetCachedSize(int size) const { +void DeleteFragmentTagResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void GetFragmentUsageResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetFragmentUsageResponse) +void DeleteFragmentTagResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteFragmentTagResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - version_usages_.Clear(); + tags_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* GetFragmentUsageResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DeleteFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_version_usages(), ptr); + ptr = ctx->ParseMessage(_internal_add_tags(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); @@ -33513,16 +37274,16 @@ const char* GetFragmentUsageResponse::_InternalParse(const char* ptr, ::_pbi::Pa #undef CHK_ } -uint8_t* GetFragmentUsageResponse::_InternalSerialize( +uint8_t* DeleteFragmentTagResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetFragmentUsageResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteFragmentTagResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; for (unsigned i = 0, - n = static_cast(this->_internal_version_usages_size()); i < n; i++) { - const auto& repfield = this->_internal_version_usages(i); + n = static_cast(this->_internal_tags_size()); i < n; i++) { + const auto& repfield = this->_internal_tags(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } @@ -33531,21 +37292,21 @@ uint8_t* GetFragmentUsageResponse::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetFragmentUsageResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteFragmentTagResponse) return target; } -size_t GetFragmentUsageResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetFragmentUsageResponse) +size_t DeleteFragmentTagResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteFragmentTagResponse) 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.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; - total_size += 1UL * this->_internal_version_usages_size(); - for (const auto& msg : this->version_usages_) { + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; + total_size += 1UL * this->_internal_tags_size(); + for (const auto& msg : this->tags_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } @@ -33553,111 +37314,87 @@ size_t GetFragmentUsageResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetFragmentUsageResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentTagResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - GetFragmentUsageResponse::MergeImpl + DeleteFragmentTagResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetFragmentUsageResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentTagResponse::GetClassData() const { return &_class_data_; } -void GetFragmentUsageResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteFragmentTagResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void GetFragmentUsageResponse::MergeFrom(const GetFragmentUsageResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetFragmentUsageResponse) +void DeleteFragmentTagResponse::MergeFrom(const DeleteFragmentTagResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteFragmentTagResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - version_usages_.MergeFrom(from.version_usages_); + tags_.MergeFrom(from.tags_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void GetFragmentUsageResponse::CopyFrom(const GetFragmentUsageResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetFragmentUsageResponse) +void DeleteFragmentTagResponse::CopyFrom(const DeleteFragmentTagResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteFragmentTagResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetFragmentUsageResponse::IsInitialized() const { +bool DeleteFragmentTagResponse::IsInitialized() const { return true; } -void GetFragmentUsageResponse::InternalSwap(GetFragmentUsageResponse* other) { +void DeleteFragmentTagResponse::InternalSwap(DeleteFragmentTagResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - version_usages_.InternalSwap(&other->version_usages_); + tags_.InternalSwap(&other->tags_); } -::PROTOBUF_NAMESPACE_ID::Metadata GetFragmentUsageResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteFragmentTagResponse::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[138]); } // =================================================================== -class SetFragmentTagRequest::_Internal { +class ListRobotsRequest::_Internal { public: }; -SetFragmentTagRequest::SetFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListRobotsRequest::ListRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.SetFragmentTagRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListRobotsRequest) } -SetFragmentTagRequest::SetFragmentTagRequest(const SetFragmentTagRequest& from) +ListRobotsRequest::ListRobotsRequest(const ListRobotsRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - fragment_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_fragment_id().empty()) { - fragment_id_.Set(from._internal_fragment_id(), - GetArenaForAllocation()); - } - tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_tag().empty()) { - tag_.Set(from._internal_tag(), - GetArenaForAllocation()); - } - revision_.InitDefault(); + location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); + location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_revision().empty()) { - revision_.Set(from._internal_revision(), + if (!from._internal_location_id().empty()) { + location_id_.Set(from._internal_location_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.SetFragmentTagRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListRobotsRequest) } -inline void SetFragmentTagRequest::SharedCtor() { -fragment_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -tag_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - tag_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -revision_.InitDefault(); +inline void ListRobotsRequest::SharedCtor() { +location_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - revision_.Set("", GetArenaForAllocation()); + location_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -SetFragmentTagRequest::~SetFragmentTagRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.SetFragmentTagRequest) +ListRobotsRequest::~ListRobotsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListRobotsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -33665,62 +37402,38 @@ SetFragmentTagRequest::~SetFragmentTagRequest() { SharedDtor(); } -inline void SetFragmentTagRequest::SharedDtor() { +inline void ListRobotsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - fragment_id_.Destroy(); - tag_.Destroy(); - revision_.Destroy(); + location_id_.Destroy(); } -void SetFragmentTagRequest::SetCachedSize(int size) const { +void ListRobotsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void SetFragmentTagRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.SetFragmentTagRequest) +void ListRobotsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListRobotsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_id_.ClearToEmpty(); - tag_.ClearToEmpty(); - revision_.ClearToEmpty(); + location_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* SetFragmentTagRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListRobotsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string fragment_id = 1 [json_name = "fragmentId"]; + // string location_id = 1 [json_name = "locationId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_fragment_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.SetFragmentTagRequest.fragment_id")); - } else - goto handle_unusual; - continue; - // string tag = 2 [json_name = "tag"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.SetFragmentTagRequest.tag")); - } else - goto handle_unusual; - continue; - // string revision = 3 [json_name = "revision"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_revision(); + auto str = _internal_mutable_location_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.SetFragmentTagRequest.revision")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListRobotsRequest.location_id")); } else goto handle_unusual; continue; @@ -33747,174 +37460,153 @@ const char* SetFragmentTagRequest::_InternalParse(const char* ptr, ::_pbi::Parse #undef CHK_ } -uint8_t* SetFragmentTagRequest::_InternalSerialize( +uint8_t* ListRobotsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.SetFragmentTagRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListRobotsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string fragment_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.SetFragmentTagRequest.fragment_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_fragment_id(), target); - } - - // string tag = 2 [json_name = "tag"]; - if (!this->_internal_tag().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_tag().data(), static_cast(this->_internal_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.SetFragmentTagRequest.tag"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_tag(), target); - } - - // string revision = 3 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.SetFragmentTagRequest.revision"); + "viam.app.v1.ListRobotsRequest.location_id"); target = stream->WriteStringMaybeAliased( - 3, this->_internal_revision(), target); + 1, this->_internal_location_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.SetFragmentTagRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListRobotsRequest) return target; } -size_t SetFragmentTagRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.SetFragmentTagRequest) +size_t ListRobotsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListRobotsRequest) 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_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fragment_id()); - } - - // string tag = 2 [json_name = "tag"]; - if (!this->_internal_tag().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tag()); - } - - // string revision = 3 [json_name = "revision"]; - if (!this->_internal_revision().empty()) { + // string location_id = 1 [json_name = "locationId"]; + if (!this->_internal_location_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_revision()); + this->_internal_location_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetFragmentTagRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListRobotsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - SetFragmentTagRequest::MergeImpl + ListRobotsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetFragmentTagRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListRobotsRequest::GetClassData() const { return &_class_data_; } -void SetFragmentTagRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListRobotsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void SetFragmentTagRequest::MergeFrom(const SetFragmentTagRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.SetFragmentTagRequest) +void ListRobotsRequest::MergeFrom(const ListRobotsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListRobotsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_fragment_id().empty()) { - _internal_set_fragment_id(from._internal_fragment_id()); - } - if (!from._internal_tag().empty()) { - _internal_set_tag(from._internal_tag()); - } - if (!from._internal_revision().empty()) { - _internal_set_revision(from._internal_revision()); + if (!from._internal_location_id().empty()) { + _internal_set_location_id(from._internal_location_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void SetFragmentTagRequest::CopyFrom(const SetFragmentTagRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.SetFragmentTagRequest) +void ListRobotsRequest::CopyFrom(const ListRobotsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListRobotsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool SetFragmentTagRequest::IsInitialized() const { +bool ListRobotsRequest::IsInitialized() const { return true; } -void SetFragmentTagRequest::InternalSwap(SetFragmentTagRequest* other) { +void ListRobotsRequest::InternalSwap(ListRobotsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &fragment_id_, lhs_arena, - &other->fragment_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &tag_, lhs_arena, - &other->tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &revision_, lhs_arena, - &other->revision_, rhs_arena + &location_id_, lhs_arena, + &other->location_id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata SetFragmentTagRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::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[117]); + file_level_metadata_app_2fv1_2fapp_2eproto[139]); } // =================================================================== -class SetFragmentTagResponse::_Internal { +class AdditionalFragment::_Internal { public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_version(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } }; -SetFragmentTagResponse::SetFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +AdditionalFragment::AdditionalFragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - tags_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.SetFragmentTagResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.AdditionalFragment) } -SetFragmentTagResponse::SetFragmentTagResponse(const SetFragmentTagResponse& from) +AdditionalFragment::AdditionalFragment(const AdditionalFragment& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - tags_(from.tags_) { + _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.SetFragmentTagResponse) + fragment_id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fragment_id().empty()) { + fragment_id_.Set(from._internal_fragment_id(), + GetArenaForAllocation()); + } + version_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + version_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (from._internal_has_version()) { + version_.Set(from._internal_version(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.AdditionalFragment) } -inline void SetFragmentTagResponse::SharedCtor() { +inline void AdditionalFragment::SharedCtor() { +fragment_id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + fragment_id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +version_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + version_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -SetFragmentTagResponse::~SetFragmentTagResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.SetFragmentTagResponse) +AdditionalFragment::~AdditionalFragment() { + // @@protoc_insertion_point(destructor:viam.app.v1.AdditionalFragment) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -33922,40 +37614,55 @@ SetFragmentTagResponse::~SetFragmentTagResponse() { SharedDtor(); } -inline void SetFragmentTagResponse::SharedDtor() { +inline void AdditionalFragment::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + fragment_id_.Destroy(); + version_.Destroy(); } -void SetFragmentTagResponse::SetCachedSize(int size) const { +void AdditionalFragment::SetCachedSize(int size) const { _cached_size_.Set(size); } -void SetFragmentTagResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.SetFragmentTagResponse) +void AdditionalFragment::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.AdditionalFragment) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - tags_.Clear(); + fragment_id_.ClearToEmpty(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + version_.ClearNonDefaultToEmpty(); + } + _has_bits_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* SetFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* AdditionalFragment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; + // string fragment_id = 1 [json_name = "fragmentId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tags(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + auto str = _internal_mutable_fragment_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.AdditionalFragment.fragment_id")); + } else + goto handle_unusual; + continue; + // optional string version = 2 [json_name = "version"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_version(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.AdditionalFragment.version")); } else goto handle_unusual; continue; @@ -33975,6 +37682,7 @@ const char* SetFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::Pars CHK_(ptr != nullptr); } // while message_done: + _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; @@ -33982,139 +37690,166 @@ const char* SetFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::Pars #undef CHK_ } -uint8_t* SetFragmentTagResponse::_InternalSerialize( +uint8_t* AdditionalFragment::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.SetFragmentTagResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.AdditionalFragment) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; - for (unsigned i = 0, - n = static_cast(this->_internal_tags_size()); i < n; i++) { - const auto& repfield = this->_internal_tags(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.AdditionalFragment.fragment_id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_fragment_id(), target); + } + + // optional string version = 2 [json_name = "version"]; + if (_internal_has_version()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_version().data(), static_cast(this->_internal_version().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.AdditionalFragment.version"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_version(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.SetFragmentTagResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.AdditionalFragment) return target; } -size_t SetFragmentTagResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.SetFragmentTagResponse) +size_t AdditionalFragment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.AdditionalFragment) 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.FragmentTag tags = 1 [json_name = "tags"]; - total_size += 1UL * this->_internal_tags_size(); - for (const auto& msg : this->tags_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string fragment_id = 1 [json_name = "fragmentId"]; + if (!this->_internal_fragment_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fragment_id()); + } + + // optional string version = 2 [json_name = "version"]; + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_version()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetFragmentTagResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AdditionalFragment::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - SetFragmentTagResponse::MergeImpl + AdditionalFragment::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetFragmentTagResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AdditionalFragment::GetClassData() const { return &_class_data_; } -void SetFragmentTagResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void AdditionalFragment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void SetFragmentTagResponse::MergeFrom(const SetFragmentTagResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.SetFragmentTagResponse) +void AdditionalFragment::MergeFrom(const AdditionalFragment& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.AdditionalFragment) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - tags_.MergeFrom(from.tags_); + if (!from._internal_fragment_id().empty()) { + _internal_set_fragment_id(from._internal_fragment_id()); + } + if (from._internal_has_version()) { + _internal_set_version(from._internal_version()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void SetFragmentTagResponse::CopyFrom(const SetFragmentTagResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.SetFragmentTagResponse) +void AdditionalFragment::CopyFrom(const AdditionalFragment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.AdditionalFragment) if (&from == this) return; Clear(); MergeFrom(from); } -bool SetFragmentTagResponse::IsInitialized() const { +bool AdditionalFragment::IsInitialized() const { return true; } -void SetFragmentTagResponse::InternalSwap(SetFragmentTagResponse* other) { +void AdditionalFragment::InternalSwap(AdditionalFragment* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - tags_.InternalSwap(&other->tags_); + swap(_has_bits_[0], other->_has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &fragment_id_, lhs_arena, + &other->fragment_id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &version_, lhs_arena, + &other->version_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata SetFragmentTagResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata AdditionalFragment::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[140]); } // =================================================================== -class DeleteFragmentTagRequest::_Internal { +class ListMachineFragmentsRequest::_Internal { public: }; -DeleteFragmentTagRequest::DeleteFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListMachineFragmentsRequest::ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + additional_fragment_ids_(arena), + additional_fragments_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentTagRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsRequest) } -DeleteFragmentTagRequest::DeleteFragmentTagRequest(const DeleteFragmentTagRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +ListMachineFragmentsRequest::ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + additional_fragment_ids_(from.additional_fragment_ids_), + additional_fragments_(from.additional_fragments_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - fragment_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_fragment_id().empty()) { - fragment_id_.Set(from._internal_fragment_id(), - GetArenaForAllocation()); - } - tag_.InitDefault(); + machine_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - tag_.Set("", GetArenaForAllocation()); + machine_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_tag().empty()) { - tag_.Set(from._internal_tag(), + if (!from._internal_machine_id().empty()) { + machine_id_.Set(from._internal_machine_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentTagRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsRequest) } -inline void DeleteFragmentTagRequest::SharedCtor() { -fragment_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - fragment_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -tag_.InitDefault(); +inline void ListMachineFragmentsRequest::SharedCtor() { +machine_id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - tag_.Set("", GetArenaForAllocation()); + machine_id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -DeleteFragmentTagRequest::~DeleteFragmentTagRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.DeleteFragmentTagRequest) +ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -34122,50 +37857,68 @@ DeleteFragmentTagRequest::~DeleteFragmentTagRequest() { SharedDtor(); } -inline void DeleteFragmentTagRequest::SharedDtor() { +inline void ListMachineFragmentsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - fragment_id_.Destroy(); - tag_.Destroy(); + machine_id_.Destroy(); } -void DeleteFragmentTagRequest::SetCachedSize(int size) const { +void ListMachineFragmentsRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DeleteFragmentTagRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteFragmentTagRequest) +void ListMachineFragmentsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragment_id_.ClearToEmpty(); - tag_.ClearToEmpty(); + additional_fragment_ids_.Clear(); + additional_fragments_.Clear(); + machine_id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DeleteFragmentTagRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListMachineFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string fragment_id = 1 [json_name = "fragmentId"]; + // string machine_id = 1 [json_name = "machineId"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_fragment_id(); + auto str = _internal_mutable_machine_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteFragmentTagRequest.fragment_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.machine_id")); } else goto handle_unusual; continue; - // string tag = 2 [json_name = "tag"]; + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteFragmentTagRequest.tag")); + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_additional_fragment_ids(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_additional_fragments(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); } else goto handle_unusual; continue; @@ -34192,150 +37945,165 @@ const char* DeleteFragmentTagRequest::_InternalParse(const char* ptr, ::_pbi::Pa #undef CHK_ } -uint8_t* DeleteFragmentTagRequest::_InternalSerialize( +uint8_t* ListMachineFragmentsRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteFragmentTagRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListMachineFragmentsRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string fragment_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { + // string machine_id = 1 [json_name = "machineId"]; + if (!this->_internal_machine_id().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_fragment_id().data(), static_cast(this->_internal_fragment_id().length()), + this->_internal_machine_id().data(), static_cast(this->_internal_machine_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteFragmentTagRequest.fragment_id"); + "viam.app.v1.ListMachineFragmentsRequest.machine_id"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_fragment_id(), target); + 1, this->_internal_machine_id(), target); } - // string tag = 2 [json_name = "tag"]; - if (!this->_internal_tag().empty()) { + // 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(i); ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_tag().data(), static_cast(this->_internal_tag().length()), + s.data(), static_cast(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteFragmentTagRequest.tag"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_tag(), target); + "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids"); + target = stream->WriteString(2, s, target); + } + + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; + for (unsigned i = 0, + n = static_cast(this->_internal_additional_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_additional_fragments(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteFragmentTagRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListMachineFragmentsRequest) return target; } -size_t DeleteFragmentTagRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteFragmentTagRequest) +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; - // string fragment_id = 1 [json_name = "fragmentId"]; - if (!this->_internal_fragment_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fragment_id()); + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(additional_fragment_ids_.size()); + for (int i = 0, n = additional_fragment_ids_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + additional_fragment_ids_.Get(i)); } - // string tag = 2 [json_name = "tag"]; - if (!this->_internal_tag().empty()) { + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; + total_size += 1UL * this->_internal_additional_fragments_size(); + for (const auto& msg : this->additional_fragments_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string machine_id = 1 [json_name = "machineId"]; + if (!this->_internal_machine_id().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tag()); + this->_internal_machine_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentTagRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListMachineFragmentsRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteFragmentTagRequest::MergeImpl + ListMachineFragmentsRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentTagRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListMachineFragmentsRequest::GetClassData() const { return &_class_data_; } -void DeleteFragmentTagRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListMachineFragmentsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteFragmentTagRequest::MergeFrom(const DeleteFragmentTagRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteFragmentTagRequest) +void ListMachineFragmentsRequest::MergeFrom(const ListMachineFragmentsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListMachineFragmentsRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_fragment_id().empty()) { - _internal_set_fragment_id(from._internal_fragment_id()); - } - if (!from._internal_tag().empty()) { - _internal_set_tag(from._internal_tag()); + additional_fragment_ids_.MergeFrom(from.additional_fragment_ids_); + additional_fragments_.MergeFrom(from.additional_fragments_); + if (!from._internal_machine_id().empty()) { + _internal_set_machine_id(from._internal_machine_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteFragmentTagRequest::CopyFrom(const DeleteFragmentTagRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteFragmentTagRequest) +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); } -bool DeleteFragmentTagRequest::IsInitialized() const { +bool ListMachineFragmentsRequest::IsInitialized() const { return true; } -void DeleteFragmentTagRequest::InternalSwap(DeleteFragmentTagRequest* other) { +void ListMachineFragmentsRequest::InternalSwap(ListMachineFragmentsRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + additional_fragment_ids_.InternalSwap(&other->additional_fragment_ids_); + additional_fragments_.InternalSwap(&other->additional_fragments_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &fragment_id_, lhs_arena, - &other->fragment_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &tag_, lhs_arena, - &other->tag_, rhs_arena + &machine_id_, lhs_arena, + &other->machine_id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteFragmentTagRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListMachineFragmentsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[119]); + file_level_metadata_app_2fv1_2fapp_2eproto[141]); } // =================================================================== -class DeleteFragmentTagResponse::_Internal { +class ListMachineFragmentsResponse::_Internal { public: }; -DeleteFragmentTagResponse::DeleteFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListMachineFragmentsResponse::ListMachineFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - tags_(arena) { + fragments_(arena), + resolved_fragments_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteFragmentTagResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsResponse) } -DeleteFragmentTagResponse::DeleteFragmentTagResponse(const DeleteFragmentTagResponse& from) +ListMachineFragmentsResponse::ListMachineFragmentsResponse(const ListMachineFragmentsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - tags_(from.tags_) { + fragments_(from.fragments_), + resolved_fragments_(from.resolved_fragments_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteFragmentTagResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsResponse) } -inline void DeleteFragmentTagResponse::SharedCtor() { +inline void ListMachineFragmentsResponse::SharedCtor() { } -DeleteFragmentTagResponse::~DeleteFragmentTagResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.DeleteFragmentTagResponse) +ListMachineFragmentsResponse::~ListMachineFragmentsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -34343,43 +38111,57 @@ DeleteFragmentTagResponse::~DeleteFragmentTagResponse() { SharedDtor(); } -inline void DeleteFragmentTagResponse::SharedDtor() { +inline void ListMachineFragmentsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void DeleteFragmentTagResponse::SetCachedSize(int size) const { +void ListMachineFragmentsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DeleteFragmentTagResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteFragmentTagResponse) +void ListMachineFragmentsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - tags_.Clear(); + fragments_.Clear(); + resolved_fragments_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DeleteFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListMachineFragmentsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tags(), ptr); + ptr = ctx->ParseMessage(_internal_add_fragments(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_resolved_fragments(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -34403,39 +38185,54 @@ const char* DeleteFragmentTagResponse::_InternalParse(const char* ptr, ::_pbi::P #undef CHK_ } -uint8_t* DeleteFragmentTagResponse::_InternalSerialize( +uint8_t* ListMachineFragmentsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteFragmentTagResponse) + // @@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.FragmentTag tags = 1 [json_name = "tags"]; + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; for (unsigned i = 0, - n = static_cast(this->_internal_tags_size()); i < n; i++) { - const auto& repfield = this->_internal_tags(i); + n = static_cast(this->_internal_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_fragments(i); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + for (unsigned i = 0, + n = static_cast(this->_internal_resolved_fragments_size()); i < n; i++) { + const auto& repfield = this->_internal_resolved_fragments(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteFragmentTagResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListMachineFragmentsResponse) return target; } -size_t DeleteFragmentTagResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteFragmentTagResponse) +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.FragmentTag tags = 1 [json_name = "tags"]; - total_size += 1UL * this->_internal_tags_size(); - for (const auto& msg : this->tags_) { + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + total_size += 1UL * this->_internal_fragments_size(); + for (const auto& msg : this->fragments_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + total_size += 1UL * this->_internal_resolved_fragments_size(); + for (const auto& msg : this->resolved_fragments_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } @@ -34443,87 +38240,79 @@ size_t DeleteFragmentTagResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteFragmentTagResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListMachineFragmentsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteFragmentTagResponse::MergeImpl + ListMachineFragmentsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteFragmentTagResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListMachineFragmentsResponse::GetClassData() const { return &_class_data_; } -void DeleteFragmentTagResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListMachineFragmentsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteFragmentTagResponse::MergeFrom(const DeleteFragmentTagResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteFragmentTagResponse) +void ListMachineFragmentsResponse::MergeFrom(const ListMachineFragmentsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListMachineFragmentsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - tags_.MergeFrom(from.tags_); + fragments_.MergeFrom(from.fragments_); + resolved_fragments_.MergeFrom(from.resolved_fragments_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteFragmentTagResponse::CopyFrom(const DeleteFragmentTagResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteFragmentTagResponse) +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); } -bool DeleteFragmentTagResponse::IsInitialized() const { +bool ListMachineFragmentsResponse::IsInitialized() const { return true; } -void DeleteFragmentTagResponse::InternalSwap(DeleteFragmentTagResponse* other) { +void ListMachineFragmentsResponse::InternalSwap(ListMachineFragmentsResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - tags_.InternalSwap(&other->tags_); + fragments_.InternalSwap(&other->fragments_); + resolved_fragments_.InternalSwap(&other->resolved_fragments_); } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteFragmentTagResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListMachineFragmentsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[120]); + file_level_metadata_app_2fv1_2fapp_2eproto[142]); } // =================================================================== -class ListRobotsRequest::_Internal { +class ListRobotsResponse::_Internal { public: }; -ListRobotsRequest::ListRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListRobotsResponse::ListRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + robots_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListRobotsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListRobotsResponse) } -ListRobotsRequest::ListRobotsRequest(const ListRobotsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +ListRobotsResponse::ListRobotsResponse(const ListRobotsResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + robots_(from.robots_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - location_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_location_id().empty()) { - location_id_.Set(from._internal_location_id(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListRobotsRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListRobotsResponse) } -inline void ListRobotsRequest::SharedCtor() { -location_id_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_id_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void ListRobotsResponse::SharedCtor() { } -ListRobotsRequest::~ListRobotsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListRobotsRequest) +ListRobotsResponse::~ListRobotsResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.ListRobotsResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -34531,38 +38320,40 @@ ListRobotsRequest::~ListRobotsRequest() { SharedDtor(); } -inline void ListRobotsRequest::SharedDtor() { +inline void ListRobotsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - location_id_.Destroy(); } -void ListRobotsRequest::SetCachedSize(int size) const { +void ListRobotsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListRobotsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListRobotsRequest) +void ListRobotsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListRobotsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - location_id_.ClearToEmpty(); + robots_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListRobotsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ListRobotsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string location_id = 1 [json_name = "locationId"]; + // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_location_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListRobotsRequest.location_id")); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_robots(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -34589,138 +38380,139 @@ const char* ListRobotsRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont #undef CHK_ } -uint8_t* ListRobotsRequest::_InternalSerialize( +uint8_t* ListRobotsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListRobotsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListRobotsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string location_id = 1 [json_name = "locationId"]; - if (!this->_internal_location_id().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_location_id().data(), static_cast(this->_internal_location_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ListRobotsRequest.location_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_location_id(), target); + // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; + for (unsigned i = 0, + n = static_cast(this->_internal_robots_size()); i < n; i++) { + const auto& repfield = this->_internal_robots(i); + target = ::PROTOBUF_NAMESPACE_ID::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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListRobotsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListRobotsResponse) return target; } -size_t ListRobotsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListRobotsRequest) +size_t ListRobotsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListRobotsResponse) 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 location_id = 1 [json_name = "locationId"]; - if (!this->_internal_location_id().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_location_id()); + // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; + total_size += 1UL * this->_internal_robots_size(); + for (const auto& msg : this->robots_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListRobotsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListRobotsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListRobotsRequest::MergeImpl + ListRobotsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListRobotsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListRobotsResponse::GetClassData() const { return &_class_data_; } -void ListRobotsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListRobotsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListRobotsRequest::MergeFrom(const ListRobotsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListRobotsRequest) +void ListRobotsResponse::MergeFrom(const ListRobotsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListRobotsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_location_id().empty()) { - _internal_set_location_id(from._internal_location_id()); - } + robots_.MergeFrom(from.robots_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListRobotsRequest::CopyFrom(const ListRobotsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListRobotsRequest) +void ListRobotsResponse::CopyFrom(const ListRobotsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListRobotsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListRobotsRequest::IsInitialized() const { +bool ListRobotsResponse::IsInitialized() const { return true; } -void ListRobotsRequest::InternalSwap(ListRobotsRequest* other) { +void ListRobotsResponse::InternalSwap(ListRobotsResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &location_id_, lhs_arena, - &other->location_id_, rhs_arena - ); + robots_.InternalSwap(&other->robots_); } -::PROTOBUF_NAMESPACE_ID::Metadata ListRobotsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListRobotsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[121]); + file_level_metadata_app_2fv1_2fapp_2eproto[143]); } // =================================================================== -class ListMachineFragmentsRequest::_Internal { +class NewRobotRequest::_Internal { public: }; -ListMachineFragmentsRequest::ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +NewRobotRequest::NewRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - additional_fragment_ids_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotRequest) } -ListMachineFragmentsRequest::ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - additional_fragment_ids_(from.additional_fragment_ids_) { +NewRobotRequest::NewRobotRequest(const NewRobotRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - machine_id_.InitDefault(); + name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - machine_id_.Set("", GetArenaForAllocation()); + name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_machine_id().empty()) { - machine_id_.Set(from._internal_machine_id(), + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsRequest) + location_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_location().empty()) { + location_.Set(from._internal_location(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotRequest) } -inline void ListMachineFragmentsRequest::SharedCtor() { -machine_id_.InitDefault(); +inline void NewRobotRequest::SharedCtor() { +name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - machine_id_.Set("", GetArenaForAllocation()); + name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +location_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsRequest) +NewRobotRequest::~NewRobotRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -34728,54 +38520,50 @@ ListMachineFragmentsRequest::~ListMachineFragmentsRequest() { SharedDtor(); } -inline void ListMachineFragmentsRequest::SharedDtor() { +inline void NewRobotRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - machine_id_.Destroy(); + name_.Destroy(); + location_.Destroy(); } -void ListMachineFragmentsRequest::SetCachedSize(int size) const { +void NewRobotRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListMachineFragmentsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsRequest) +void NewRobotRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - additional_fragment_ids_.Clear(); - machine_id_.ClearToEmpty(); + name_.ClearToEmpty(); + location_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListMachineFragmentsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* NewRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string machine_id = 1 [json_name = "machineId"]; + // string name = 1 [json_name = "name"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_machine_id(); + auto str = _internal_mutable_name(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.machine_id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotRequest.name")); } else goto handle_unusual; continue; - // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + // string location = 2 [json_name = "location"]; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_additional_fragment_ids(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids")); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + auto str = _internal_mutable_location(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotRequest.location")); } else goto handle_unusual; continue; @@ -34802,148 +38590,160 @@ const char* ListMachineFragmentsRequest::_InternalParse(const char* ptr, ::_pbi: #undef CHK_ } -uint8_t* ListMachineFragmentsRequest::_InternalSerialize( +uint8_t* NewRobotRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListMachineFragmentsRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string machine_id = 1 [json_name = "machineId"]; - if (!this->_internal_machine_id().empty()) { + // string name = 1 [json_name = "name"]; + if (!this->_internal_name().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_machine_id().data(), static_cast(this->_internal_machine_id().length()), + this->_internal_name().data(), static_cast(this->_internal_name().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ListMachineFragmentsRequest.machine_id"); + "viam.app.v1.NewRobotRequest.name"); target = stream->WriteStringMaybeAliased( - 1, this->_internal_machine_id(), target); + 1, this->_internal_name(), 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(i); + // string location = 2 [json_name = "location"]; + if (!this->_internal_location().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), + this->_internal_location().data(), static_cast(this->_internal_location().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.ListMachineFragmentsRequest.additional_fragment_ids"); - target = stream->WriteString(2, s, target); + "viam.app.v1.NewRobotRequest.location"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_location(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListMachineFragmentsRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotRequest) return target; } -size_t ListMachineFragmentsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListMachineFragmentsRequest) +size_t NewRobotRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotRequest) 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 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(additional_fragment_ids_.size()); - for (int i = 0, n = additional_fragment_ids_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - additional_fragment_ids_.Get(i)); + // string name = 1 [json_name = "name"]; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } - // string machine_id = 1 [json_name = "machineId"]; - if (!this->_internal_machine_id().empty()) { + // string location = 2 [json_name = "location"]; + if (!this->_internal_location().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_machine_id()); + this->_internal_location()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListMachineFragmentsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListMachineFragmentsRequest::MergeImpl + NewRobotRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListMachineFragmentsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotRequest::GetClassData() const { return &_class_data_; } -void ListMachineFragmentsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void NewRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListMachineFragmentsRequest::MergeFrom(const ListMachineFragmentsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListMachineFragmentsRequest) +void NewRobotRequest::MergeFrom(const NewRobotRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - additional_fragment_ids_.MergeFrom(from.additional_fragment_ids_); - if (!from._internal_machine_id().empty()) { - _internal_set_machine_id(from._internal_machine_id()); + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } + if (!from._internal_location().empty()) { + _internal_set_location(from._internal_location()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListMachineFragmentsRequest::CopyFrom(const ListMachineFragmentsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListMachineFragmentsRequest) +void NewRobotRequest::CopyFrom(const NewRobotRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListMachineFragmentsRequest::IsInitialized() const { +bool NewRobotRequest::IsInitialized() const { return true; } -void ListMachineFragmentsRequest::InternalSwap(ListMachineFragmentsRequest* other) { +void NewRobotRequest::InternalSwap(NewRobotRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - additional_fragment_ids_.InternalSwap(&other->additional_fragment_ids_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &machine_id_, lhs_arena, - &other->machine_id_, rhs_arena + &name_, lhs_arena, + &other->name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &location_, lhs_arena, + &other->location_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata ListMachineFragmentsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata NewRobotRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[122]); + file_level_metadata_app_2fv1_2fapp_2eproto[144]); } // =================================================================== -class ListMachineFragmentsResponse::_Internal { +class NewRobotResponse::_Internal { public: }; -ListMachineFragmentsResponse::ListMachineFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +NewRobotResponse::NewRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - fragments_(arena), - resolved_fragments_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListMachineFragmentsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotResponse) } -ListMachineFragmentsResponse::ListMachineFragmentsResponse(const ListMachineFragmentsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - fragments_(from.fragments_), - resolved_fragments_(from.resolved_fragments_) { +NewRobotResponse::NewRobotResponse(const NewRobotResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListMachineFragmentsResponse) + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotResponse) } -inline void ListMachineFragmentsResponse::SharedCtor() { +inline void NewRobotResponse::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -ListMachineFragmentsResponse::~ListMachineFragmentsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListMachineFragmentsResponse) +NewRobotResponse::~NewRobotResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -34951,54 +38751,38 @@ ListMachineFragmentsResponse::~ListMachineFragmentsResponse() { SharedDtor(); } -inline void ListMachineFragmentsResponse::SharedDtor() { +inline void NewRobotResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + id_.Destroy(); } -void ListMachineFragmentsResponse::SetCachedSize(int size) const { +void NewRobotResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListMachineFragmentsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListMachineFragmentsResponse) +void NewRobotResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - fragments_.Clear(); - resolved_fragments_.Clear(); + id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListMachineFragmentsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* NewRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_fragments(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_resolved_fragments(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotResponse.id")); } else goto handle_unusual; continue; @@ -35025,134 +38809,160 @@ const char* ListMachineFragmentsResponse::_InternalParse(const char* ptr, ::_pbi #undef CHK_ } -uint8_t* ListMachineFragmentsResponse::_InternalSerialize( +uint8_t* NewRobotResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListMachineFragmentsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; - for (unsigned i = 0, - n = static_cast(this->_internal_fragments_size()); i < n; i++) { - const auto& repfield = this->_internal_fragments(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; - for (unsigned i = 0, - n = static_cast(this->_internal_resolved_fragments_size()); i < n; i++) { - const auto& repfield = this->_internal_resolved_fragments(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.NewRobotResponse.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListMachineFragmentsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotResponse) return target; } -size_t ListMachineFragmentsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListMachineFragmentsResponse) +size_t NewRobotResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; - total_size += 1UL * this->_internal_fragments_size(); - for (const auto& msg : this->fragments_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; - total_size += 1UL * this->_internal_resolved_fragments_size(); - for (const auto& msg : this->resolved_fragments_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListMachineFragmentsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListMachineFragmentsResponse::MergeImpl + NewRobotResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListMachineFragmentsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotResponse::GetClassData() const { return &_class_data_; } -void ListMachineFragmentsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void NewRobotResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListMachineFragmentsResponse::MergeFrom(const ListMachineFragmentsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListMachineFragmentsResponse) +void NewRobotResponse::MergeFrom(const NewRobotResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - fragments_.MergeFrom(from.fragments_); - resolved_fragments_.MergeFrom(from.resolved_fragments_); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListMachineFragmentsResponse::CopyFrom(const ListMachineFragmentsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListMachineFragmentsResponse) +void NewRobotResponse::CopyFrom(const NewRobotResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListMachineFragmentsResponse::IsInitialized() const { +bool NewRobotResponse::IsInitialized() const { return true; } -void ListMachineFragmentsResponse::InternalSwap(ListMachineFragmentsResponse* other) { +void NewRobotResponse::InternalSwap(NewRobotResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - fragments_.InternalSwap(&other->fragments_); - resolved_fragments_.InternalSwap(&other->resolved_fragments_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata ListMachineFragmentsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata NewRobotResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[123]); + file_level_metadata_app_2fv1_2fapp_2eproto[145]); } // =================================================================== -class ListRobotsResponse::_Internal { +class UpdateRobotRequest::_Internal { public: }; -ListRobotsResponse::ListRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateRobotRequest::UpdateRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - robots_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.ListRobotsResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotRequest) } -ListRobotsResponse::ListRobotsResponse(const ListRobotsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - robots_(from.robots_) { +UpdateRobotRequest::UpdateRobotRequest(const UpdateRobotRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.ListRobotsResponse) + id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + id_.Set(from._internal_id(), + GetArenaForAllocation()); + } + name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + name_.Set(from._internal_name(), + GetArenaForAllocation()); + } + location_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_location().empty()) { + location_.Set(from._internal_location(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotRequest) } -inline void ListRobotsResponse::SharedCtor() { +inline void UpdateRobotRequest::SharedCtor() { +id_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + id_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +name_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + name_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +location_.InitDefault(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + location_.Set("", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -ListRobotsResponse::~ListRobotsResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.ListRobotsResponse) +UpdateRobotRequest::~UpdateRobotRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -35160,40 +38970,62 @@ ListRobotsResponse::~ListRobotsResponse() { SharedDtor(); } -inline void ListRobotsResponse::SharedDtor() { +inline void UpdateRobotRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + id_.Destroy(); + name_.Destroy(); + location_.Destroy(); } -void ListRobotsResponse::SetCachedSize(int size) const { +void UpdateRobotRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void ListRobotsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.ListRobotsResponse) +void UpdateRobotRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - robots_.Clear(); + id_.ClearToEmpty(); + name_.ClearToEmpty(); + location_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ListRobotsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; + // string id = 1 [json_name = "id"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_robots(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotRequest.id")); + } else + goto handle_unusual; + continue; + // string name = 2 [json_name = "name"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotRequest.name")); + } else + goto handle_unusual; + continue; + // string location = 3 [json_name = "location"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_location(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotRequest.location")); } else goto handle_unusual; continue; @@ -35220,139 +39052,183 @@ const char* ListRobotsResponse::_InternalParse(const char* ptr, ::_pbi::ParseCon #undef CHK_ } -uint8_t* ListRobotsResponse::_InternalSerialize( +uint8_t* UpdateRobotRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.ListRobotsResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; - for (unsigned i = 0, - n = static_cast(this->_internal_robots_size()); i < n; i++) { - const auto& repfield = this->_internal_robots(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotRequest.id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // string name = 2 [json_name = "name"]; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotRequest.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + // string location = 3 [json_name = "location"]; + if (!this->_internal_location().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_location().data(), static_cast(this->_internal_location().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotRequest.location"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_location(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.ListRobotsResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotRequest) return target; } -size_t ListRobotsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.ListRobotsResponse) +size_t UpdateRobotRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotRequest) 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.Robot robots = 1 [json_name = "robots"]; - total_size += 1UL * this->_internal_robots_size(); - for (const auto& msg : this->robots_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string id = 1 [json_name = "id"]; + if (!this->_internal_id().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // string name = 2 [json_name = "name"]; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // string location = 3 [json_name = "location"]; + if (!this->_internal_location().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_location()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListRobotsResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ListRobotsResponse::MergeImpl + UpdateRobotRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListRobotsResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotRequest::GetClassData() const { return &_class_data_; } -void ListRobotsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void ListRobotsResponse::MergeFrom(const ListRobotsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.ListRobotsResponse) +void UpdateRobotRequest::MergeFrom(const UpdateRobotRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - robots_.MergeFrom(from.robots_); + if (!from._internal_id().empty()) { + _internal_set_id(from._internal_id()); + } + if (!from._internal_name().empty()) { + _internal_set_name(from._internal_name()); + } + if (!from._internal_location().empty()) { + _internal_set_location(from._internal_location()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ListRobotsResponse::CopyFrom(const ListRobotsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.ListRobotsResponse) +void UpdateRobotRequest::CopyFrom(const UpdateRobotRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool ListRobotsResponse::IsInitialized() const { +bool UpdateRobotRequest::IsInitialized() const { return true; } -void ListRobotsResponse::InternalSwap(ListRobotsResponse* other) { +void UpdateRobotRequest::InternalSwap(UpdateRobotRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - robots_.InternalSwap(&other->robots_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &id_, lhs_arena, + &other->id_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &name_, lhs_arena, + &other->name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &location_, lhs_arena, + &other->location_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata ListRobotsResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[124]); + file_level_metadata_app_2fv1_2fapp_2eproto[146]); } // =================================================================== -class NewRobotRequest::_Internal { +class UpdateRobotResponse::_Internal { public: + static const ::viam::app::v1::Robot& robot(const UpdateRobotResponse* msg); }; -NewRobotRequest::NewRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::viam::app::v1::Robot& +UpdateRobotResponse::_Internal::robot(const UpdateRobotResponse* msg) { + return *msg->robot_; +} +UpdateRobotResponse::UpdateRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotResponse) } -NewRobotRequest::NewRobotRequest(const NewRobotRequest& from) +UpdateRobotResponse::UpdateRobotResponse(const UpdateRobotResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), - GetArenaForAllocation()); - } - location_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_location().empty()) { - location_.Set(from._internal_location(), - GetArenaForAllocation()); + if (from._internal_has_robot()) { + robot_ = new ::viam::app::v1::Robot(*from.robot_); + } else { + robot_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotResponse) } -inline void NewRobotRequest::SharedCtor() { -name_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -location_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +inline void UpdateRobotResponse::SharedCtor() { +robot_ = nullptr; } -NewRobotRequest::~NewRobotRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotRequest) +UpdateRobotResponse::~UpdateRobotResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -35360,50 +39236,39 @@ NewRobotRequest::~NewRobotRequest() { SharedDtor(); } -inline void NewRobotRequest::SharedDtor() { +inline void UpdateRobotResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - name_.Destroy(); - location_.Destroy(); + if (this != internal_default_instance()) delete robot_; } -void NewRobotRequest::SetCachedSize(int size) const { +void UpdateRobotResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NewRobotRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotRequest) +void UpdateRobotResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - name_.ClearToEmpty(); - location_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && robot_ != nullptr) { + delete robot_; + } + robot_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NewRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // string name = 1 [json_name = "name"]; + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotRequest.name")); - } else - goto handle_unusual; - continue; - // string location = 2 [json_name = "location"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_location(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + ptr = ctx->ParseMessage(_internal_mutable_robot(), ptr); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotRequest.location")); } else goto handle_unusual; continue; @@ -35430,138 +39295,106 @@ const char* NewRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContex #undef CHK_ } -uint8_t* NewRobotRequest::_InternalSerialize( +uint8_t* UpdateRobotResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // string name = 1 [json_name = "name"]; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.NewRobotRequest.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // string location = 2 [json_name = "location"]; - if (!this->_internal_location().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_location().data(), static_cast(this->_internal_location().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.NewRobotRequest.location"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_location(), target); + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + if (this->_internal_has_robot()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::robot(this), + _Internal::robot(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotResponse) return target; } -size_t NewRobotRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotRequest) +size_t UpdateRobotResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotResponse) 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 name = 1 [json_name = "name"]; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string location = 2 [json_name = "location"]; - if (!this->_internal_location().empty()) { + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + if (this->_internal_has_robot()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_location()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *robot_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NewRobotRequest::MergeImpl + UpdateRobotResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotResponse::GetClassData() const { return &_class_data_; } -void NewRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateRobotResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NewRobotRequest::MergeFrom(const NewRobotRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotRequest) +void UpdateRobotResponse::MergeFrom(const UpdateRobotResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } - if (!from._internal_location().empty()) { - _internal_set_location(from._internal_location()); + if (from._internal_has_robot()) { + _internal_mutable_robot()->::viam::app::v1::Robot::MergeFrom(from._internal_robot()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NewRobotRequest::CopyFrom(const NewRobotRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotRequest) +void UpdateRobotResponse::CopyFrom(const UpdateRobotResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NewRobotRequest::IsInitialized() const { +bool UpdateRobotResponse::IsInitialized() const { return true; } -void NewRobotRequest::InternalSwap(NewRobotRequest* other) { +void UpdateRobotResponse::InternalSwap(UpdateRobotResponse* other) { using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &location_, lhs_arena, - &other->location_, rhs_arena - ); + swap(robot_, other->robot_); } -::PROTOBUF_NAMESPACE_ID::Metadata NewRobotRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[125]); + file_level_metadata_app_2fv1_2fapp_2eproto[147]); } // =================================================================== -class NewRobotResponse::_Internal { +class DeleteRobotRequest::_Internal { public: }; -NewRobotResponse::NewRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteRobotRequest::DeleteRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.NewRobotResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotRequest) } -NewRobotResponse::NewRobotResponse(const NewRobotResponse& from) +DeleteRobotRequest::DeleteRobotRequest(const DeleteRobotRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.InitDefault(); @@ -35572,18 +39405,18 @@ NewRobotResponse::NewRobotResponse(const NewRobotResponse& from) id_.Set(from._internal_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.NewRobotResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotRequest) } -inline void NewRobotResponse::SharedCtor() { +inline void DeleteRobotRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -NewRobotResponse::~NewRobotResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.NewRobotResponse) +DeleteRobotRequest::~DeleteRobotRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.DeleteRobotRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -35591,17 +39424,17 @@ NewRobotResponse::~NewRobotResponse() { SharedDtor(); } -inline void NewRobotResponse::SharedDtor() { +inline void DeleteRobotRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); } -void NewRobotResponse::SetCachedSize(int size) const { +void DeleteRobotRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NewRobotResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.NewRobotResponse) +void DeleteRobotRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteRobotRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -35610,7 +39443,7 @@ void NewRobotResponse::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NewRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DeleteRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -35622,7 +39455,7 @@ const char* NewRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseConte auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.NewRobotResponse.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteRobotRequest.id")); } else goto handle_unusual; continue; @@ -35649,9 +39482,9 @@ const char* NewRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseConte #undef CHK_ } -uint8_t* NewRobotResponse::_InternalSerialize( +uint8_t* DeleteRobotRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.NewRobotResponse) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteRobotRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -35660,7 +39493,7 @@ uint8_t* NewRobotResponse::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.NewRobotResponse.id"); + "viam.app.v1.DeleteRobotRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } @@ -35669,12 +39502,12 @@ uint8_t* NewRobotResponse::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.NewRobotResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteRobotRequest) return target; } -size_t NewRobotResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.NewRobotResponse) +size_t DeleteRobotRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteRobotRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -35691,21 +39524,21 @@ size_t NewRobotResponse::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NewRobotResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NewRobotResponse::MergeImpl + DeleteRobotRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NewRobotResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotRequest::GetClassData() const { return &_class_data_; } -void NewRobotResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NewRobotResponse::MergeFrom(const NewRobotResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.NewRobotResponse) +void DeleteRobotRequest::MergeFrom(const DeleteRobotRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteRobotRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -35716,18 +39549,18 @@ void NewRobotResponse::MergeFrom(const NewRobotResponse& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NewRobotResponse::CopyFrom(const NewRobotResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.NewRobotResponse) +void DeleteRobotRequest::CopyFrom(const DeleteRobotRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteRobotRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NewRobotResponse::IsInitialized() const { +bool DeleteRobotRequest::IsInitialized() const { return true; } -void NewRobotResponse::InternalSwap(NewRobotResponse* other) { +void DeleteRobotRequest::InternalSwap(DeleteRobotRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -35738,25 +39571,64 @@ void NewRobotResponse::InternalSwap(NewRobotResponse* other) { ); } -::PROTOBUF_NAMESPACE_ID::Metadata NewRobotResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[126]); + file_level_metadata_app_2fv1_2fapp_2eproto[148]); } // =================================================================== -class UpdateRobotRequest::_Internal { +class DeleteRobotResponse::_Internal { public: }; -UpdateRobotRequest::UpdateRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteRobotResponse::DeleteRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotResponse) +} +DeleteRobotResponse::DeleteRobotResponse(const DeleteRobotResponse& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotResponse) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotResponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotResponse::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotResponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, + file_level_metadata_app_2fv1_2fapp_2eproto[149]); +} + +// =================================================================== + +class GetRobotMetadataRequest::_Internal { + public: +}; + +GetRobotMetadataRequest::GetRobotMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotRequest) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotMetadataRequest) } -UpdateRobotRequest::UpdateRobotRequest(const UpdateRobotRequest& from) +GetRobotMetadataRequest::GetRobotMetadataRequest(const GetRobotMetadataRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); id_.InitDefault(); @@ -35767,42 +39639,18 @@ UpdateRobotRequest::UpdateRobotRequest(const UpdateRobotRequest& from) id_.Set(from._internal_id(), GetArenaForAllocation()); } - name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_name().empty()) { - name_.Set(from._internal_name(), - GetArenaForAllocation()); - } - location_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_location().empty()) { - location_.Set(from._internal_location(), - GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotMetadataRequest) } -inline void UpdateRobotRequest::SharedCtor() { +inline void GetRobotMetadataRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -name_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - name_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -location_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - location_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -UpdateRobotRequest::~UpdateRobotRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotRequest) +GetRobotMetadataRequest::~GetRobotMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotMetadataRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -35810,30 +39658,26 @@ UpdateRobotRequest::~UpdateRobotRequest() { SharedDtor(); } -inline void UpdateRobotRequest::SharedDtor() { +inline void GetRobotMetadataRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); id_.Destroy(); - name_.Destroy(); - location_.Destroy(); } -void UpdateRobotRequest::SetCachedSize(int size) const { +void GetRobotMetadataRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UpdateRobotRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotRequest) +void GetRobotMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotMetadataRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; id_.ClearToEmpty(); - name_.ClearToEmpty(); - location_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UpdateRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -35845,27 +39689,7 @@ const char* UpdateRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotRequest.id")); - } else - goto handle_unusual; - continue; - // string name = 2 [json_name = "name"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotRequest.name")); - } else - goto handle_unusual; - continue; - // string location = 3 [json_name = "location"]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_location(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotRequest.location")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.GetRobotMetadataRequest.id")); } else goto handle_unusual; continue; @@ -35892,9 +39716,9 @@ const char* UpdateRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon #undef CHK_ } -uint8_t* UpdateRobotRequest::_InternalSerialize( +uint8_t* GetRobotMetadataRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotMetadataRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -35903,41 +39727,21 @@ uint8_t* UpdateRobotRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateRobotRequest.id"); + "viam.app.v1.GetRobotMetadataRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } - // string name = 2 [json_name = "name"]; - if (!this->_internal_name().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateRobotRequest.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // string location = 3 [json_name = "location"]; - if (!this->_internal_location().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_location().data(), static_cast(this->_internal_location().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.UpdateRobotRequest.location"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_location(), target); - } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotMetadataRequest) return target; } -size_t UpdateRobotRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotRequest) +size_t GetRobotMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotMetadataRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -35951,38 +39755,24 @@ size_t UpdateRobotRequest::ByteSizeLong() const { this->_internal_id()); } - // string name = 2 [json_name = "name"]; - if (!this->_internal_name().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // string location = 3 [json_name = "location"]; - if (!this->_internal_location().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_location()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotMetadataRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UpdateRobotRequest::MergeImpl + GetRobotMetadataRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotMetadataRequest::GetClassData() const { return &_class_data_; } -void UpdateRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UpdateRobotRequest::MergeFrom(const UpdateRobotRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotRequest) +void GetRobotMetadataRequest::MergeFrom(const GetRobotMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotMetadataRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -35990,27 +39780,21 @@ void UpdateRobotRequest::MergeFrom(const UpdateRobotRequest& from) { if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } - if (!from._internal_name().empty()) { - _internal_set_name(from._internal_name()); - } - if (!from._internal_location().empty()) { - _internal_set_location(from._internal_location()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UpdateRobotRequest::CopyFrom(const UpdateRobotRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotRequest) +void GetRobotMetadataRequest::CopyFrom(const GetRobotMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotMetadataRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool UpdateRobotRequest::IsInitialized() const { +bool GetRobotMetadataRequest::IsInitialized() const { return true; } -void UpdateRobotRequest::InternalSwap(UpdateRobotRequest* other) { +void GetRobotMetadataRequest::InternalSwap(GetRobotMetadataRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -36019,96 +39803,106 @@ void UpdateRobotRequest::InternalSwap(UpdateRobotRequest* other) { &id_, lhs_arena, &other->id_, rhs_arena ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &name_, lhs_arena, - &other->name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &location_, lhs_arena, - &other->location_, rhs_arena - ); } -::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotMetadataRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[127]); + file_level_metadata_app_2fv1_2fapp_2eproto[150]); } // =================================================================== -class UpdateRobotResponse::_Internal { +GetRobotMetadataResponse_DataEntry_DoNotUse::GetRobotMetadataResponse_DataEntry_DoNotUse() {} +GetRobotMetadataResponse_DataEntry_DoNotUse::GetRobotMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void GetRobotMetadataResponse_DataEntry_DoNotUse::MergeFrom(const GetRobotMetadataResponse_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotMetadataResponse_DataEntry_DoNotUse::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]); +} + +// =================================================================== + +class GetRobotMetadataResponse::_Internal { public: - static const ::viam::app::v1::Robot& robot(const UpdateRobotResponse* msg); }; -const ::viam::app::v1::Robot& -UpdateRobotResponse::_Internal::robot(const UpdateRobotResponse* msg) { - return *msg->robot_; +void GetRobotMetadataResponse::clear_data() { + data_.Clear(); } -UpdateRobotResponse::UpdateRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetRobotMetadataResponse::GetRobotMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotResponse) + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &GetRobotMetadataResponse::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.GetRobotMetadataResponse) } -UpdateRobotResponse::UpdateRobotResponse(const UpdateRobotResponse& from) +GetRobotMetadataResponse::GetRobotMetadataResponse(const GetRobotMetadataResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_robot()) { - robot_ = new ::viam::app::v1::Robot(*from.robot_); - } else { - robot_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotResponse) + data_.MergeFrom(from.data_); + // @@protoc_insertion_point(copy_constructor:viam.app.v1.GetRobotMetadataResponse) } -inline void UpdateRobotResponse::SharedCtor() { -robot_ = nullptr; +inline void GetRobotMetadataResponse::SharedCtor() { } -UpdateRobotResponse::~UpdateRobotResponse() { - // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotResponse) +GetRobotMetadataResponse::~GetRobotMetadataResponse() { + // @@protoc_insertion_point(destructor:viam.app.v1.GetRobotMetadataResponse) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; + ArenaDtor(this); return; } SharedDtor(); } -inline void UpdateRobotResponse::SharedDtor() { +inline void GetRobotMetadataResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete robot_; + data_.Destruct(); } -void UpdateRobotResponse::SetCachedSize(int size) const { +void GetRobotMetadataResponse::ArenaDtor(void* object) { + GetRobotMetadataResponse* _this = reinterpret_cast< GetRobotMetadataResponse* >(object); + _this->data_.Destruct(); +} +void GetRobotMetadataResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void UpdateRobotResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotResponse) +void GetRobotMetadataResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.GetRobotMetadataResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && robot_ != nullptr) { - delete robot_; - } - robot_ = nullptr; + data_.Clear(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UpdateRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* GetRobotMetadataResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + // map data = 1 [json_name = "data"]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_robot(), ptr); - CHK_(ptr); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; @@ -36135,108 +39929,149 @@ const char* UpdateRobotResponse::_InternalParse(const char* ptr, ::_pbi::ParseCo #undef CHK_ } -uint8_t* UpdateRobotResponse::_InternalSerialize( +uint8_t* GetRobotMetadataResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; - if (this->_internal_has_robot()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::robot(this), - _Internal::robot(this).GetCachedSize(), target, stream); + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.GetRobotMetadataResponse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // map data = 1 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = GetRobotMetadataResponse_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.GetRobotMetadataResponse.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotResponse) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.GetRobotMetadataResponse) return target; } -size_t UpdateRobotResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotResponse) +size_t GetRobotMetadataResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.GetRobotMetadataResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; - if (this->_internal_has_robot()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *robot_); + // map data = 1 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += GetRobotMetadataResponse_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetRobotMetadataResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - UpdateRobotResponse::MergeImpl + GetRobotMetadataResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetRobotMetadataResponse::GetClassData() const { return &_class_data_; } -void UpdateRobotResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetRobotMetadataResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void UpdateRobotResponse::MergeFrom(const UpdateRobotResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotResponse) +void GetRobotMetadataResponse::MergeFrom(const GetRobotMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.GetRobotMetadataResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_robot()) { - _internal_mutable_robot()->::viam::app::v1::Robot::MergeFrom(from._internal_robot()); - } + data_.MergeFrom(from.data_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UpdateRobotResponse::CopyFrom(const UpdateRobotResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotResponse) +void GetRobotMetadataResponse::CopyFrom(const GetRobotMetadataResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.GetRobotMetadataResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool UpdateRobotResponse::IsInitialized() const { +bool GetRobotMetadataResponse::IsInitialized() const { return true; } -void UpdateRobotResponse::InternalSwap(UpdateRobotResponse* other) { +void GetRobotMetadataResponse::InternalSwap(GetRobotMetadataResponse* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(robot_, other->robot_); + data_.InternalSwap(&other->data_); } -::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetRobotMetadataResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[128]); + file_level_metadata_app_2fv1_2fapp_2eproto[152]); } // =================================================================== -class DeleteRobotRequest::_Internal { +UpdateRobotMetadataRequest_DataEntry_DoNotUse::UpdateRobotMetadataRequest_DataEntry_DoNotUse() {} +UpdateRobotMetadataRequest_DataEntry_DoNotUse::UpdateRobotMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : SuperType(arena) {} +void UpdateRobotMetadataRequest_DataEntry_DoNotUse::MergeFrom(const UpdateRobotMetadataRequest_DataEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotMetadataRequest_DataEntry_DoNotUse::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]); +} + +// =================================================================== + +class UpdateRobotMetadataRequest::_Internal { public: }; -DeleteRobotRequest::DeleteRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +void UpdateRobotMetadataRequest::clear_data() { + data_.Clear(); +} +UpdateRobotMetadataRequest::UpdateRobotMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + data_(arena) { SharedCtor(); - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotRequest) + if (arena != nullptr && !is_message_owned) { + arena->OwnCustomDestructor(this, &UpdateRobotMetadataRequest::ArenaDtor); + } + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotMetadataRequest) } -DeleteRobotRequest::DeleteRobotRequest(const DeleteRobotRequest& from) +UpdateRobotMetadataRequest::UpdateRobotMetadataRequest(const UpdateRobotMetadataRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + data_.MergeFrom(from.data_); id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); @@ -36245,45 +40080,52 @@ DeleteRobotRequest::DeleteRobotRequest(const DeleteRobotRequest& from) id_.Set(from._internal_id(), GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotRequest) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotMetadataRequest) } -inline void DeleteRobotRequest::SharedCtor() { +inline void UpdateRobotMetadataRequest::SharedCtor() { id_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING id_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -DeleteRobotRequest::~DeleteRobotRequest() { - // @@protoc_insertion_point(destructor:viam.app.v1.DeleteRobotRequest) +UpdateRobotMetadataRequest::~UpdateRobotMetadataRequest() { + // @@protoc_insertion_point(destructor:viam.app.v1.UpdateRobotMetadataRequest) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; + ArenaDtor(this); return; } SharedDtor(); } -inline void DeleteRobotRequest::SharedDtor() { +inline void UpdateRobotMetadataRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + data_.Destruct(); id_.Destroy(); } -void DeleteRobotRequest::SetCachedSize(int size) const { +void UpdateRobotMetadataRequest::ArenaDtor(void* object) { + UpdateRobotMetadataRequest* _this = reinterpret_cast< UpdateRobotMetadataRequest* >(object); + _this->data_.Destruct(); +} +void UpdateRobotMetadataRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void DeleteRobotRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:viam.app.v1.DeleteRobotRequest) +void UpdateRobotMetadataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:viam.app.v1.UpdateRobotMetadataRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + data_.Clear(); id_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DeleteRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UpdateRobotMetadataRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -36295,7 +40137,20 @@ const char* DeleteRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon auto str = _internal_mutable_id(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.DeleteRobotRequest.id")); + CHK_(::_pbi::VerifyUTF8(str, "viam.app.v1.UpdateRobotMetadataRequest.id")); + } else + goto handle_unusual; + continue; + // map data = 2 [json_name = "data"]; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(&data_, ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); } else goto handle_unusual; continue; @@ -36322,9 +40177,9 @@ const char* DeleteRobotRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon #undef CHK_ } -uint8_t* DeleteRobotRequest::_InternalSerialize( +uint8_t* UpdateRobotMetadataRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.DeleteRobotRequest) + // @@protoc_insertion_point(serialize_to_array_start:viam.app.v1.UpdateRobotMetadataRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -36333,27 +40188,62 @@ uint8_t* DeleteRobotRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_id().data(), static_cast(this->_internal_id().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "viam.app.v1.DeleteRobotRequest.id"); + "viam.app.v1.UpdateRobotMetadataRequest.id"); target = stream->WriteStringMaybeAliased( 1, this->_internal_id(), target); } + // map data = 2 [json_name = "data"]; + if (!this->_internal_data().empty()) { + using MapType = ::_pb::Map; + using WireHelper = UpdateRobotMetadataRequest_DataEntry_DoNotUse::Funcs; + const auto& map_field = this->_internal_data(); + auto check_utf8 = [](const MapType::value_type& entry) { + (void)entry; + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "viam.app.v1.UpdateRobotMetadataRequest.DataEntry.key"); + }; + + if (stream->IsSerializationDeterministic() && map_field.size() > 1) { + for (const auto& entry : ::_pbi::MapSorterPtr(map_field)) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } else { + for (const auto& entry : map_field) { + target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream); + check_utf8(entry); + } + } + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.DeleteRobotRequest) + // @@protoc_insertion_point(serialize_to_array_end:viam.app.v1.UpdateRobotMetadataRequest) return target; } -size_t DeleteRobotRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.DeleteRobotRequest) +size_t UpdateRobotMetadataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:viam.app.v1.UpdateRobotMetadataRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // map data = 2 [json_name = "data"]; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_data_size()); + for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >::const_iterator + it = this->_internal_data().begin(); + it != this->_internal_data().end(); ++it) { + total_size += UpdateRobotMetadataRequest_DataEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); + } + // string id = 1 [json_name = "id"]; if (!this->_internal_id().empty()) { total_size += 1 + @@ -36364,85 +40254,87 @@ size_t DeleteRobotRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotMetadataRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - DeleteRobotRequest::MergeImpl + UpdateRobotMetadataRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotMetadataRequest::GetClassData() const { return &_class_data_; } -void DeleteRobotRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateRobotMetadataRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void DeleteRobotRequest::MergeFrom(const DeleteRobotRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.DeleteRobotRequest) +void UpdateRobotMetadataRequest::MergeFrom(const UpdateRobotMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:viam.app.v1.UpdateRobotMetadataRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; + data_.MergeFrom(from.data_); if (!from._internal_id().empty()) { _internal_set_id(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DeleteRobotRequest::CopyFrom(const DeleteRobotRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.DeleteRobotRequest) +void UpdateRobotMetadataRequest::CopyFrom(const UpdateRobotMetadataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:viam.app.v1.UpdateRobotMetadataRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteRobotRequest::IsInitialized() const { +bool UpdateRobotMetadataRequest::IsInitialized() const { return true; } -void DeleteRobotRequest::InternalSwap(DeleteRobotRequest* other) { +void UpdateRobotMetadataRequest::InternalSwap(UpdateRobotMetadataRequest* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + data_.InternalSwap(&other->data_); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( &id_, lhs_arena, &other->id_, rhs_arena ); } -::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotMetadataRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[129]); + file_level_metadata_app_2fv1_2fapp_2eproto[154]); } // =================================================================== -class DeleteRobotResponse::_Internal { +class UpdateRobotMetadataResponse::_Internal { public: }; -DeleteRobotResponse::DeleteRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateRobotMetadataResponse::UpdateRobotMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:viam.app.v1.DeleteRobotResponse) + // @@protoc_insertion_point(arena_constructor:viam.app.v1.UpdateRobotMetadataResponse) } -DeleteRobotResponse::DeleteRobotResponse(const DeleteRobotResponse& from) +UpdateRobotMetadataResponse::UpdateRobotMetadataResponse(const UpdateRobotMetadataResponse& from) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:viam.app.v1.DeleteRobotResponse) + // @@protoc_insertion_point(copy_constructor:viam.app.v1.UpdateRobotMetadataResponse) } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRobotResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateRobotMetadataResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRobotMetadataResponse::GetClassData() const { return &_class_data_; } @@ -36450,10 +40342,10 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotResponse::GetClassD -::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateRobotMetadataResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[130]); + file_level_metadata_app_2fv1_2fapp_2eproto[155]); } // =================================================================== @@ -36648,7 +40540,7 @@ void MarkPartAsMainRequest::InternalSwap(MarkPartAsMainRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartAsMainRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[131]); + file_level_metadata_app_2fv1_2fapp_2eproto[156]); } // =================================================================== @@ -36687,7 +40579,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MarkPartAsMainResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartAsMainResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[132]); + file_level_metadata_app_2fv1_2fapp_2eproto[157]); } // =================================================================== @@ -36882,7 +40774,7 @@ void MarkPartForRestartRequest::InternalSwap(MarkPartForRestartRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartForRestartRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[133]); + file_level_metadata_app_2fv1_2fapp_2eproto[158]); } // =================================================================== @@ -36921,7 +40813,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MarkPartForRestartResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata MarkPartForRestartResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[134]); + file_level_metadata_app_2fv1_2fapp_2eproto[159]); } // =================================================================== @@ -37116,7 +41008,7 @@ void CreateRobotPartSecretRequest::InternalSwap(CreateRobotPartSecretRequest* ot ::PROTOBUF_NAMESPACE_ID::Metadata CreateRobotPartSecretRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[135]); + file_level_metadata_app_2fv1_2fapp_2eproto[160]); } // =================================================================== @@ -37303,7 +41195,7 @@ void CreateRobotPartSecretResponse::InternalSwap(CreateRobotPartSecretResponse* ::PROTOBUF_NAMESPACE_ID::Metadata CreateRobotPartSecretResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[136]); + file_level_metadata_app_2fv1_2fapp_2eproto[161]); } // =================================================================== @@ -37546,7 +41438,7 @@ void DeleteRobotPartSecretRequest::InternalSwap(DeleteRobotPartSecretRequest* ot ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartSecretRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[137]); + file_level_metadata_app_2fv1_2fapp_2eproto[162]); } // =================================================================== @@ -37585,7 +41477,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRobotPartSecretResponse: ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRobotPartSecretResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[138]); + file_level_metadata_app_2fv1_2fapp_2eproto[163]); } // =================================================================== @@ -38068,7 +41960,7 @@ void Authorization::InternalSwap(Authorization* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Authorization::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[139]); + file_level_metadata_app_2fv1_2fapp_2eproto[164]); } // =================================================================== @@ -38255,7 +42147,7 @@ void AddRoleRequest::InternalSwap(AddRoleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddRoleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[140]); + file_level_metadata_app_2fv1_2fapp_2eproto[165]); } // =================================================================== @@ -38294,7 +42186,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AddRoleResponse::GetClassData( ::PROTOBUF_NAMESPACE_ID::Metadata AddRoleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[141]); + file_level_metadata_app_2fv1_2fapp_2eproto[166]); } // =================================================================== @@ -38481,7 +42373,7 @@ void RemoveRoleRequest::InternalSwap(RemoveRoleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RemoveRoleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[142]); + file_level_metadata_app_2fv1_2fapp_2eproto[167]); } // =================================================================== @@ -38520,7 +42412,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RemoveRoleResponse::GetClassDa ::PROTOBUF_NAMESPACE_ID::Metadata RemoveRoleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[143]); + file_level_metadata_app_2fv1_2fapp_2eproto[168]); } // =================================================================== @@ -38755,7 +42647,7 @@ void ChangeRoleRequest::InternalSwap(ChangeRoleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ChangeRoleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[144]); + file_level_metadata_app_2fv1_2fapp_2eproto[169]); } // =================================================================== @@ -38794,7 +42686,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeRoleResponse::GetClassDa ::PROTOBUF_NAMESPACE_ID::Metadata ChangeRoleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[145]); + file_level_metadata_app_2fv1_2fapp_2eproto[170]); } // =================================================================== @@ -39027,7 +42919,7 @@ void ListAuthorizationsRequest::InternalSwap(ListAuthorizationsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListAuthorizationsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[146]); + file_level_metadata_app_2fv1_2fapp_2eproto[171]); } // =================================================================== @@ -39205,7 +43097,7 @@ void ListAuthorizationsResponse::InternalSwap(ListAuthorizationsResponse* other) ::PROTOBUF_NAMESPACE_ID::Metadata ListAuthorizationsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[147]); + file_level_metadata_app_2fv1_2fapp_2eproto[172]); } // =================================================================== @@ -39383,7 +43275,7 @@ void CheckPermissionsRequest::InternalSwap(CheckPermissionsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CheckPermissionsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[148]); + file_level_metadata_app_2fv1_2fapp_2eproto[173]); } // =================================================================== @@ -39664,7 +43556,7 @@ void AuthorizedPermissions::InternalSwap(AuthorizedPermissions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AuthorizedPermissions::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[149]); + file_level_metadata_app_2fv1_2fapp_2eproto[174]); } // =================================================================== @@ -39842,7 +43734,7 @@ void CheckPermissionsResponse::InternalSwap(CheckPermissionsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CheckPermissionsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[150]); + file_level_metadata_app_2fv1_2fapp_2eproto[175]); } // =================================================================== @@ -40212,7 +44104,7 @@ void ModuleVersion::InternalSwap(ModuleVersion* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModuleVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[151]); + file_level_metadata_app_2fv1_2fapp_2eproto[176]); } // =================================================================== @@ -40534,7 +44426,7 @@ void ModuleMetadata::InternalSwap(ModuleMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModuleMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[152]); + file_level_metadata_app_2fv1_2fapp_2eproto[177]); } // =================================================================== @@ -40783,7 +44675,7 @@ void MLModelMetadata::InternalSwap(MLModelMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MLModelMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[153]); + file_level_metadata_app_2fv1_2fapp_2eproto[178]); } // =================================================================== @@ -41026,7 +44918,7 @@ void MLTrainingVersion::InternalSwap(MLTrainingVersion* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MLTrainingVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[154]); + file_level_metadata_app_2fv1_2fapp_2eproto[179]); } // =================================================================== @@ -41292,7 +45184,7 @@ void MLTrainingMetadata::InternalSwap(MLTrainingMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MLTrainingMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[155]); + file_level_metadata_app_2fv1_2fapp_2eproto[180]); } // =================================================================== @@ -42175,7 +46067,7 @@ void RegistryItem::InternalSwap(RegistryItem* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RegistryItem::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[156]); + file_level_metadata_app_2fv1_2fapp_2eproto[181]); } // =================================================================== @@ -42407,7 +46299,7 @@ void GetRegistryItemRequest::InternalSwap(GetRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[157]); + file_level_metadata_app_2fv1_2fapp_2eproto[182]); } // =================================================================== @@ -42594,7 +46486,7 @@ void GetRegistryItemResponse::InternalSwap(GetRegistryItemResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[158]); + file_level_metadata_app_2fv1_2fapp_2eproto[183]); } // =================================================================== @@ -42866,7 +46758,7 @@ void CreateRegistryItemRequest::InternalSwap(CreateRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[159]); + file_level_metadata_app_2fv1_2fapp_2eproto[184]); } // =================================================================== @@ -42905,7 +46797,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateRegistryItemResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata CreateRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[160]); + file_level_metadata_app_2fv1_2fapp_2eproto[185]); } // =================================================================== @@ -43477,7 +47369,7 @@ void UpdateRegistryItemRequest::InternalSwap(UpdateRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[161]); + file_level_metadata_app_2fv1_2fapp_2eproto[186]); } // =================================================================== @@ -43516,7 +47408,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateRegistryItemResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata UpdateRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[162]); + file_level_metadata_app_2fv1_2fapp_2eproto[187]); } // =================================================================== @@ -44073,7 +47965,7 @@ void ListRegistryItemsRequest::InternalSwap(ListRegistryItemsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListRegistryItemsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[163]); + file_level_metadata_app_2fv1_2fapp_2eproto[188]); } // =================================================================== @@ -44251,7 +48143,7 @@ void ListRegistryItemsResponse::InternalSwap(ListRegistryItemsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListRegistryItemsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[164]); + file_level_metadata_app_2fv1_2fapp_2eproto[189]); } // =================================================================== @@ -44446,7 +48338,7 @@ void DeleteRegistryItemRequest::InternalSwap(DeleteRegistryItemRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[165]); + file_level_metadata_app_2fv1_2fapp_2eproto[190]); } // =================================================================== @@ -44485,7 +48377,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRegistryItemResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata DeleteRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[166]); + file_level_metadata_app_2fv1_2fapp_2eproto[191]); } // =================================================================== @@ -44728,7 +48620,7 @@ void TransferRegistryItemRequest::InternalSwap(TransferRegistryItemRequest* othe ::PROTOBUF_NAMESPACE_ID::Metadata TransferRegistryItemRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[167]); + file_level_metadata_app_2fv1_2fapp_2eproto[192]); } // =================================================================== @@ -44767,7 +48659,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TransferRegistryItemResponse:: ::PROTOBUF_NAMESPACE_ID::Metadata TransferRegistryItemResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[168]); + file_level_metadata_app_2fv1_2fapp_2eproto[193]); } // =================================================================== @@ -45010,7 +48902,7 @@ void CreateModuleRequest::InternalSwap(CreateModuleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateModuleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[169]); + file_level_metadata_app_2fv1_2fapp_2eproto[194]); } // =================================================================== @@ -45253,7 +49145,7 @@ void CreateModuleResponse::InternalSwap(CreateModuleResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateModuleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[170]); + file_level_metadata_app_2fv1_2fapp_2eproto[195]); } // =================================================================== @@ -45715,7 +49607,7 @@ void UpdateModuleRequest::InternalSwap(UpdateModuleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateModuleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[171]); + file_level_metadata_app_2fv1_2fapp_2eproto[196]); } // =================================================================== @@ -45910,7 +49802,7 @@ void UpdateModuleResponse::InternalSwap(UpdateModuleResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateModuleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[172]); + file_level_metadata_app_2fv1_2fapp_2eproto[197]); } // =================================================================== @@ -46138,7 +50030,7 @@ void UpdateModuleMetadata::InternalSwap(UpdateModuleMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateModuleMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[173]); + file_level_metadata_app_2fv1_2fapp_2eproto[198]); } // =================================================================== @@ -46349,7 +50241,7 @@ void UpdateMLModelMetadata::InternalSwap(UpdateMLModelMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateMLModelMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[174]); + file_level_metadata_app_2fv1_2fapp_2eproto[199]); } // =================================================================== @@ -46582,7 +50474,7 @@ void UpdateMLTrainingMetadata::InternalSwap(UpdateMLTrainingMetadata* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateMLTrainingMetadata::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[175]); + file_level_metadata_app_2fv1_2fapp_2eproto[200]); } // =================================================================== @@ -46946,7 +50838,7 @@ void Model::InternalSwap(Model* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Model::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[176]); + file_level_metadata_app_2fv1_2fapp_2eproto[201]); } // =================================================================== @@ -47275,7 +51167,7 @@ void ModuleFileInfo::InternalSwap(ModuleFileInfo* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModuleFileInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[177]); + file_level_metadata_app_2fv1_2fapp_2eproto[202]); } // =================================================================== @@ -47544,7 +51436,7 @@ void UploadModuleFileRequest::InternalSwap(UploadModuleFileRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UploadModuleFileRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[178]); + file_level_metadata_app_2fv1_2fapp_2eproto[203]); } // =================================================================== @@ -47739,7 +51631,7 @@ void UploadModuleFileResponse::InternalSwap(UploadModuleFileResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UploadModuleFileResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[179]); + file_level_metadata_app_2fv1_2fapp_2eproto[204]); } // =================================================================== @@ -47971,7 +51863,7 @@ void GetModuleRequest::InternalSwap(GetModuleRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetModuleRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[180]); + file_level_metadata_app_2fv1_2fapp_2eproto[205]); } // =================================================================== @@ -48158,7 +52050,7 @@ void GetModuleResponse::InternalSwap(GetModuleResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetModuleResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[181]); + file_level_metadata_app_2fv1_2fapp_2eproto[206]); } // =================================================================== @@ -48853,7 +52745,7 @@ void Module::InternalSwap(Module* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Module::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[182]); + file_level_metadata_app_2fv1_2fapp_2eproto[207]); } // =================================================================== @@ -49223,7 +53115,7 @@ void VersionHistory::InternalSwap(VersionHistory* other) { ::PROTOBUF_NAMESPACE_ID::Metadata VersionHistory::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[183]); + file_level_metadata_app_2fv1_2fapp_2eproto[208]); } // =================================================================== @@ -49466,7 +53358,7 @@ void Uploads::InternalSwap(Uploads* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Uploads::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[184]); + file_level_metadata_app_2fv1_2fapp_2eproto[209]); } // =================================================================== @@ -49710,7 +53602,7 @@ void ListModulesRequest::InternalSwap(ListModulesRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListModulesRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[185]); + file_level_metadata_app_2fv1_2fapp_2eproto[210]); } // =================================================================== @@ -49888,7 +53780,7 @@ void ListModulesResponse::InternalSwap(ListModulesResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListModulesResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[186]); + file_level_metadata_app_2fv1_2fapp_2eproto[211]); } // =================================================================== @@ -50083,7 +53975,7 @@ void GetUserIDByEmailRequest::InternalSwap(GetUserIDByEmailRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetUserIDByEmailRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[187]); + file_level_metadata_app_2fv1_2fapp_2eproto[212]); } // =================================================================== @@ -50278,7 +54170,7 @@ void GetUserIDByEmailResponse::InternalSwap(GetUserIDByEmailResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata GetUserIDByEmailResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[188]); + file_level_metadata_app_2fv1_2fapp_2eproto[213]); } // =================================================================== @@ -50473,7 +54365,7 @@ void ListOrganizationsByUserRequest::InternalSwap(ListOrganizationsByUserRequest ::PROTOBUF_NAMESPACE_ID::Metadata ListOrganizationsByUserRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[189]); + file_level_metadata_app_2fv1_2fapp_2eproto[214]); } // =================================================================== @@ -50837,7 +54729,7 @@ void OrgDetails::InternalSwap(OrgDetails* other) { ::PROTOBUF_NAMESPACE_ID::Metadata OrgDetails::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[190]); + file_level_metadata_app_2fv1_2fapp_2eproto[215]); } // =================================================================== @@ -51015,7 +54907,7 @@ void ListOrganizationsByUserResponse::InternalSwap(ListOrganizationsByUserRespon ::PROTOBUF_NAMESPACE_ID::Metadata ListOrganizationsByUserResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[191]); + file_level_metadata_app_2fv1_2fapp_2eproto[216]); } // =================================================================== @@ -51389,7 +55281,7 @@ void SearchOrganizationsRequest::InternalSwap(SearchOrganizationsRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata SearchOrganizationsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[192]); + file_level_metadata_app_2fv1_2fapp_2eproto[217]); } // =================================================================== @@ -51567,7 +55459,7 @@ void SearchOrganizationsResponse::InternalSwap(SearchOrganizationsResponse* othe ::PROTOBUF_NAMESPACE_ID::Metadata SearchOrganizationsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[193]); + file_level_metadata_app_2fv1_2fapp_2eproto[218]); } // =================================================================== @@ -51795,7 +55687,7 @@ void CreateKeyRequest::InternalSwap(CreateKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[194]); + file_level_metadata_app_2fv1_2fapp_2eproto[219]); } // =================================================================== @@ -52038,7 +55930,7 @@ void CreateKeyResponse::InternalSwap(CreateKeyResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[195]); + file_level_metadata_app_2fv1_2fapp_2eproto[220]); } // =================================================================== @@ -52233,7 +56125,7 @@ void DeleteKeyRequest::InternalSwap(DeleteKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[196]); + file_level_metadata_app_2fv1_2fapp_2eproto[221]); } // =================================================================== @@ -52272,7 +56164,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteKeyResponse::GetClassDat ::PROTOBUF_NAMESPACE_ID::Metadata DeleteKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[197]); + file_level_metadata_app_2fv1_2fapp_2eproto[222]); } // =================================================================== @@ -52515,7 +56407,7 @@ void RenameKeyRequest::InternalSwap(RenameKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RenameKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[198]); + file_level_metadata_app_2fv1_2fapp_2eproto[223]); } // =================================================================== @@ -52758,7 +56650,7 @@ void RenameKeyResponse::InternalSwap(RenameKeyResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RenameKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[199]); + file_level_metadata_app_2fv1_2fapp_2eproto[224]); } // =================================================================== @@ -53145,7 +57037,7 @@ void AuthorizationDetails::InternalSwap(AuthorizationDetails* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AuthorizationDetails::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[200]); + file_level_metadata_app_2fv1_2fapp_2eproto[225]); } // =================================================================== @@ -53365,7 +57257,7 @@ void APIKeyWithAuthorizations::InternalSwap(APIKeyWithAuthorizations* other) { ::PROTOBUF_NAMESPACE_ID::Metadata APIKeyWithAuthorizations::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[201]); + file_level_metadata_app_2fv1_2fapp_2eproto[226]); } // =================================================================== @@ -53560,7 +57452,7 @@ void ListKeysRequest::InternalSwap(ListKeysRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListKeysRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[202]); + file_level_metadata_app_2fv1_2fapp_2eproto[227]); } // =================================================================== @@ -53738,7 +57630,7 @@ void ListKeysResponse::InternalSwap(ListKeysResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListKeysResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[203]); + file_level_metadata_app_2fv1_2fapp_2eproto[228]); } // =================================================================== @@ -53933,7 +57825,7 @@ void RotateKeyRequest::InternalSwap(RotateKeyRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RotateKeyRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[204]); + file_level_metadata_app_2fv1_2fapp_2eproto[229]); } // =================================================================== @@ -54176,7 +58068,7 @@ void RotateKeyResponse::InternalSwap(RotateKeyResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RotateKeyResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[205]); + file_level_metadata_app_2fv1_2fapp_2eproto[230]); } // =================================================================== @@ -54371,7 +58263,7 @@ void CreateKeyFromExistingKeyAuthorizationsRequest::InternalSwap(CreateKeyFromEx ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyFromExistingKeyAuthorizationsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[206]); + file_level_metadata_app_2fv1_2fapp_2eproto[231]); } // =================================================================== @@ -54614,7 +58506,7 @@ void CreateKeyFromExistingKeyAuthorizationsResponse::InternalSwap(CreateKeyFromE ::PROTOBUF_NAMESPACE_ID::Metadata CreateKeyFromExistingKeyAuthorizationsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[207]); + file_level_metadata_app_2fv1_2fapp_2eproto[232]); } // =================================================================== @@ -54852,7 +58744,7 @@ void OrganizationSetLogoRequest::InternalSwap(OrganizationSetLogoRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationSetLogoRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[208]); + file_level_metadata_app_2fv1_2fapp_2eproto[233]); } // =================================================================== @@ -54891,7 +58783,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OrganizationSetLogoResponse::G ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationSetLogoResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[209]); + file_level_metadata_app_2fv1_2fapp_2eproto[234]); } // =================================================================== @@ -55086,7 +58978,7 @@ void OrganizationGetLogoRequest::InternalSwap(OrganizationGetLogoRequest* other) ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationGetLogoRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[210]); + file_level_metadata_app_2fv1_2fapp_2eproto[235]); } // =================================================================== @@ -55281,7 +59173,7 @@ void OrganizationGetLogoResponse::InternalSwap(OrganizationGetLogoResponse* othe ::PROTOBUF_NAMESPACE_ID::Metadata OrganizationGetLogoResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[211]); + file_level_metadata_app_2fv1_2fapp_2eproto[236]); } // =================================================================== @@ -55476,7 +59368,7 @@ void EnableAuthServiceRequest::InternalSwap(EnableAuthServiceRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata EnableAuthServiceRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[212]); + file_level_metadata_app_2fv1_2fapp_2eproto[237]); } // =================================================================== @@ -55515,7 +59407,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnableAuthServiceResponse::Get ::PROTOBUF_NAMESPACE_ID::Metadata EnableAuthServiceResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[213]); + file_level_metadata_app_2fv1_2fapp_2eproto[238]); } // =================================================================== @@ -55710,7 +59602,7 @@ void DisableAuthServiceRequest::InternalSwap(DisableAuthServiceRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DisableAuthServiceRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[214]); + file_level_metadata_app_2fv1_2fapp_2eproto[239]); } // =================================================================== @@ -55749,7 +59641,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DisableAuthServiceResponse::Ge ::PROTOBUF_NAMESPACE_ID::Metadata DisableAuthServiceResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[215]); + file_level_metadata_app_2fv1_2fapp_2eproto[240]); } // =================================================================== @@ -56034,7 +59926,7 @@ void CreateOAuthAppRequest::InternalSwap(CreateOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[216]); + file_level_metadata_app_2fv1_2fapp_2eproto[241]); } // =================================================================== @@ -56277,7 +60169,7 @@ void CreateOAuthAppResponse::InternalSwap(CreateOAuthAppResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[217]); + file_level_metadata_app_2fv1_2fapp_2eproto[242]); } // =================================================================== @@ -56520,7 +60412,7 @@ void ReadOAuthAppRequest::InternalSwap(ReadOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[218]); + file_level_metadata_app_2fv1_2fapp_2eproto[243]); } // =================================================================== @@ -56805,7 +60697,7 @@ void ReadOAuthAppResponse::InternalSwap(ReadOAuthAppResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ReadOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[219]); + file_level_metadata_app_2fv1_2fapp_2eproto[244]); } // =================================================================== @@ -57138,7 +61030,7 @@ void UpdateOAuthAppRequest::InternalSwap(UpdateOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[220]); + file_level_metadata_app_2fv1_2fapp_2eproto[245]); } // =================================================================== @@ -57177,7 +61069,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateOAuthAppResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata UpdateOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[221]); + file_level_metadata_app_2fv1_2fapp_2eproto[246]); } // =================================================================== @@ -57420,7 +61312,7 @@ void DeleteOAuthAppRequest::InternalSwap(DeleteOAuthAppRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOAuthAppRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[222]); + file_level_metadata_app_2fv1_2fapp_2eproto[247]); } // =================================================================== @@ -57459,7 +61351,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteOAuthAppResponse::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata DeleteOAuthAppResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[223]); + file_level_metadata_app_2fv1_2fapp_2eproto[248]); } // =================================================================== @@ -57654,7 +61546,7 @@ void ListOAuthAppsRequest::InternalSwap(ListOAuthAppsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListOAuthAppsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[224]); + file_level_metadata_app_2fv1_2fapp_2eproto[249]); } // =================================================================== @@ -57837,7 +61729,7 @@ void ListOAuthAppsResponse::InternalSwap(ListOAuthAppsResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListOAuthAppsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[225]); + file_level_metadata_app_2fv1_2fapp_2eproto[250]); } // =================================================================== @@ -58242,7 +62134,7 @@ void OAuthConfig::InternalSwap(OAuthConfig* other) { ::PROTOBUF_NAMESPACE_ID::Metadata OAuthConfig::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_app_2fv1_2fapp_2eproto_getter, &descriptor_table_app_2fv1_2fapp_2eproto_once, - file_level_metadata_app_2fv1_2fapp_2eproto[226]); + file_level_metadata_app_2fv1_2fapp_2eproto[251]); } // @@protoc_insertion_point(namespace_scope) @@ -58326,6 +62218,30 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::DeleteOrganizationResponse* Arena::CreateMaybeMessage< ::viam::app::v1::DeleteOrganizationResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::DeleteOrganizationResponse >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetOrganizationMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::GetOrganizationMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetOrganizationMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetOrganizationMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetOrganizationMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetOrganizationMetadataResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateOrganizationMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateOrganizationMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateOrganizationMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateOrganizationMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateOrganizationMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateOrganizationMetadataResponse >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::ListOrganizationMembersRequest* Arena::CreateMaybeMessage< ::viam::app::v1::ListOrganizationMembersRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::ListOrganizationMembersRequest >(arena); @@ -58482,6 +62398,30 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::DeleteLocationResponse* Arena::CreateMaybeMessage< ::viam::app::v1::DeleteLocationResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::DeleteLocationResponse >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetLocationMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::GetLocationMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetLocationMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetLocationMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetLocationMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetLocationMetadataResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateLocationMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateLocationMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateLocationMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateLocationMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateLocationMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateLocationMetadataResponse >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::GetOrganizationsWithAccessToLocationRequest* Arena::CreateMaybeMessage< ::viam::app::v1::GetOrganizationsWithAccessToLocationRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::GetOrganizationsWithAccessToLocationRequest >(arena); @@ -58618,6 +62558,30 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::DeleteRobotPartRequest* Arena::CreateMaybeMessage< ::viam::app::v1::DeleteRobotPartRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::DeleteRobotPartRequest >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotPartMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotPartMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotPartMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotPartMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotPartMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotPartMetadataResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateRobotPartMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateRobotPartMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateRobotPartMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateRobotPartMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateRobotPartMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateRobotPartMetadataResponse >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotAPIKeysRequest* Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotAPIKeysRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotAPIKeysRequest >(arena); @@ -58738,6 +62702,10 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::ListRobotsRequest* Arena::CreateMaybeMessage< ::viam::app::v1::ListRobotsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::ListRobotsRequest >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::AdditionalFragment* +Arena::CreateMaybeMessage< ::viam::app::v1::AdditionalFragment >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::AdditionalFragment >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::ListMachineFragmentsRequest* Arena::CreateMaybeMessage< ::viam::app::v1::ListMachineFragmentsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::ListMachineFragmentsRequest >(arena); @@ -58774,6 +62742,30 @@ template<> PROTOBUF_NOINLINE ::viam::app::v1::DeleteRobotResponse* Arena::CreateMaybeMessage< ::viam::app::v1::DeleteRobotResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::DeleteRobotResponse >(arena); } +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::GetRobotMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::GetRobotMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::GetRobotMetadataResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateRobotMetadataRequest* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateRobotMetadataRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateRobotMetadataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::viam::app::v1::UpdateRobotMetadataResponse* +Arena::CreateMaybeMessage< ::viam::app::v1::UpdateRobotMetadataResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::viam::app::v1::UpdateRobotMetadataResponse >(arena); +} template<> PROTOBUF_NOINLINE ::viam::app::v1::MarkPartAsMainRequest* Arena::CreateMaybeMessage< ::viam::app::v1::MarkPartAsMainRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::viam::app::v1::MarkPartAsMainRequest >(arena); diff --git a/src/viam/api/app/v1/app.pb.h b/src/viam/api/app/v1/app.pb.h index 51c9208ad..5c172cb36 100644 --- a/src/viam/api/app/v1/app.pb.h +++ b/src/viam/api/app/v1/app.pb.h @@ -30,11 +30,15 @@ #include #include // IWYU pragma: export #include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include #include #include #include "app/mltraining/v1/ml_training.pb.h" #include "app/packages/v1/packages.pb.h" #include "common/v1/common.pb.h" +#include #include #include #include "tagger/v1/tagger.pb.h" @@ -67,6 +71,9 @@ extern AddRoleRequestDefaultTypeInternal _AddRoleRequest_default_instance_; class AddRoleResponse; struct AddRoleResponseDefaultTypeInternal; extern AddRoleResponseDefaultTypeInternal _AddRoleResponse_default_instance_; +class AdditionalFragment; +struct AdditionalFragmentDefaultTypeInternal; +extern AdditionalFragmentDefaultTypeInternal _AdditionalFragment_default_instance_; class AuthenticatorInfo; struct AuthenticatorInfoDefaultTypeInternal; extern AuthenticatorInfoDefaultTypeInternal _AuthenticatorInfo_default_instance_; @@ -304,6 +311,15 @@ extern GetFragmentUsageRequestDefaultTypeInternal _GetFragmentUsageRequest_defau class GetFragmentUsageResponse; struct GetFragmentUsageResponseDefaultTypeInternal; extern GetFragmentUsageResponseDefaultTypeInternal _GetFragmentUsageResponse_default_instance_; +class GetLocationMetadataRequest; +struct GetLocationMetadataRequestDefaultTypeInternal; +extern GetLocationMetadataRequestDefaultTypeInternal _GetLocationMetadataRequest_default_instance_; +class GetLocationMetadataResponse; +struct GetLocationMetadataResponseDefaultTypeInternal; +extern GetLocationMetadataResponseDefaultTypeInternal _GetLocationMetadataResponse_default_instance_; +class GetLocationMetadataResponse_DataEntry_DoNotUse; +struct GetLocationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal; +extern GetLocationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetLocationMetadataResponse_DataEntry_DoNotUse_default_instance_; class GetLocationRequest; struct GetLocationRequestDefaultTypeInternal; extern GetLocationRequestDefaultTypeInternal _GetLocationRequest_default_instance_; @@ -316,6 +332,15 @@ extern GetModuleRequestDefaultTypeInternal _GetModuleRequest_default_instance_; class GetModuleResponse; struct GetModuleResponseDefaultTypeInternal; extern GetModuleResponseDefaultTypeInternal _GetModuleResponse_default_instance_; +class GetOrganizationMetadataRequest; +struct GetOrganizationMetadataRequestDefaultTypeInternal; +extern GetOrganizationMetadataRequestDefaultTypeInternal _GetOrganizationMetadataRequest_default_instance_; +class GetOrganizationMetadataResponse; +struct GetOrganizationMetadataResponseDefaultTypeInternal; +extern GetOrganizationMetadataResponseDefaultTypeInternal _GetOrganizationMetadataResponse_default_instance_; +class GetOrganizationMetadataResponse_DataEntry_DoNotUse; +struct GetOrganizationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal; +extern GetOrganizationMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetOrganizationMetadataResponse_DataEntry_DoNotUse_default_instance_; class GetOrganizationNamespaceAvailabilityRequest; struct GetOrganizationNamespaceAvailabilityRequestDefaultTypeInternal; extern GetOrganizationNamespaceAvailabilityRequestDefaultTypeInternal _GetOrganizationNamespaceAvailabilityRequest_default_instance_; @@ -346,6 +371,15 @@ extern GetRobotAPIKeysRequestDefaultTypeInternal _GetRobotAPIKeysRequest_default class GetRobotAPIKeysResponse; struct GetRobotAPIKeysResponseDefaultTypeInternal; extern GetRobotAPIKeysResponseDefaultTypeInternal _GetRobotAPIKeysResponse_default_instance_; +class GetRobotMetadataRequest; +struct GetRobotMetadataRequestDefaultTypeInternal; +extern GetRobotMetadataRequestDefaultTypeInternal _GetRobotMetadataRequest_default_instance_; +class GetRobotMetadataResponse; +struct GetRobotMetadataResponseDefaultTypeInternal; +extern GetRobotMetadataResponseDefaultTypeInternal _GetRobotMetadataResponse_default_instance_; +class GetRobotMetadataResponse_DataEntry_DoNotUse; +struct GetRobotMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal; +extern GetRobotMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetRobotMetadataResponse_DataEntry_DoNotUse_default_instance_; class GetRobotPartHistoryRequest; struct GetRobotPartHistoryRequestDefaultTypeInternal; extern GetRobotPartHistoryRequestDefaultTypeInternal _GetRobotPartHistoryRequest_default_instance_; @@ -358,6 +392,15 @@ extern GetRobotPartLogsRequestDefaultTypeInternal _GetRobotPartLogsRequest_defau class GetRobotPartLogsResponse; struct GetRobotPartLogsResponseDefaultTypeInternal; extern GetRobotPartLogsResponseDefaultTypeInternal _GetRobotPartLogsResponse_default_instance_; +class GetRobotPartMetadataRequest; +struct GetRobotPartMetadataRequestDefaultTypeInternal; +extern GetRobotPartMetadataRequestDefaultTypeInternal _GetRobotPartMetadataRequest_default_instance_; +class GetRobotPartMetadataResponse; +struct GetRobotPartMetadataResponseDefaultTypeInternal; +extern GetRobotPartMetadataResponseDefaultTypeInternal _GetRobotPartMetadataResponse_default_instance_; +class GetRobotPartMetadataResponse_DataEntry_DoNotUse; +struct GetRobotPartMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal; +extern GetRobotPartMetadataResponse_DataEntry_DoNotUseDefaultTypeInternal _GetRobotPartMetadataResponse_DataEntry_DoNotUse_default_instance_; class GetRobotPartRequest; struct GetRobotPartRequestDefaultTypeInternal; extern GetRobotPartRequestDefaultTypeInternal _GetRobotPartRequest_default_instance_; @@ -667,6 +710,15 @@ extern UpdateFragmentRequestDefaultTypeInternal _UpdateFragmentRequest_default_i class UpdateFragmentResponse; struct UpdateFragmentResponseDefaultTypeInternal; extern UpdateFragmentResponseDefaultTypeInternal _UpdateFragmentResponse_default_instance_; +class UpdateLocationMetadataRequest; +struct UpdateLocationMetadataRequestDefaultTypeInternal; +extern UpdateLocationMetadataRequestDefaultTypeInternal _UpdateLocationMetadataRequest_default_instance_; +class UpdateLocationMetadataRequest_DataEntry_DoNotUse; +struct UpdateLocationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal; +extern UpdateLocationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateLocationMetadataRequest_DataEntry_DoNotUse_default_instance_; +class UpdateLocationMetadataResponse; +struct UpdateLocationMetadataResponseDefaultTypeInternal; +extern UpdateLocationMetadataResponseDefaultTypeInternal _UpdateLocationMetadataResponse_default_instance_; class UpdateLocationRequest; struct UpdateLocationRequestDefaultTypeInternal; extern UpdateLocationRequestDefaultTypeInternal _UpdateLocationRequest_default_instance_; @@ -700,6 +752,15 @@ extern UpdateOrganizationInviteAuthorizationsRequestDefaultTypeInternal _UpdateO class UpdateOrganizationInviteAuthorizationsResponse; struct UpdateOrganizationInviteAuthorizationsResponseDefaultTypeInternal; extern UpdateOrganizationInviteAuthorizationsResponseDefaultTypeInternal _UpdateOrganizationInviteAuthorizationsResponse_default_instance_; +class UpdateOrganizationMetadataRequest; +struct UpdateOrganizationMetadataRequestDefaultTypeInternal; +extern UpdateOrganizationMetadataRequestDefaultTypeInternal _UpdateOrganizationMetadataRequest_default_instance_; +class UpdateOrganizationMetadataRequest_DataEntry_DoNotUse; +struct UpdateOrganizationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal; +extern UpdateOrganizationMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateOrganizationMetadataRequest_DataEntry_DoNotUse_default_instance_; +class UpdateOrganizationMetadataResponse; +struct UpdateOrganizationMetadataResponseDefaultTypeInternal; +extern UpdateOrganizationMetadataResponseDefaultTypeInternal _UpdateOrganizationMetadataResponse_default_instance_; class UpdateOrganizationRequest; struct UpdateOrganizationRequestDefaultTypeInternal; extern UpdateOrganizationRequestDefaultTypeInternal _UpdateOrganizationRequest_default_instance_; @@ -712,6 +773,24 @@ extern UpdateRegistryItemRequestDefaultTypeInternal _UpdateRegistryItemRequest_d class UpdateRegistryItemResponse; struct UpdateRegistryItemResponseDefaultTypeInternal; extern UpdateRegistryItemResponseDefaultTypeInternal _UpdateRegistryItemResponse_default_instance_; +class UpdateRobotMetadataRequest; +struct UpdateRobotMetadataRequestDefaultTypeInternal; +extern UpdateRobotMetadataRequestDefaultTypeInternal _UpdateRobotMetadataRequest_default_instance_; +class UpdateRobotMetadataRequest_DataEntry_DoNotUse; +struct UpdateRobotMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal; +extern UpdateRobotMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateRobotMetadataRequest_DataEntry_DoNotUse_default_instance_; +class UpdateRobotMetadataResponse; +struct UpdateRobotMetadataResponseDefaultTypeInternal; +extern UpdateRobotMetadataResponseDefaultTypeInternal _UpdateRobotMetadataResponse_default_instance_; +class UpdateRobotPartMetadataRequest; +struct UpdateRobotPartMetadataRequestDefaultTypeInternal; +extern UpdateRobotPartMetadataRequestDefaultTypeInternal _UpdateRobotPartMetadataRequest_default_instance_; +class UpdateRobotPartMetadataRequest_DataEntry_DoNotUse; +struct UpdateRobotPartMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal; +extern UpdateRobotPartMetadataRequest_DataEntry_DoNotUseDefaultTypeInternal _UpdateRobotPartMetadataRequest_DataEntry_DoNotUse_default_instance_; +class UpdateRobotPartMetadataResponse; +struct UpdateRobotPartMetadataResponseDefaultTypeInternal; +extern UpdateRobotPartMetadataResponseDefaultTypeInternal _UpdateRobotPartMetadataResponse_default_instance_; class UpdateRobotPartRequest; struct UpdateRobotPartRequestDefaultTypeInternal; extern UpdateRobotPartRequestDefaultTypeInternal _UpdateRobotPartRequest_default_instance_; @@ -744,6 +823,7 @@ template<> ::viam::app::v1::APIKey* Arena::CreateMaybeMessage<::viam::app::v1::A template<> ::viam::app::v1::APIKeyWithAuthorizations* Arena::CreateMaybeMessage<::viam::app::v1::APIKeyWithAuthorizations>(Arena*); template<> ::viam::app::v1::AddRoleRequest* Arena::CreateMaybeMessage<::viam::app::v1::AddRoleRequest>(Arena*); template<> ::viam::app::v1::AddRoleResponse* Arena::CreateMaybeMessage<::viam::app::v1::AddRoleResponse>(Arena*); +template<> ::viam::app::v1::AdditionalFragment* Arena::CreateMaybeMessage<::viam::app::v1::AdditionalFragment>(Arena*); template<> ::viam::app::v1::AuthenticatorInfo* Arena::CreateMaybeMessage<::viam::app::v1::AuthenticatorInfo>(Arena*); template<> ::viam::app::v1::Authorization* Arena::CreateMaybeMessage<::viam::app::v1::Authorization>(Arena*); template<> ::viam::app::v1::AuthorizationDetails* Arena::CreateMaybeMessage<::viam::app::v1::AuthorizationDetails>(Arena*); @@ -823,10 +903,16 @@ template<> ::viam::app::v1::GetFragmentRequest* Arena::CreateMaybeMessage<::viam template<> ::viam::app::v1::GetFragmentResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetFragmentResponse>(Arena*); template<> ::viam::app::v1::GetFragmentUsageRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetFragmentUsageRequest>(Arena*); template<> ::viam::app::v1::GetFragmentUsageResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetFragmentUsageResponse>(Arena*); +template<> ::viam::app::v1::GetLocationMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetLocationMetadataRequest>(Arena*); +template<> ::viam::app::v1::GetLocationMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetLocationMetadataResponse>(Arena*); +template<> ::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::GetLocationMetadataResponse_DataEntry_DoNotUse>(Arena*); template<> ::viam::app::v1::GetLocationRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetLocationRequest>(Arena*); template<> ::viam::app::v1::GetLocationResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetLocationResponse>(Arena*); template<> ::viam::app::v1::GetModuleRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetModuleRequest>(Arena*); template<> ::viam::app::v1::GetModuleResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetModuleResponse>(Arena*); +template<> ::viam::app::v1::GetOrganizationMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetOrganizationMetadataRequest>(Arena*); +template<> ::viam::app::v1::GetOrganizationMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetOrganizationMetadataResponse>(Arena*); +template<> ::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::GetOrganizationMetadataResponse_DataEntry_DoNotUse>(Arena*); template<> ::viam::app::v1::GetOrganizationNamespaceAvailabilityRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetOrganizationNamespaceAvailabilityRequest>(Arena*); template<> ::viam::app::v1::GetOrganizationNamespaceAvailabilityResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetOrganizationNamespaceAvailabilityResponse>(Arena*); template<> ::viam::app::v1::GetOrganizationRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetOrganizationRequest>(Arena*); @@ -837,10 +923,16 @@ template<> ::viam::app::v1::GetRegistryItemRequest* Arena::CreateMaybeMessage<:: template<> ::viam::app::v1::GetRegistryItemResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRegistryItemResponse>(Arena*); template<> ::viam::app::v1::GetRobotAPIKeysRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotAPIKeysRequest>(Arena*); template<> ::viam::app::v1::GetRobotAPIKeysResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotAPIKeysResponse>(Arena*); +template<> ::viam::app::v1::GetRobotMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotMetadataRequest>(Arena*); +template<> ::viam::app::v1::GetRobotMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotMetadataResponse>(Arena*); +template<> ::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotMetadataResponse_DataEntry_DoNotUse>(Arena*); template<> ::viam::app::v1::GetRobotPartHistoryRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartHistoryRequest>(Arena*); template<> ::viam::app::v1::GetRobotPartHistoryResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartHistoryResponse>(Arena*); template<> ::viam::app::v1::GetRobotPartLogsRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartLogsRequest>(Arena*); template<> ::viam::app::v1::GetRobotPartLogsResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartLogsResponse>(Arena*); +template<> ::viam::app::v1::GetRobotPartMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartMetadataRequest>(Arena*); +template<> ::viam::app::v1::GetRobotPartMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartMetadataResponse>(Arena*); +template<> ::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartMetadataResponse_DataEntry_DoNotUse>(Arena*); template<> ::viam::app::v1::GetRobotPartRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartRequest>(Arena*); template<> ::viam::app::v1::GetRobotPartResponse* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartResponse>(Arena*); template<> ::viam::app::v1::GetRobotPartsRequest* Arena::CreateMaybeMessage<::viam::app::v1::GetRobotPartsRequest>(Arena*); @@ -944,6 +1036,9 @@ template<> ::viam::app::v1::UpdateBillingServiceRequest* Arena::CreateMaybeMessa template<> ::viam::app::v1::UpdateBillingServiceResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateBillingServiceResponse>(Arena*); template<> ::viam::app::v1::UpdateFragmentRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateFragmentRequest>(Arena*); template<> ::viam::app::v1::UpdateFragmentResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateFragmentResponse>(Arena*); +template<> ::viam::app::v1::UpdateLocationMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateLocationMetadataRequest>(Arena*); +template<> ::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateLocationMetadataRequest_DataEntry_DoNotUse>(Arena*); +template<> ::viam::app::v1::UpdateLocationMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateLocationMetadataResponse>(Arena*); template<> ::viam::app::v1::UpdateLocationRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateLocationRequest>(Arena*); template<> ::viam::app::v1::UpdateLocationResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateLocationResponse>(Arena*); template<> ::viam::app::v1::UpdateMLModelMetadata* Arena::CreateMaybeMessage<::viam::app::v1::UpdateMLModelMetadata>(Arena*); @@ -955,10 +1050,19 @@ template<> ::viam::app::v1::UpdateOAuthAppRequest* Arena::CreateMaybeMessage<::v template<> ::viam::app::v1::UpdateOAuthAppResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOAuthAppResponse>(Arena*); template<> ::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationInviteAuthorizationsRequest>(Arena*); template<> ::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationInviteAuthorizationsResponse>(Arena*); +template<> ::viam::app::v1::UpdateOrganizationMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationMetadataRequest>(Arena*); +template<> ::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationMetadataRequest_DataEntry_DoNotUse>(Arena*); +template<> ::viam::app::v1::UpdateOrganizationMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationMetadataResponse>(Arena*); template<> ::viam::app::v1::UpdateOrganizationRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationRequest>(Arena*); template<> ::viam::app::v1::UpdateOrganizationResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateOrganizationResponse>(Arena*); template<> ::viam::app::v1::UpdateRegistryItemRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRegistryItemRequest>(Arena*); template<> ::viam::app::v1::UpdateRegistryItemResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRegistryItemResponse>(Arena*); +template<> ::viam::app::v1::UpdateRobotMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotMetadataRequest>(Arena*); +template<> ::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotMetadataRequest_DataEntry_DoNotUse>(Arena*); +template<> ::viam::app::v1::UpdateRobotMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotMetadataResponse>(Arena*); +template<> ::viam::app::v1::UpdateRobotPartMetadataRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotPartMetadataRequest>(Arena*); +template<> ::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotPartMetadataRequest_DataEntry_DoNotUse>(Arena*); +template<> ::viam::app::v1::UpdateRobotPartMetadataResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotPartMetadataResponse>(Arena*); template<> ::viam::app::v1::UpdateRobotPartRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotPartRequest>(Arena*); template<> ::viam::app::v1::UpdateRobotPartResponse* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotPartResponse>(Arena*); template<> ::viam::app::v1::UpdateRobotRequest* Arena::CreateMaybeMessage<::viam::app::v1::UpdateRobotRequest>(Arena*); @@ -4710,6 +4814,654 @@ class DeleteOrganizationResponse final : }; // ------------------------------------------------------------------- +class GetOrganizationMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetOrganizationMetadataRequest) */ { + public: + inline GetOrganizationMetadataRequest() : GetOrganizationMetadataRequest(nullptr) {} + ~GetOrganizationMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR GetOrganizationMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GetOrganizationMetadataRequest(const GetOrganizationMetadataRequest& from); + GetOrganizationMetadataRequest(GetOrganizationMetadataRequest&& from) noexcept + : GetOrganizationMetadataRequest() { + *this = ::std::move(from); + } + + inline GetOrganizationMetadataRequest& operator=(const GetOrganizationMetadataRequest& from) { + CopyFrom(from); + return *this; + } + inline GetOrganizationMetadataRequest& operator=(GetOrganizationMetadataRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetOrganizationMetadataRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetOrganizationMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_GetOrganizationMetadataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(GetOrganizationMetadataRequest& a, GetOrganizationMetadataRequest& b) { + a.Swap(&b); + } + inline void Swap(GetOrganizationMetadataRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetOrganizationMetadataRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetOrganizationMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetOrganizationMetadataRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetOrganizationMetadataRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetOrganizationMetadataRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.GetOrganizationMetadataRequest"; + } + protected: + explicit GetOrganizationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kOrganizationIdFieldNumber = 1, + }; + // string organization_id = 1 [json_name = "organizationId"]; + void clear_organization_id(); + const std::string& organization_id() const; + template + void set_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* organization_id); + 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.GetOrganizationMetadataRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class GetOrganizationMetadataResponse_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + GetOrganizationMetadataResponse_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR GetOrganizationMetadataResponse_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit GetOrganizationMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const GetOrganizationMetadataResponse_DataEntry_DoNotUse& other); + static const GetOrganizationMetadataResponse_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_GetOrganizationMetadataResponse_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.GetOrganizationMetadataResponse.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; + +// ------------------------------------------------------------------- + +class GetOrganizationMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetOrganizationMetadataResponse) */ { + public: + inline GetOrganizationMetadataResponse() : GetOrganizationMetadataResponse(nullptr) {} + ~GetOrganizationMetadataResponse() override; + explicit PROTOBUF_CONSTEXPR GetOrganizationMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GetOrganizationMetadataResponse(const GetOrganizationMetadataResponse& from); + GetOrganizationMetadataResponse(GetOrganizationMetadataResponse&& from) noexcept + : GetOrganizationMetadataResponse() { + *this = ::std::move(from); + } + + inline GetOrganizationMetadataResponse& operator=(const GetOrganizationMetadataResponse& from) { + CopyFrom(from); + return *this; + } + inline GetOrganizationMetadataResponse& operator=(GetOrganizationMetadataResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetOrganizationMetadataResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetOrganizationMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_GetOrganizationMetadataResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(GetOrganizationMetadataResponse& a, GetOrganizationMetadataResponse& b) { + a.Swap(&b); + } + inline void Swap(GetOrganizationMetadataResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetOrganizationMetadataResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetOrganizationMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetOrganizationMetadataResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetOrganizationMetadataResponse& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetOrganizationMetadataResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.GetOrganizationMetadataResponse"; + } + protected: + explicit GetOrganizationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + enum : int { + kDataFieldNumber = 1, + }; + // map data = 1 [json_name = "data"]; + int data_size() const; + private: + int _internal_data_size() const; + public: + void clear_data(); + private: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); + public: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationMetadataResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + GetOrganizationMetadataResponse_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class UpdateOrganizationMetadataRequest_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + UpdateOrganizationMetadataRequest_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR UpdateOrganizationMetadataRequest_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit UpdateOrganizationMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const UpdateOrganizationMetadataRequest_DataEntry_DoNotUse& other); + static const UpdateOrganizationMetadataRequest_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_UpdateOrganizationMetadataRequest_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.UpdateOrganizationMetadataRequest.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; + +// ------------------------------------------------------------------- + +class UpdateOrganizationMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateOrganizationMetadataRequest) */ { + public: + inline UpdateOrganizationMetadataRequest() : UpdateOrganizationMetadataRequest(nullptr) {} + ~UpdateOrganizationMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateOrganizationMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UpdateOrganizationMetadataRequest(const UpdateOrganizationMetadataRequest& from); + UpdateOrganizationMetadataRequest(UpdateOrganizationMetadataRequest&& from) noexcept + : UpdateOrganizationMetadataRequest() { + *this = ::std::move(from); + } + + inline UpdateOrganizationMetadataRequest& operator=(const UpdateOrganizationMetadataRequest& from) { + CopyFrom(from); + return *this; + } + inline UpdateOrganizationMetadataRequest& operator=(UpdateOrganizationMetadataRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateOrganizationMetadataRequest& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateOrganizationMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateOrganizationMetadataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(UpdateOrganizationMetadataRequest& a, UpdateOrganizationMetadataRequest& b) { + a.Swap(&b); + } + inline void Swap(UpdateOrganizationMetadataRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateOrganizationMetadataRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateOrganizationMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const UpdateOrganizationMetadataRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const UpdateOrganizationMetadataRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(UpdateOrganizationMetadataRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.UpdateOrganizationMetadataRequest"; + } + protected: + explicit UpdateOrganizationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + enum : int { + kDataFieldNumber = 2, + kOrganizationIdFieldNumber = 1, + }; + // map data = 2 [json_name = "data"]; + int data_size() const; + private: + int _internal_data_size() const; + public: + void clear_data(); + private: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); + public: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); + + // string organization_id = 1 [json_name = "organizationId"]; + void clear_organization_id(); + const std::string& organization_id() const; + template + void set_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* organization_id); + 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.UpdateOrganizationMetadataRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + UpdateOrganizationMetadataRequest_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class UpdateOrganizationMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateOrganizationMetadataResponse) */ { + public: + inline UpdateOrganizationMetadataResponse() : UpdateOrganizationMetadataResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR UpdateOrganizationMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UpdateOrganizationMetadataResponse(const UpdateOrganizationMetadataResponse& from); + UpdateOrganizationMetadataResponse(UpdateOrganizationMetadataResponse&& from) noexcept + : UpdateOrganizationMetadataResponse() { + *this = ::std::move(from); + } + + inline UpdateOrganizationMetadataResponse& operator=(const UpdateOrganizationMetadataResponse& from) { + CopyFrom(from); + return *this; + } + inline UpdateOrganizationMetadataResponse& operator=(UpdateOrganizationMetadataResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateOrganizationMetadataResponse& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateOrganizationMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateOrganizationMetadataResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(UpdateOrganizationMetadataResponse& a, UpdateOrganizationMetadataResponse& b) { + a.Swap(&b); + } + inline void Swap(UpdateOrganizationMetadataResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateOrganizationMetadataResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateOrganizationMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const UpdateOrganizationMetadataResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const UpdateOrganizationMetadataResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.UpdateOrganizationMetadataResponse"; + } + protected: + explicit UpdateOrganizationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateOrganizationMetadataResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + class ListOrganizationMembersRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListOrganizationMembersRequest) */ { public: @@ -4758,7 +5510,7 @@ class ListOrganizationMembersRequest final : &_ListOrganizationMembersRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 25; friend void swap(ListOrganizationMembersRequest& a, ListOrganizationMembersRequest& b) { a.Swap(&b); @@ -4906,7 +5658,7 @@ class ListOrganizationMembersResponse final : &_ListOrganizationMembersResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 26; friend void swap(ListOrganizationMembersResponse& a, ListOrganizationMembersResponse& b) { a.Swap(&b); @@ -5094,7 +5846,7 @@ class CreateOrganizationInviteRequest final : &_CreateOrganizationInviteRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 27; friend void swap(CreateOrganizationInviteRequest& a, CreateOrganizationInviteRequest& b) { a.Swap(&b); @@ -5294,7 +6046,7 @@ class CreateOrganizationInviteResponse final : &_CreateOrganizationInviteResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 28; friend void swap(CreateOrganizationInviteResponse& a, CreateOrganizationInviteResponse& b) { a.Swap(&b); @@ -5446,7 +6198,7 @@ class UpdateOrganizationInviteAuthorizationsRequest final : &_UpdateOrganizationInviteAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 29; friend void swap(UpdateOrganizationInviteAuthorizationsRequest& a, UpdateOrganizationInviteAuthorizationsRequest& b) { a.Swap(&b); @@ -5650,7 +6402,7 @@ class UpdateOrganizationInviteAuthorizationsResponse final : &_UpdateOrganizationInviteAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 30; friend void swap(UpdateOrganizationInviteAuthorizationsResponse& a, UpdateOrganizationInviteAuthorizationsResponse& b) { a.Swap(&b); @@ -5802,7 +6554,7 @@ class DeleteOrganizationInviteRequest final : &_DeleteOrganizationInviteRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 31; friend void swap(DeleteOrganizationInviteRequest& a, DeleteOrganizationInviteRequest& b) { a.Swap(&b); @@ -5965,7 +6717,7 @@ class DeleteOrganizationInviteResponse final : &_DeleteOrganizationInviteResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 32; friend void swap(DeleteOrganizationInviteResponse& a, DeleteOrganizationInviteResponse& b) { a.Swap(&b); @@ -6082,7 +6834,7 @@ class ResendOrganizationInviteRequest final : &_ResendOrganizationInviteRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 33; friend void swap(ResendOrganizationInviteRequest& a, ResendOrganizationInviteRequest& b) { a.Swap(&b); @@ -6246,7 +6998,7 @@ class ResendOrganizationInviteResponse final : &_ResendOrganizationInviteResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 34; friend void swap(ResendOrganizationInviteResponse& a, ResendOrganizationInviteResponse& b) { a.Swap(&b); @@ -6398,7 +7150,7 @@ class DeleteOrganizationMemberRequest final : &_DeleteOrganizationMemberRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 35; friend void swap(DeleteOrganizationMemberRequest& a, DeleteOrganizationMemberRequest& b) { a.Swap(&b); @@ -6561,7 +7313,7 @@ class DeleteOrganizationMemberResponse final : &_DeleteOrganizationMemberResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 36; friend void swap(DeleteOrganizationMemberResponse& a, DeleteOrganizationMemberResponse& b) { a.Swap(&b); @@ -6678,7 +7430,7 @@ class BillingAddress final : &_BillingAddress_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 37; friend void swap(BillingAddress& a, BillingAddress& b) { a.Swap(&b); @@ -6911,7 +7663,7 @@ class EnableBillingServiceRequest final : &_EnableBillingServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 38; friend void swap(EnableBillingServiceRequest& a, EnableBillingServiceRequest& b) { a.Swap(&b); @@ -7078,7 +7830,7 @@ class EnableBillingServiceResponse final : &_EnableBillingServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 39; friend void swap(EnableBillingServiceResponse& a, EnableBillingServiceResponse& b) { a.Swap(&b); @@ -7195,7 +7947,7 @@ class UpdateBillingServiceRequest final : &_UpdateBillingServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 40; friend void swap(UpdateBillingServiceRequest& a, UpdateBillingServiceRequest& b) { a.Swap(&b); @@ -7362,7 +8114,7 @@ class UpdateBillingServiceResponse final : &_UpdateBillingServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 41; friend void swap(UpdateBillingServiceResponse& a, UpdateBillingServiceResponse& b) { a.Swap(&b); @@ -7479,7 +8231,7 @@ class GetBillingServiceConfigRequest final : &_GetBillingServiceConfigRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 42; friend void swap(GetBillingServiceConfigRequest& a, GetBillingServiceConfigRequest& b) { a.Swap(&b); @@ -7627,7 +8379,7 @@ class GetBillingServiceConfigResponse final : &_GetBillingServiceConfigResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 43; friend void swap(GetBillingServiceConfigResponse& a, GetBillingServiceConfigResponse& b) { a.Swap(&b); @@ -7827,7 +8579,7 @@ class DisableBillingServiceRequest final : &_DisableBillingServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 44; friend void swap(DisableBillingServiceRequest& a, DisableBillingServiceRequest& b) { a.Swap(&b); @@ -7974,7 +8726,7 @@ class DisableBillingServiceResponse final : &_DisableBillingServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 45; friend void swap(DisableBillingServiceResponse& a, DisableBillingServiceResponse& b) { a.Swap(&b); @@ -8091,7 +8843,7 @@ class OrganizationSetSupportEmailRequest final : &_OrganizationSetSupportEmailRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 46; friend void swap(OrganizationSetSupportEmailRequest& a, OrganizationSetSupportEmailRequest& b) { a.Swap(&b); @@ -8254,7 +9006,7 @@ class OrganizationSetSupportEmailResponse final : &_OrganizationSetSupportEmailResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 47; friend void swap(OrganizationSetSupportEmailResponse& a, OrganizationSetSupportEmailResponse& b) { a.Swap(&b); @@ -8371,7 +9123,7 @@ class OrganizationGetSupportEmailRequest final : &_OrganizationGetSupportEmailRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 48; friend void swap(OrganizationGetSupportEmailRequest& a, OrganizationGetSupportEmailRequest& b) { a.Swap(&b); @@ -8519,7 +9271,7 @@ class OrganizationGetSupportEmailResponse final : &_OrganizationGetSupportEmailResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 49; friend void swap(OrganizationGetSupportEmailResponse& a, OrganizationGetSupportEmailResponse& b) { a.Swap(&b); @@ -8667,7 +9419,7 @@ class OrganizationIdentity final : &_OrganizationIdentity_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 50; friend void swap(OrganizationIdentity& a, OrganizationIdentity& b) { a.Swap(&b); @@ -8831,7 +9583,7 @@ class LocationOrganization final : &_LocationOrganization_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 51; friend void swap(LocationOrganization& a, LocationOrganization& b) { a.Swap(&b); @@ -8990,7 +9742,7 @@ class LocationAuth final : &_LocationAuth_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 52; friend void swap(LocationAuth& a, LocationAuth& b) { a.Swap(&b); @@ -9174,7 +9926,7 @@ class StorageConfig final : &_StorageConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 53; friend void swap(StorageConfig& a, StorageConfig& b) { a.Swap(&b); @@ -9322,7 +10074,7 @@ class Location final : &_Location_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 54; friend void swap(Location& a, Location& b) { a.Swap(&b); @@ -9593,7 +10345,7 @@ class SharedSecret final : &_SharedSecret_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 55; friend void swap(SharedSecret& a, SharedSecret& b) { a.Swap(&b); @@ -9820,7 +10572,7 @@ class CreateLocationRequest final : &_CreateLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 56; friend void swap(CreateLocationRequest& a, CreateLocationRequest& b) { a.Swap(&b); @@ -10005,7 +10757,7 @@ class CreateLocationResponse final : &_CreateLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 57; friend void swap(CreateLocationResponse& a, CreateLocationResponse& b) { a.Swap(&b); @@ -10157,7 +10909,7 @@ class GetLocationRequest final : &_GetLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 58; friend void swap(GetLocationRequest& a, GetLocationRequest& b) { a.Swap(&b); @@ -10305,7 +11057,7 @@ class GetLocationResponse final : &_GetLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 59; friend void swap(GetLocationResponse& a, GetLocationResponse& b) { a.Swap(&b); @@ -10457,7 +11209,7 @@ class UpdateLocationRequest final : &_UpdateLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 60; friend void swap(UpdateLocationRequest& a, UpdateLocationRequest& b) { a.Swap(&b); @@ -10666,7 +11418,7 @@ class UpdateLocationResponse final : &_UpdateLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 61; friend void swap(UpdateLocationResponse& a, UpdateLocationResponse& b) { a.Swap(&b); @@ -10818,7 +11570,7 @@ class DeleteLocationRequest final : &_DeleteLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 62; friend void swap(DeleteLocationRequest& a, DeleteLocationRequest& b) { a.Swap(&b); @@ -10965,7 +11717,7 @@ class DeleteLocationResponse final : &_DeleteLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 63; friend void swap(DeleteLocationResponse& a, DeleteLocationResponse& b) { a.Swap(&b); @@ -11034,24 +11786,24 @@ class DeleteLocationResponse final : }; // ------------------------------------------------------------------- -class GetOrganizationsWithAccessToLocationRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) */ { +class GetLocationMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetLocationMetadataRequest) */ { public: - inline GetOrganizationsWithAccessToLocationRequest() : GetOrganizationsWithAccessToLocationRequest(nullptr) {} - ~GetOrganizationsWithAccessToLocationRequest() override; - explicit PROTOBUF_CONSTEXPR GetOrganizationsWithAccessToLocationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetLocationMetadataRequest() : GetLocationMetadataRequest(nullptr) {} + ~GetLocationMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR GetLocationMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetOrganizationsWithAccessToLocationRequest(const GetOrganizationsWithAccessToLocationRequest& from); - GetOrganizationsWithAccessToLocationRequest(GetOrganizationsWithAccessToLocationRequest&& from) noexcept - : GetOrganizationsWithAccessToLocationRequest() { + GetLocationMetadataRequest(const GetLocationMetadataRequest& from); + GetLocationMetadataRequest(GetLocationMetadataRequest&& from) noexcept + : GetLocationMetadataRequest() { *this = ::std::move(from); } - inline GetOrganizationsWithAccessToLocationRequest& operator=(const GetOrganizationsWithAccessToLocationRequest& from) { + inline GetLocationMetadataRequest& operator=(const GetLocationMetadataRequest& from) { CopyFrom(from); return *this; } - inline GetOrganizationsWithAccessToLocationRequest& operator=(GetOrganizationsWithAccessToLocationRequest&& from) noexcept { + inline GetLocationMetadataRequest& operator=(GetLocationMetadataRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -11074,20 +11826,20 @@ class GetOrganizationsWithAccessToLocationRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetOrganizationsWithAccessToLocationRequest& default_instance() { + static const GetLocationMetadataRequest& default_instance() { return *internal_default_instance(); } - static inline const GetOrganizationsWithAccessToLocationRequest* internal_default_instance() { - return reinterpret_cast( - &_GetOrganizationsWithAccessToLocationRequest_default_instance_); + static inline const GetLocationMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_GetLocationMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 64; - friend void swap(GetOrganizationsWithAccessToLocationRequest& a, GetOrganizationsWithAccessToLocationRequest& b) { + friend void swap(GetLocationMetadataRequest& a, GetLocationMetadataRequest& b) { a.Swap(&b); } - inline void Swap(GetOrganizationsWithAccessToLocationRequest* other) { + inline void Swap(GetLocationMetadataRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -11100,7 +11852,7 @@ class GetOrganizationsWithAccessToLocationRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetOrganizationsWithAccessToLocationRequest* other) { + void UnsafeArenaSwap(GetLocationMetadataRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -11108,13 +11860,13 @@ class GetOrganizationsWithAccessToLocationRequest final : // implements Message ---------------------------------------------- - GetOrganizationsWithAccessToLocationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetLocationMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetOrganizationsWithAccessToLocationRequest& from); + void CopyFrom(const GetLocationMetadataRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetOrganizationsWithAccessToLocationRequest& from); + void MergeFrom(const GetLocationMetadataRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -11131,15 +11883,15 @@ class GetOrganizationsWithAccessToLocationRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetOrganizationsWithAccessToLocationRequest* other); + void InternalSwap(GetLocationMetadataRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetOrganizationsWithAccessToLocationRequest"; + return "viam.app.v1.GetLocationMetadataRequest"; } protected: - explicit GetOrganizationsWithAccessToLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetLocationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -11169,7 +11921,7 @@ class GetOrganizationsWithAccessToLocationRequest final : std::string* _internal_mutable_location_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetLocationMetadataRequest) private: class _Internal; @@ -11182,24 +11934,50 @@ class GetOrganizationsWithAccessToLocationRequest final : }; // ------------------------------------------------------------------- -class GetOrganizationsWithAccessToLocationResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) */ { +class GetLocationMetadataResponse_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + GetLocationMetadataResponse_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR GetLocationMetadataResponse_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit GetLocationMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const GetLocationMetadataResponse_DataEntry_DoNotUse& other); + static const GetLocationMetadataResponse_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_GetLocationMetadataResponse_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.GetLocationMetadataResponse.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; + +// ------------------------------------------------------------------- + +class GetLocationMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetLocationMetadataResponse) */ { public: - inline GetOrganizationsWithAccessToLocationResponse() : GetOrganizationsWithAccessToLocationResponse(nullptr) {} - ~GetOrganizationsWithAccessToLocationResponse() override; - explicit PROTOBUF_CONSTEXPR GetOrganizationsWithAccessToLocationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetLocationMetadataResponse() : GetLocationMetadataResponse(nullptr) {} + ~GetLocationMetadataResponse() override; + explicit PROTOBUF_CONSTEXPR GetLocationMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetOrganizationsWithAccessToLocationResponse(const GetOrganizationsWithAccessToLocationResponse& from); - GetOrganizationsWithAccessToLocationResponse(GetOrganizationsWithAccessToLocationResponse&& from) noexcept - : GetOrganizationsWithAccessToLocationResponse() { + GetLocationMetadataResponse(const GetLocationMetadataResponse& from); + GetLocationMetadataResponse(GetLocationMetadataResponse&& from) noexcept + : GetLocationMetadataResponse() { *this = ::std::move(from); } - inline GetOrganizationsWithAccessToLocationResponse& operator=(const GetOrganizationsWithAccessToLocationResponse& from) { + inline GetLocationMetadataResponse& operator=(const GetLocationMetadataResponse& from) { CopyFrom(from); return *this; } - inline GetOrganizationsWithAccessToLocationResponse& operator=(GetOrganizationsWithAccessToLocationResponse&& from) noexcept { + inline GetLocationMetadataResponse& operator=(GetLocationMetadataResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -11222,20 +12000,20 @@ class GetOrganizationsWithAccessToLocationResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetOrganizationsWithAccessToLocationResponse& default_instance() { + static const GetLocationMetadataResponse& default_instance() { return *internal_default_instance(); } - static inline const GetOrganizationsWithAccessToLocationResponse* internal_default_instance() { - return reinterpret_cast( - &_GetOrganizationsWithAccessToLocationResponse_default_instance_); + static inline const GetLocationMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_GetLocationMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 59; + 66; - friend void swap(GetOrganizationsWithAccessToLocationResponse& a, GetOrganizationsWithAccessToLocationResponse& b) { + friend void swap(GetLocationMetadataResponse& a, GetLocationMetadataResponse& b) { a.Swap(&b); } - inline void Swap(GetOrganizationsWithAccessToLocationResponse* other) { + inline void Swap(GetLocationMetadataResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -11248,7 +12026,7 @@ class GetOrganizationsWithAccessToLocationResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetOrganizationsWithAccessToLocationResponse* other) { + void UnsafeArenaSwap(GetLocationMetadataResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -11256,13 +12034,13 @@ class GetOrganizationsWithAccessToLocationResponse final : // implements Message ---------------------------------------------- - GetOrganizationsWithAccessToLocationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetLocationMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetOrganizationsWithAccessToLocationResponse& from); + void CopyFrom(const GetLocationMetadataResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetOrganizationsWithAccessToLocationResponse& from); + void MergeFrom(const GetLocationMetadataResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -11279,16 +12057,18 @@ class GetOrganizationsWithAccessToLocationResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetOrganizationsWithAccessToLocationResponse* other); + void InternalSwap(GetLocationMetadataResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetOrganizationsWithAccessToLocationResponse"; + return "viam.app.v1.GetLocationMetadataResponse"; } protected: - explicit GetOrganizationsWithAccessToLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetLocationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); + private: + static void ArenaDtor(void* object); public: static const ClassData _class_data_; @@ -11298,208 +12078,90 @@ class GetOrganizationsWithAccessToLocationResponse final : // nested types ---------------------------------------------------- + // accessors ------------------------------------------------------- enum : int { - kOrganizationIdentitiesFieldNumber = 1, + kDataFieldNumber = 1, }; - // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; - int organization_identities_size() const; + // map data = 1 [json_name = "data"]; + int data_size() const; private: - int _internal_organization_identities_size() const; + int _internal_data_size() const; public: - void clear_organization_identities(); - ::viam::app::v1::OrganizationIdentity* mutable_organization_identities(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::OrganizationIdentity >* - mutable_organization_identities(); + void clear_data(); private: - const ::viam::app::v1::OrganizationIdentity& _internal_organization_identities(int index) const; - ::viam::app::v1::OrganizationIdentity* _internal_add_organization_identities(); + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); public: - const ::viam::app::v1::OrganizationIdentity& organization_identities(int index) const; - ::viam::app::v1::OrganizationIdentity* add_organization_identities(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::OrganizationIdentity >& - organization_identities() const; + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); - // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetLocationMetadataResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::OrganizationIdentity > organization_identities_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + GetLocationMetadataResponse_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListLocationsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListLocationsRequest) */ { - public: - inline ListLocationsRequest() : ListLocationsRequest(nullptr) {} - ~ListLocationsRequest() override; - explicit PROTOBUF_CONSTEXPR ListLocationsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ListLocationsRequest(const ListLocationsRequest& from); - ListLocationsRequest(ListLocationsRequest&& from) noexcept - : ListLocationsRequest() { - *this = ::std::move(from); - } - - inline ListLocationsRequest& operator=(const ListLocationsRequest& from) { - CopyFrom(from); - return *this; - } - inline ListLocationsRequest& operator=(ListLocationsRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ListLocationsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const ListLocationsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListLocationsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - 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 (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ListLocationsRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ListLocationsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListLocationsRequest& from); +class UpdateLocationMetadataRequest_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + UpdateLocationMetadataRequest_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR UpdateLocationMetadataRequest_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit UpdateLocationMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const UpdateLocationMetadataRequest_DataEntry_DoNotUse& other); + static const UpdateLocationMetadataRequest_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_UpdateLocationMetadataRequest_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.UpdateLocationMetadataRequest.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListLocationsRequest& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ListLocationsRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListLocationsRequest"; - } - protected: - explicit ListLocationsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOrganizationIdFieldNumber = 1, - }; - // string organization_id = 1 [json_name = "organizationId"]; - void clear_organization_id(); - const std::string& organization_id() const; - template - void set_organization_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_organization_id(); - PROTOBUF_NODISCARD std::string* release_organization_id(); - void set_allocated_organization_id(std::string* organization_id); - 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; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; + // ------------------------------------------------------------------- -class ShareLocationRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ShareLocationRequest) */ { +class UpdateLocationMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateLocationMetadataRequest) */ { public: - inline ShareLocationRequest() : ShareLocationRequest(nullptr) {} - ~ShareLocationRequest() override; - explicit PROTOBUF_CONSTEXPR ShareLocationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateLocationMetadataRequest() : UpdateLocationMetadataRequest(nullptr) {} + ~UpdateLocationMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateLocationMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ShareLocationRequest(const ShareLocationRequest& from); - ShareLocationRequest(ShareLocationRequest&& from) noexcept - : ShareLocationRequest() { + UpdateLocationMetadataRequest(const UpdateLocationMetadataRequest& from); + UpdateLocationMetadataRequest(UpdateLocationMetadataRequest&& from) noexcept + : UpdateLocationMetadataRequest() { *this = ::std::move(from); } - inline ShareLocationRequest& operator=(const ShareLocationRequest& from) { + inline UpdateLocationMetadataRequest& operator=(const UpdateLocationMetadataRequest& from) { CopyFrom(from); return *this; } - inline ShareLocationRequest& operator=(ShareLocationRequest&& from) noexcept { + inline UpdateLocationMetadataRequest& operator=(UpdateLocationMetadataRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -11522,20 +12184,20 @@ class ShareLocationRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ShareLocationRequest& default_instance() { + static const UpdateLocationMetadataRequest& default_instance() { return *internal_default_instance(); } - static inline const ShareLocationRequest* internal_default_instance() { - return reinterpret_cast( - &_ShareLocationRequest_default_instance_); + static inline const UpdateLocationMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateLocationMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 61; + 68; - friend void swap(ShareLocationRequest& a, ShareLocationRequest& b) { + friend void swap(UpdateLocationMetadataRequest& a, UpdateLocationMetadataRequest& b) { a.Swap(&b); } - inline void Swap(ShareLocationRequest* other) { + inline void Swap(UpdateLocationMetadataRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -11548,7 +12210,7 @@ class ShareLocationRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ShareLocationRequest* other) { + void UnsafeArenaSwap(UpdateLocationMetadataRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -11556,13 +12218,13 @@ class ShareLocationRequest final : // implements Message ---------------------------------------------- - ShareLocationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateLocationMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ShareLocationRequest& from); + void CopyFrom(const UpdateLocationMetadataRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ShareLocationRequest& from); + void MergeFrom(const UpdateLocationMetadataRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -11579,16 +12241,18 @@ class ShareLocationRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ShareLocationRequest* other); + void InternalSwap(UpdateLocationMetadataRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ShareLocationRequest"; + return "viam.app.v1.UpdateLocationMetadataRequest"; } protected: - explicit ShareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateLocationMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); + private: + static void ArenaDtor(void* object); public: static const ClassData _class_data_; @@ -11598,12 +12262,30 @@ class ShareLocationRequest final : // nested types ---------------------------------------------------- + // accessors ------------------------------------------------------- enum : int { + kDataFieldNumber = 2, kLocationIdFieldNumber = 1, - kOrganizationIdFieldNumber = 2, }; + // map data = 2 [json_name = "data"]; + int data_size() const; + private: + int _internal_data_size() const; + public: + void clear_data(); + private: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); + public: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); + // string location_id = 1 [json_name = "locationId"]; void clear_location_id(); const std::string& location_id() const; @@ -11618,51 +12300,41 @@ class ShareLocationRequest final : std::string* _internal_mutable_location_id(); public: - // string organization_id = 2 [json_name = "organizationId"]; - void clear_organization_id(); - const std::string& organization_id() const; - template - void set_organization_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_organization_id(); - PROTOBUF_NODISCARD std::string* release_organization_id(); - void set_allocated_organization_id(std::string* organization_id); - 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.ShareLocationRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateLocationMetadataRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + UpdateLocationMetadataRequest_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ShareLocationResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.ShareLocationResponse) */ { +class UpdateLocationMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateLocationMetadataResponse) */ { public: - inline ShareLocationResponse() : ShareLocationResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR ShareLocationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateLocationMetadataResponse() : UpdateLocationMetadataResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR UpdateLocationMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ShareLocationResponse(const ShareLocationResponse& from); - ShareLocationResponse(ShareLocationResponse&& from) noexcept - : ShareLocationResponse() { + UpdateLocationMetadataResponse(const UpdateLocationMetadataResponse& from); + UpdateLocationMetadataResponse(UpdateLocationMetadataResponse&& from) noexcept + : UpdateLocationMetadataResponse() { *this = ::std::move(from); } - inline ShareLocationResponse& operator=(const ShareLocationResponse& from) { + inline UpdateLocationMetadataResponse& operator=(const UpdateLocationMetadataResponse& from) { CopyFrom(from); return *this; } - inline ShareLocationResponse& operator=(ShareLocationResponse&& from) noexcept { + inline UpdateLocationMetadataResponse& operator=(UpdateLocationMetadataResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -11685,20 +12357,20 @@ class ShareLocationResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ShareLocationResponse& default_instance() { + static const UpdateLocationMetadataResponse& default_instance() { return *internal_default_instance(); } - static inline const ShareLocationResponse* internal_default_instance() { - return reinterpret_cast( - &_ShareLocationResponse_default_instance_); + static inline const UpdateLocationMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateLocationMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 62; + 69; - friend void swap(ShareLocationResponse& a, ShareLocationResponse& b) { + friend void swap(UpdateLocationMetadataResponse& a, UpdateLocationMetadataResponse& b) { a.Swap(&b); } - inline void Swap(ShareLocationResponse* other) { + inline void Swap(UpdateLocationMetadataResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -11711,7 +12383,7 @@ class ShareLocationResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ShareLocationResponse* other) { + void UnsafeArenaSwap(UpdateLocationMetadataResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -11719,15 +12391,15 @@ class ShareLocationResponse final : // implements Message ---------------------------------------------- - ShareLocationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateLocationMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ShareLocationResponse& from) { + inline void CopyFrom(const UpdateLocationMetadataResponse& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ShareLocationResponse& from) { + void MergeFrom(const UpdateLocationMetadataResponse& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: @@ -11735,10 +12407,10 @@ class ShareLocationResponse final : private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ShareLocationResponse"; + return "viam.app.v1.UpdateLocationMetadataResponse"; } protected: - explicit ShareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateLocationMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -11751,7 +12423,7 @@ class ShareLocationResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:viam.app.v1.ShareLocationResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateLocationMetadataResponse) private: class _Internal; @@ -11762,24 +12434,24 @@ class ShareLocationResponse final : }; // ------------------------------------------------------------------- -class UnshareLocationRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UnshareLocationRequest) */ { +class GetOrganizationsWithAccessToLocationRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) */ { public: - inline UnshareLocationRequest() : UnshareLocationRequest(nullptr) {} - ~UnshareLocationRequest() override; - explicit PROTOBUF_CONSTEXPR UnshareLocationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetOrganizationsWithAccessToLocationRequest() : GetOrganizationsWithAccessToLocationRequest(nullptr) {} + ~GetOrganizationsWithAccessToLocationRequest() override; + explicit PROTOBUF_CONSTEXPR GetOrganizationsWithAccessToLocationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UnshareLocationRequest(const UnshareLocationRequest& from); - UnshareLocationRequest(UnshareLocationRequest&& from) noexcept - : UnshareLocationRequest() { + GetOrganizationsWithAccessToLocationRequest(const GetOrganizationsWithAccessToLocationRequest& from); + GetOrganizationsWithAccessToLocationRequest(GetOrganizationsWithAccessToLocationRequest&& from) noexcept + : GetOrganizationsWithAccessToLocationRequest() { *this = ::std::move(from); } - inline UnshareLocationRequest& operator=(const UnshareLocationRequest& from) { + inline GetOrganizationsWithAccessToLocationRequest& operator=(const GetOrganizationsWithAccessToLocationRequest& from) { CopyFrom(from); return *this; } - inline UnshareLocationRequest& operator=(UnshareLocationRequest&& from) noexcept { + inline GetOrganizationsWithAccessToLocationRequest& operator=(GetOrganizationsWithAccessToLocationRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -11802,20 +12474,20 @@ class UnshareLocationRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UnshareLocationRequest& default_instance() { + static const GetOrganizationsWithAccessToLocationRequest& default_instance() { return *internal_default_instance(); } - static inline const UnshareLocationRequest* internal_default_instance() { - return reinterpret_cast( - &_UnshareLocationRequest_default_instance_); + static inline const GetOrganizationsWithAccessToLocationRequest* internal_default_instance() { + return reinterpret_cast( + &_GetOrganizationsWithAccessToLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 63; + 70; - friend void swap(UnshareLocationRequest& a, UnshareLocationRequest& b) { + friend void swap(GetOrganizationsWithAccessToLocationRequest& a, GetOrganizationsWithAccessToLocationRequest& b) { a.Swap(&b); } - inline void Swap(UnshareLocationRequest* other) { + inline void Swap(GetOrganizationsWithAccessToLocationRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -11828,7 +12500,7 @@ class UnshareLocationRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UnshareLocationRequest* other) { + void UnsafeArenaSwap(GetOrganizationsWithAccessToLocationRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -11836,13 +12508,13 @@ class UnshareLocationRequest final : // implements Message ---------------------------------------------- - UnshareLocationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetOrganizationsWithAccessToLocationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UnshareLocationRequest& from); + void CopyFrom(const GetOrganizationsWithAccessToLocationRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UnshareLocationRequest& from); + void MergeFrom(const GetOrganizationsWithAccessToLocationRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -11859,15 +12531,15 @@ class UnshareLocationRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UnshareLocationRequest* other); + void InternalSwap(GetOrganizationsWithAccessToLocationRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UnshareLocationRequest"; + return "viam.app.v1.GetOrganizationsWithAccessToLocationRequest"; } protected: - explicit UnshareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetOrganizationsWithAccessToLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -11882,7 +12554,6 @@ class UnshareLocationRequest final : enum : int { kLocationIdFieldNumber = 1, - kOrganizationIdFieldNumber = 2, }; // string location_id = 1 [json_name = "locationId"]; void clear_location_id(); @@ -11898,21 +12569,7 @@ class UnshareLocationRequest final : std::string* _internal_mutable_location_id(); public: - // string organization_id = 2 [json_name = "organizationId"]; - void clear_organization_id(); - const std::string& organization_id() const; - template - void set_organization_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_organization_id(); - PROTOBUF_NODISCARD std::string* release_organization_id(); - void set_allocated_organization_id(std::string* organization_id); - 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.UnshareLocationRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationsWithAccessToLocationRequest) private: class _Internal; @@ -11920,29 +12577,29 @@ class UnshareLocationRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class UnshareLocationResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.UnshareLocationResponse) */ { +class GetOrganizationsWithAccessToLocationResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) */ { public: - inline UnshareLocationResponse() : UnshareLocationResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR UnshareLocationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetOrganizationsWithAccessToLocationResponse() : GetOrganizationsWithAccessToLocationResponse(nullptr) {} + ~GetOrganizationsWithAccessToLocationResponse() override; + explicit PROTOBUF_CONSTEXPR GetOrganizationsWithAccessToLocationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UnshareLocationResponse(const UnshareLocationResponse& from); - UnshareLocationResponse(UnshareLocationResponse&& from) noexcept - : UnshareLocationResponse() { + GetOrganizationsWithAccessToLocationResponse(const GetOrganizationsWithAccessToLocationResponse& from); + GetOrganizationsWithAccessToLocationResponse(GetOrganizationsWithAccessToLocationResponse&& from) noexcept + : GetOrganizationsWithAccessToLocationResponse() { *this = ::std::move(from); } - inline UnshareLocationResponse& operator=(const UnshareLocationResponse& from) { + inline GetOrganizationsWithAccessToLocationResponse& operator=(const GetOrganizationsWithAccessToLocationResponse& from) { CopyFrom(from); return *this; } - inline UnshareLocationResponse& operator=(UnshareLocationResponse&& from) noexcept { + inline GetOrganizationsWithAccessToLocationResponse& operator=(GetOrganizationsWithAccessToLocationResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -11965,20 +12622,20 @@ class UnshareLocationResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UnshareLocationResponse& default_instance() { + static const GetOrganizationsWithAccessToLocationResponse& default_instance() { return *internal_default_instance(); } - static inline const UnshareLocationResponse* internal_default_instance() { - return reinterpret_cast( - &_UnshareLocationResponse_default_instance_); + static inline const GetOrganizationsWithAccessToLocationResponse* internal_default_instance() { + return reinterpret_cast( + &_GetOrganizationsWithAccessToLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 64; + 71; - friend void swap(UnshareLocationResponse& a, UnshareLocationResponse& b) { + friend void swap(GetOrganizationsWithAccessToLocationResponse& a, GetOrganizationsWithAccessToLocationResponse& b) { a.Swap(&b); } - inline void Swap(UnshareLocationResponse* other) { + inline void Swap(GetOrganizationsWithAccessToLocationResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -11991,7 +12648,7 @@ class UnshareLocationResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UnshareLocationResponse* other) { + void UnsafeArenaSwap(GetOrganizationsWithAccessToLocationResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -11999,26 +12656,38 @@ class UnshareLocationResponse final : // implements Message ---------------------------------------------- - UnshareLocationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const UnshareLocationResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const UnshareLocationResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + GetOrganizationsWithAccessToLocationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetOrganizationsWithAccessToLocationResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetOrganizationsWithAccessToLocationResponse& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetOrganizationsWithAccessToLocationResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UnshareLocationResponse"; + return "viam.app.v1.GetOrganizationsWithAccessToLocationResponse"; } protected: - explicit UnshareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetOrganizationsWithAccessToLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12031,35 +12700,58 @@ class UnshareLocationResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:viam.app.v1.UnshareLocationResponse) + enum : int { + kOrganizationIdentitiesFieldNumber = 1, + }; + // repeated .viam.app.v1.OrganizationIdentity organization_identities = 1 [json_name = "organizationIdentities"]; + int organization_identities_size() const; + private: + int _internal_organization_identities_size() const; + public: + void clear_organization_identities(); + ::viam::app::v1::OrganizationIdentity* mutable_organization_identities(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::OrganizationIdentity >* + mutable_organization_identities(); + private: + const ::viam::app::v1::OrganizationIdentity& _internal_organization_identities(int index) const; + ::viam::app::v1::OrganizationIdentity* _internal_add_organization_identities(); + public: + const ::viam::app::v1::OrganizationIdentity& organization_identities(int index) const; + ::viam::app::v1::OrganizationIdentity* add_organization_identities(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::OrganizationIdentity >& + organization_identities() const; + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetOrganizationsWithAccessToLocationResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::OrganizationIdentity > organization_identities_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListLocationsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListLocationsResponse) */ { +class ListLocationsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListLocationsRequest) */ { public: - inline ListLocationsResponse() : ListLocationsResponse(nullptr) {} - ~ListLocationsResponse() override; - explicit PROTOBUF_CONSTEXPR ListLocationsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListLocationsRequest() : ListLocationsRequest(nullptr) {} + ~ListLocationsRequest() override; + explicit PROTOBUF_CONSTEXPR ListLocationsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListLocationsResponse(const ListLocationsResponse& from); - ListLocationsResponse(ListLocationsResponse&& from) noexcept - : ListLocationsResponse() { + ListLocationsRequest(const ListLocationsRequest& from); + ListLocationsRequest(ListLocationsRequest&& from) noexcept + : ListLocationsRequest() { *this = ::std::move(from); } - inline ListLocationsResponse& operator=(const ListLocationsResponse& from) { + inline ListLocationsRequest& operator=(const ListLocationsRequest& from) { CopyFrom(from); return *this; } - inline ListLocationsResponse& operator=(ListLocationsResponse&& from) noexcept { + inline ListLocationsRequest& operator=(ListLocationsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12082,20 +12774,20 @@ class ListLocationsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListLocationsResponse& default_instance() { + static const ListLocationsRequest& default_instance() { return *internal_default_instance(); } - static inline const ListLocationsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListLocationsResponse_default_instance_); + static inline const ListLocationsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListLocationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 65; + 72; - friend void swap(ListLocationsResponse& a, ListLocationsResponse& b) { + friend void swap(ListLocationsRequest& a, ListLocationsRequest& b) { a.Swap(&b); } - inline void Swap(ListLocationsResponse* other) { + inline void Swap(ListLocationsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12108,7 +12800,7 @@ class ListLocationsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListLocationsResponse* other) { + void UnsafeArenaSwap(ListLocationsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12116,13 +12808,13 @@ class ListLocationsResponse final : // implements Message ---------------------------------------------- - ListLocationsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListLocationsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListLocationsResponse& from); + void CopyFrom(const ListLocationsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListLocationsResponse& from); + void MergeFrom(const ListLocationsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -12139,15 +12831,15 @@ class ListLocationsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListLocationsResponse* other); + void InternalSwap(ListLocationsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListLocationsResponse"; + return "viam.app.v1.ListLocationsRequest"; } protected: - explicit ListLocationsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListLocationsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12161,57 +12853,53 @@ class ListLocationsResponse final : // accessors ------------------------------------------------------- enum : int { - kLocationsFieldNumber = 1, + kOrganizationIdFieldNumber = 1, }; - // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; - int locations_size() const; - private: - int _internal_locations_size() const; - public: - void clear_locations(); - ::viam::app::v1::Location* mutable_locations(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Location >* - mutable_locations(); + // string organization_id = 1 [json_name = "organizationId"]; + void clear_organization_id(); + const std::string& organization_id() const; + template + void set_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* organization_id); private: - const ::viam::app::v1::Location& _internal_locations(int index) const; - ::viam::app::v1::Location* _internal_add_locations(); + 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: - const ::viam::app::v1::Location& locations(int index) const; - ::viam::app::v1::Location* add_locations(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Location >& - locations() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.ListLocationsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListLocationsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Location > locations_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class CreateLocationSecretRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateLocationSecretRequest) */ { +class ShareLocationRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ShareLocationRequest) */ { public: - inline CreateLocationSecretRequest() : CreateLocationSecretRequest(nullptr) {} - ~CreateLocationSecretRequest() override; - explicit PROTOBUF_CONSTEXPR CreateLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ShareLocationRequest() : ShareLocationRequest(nullptr) {} + ~ShareLocationRequest() override; + explicit PROTOBUF_CONSTEXPR ShareLocationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CreateLocationSecretRequest(const CreateLocationSecretRequest& from); - CreateLocationSecretRequest(CreateLocationSecretRequest&& from) noexcept - : CreateLocationSecretRequest() { + ShareLocationRequest(const ShareLocationRequest& from); + ShareLocationRequest(ShareLocationRequest&& from) noexcept + : ShareLocationRequest() { *this = ::std::move(from); } - inline CreateLocationSecretRequest& operator=(const CreateLocationSecretRequest& from) { + inline ShareLocationRequest& operator=(const ShareLocationRequest& from) { CopyFrom(from); return *this; } - inline CreateLocationSecretRequest& operator=(CreateLocationSecretRequest&& from) noexcept { + inline ShareLocationRequest& operator=(ShareLocationRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12234,20 +12922,20 @@ class CreateLocationSecretRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CreateLocationSecretRequest& default_instance() { + static const ShareLocationRequest& default_instance() { return *internal_default_instance(); } - static inline const CreateLocationSecretRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateLocationSecretRequest_default_instance_); + static inline const ShareLocationRequest* internal_default_instance() { + return reinterpret_cast( + &_ShareLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 66; + 73; - friend void swap(CreateLocationSecretRequest& a, CreateLocationSecretRequest& b) { + friend void swap(ShareLocationRequest& a, ShareLocationRequest& b) { a.Swap(&b); } - inline void Swap(CreateLocationSecretRequest* other) { + inline void Swap(ShareLocationRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12260,7 +12948,7 @@ class CreateLocationSecretRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreateLocationSecretRequest* other) { + void UnsafeArenaSwap(ShareLocationRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12268,13 +12956,13 @@ class CreateLocationSecretRequest final : // implements Message ---------------------------------------------- - CreateLocationSecretRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ShareLocationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CreateLocationSecretRequest& from); + void CopyFrom(const ShareLocationRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CreateLocationSecretRequest& from); + void MergeFrom(const ShareLocationRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -12291,15 +12979,15 @@ class CreateLocationSecretRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(CreateLocationSecretRequest* other); + void InternalSwap(ShareLocationRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.CreateLocationSecretRequest"; + return "viam.app.v1.ShareLocationRequest"; } protected: - explicit CreateLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ShareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12314,6 +13002,7 @@ class CreateLocationSecretRequest final : enum : int { kLocationIdFieldNumber = 1, + kOrganizationIdFieldNumber = 2, }; // string location_id = 1 [json_name = "locationId"]; void clear_location_id(); @@ -12329,7 +13018,21 @@ class CreateLocationSecretRequest final : std::string* _internal_mutable_location_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.CreateLocationSecretRequest) + // string organization_id = 2 [json_name = "organizationId"]; + void clear_organization_id(); + const std::string& organization_id() const; + template + void set_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* organization_id); + 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.ShareLocationRequest) private: class _Internal; @@ -12337,29 +13040,29 @@ class CreateLocationSecretRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class CreateLocationSecretResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateLocationSecretResponse) */ { +class ShareLocationResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.ShareLocationResponse) */ { public: - inline CreateLocationSecretResponse() : CreateLocationSecretResponse(nullptr) {} - ~CreateLocationSecretResponse() override; - explicit PROTOBUF_CONSTEXPR CreateLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ShareLocationResponse() : ShareLocationResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR ShareLocationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CreateLocationSecretResponse(const CreateLocationSecretResponse& from); - CreateLocationSecretResponse(CreateLocationSecretResponse&& from) noexcept - : CreateLocationSecretResponse() { + ShareLocationResponse(const ShareLocationResponse& from); + ShareLocationResponse(ShareLocationResponse&& from) noexcept + : ShareLocationResponse() { *this = ::std::move(from); } - inline CreateLocationSecretResponse& operator=(const CreateLocationSecretResponse& from) { + inline ShareLocationResponse& operator=(const ShareLocationResponse& from) { CopyFrom(from); return *this; } - inline CreateLocationSecretResponse& operator=(CreateLocationSecretResponse&& from) noexcept { + inline ShareLocationResponse& operator=(ShareLocationResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12382,20 +13085,20 @@ class CreateLocationSecretResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CreateLocationSecretResponse& default_instance() { + static const ShareLocationResponse& default_instance() { return *internal_default_instance(); } - static inline const CreateLocationSecretResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateLocationSecretResponse_default_instance_); + static inline const ShareLocationResponse* internal_default_instance() { + return reinterpret_cast( + &_ShareLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 67; + 74; - friend void swap(CreateLocationSecretResponse& a, CreateLocationSecretResponse& b) { + friend void swap(ShareLocationResponse& a, ShareLocationResponse& b) { a.Swap(&b); } - inline void Swap(CreateLocationSecretResponse* other) { + inline void Swap(ShareLocationResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12408,7 +13111,7 @@ class CreateLocationSecretResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreateLocationSecretResponse* other) { + void UnsafeArenaSwap(ShareLocationResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12416,38 +13119,26 @@ class CreateLocationSecretResponse final : // implements Message ---------------------------------------------- - CreateLocationSecretResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ShareLocationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const ShareLocationResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const ShareLocationResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CreateLocationSecretResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CreateLocationSecretResponse& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CreateLocationSecretResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.CreateLocationSecretResponse"; + return "viam.app.v1.ShareLocationResponse"; } protected: - explicit CreateLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ShareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12460,58 +13151,35 @@ class CreateLocationSecretResponse final : // accessors ------------------------------------------------------- - enum : int { - kAuthFieldNumber = 1, - }; - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; - bool has_auth() const; - private: - bool _internal_has_auth() const; - public: - void clear_auth(); - const ::viam::app::v1::LocationAuth& auth() const; - PROTOBUF_NODISCARD ::viam::app::v1::LocationAuth* release_auth(); - ::viam::app::v1::LocationAuth* mutable_auth(); - void set_allocated_auth(::viam::app::v1::LocationAuth* auth); - private: - const ::viam::app::v1::LocationAuth& _internal_auth() const; - ::viam::app::v1::LocationAuth* _internal_mutable_auth(); - public: - void unsafe_arena_set_allocated_auth( - ::viam::app::v1::LocationAuth* auth); - ::viam::app::v1::LocationAuth* unsafe_arena_release_auth(); - - // @@protoc_insertion_point(class_scope:viam.app.v1.CreateLocationSecretResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.ShareLocationResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::LocationAuth* auth_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteLocationSecretRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteLocationSecretRequest) */ { +class UnshareLocationRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UnshareLocationRequest) */ { public: - inline DeleteLocationSecretRequest() : DeleteLocationSecretRequest(nullptr) {} - ~DeleteLocationSecretRequest() override; - explicit PROTOBUF_CONSTEXPR DeleteLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UnshareLocationRequest() : UnshareLocationRequest(nullptr) {} + ~UnshareLocationRequest() override; + explicit PROTOBUF_CONSTEXPR UnshareLocationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteLocationSecretRequest(const DeleteLocationSecretRequest& from); - DeleteLocationSecretRequest(DeleteLocationSecretRequest&& from) noexcept - : DeleteLocationSecretRequest() { + UnshareLocationRequest(const UnshareLocationRequest& from); + UnshareLocationRequest(UnshareLocationRequest&& from) noexcept + : UnshareLocationRequest() { *this = ::std::move(from); } - inline DeleteLocationSecretRequest& operator=(const DeleteLocationSecretRequest& from) { + inline UnshareLocationRequest& operator=(const UnshareLocationRequest& from) { CopyFrom(from); return *this; } - inline DeleteLocationSecretRequest& operator=(DeleteLocationSecretRequest&& from) noexcept { + inline UnshareLocationRequest& operator=(UnshareLocationRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12534,20 +13202,20 @@ class DeleteLocationSecretRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteLocationSecretRequest& default_instance() { + static const UnshareLocationRequest& default_instance() { return *internal_default_instance(); } - static inline const DeleteLocationSecretRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteLocationSecretRequest_default_instance_); + static inline const UnshareLocationRequest* internal_default_instance() { + return reinterpret_cast( + &_UnshareLocationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 68; + 75; - friend void swap(DeleteLocationSecretRequest& a, DeleteLocationSecretRequest& b) { + friend void swap(UnshareLocationRequest& a, UnshareLocationRequest& b) { a.Swap(&b); } - inline void Swap(DeleteLocationSecretRequest* other) { + inline void Swap(UnshareLocationRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12560,7 +13228,7 @@ class DeleteLocationSecretRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteLocationSecretRequest* other) { + void UnsafeArenaSwap(UnshareLocationRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12568,13 +13236,13 @@ class DeleteLocationSecretRequest final : // implements Message ---------------------------------------------- - DeleteLocationSecretRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UnshareLocationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteLocationSecretRequest& from); + void CopyFrom(const UnshareLocationRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeleteLocationSecretRequest& from); + void MergeFrom(const UnshareLocationRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -12591,15 +13259,15 @@ class DeleteLocationSecretRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteLocationSecretRequest* other); + void InternalSwap(UnshareLocationRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteLocationSecretRequest"; + return "viam.app.v1.UnshareLocationRequest"; } protected: - explicit DeleteLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UnshareLocationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12614,7 +13282,7 @@ class DeleteLocationSecretRequest final : enum : int { kLocationIdFieldNumber = 1, - kSecretIdFieldNumber = 2, + kOrganizationIdFieldNumber = 2, }; // string location_id = 1 [json_name = "locationId"]; void clear_location_id(); @@ -12630,21 +13298,21 @@ class DeleteLocationSecretRequest final : std::string* _internal_mutable_location_id(); public: - // string secret_id = 2 [json_name = "secretId"]; - void clear_secret_id(); - const std::string& secret_id() const; + // string organization_id = 2 [json_name = "organizationId"]; + void clear_organization_id(); + const std::string& organization_id() const; template - void set_secret_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_secret_id(); - PROTOBUF_NODISCARD std::string* release_secret_id(); - void set_allocated_secret_id(std::string* secret_id); + void set_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* organization_id); private: - const std::string& _internal_secret_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_secret_id(const std::string& value); - std::string* _internal_mutable_secret_id(); + 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.DeleteLocationSecretRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.UnshareLocationRequest) private: class _Internal; @@ -12652,29 +13320,29 @@ class DeleteLocationSecretRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr secret_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteLocationSecretResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteLocationSecretResponse) */ { +class UnshareLocationResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.UnshareLocationResponse) */ { public: - inline DeleteLocationSecretResponse() : DeleteLocationSecretResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR DeleteLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UnshareLocationResponse() : UnshareLocationResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR UnshareLocationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteLocationSecretResponse(const DeleteLocationSecretResponse& from); - DeleteLocationSecretResponse(DeleteLocationSecretResponse&& from) noexcept - : DeleteLocationSecretResponse() { + UnshareLocationResponse(const UnshareLocationResponse& from); + UnshareLocationResponse(UnshareLocationResponse&& from) noexcept + : UnshareLocationResponse() { *this = ::std::move(from); } - inline DeleteLocationSecretResponse& operator=(const DeleteLocationSecretResponse& from) { + inline UnshareLocationResponse& operator=(const UnshareLocationResponse& from) { CopyFrom(from); return *this; } - inline DeleteLocationSecretResponse& operator=(DeleteLocationSecretResponse&& from) noexcept { + inline UnshareLocationResponse& operator=(UnshareLocationResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12697,20 +13365,20 @@ class DeleteLocationSecretResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteLocationSecretResponse& default_instance() { + static const UnshareLocationResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteLocationSecretResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteLocationSecretResponse_default_instance_); + static inline const UnshareLocationResponse* internal_default_instance() { + return reinterpret_cast( + &_UnshareLocationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 69; + 76; - friend void swap(DeleteLocationSecretResponse& a, DeleteLocationSecretResponse& b) { + friend void swap(UnshareLocationResponse& a, UnshareLocationResponse& b) { a.Swap(&b); } - inline void Swap(DeleteLocationSecretResponse* other) { + inline void Swap(UnshareLocationResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12723,7 +13391,7 @@ class DeleteLocationSecretResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteLocationSecretResponse* other) { + void UnsafeArenaSwap(UnshareLocationResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12731,15 +13399,15 @@ class DeleteLocationSecretResponse final : // implements Message ---------------------------------------------- - DeleteLocationSecretResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UnshareLocationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const DeleteLocationSecretResponse& from) { + inline void CopyFrom(const UnshareLocationResponse& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const DeleteLocationSecretResponse& from) { + void MergeFrom(const UnshareLocationResponse& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: @@ -12747,10 +13415,10 @@ class DeleteLocationSecretResponse final : private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteLocationSecretResponse"; + return "viam.app.v1.UnshareLocationResponse"; } protected: - explicit DeleteLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UnshareLocationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12763,7 +13431,7 @@ class DeleteLocationSecretResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteLocationSecretResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.UnshareLocationResponse) private: class _Internal; @@ -12774,24 +13442,24 @@ class DeleteLocationSecretResponse final : }; // ------------------------------------------------------------------- -class LocationAuthRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.LocationAuthRequest) */ { +class ListLocationsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListLocationsResponse) */ { public: - inline LocationAuthRequest() : LocationAuthRequest(nullptr) {} - ~LocationAuthRequest() override; - explicit PROTOBUF_CONSTEXPR LocationAuthRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListLocationsResponse() : ListLocationsResponse(nullptr) {} + ~ListLocationsResponse() override; + explicit PROTOBUF_CONSTEXPR ListLocationsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - LocationAuthRequest(const LocationAuthRequest& from); - LocationAuthRequest(LocationAuthRequest&& from) noexcept - : LocationAuthRequest() { + ListLocationsResponse(const ListLocationsResponse& from); + ListLocationsResponse(ListLocationsResponse&& from) noexcept + : ListLocationsResponse() { *this = ::std::move(from); } - inline LocationAuthRequest& operator=(const LocationAuthRequest& from) { + inline ListLocationsResponse& operator=(const ListLocationsResponse& from) { CopyFrom(from); return *this; } - inline LocationAuthRequest& operator=(LocationAuthRequest&& from) noexcept { + inline ListLocationsResponse& operator=(ListLocationsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12814,20 +13482,20 @@ class LocationAuthRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const LocationAuthRequest& default_instance() { + static const ListLocationsResponse& default_instance() { return *internal_default_instance(); } - static inline const LocationAuthRequest* internal_default_instance() { - return reinterpret_cast( - &_LocationAuthRequest_default_instance_); + static inline const ListLocationsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListLocationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 70; + 77; - friend void swap(LocationAuthRequest& a, LocationAuthRequest& b) { + friend void swap(ListLocationsResponse& a, ListLocationsResponse& b) { a.Swap(&b); } - inline void Swap(LocationAuthRequest* other) { + inline void Swap(ListLocationsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12840,7 +13508,7 @@ class LocationAuthRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(LocationAuthRequest* other) { + void UnsafeArenaSwap(ListLocationsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12848,13 +13516,13 @@ class LocationAuthRequest final : // implements Message ---------------------------------------------- - LocationAuthRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListLocationsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LocationAuthRequest& from); + void CopyFrom(const ListLocationsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const LocationAuthRequest& from); + void MergeFrom(const ListLocationsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -12871,15 +13539,15 @@ class LocationAuthRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(LocationAuthRequest* other); + void InternalSwap(ListLocationsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.LocationAuthRequest"; + return "viam.app.v1.ListLocationsResponse"; } protected: - explicit LocationAuthRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListLocationsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -12893,53 +13561,57 @@ class LocationAuthRequest final : // accessors ------------------------------------------------------- enum : int { - kLocationIdFieldNumber = 1, + kLocationsFieldNumber = 1, }; - // string location_id = 1 [json_name = "locationId"]; - void clear_location_id(); - const std::string& location_id() const; - template - void set_location_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_location_id(); - PROTOBUF_NODISCARD std::string* release_location_id(); - void set_allocated_location_id(std::string* location_id); + // repeated .viam.app.v1.Location locations = 1 [json_name = "locations"]; + int locations_size() const; private: - const std::string& _internal_location_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); - std::string* _internal_mutable_location_id(); + int _internal_locations_size() const; + public: + void clear_locations(); + ::viam::app::v1::Location* mutable_locations(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Location >* + mutable_locations(); + private: + const ::viam::app::v1::Location& _internal_locations(int index) const; + ::viam::app::v1::Location* _internal_add_locations(); public: + const ::viam::app::v1::Location& locations(int index) const; + ::viam::app::v1::Location* add_locations(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Location >& + locations() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.LocationAuthRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListLocationsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Location > locations_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class LocationAuthResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.LocationAuthResponse) */ { +class CreateLocationSecretRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateLocationSecretRequest) */ { public: - inline LocationAuthResponse() : LocationAuthResponse(nullptr) {} - ~LocationAuthResponse() override; - explicit PROTOBUF_CONSTEXPR LocationAuthResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateLocationSecretRequest() : CreateLocationSecretRequest(nullptr) {} + ~CreateLocationSecretRequest() override; + explicit PROTOBUF_CONSTEXPR CreateLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - LocationAuthResponse(const LocationAuthResponse& from); - LocationAuthResponse(LocationAuthResponse&& from) noexcept - : LocationAuthResponse() { + CreateLocationSecretRequest(const CreateLocationSecretRequest& from); + CreateLocationSecretRequest(CreateLocationSecretRequest&& from) noexcept + : CreateLocationSecretRequest() { *this = ::std::move(from); } - inline LocationAuthResponse& operator=(const LocationAuthResponse& from) { + inline CreateLocationSecretRequest& operator=(const CreateLocationSecretRequest& from) { CopyFrom(from); return *this; } - inline LocationAuthResponse& operator=(LocationAuthResponse&& from) noexcept { + inline CreateLocationSecretRequest& operator=(CreateLocationSecretRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -12962,20 +13634,20 @@ class LocationAuthResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const LocationAuthResponse& default_instance() { + static const CreateLocationSecretRequest& default_instance() { return *internal_default_instance(); } - static inline const LocationAuthResponse* internal_default_instance() { - return reinterpret_cast( - &_LocationAuthResponse_default_instance_); + static inline const CreateLocationSecretRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateLocationSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 71; + 78; - friend void swap(LocationAuthResponse& a, LocationAuthResponse& b) { + friend void swap(CreateLocationSecretRequest& a, CreateLocationSecretRequest& b) { a.Swap(&b); } - inline void Swap(LocationAuthResponse* other) { + inline void Swap(CreateLocationSecretRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -12988,7 +13660,7 @@ class LocationAuthResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(LocationAuthResponse* other) { + void UnsafeArenaSwap(CreateLocationSecretRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -12996,13 +13668,13 @@ class LocationAuthResponse final : // implements Message ---------------------------------------------- - LocationAuthResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + CreateLocationSecretRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const LocationAuthResponse& from); + void CopyFrom(const CreateLocationSecretRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const LocationAuthResponse& from); + void MergeFrom(const CreateLocationSecretRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -13019,15 +13691,15 @@ class LocationAuthResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(LocationAuthResponse* other); + void InternalSwap(CreateLocationSecretRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.LocationAuthResponse"; + return "viam.app.v1.CreateLocationSecretRequest"; } protected: - explicit LocationAuthResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13041,57 +13713,53 @@ class LocationAuthResponse final : // accessors ------------------------------------------------------- enum : int { - kAuthFieldNumber = 1, + kLocationIdFieldNumber = 1, }; - // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; - bool has_auth() const; - private: - bool _internal_has_auth() const; - public: - void clear_auth(); - const ::viam::app::v1::LocationAuth& auth() const; - PROTOBUF_NODISCARD ::viam::app::v1::LocationAuth* release_auth(); - ::viam::app::v1::LocationAuth* mutable_auth(); - void set_allocated_auth(::viam::app::v1::LocationAuth* auth); + // string location_id = 1 [json_name = "locationId"]; + void clear_location_id(); + const std::string& location_id() const; + template + void set_location_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_location_id(); + PROTOBUF_NODISCARD std::string* release_location_id(); + void set_allocated_location_id(std::string* location_id); private: - const ::viam::app::v1::LocationAuth& _internal_auth() const; - ::viam::app::v1::LocationAuth* _internal_mutable_auth(); + const std::string& _internal_location_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); + std::string* _internal_mutable_location_id(); public: - void unsafe_arena_set_allocated_auth( - ::viam::app::v1::LocationAuth* auth); - ::viam::app::v1::LocationAuth* unsafe_arena_release_auth(); - // @@protoc_insertion_point(class_scope:viam.app.v1.LocationAuthResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.CreateLocationSecretRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::LocationAuth* auth_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotRequest) */ { +class CreateLocationSecretResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateLocationSecretResponse) */ { public: - inline GetRobotRequest() : GetRobotRequest(nullptr) {} - ~GetRobotRequest() override; - explicit PROTOBUF_CONSTEXPR GetRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateLocationSecretResponse() : CreateLocationSecretResponse(nullptr) {} + ~CreateLocationSecretResponse() override; + explicit PROTOBUF_CONSTEXPR CreateLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotRequest(const GetRobotRequest& from); - GetRobotRequest(GetRobotRequest&& from) noexcept - : GetRobotRequest() { + CreateLocationSecretResponse(const CreateLocationSecretResponse& from); + CreateLocationSecretResponse(CreateLocationSecretResponse&& from) noexcept + : CreateLocationSecretResponse() { *this = ::std::move(from); } - inline GetRobotRequest& operator=(const GetRobotRequest& from) { + inline CreateLocationSecretResponse& operator=(const CreateLocationSecretResponse& from) { CopyFrom(from); return *this; } - inline GetRobotRequest& operator=(GetRobotRequest&& from) noexcept { + inline CreateLocationSecretResponse& operator=(CreateLocationSecretResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -13114,20 +13782,20 @@ class GetRobotRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotRequest& default_instance() { + static const CreateLocationSecretResponse& default_instance() { return *internal_default_instance(); } - static inline const GetRobotRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRobotRequest_default_instance_); + static inline const CreateLocationSecretResponse* internal_default_instance() { + return reinterpret_cast( + &_CreateLocationSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 72; + 79; - friend void swap(GetRobotRequest& a, GetRobotRequest& b) { + friend void swap(CreateLocationSecretResponse& a, CreateLocationSecretResponse& b) { a.Swap(&b); } - inline void Swap(GetRobotRequest* other) { + inline void Swap(CreateLocationSecretResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -13140,7 +13808,7 @@ class GetRobotRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotRequest* other) { + void UnsafeArenaSwap(CreateLocationSecretResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -13148,13 +13816,13 @@ class GetRobotRequest final : // implements Message ---------------------------------------------- - GetRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + CreateLocationSecretResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotRequest& from); + void CopyFrom(const CreateLocationSecretResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotRequest& from); + void MergeFrom(const CreateLocationSecretResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -13171,15 +13839,15 @@ class GetRobotRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotRequest* other); + void InternalSwap(CreateLocationSecretResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotRequest"; + return "viam.app.v1.CreateLocationSecretResponse"; } protected: - explicit GetRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13193,53 +13861,57 @@ class GetRobotRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kAuthFieldNumber = 1, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + bool has_auth() const; private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); + bool _internal_has_auth() const; + public: + void clear_auth(); + const ::viam::app::v1::LocationAuth& auth() const; + PROTOBUF_NODISCARD ::viam::app::v1::LocationAuth* release_auth(); + ::viam::app::v1::LocationAuth* mutable_auth(); + void set_allocated_auth(::viam::app::v1::LocationAuth* auth); + private: + const ::viam::app::v1::LocationAuth& _internal_auth() const; + ::viam::app::v1::LocationAuth* _internal_mutable_auth(); public: + void unsafe_arena_set_allocated_auth( + ::viam::app::v1::LocationAuth* auth); + ::viam::app::v1::LocationAuth* unsafe_arena_release_auth(); - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.CreateLocationSecretResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::viam::app::v1::LocationAuth* auth_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRoverRentalRobotsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRoverRentalRobotsRequest) */ { +class DeleteLocationSecretRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteLocationSecretRequest) */ { public: - inline GetRoverRentalRobotsRequest() : GetRoverRentalRobotsRequest(nullptr) {} - ~GetRoverRentalRobotsRequest() override; - explicit PROTOBUF_CONSTEXPR GetRoverRentalRobotsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteLocationSecretRequest() : DeleteLocationSecretRequest(nullptr) {} + ~DeleteLocationSecretRequest() override; + explicit PROTOBUF_CONSTEXPR DeleteLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRoverRentalRobotsRequest(const GetRoverRentalRobotsRequest& from); - GetRoverRentalRobotsRequest(GetRoverRentalRobotsRequest&& from) noexcept - : GetRoverRentalRobotsRequest() { + DeleteLocationSecretRequest(const DeleteLocationSecretRequest& from); + DeleteLocationSecretRequest(DeleteLocationSecretRequest&& from) noexcept + : DeleteLocationSecretRequest() { *this = ::std::move(from); } - inline GetRoverRentalRobotsRequest& operator=(const GetRoverRentalRobotsRequest& from) { + inline DeleteLocationSecretRequest& operator=(const DeleteLocationSecretRequest& from) { CopyFrom(from); return *this; } - inline GetRoverRentalRobotsRequest& operator=(GetRoverRentalRobotsRequest&& from) noexcept { + inline DeleteLocationSecretRequest& operator=(DeleteLocationSecretRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -13262,20 +13934,20 @@ class GetRoverRentalRobotsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRoverRentalRobotsRequest& default_instance() { + static const DeleteLocationSecretRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRoverRentalRobotsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRoverRentalRobotsRequest_default_instance_); + static inline const DeleteLocationSecretRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteLocationSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 73; + 80; - friend void swap(GetRoverRentalRobotsRequest& a, GetRoverRentalRobotsRequest& b) { + friend void swap(DeleteLocationSecretRequest& a, DeleteLocationSecretRequest& b) { a.Swap(&b); } - inline void Swap(GetRoverRentalRobotsRequest* other) { + inline void Swap(DeleteLocationSecretRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -13288,7 +13960,7 @@ class GetRoverRentalRobotsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRoverRentalRobotsRequest* other) { + void UnsafeArenaSwap(DeleteLocationSecretRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -13296,13 +13968,13 @@ class GetRoverRentalRobotsRequest final : // implements Message ---------------------------------------------- - GetRoverRentalRobotsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteLocationSecretRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRoverRentalRobotsRequest& from); + void CopyFrom(const DeleteLocationSecretRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRoverRentalRobotsRequest& from); + void MergeFrom(const DeleteLocationSecretRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -13319,15 +13991,15 @@ class GetRoverRentalRobotsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRoverRentalRobotsRequest* other); + void InternalSwap(DeleteLocationSecretRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRoverRentalRobotsRequest"; + return "viam.app.v1.DeleteLocationSecretRequest"; } protected: - explicit GetRoverRentalRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteLocationSecretRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13341,53 +14013,68 @@ class GetRoverRentalRobotsRequest final : // accessors ------------------------------------------------------- enum : int { - kOrgIdFieldNumber = 1, + kLocationIdFieldNumber = 1, + kSecretIdFieldNumber = 2, }; - // string org_id = 1 [json_name = "orgId"]; - void clear_org_id(); - const std::string& org_id() const; + // string location_id = 1 [json_name = "locationId"]; + void clear_location_id(); + const std::string& location_id() const; template - void set_org_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_org_id(); - PROTOBUF_NODISCARD std::string* release_org_id(); - void set_allocated_org_id(std::string* org_id); + void set_location_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_location_id(); + PROTOBUF_NODISCARD std::string* release_location_id(); + void set_allocated_location_id(std::string* location_id); 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(); + const std::string& _internal_location_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); + std::string* _internal_mutable_location_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRoverRentalRobotsRequest) + // string secret_id = 2 [json_name = "secretId"]; + void clear_secret_id(); + const std::string& secret_id() const; + template + void set_secret_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_secret_id(); + PROTOBUF_NODISCARD std::string* release_secret_id(); + void set_allocated_secret_id(std::string* secret_id); + private: + const std::string& _internal_secret_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_secret_id(const std::string& value); + std::string* _internal_mutable_secret_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteLocationSecretRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr org_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr secret_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class RoverRentalRobot final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.RoverRentalRobot) */ { +class DeleteLocationSecretResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteLocationSecretResponse) */ { public: - inline RoverRentalRobot() : RoverRentalRobot(nullptr) {} - ~RoverRentalRobot() override; - explicit PROTOBUF_CONSTEXPR RoverRentalRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteLocationSecretResponse() : DeleteLocationSecretResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR DeleteLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - RoverRentalRobot(const RoverRentalRobot& from); - RoverRentalRobot(RoverRentalRobot&& from) noexcept - : RoverRentalRobot() { + DeleteLocationSecretResponse(const DeleteLocationSecretResponse& from); + DeleteLocationSecretResponse(DeleteLocationSecretResponse&& from) noexcept + : DeleteLocationSecretResponse() { *this = ::std::move(from); } - inline RoverRentalRobot& operator=(const RoverRentalRobot& from) { + inline DeleteLocationSecretResponse& operator=(const DeleteLocationSecretResponse& from) { CopyFrom(from); return *this; } - inline RoverRentalRobot& operator=(RoverRentalRobot&& from) noexcept { + inline DeleteLocationSecretResponse& operator=(DeleteLocationSecretResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -13410,20 +14097,20 @@ class RoverRentalRobot final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RoverRentalRobot& default_instance() { + static const DeleteLocationSecretResponse& default_instance() { return *internal_default_instance(); } - static inline const RoverRentalRobot* internal_default_instance() { - return reinterpret_cast( - &_RoverRentalRobot_default_instance_); + static inline const DeleteLocationSecretResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteLocationSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 74; + 81; - friend void swap(RoverRentalRobot& a, RoverRentalRobot& b) { + friend void swap(DeleteLocationSecretResponse& a, DeleteLocationSecretResponse& b) { a.Swap(&b); } - inline void Swap(RoverRentalRobot* other) { + inline void Swap(DeleteLocationSecretResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -13436,7 +14123,7 @@ class RoverRentalRobot final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RoverRentalRobot* other) { + void UnsafeArenaSwap(DeleteLocationSecretResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -13444,38 +14131,26 @@ class RoverRentalRobot final : // implements Message ---------------------------------------------- - RoverRentalRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteLocationSecretResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const DeleteLocationSecretResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const DeleteLocationSecretResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const RoverRentalRobot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const RoverRentalRobot& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(RoverRentalRobot* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.RoverRentalRobot"; + return "viam.app.v1.DeleteLocationSecretResponse"; } protected: - explicit RoverRentalRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteLocationSecretResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13488,102 +14163,35 @@ class RoverRentalRobot final : // accessors ------------------------------------------------------- - enum : int { - kRobotIdFieldNumber = 1, - kLocationIdFieldNumber = 2, - kRobotNameFieldNumber = 3, - kRobotMainPartIdFieldNumber = 4, - }; - // string robot_id = 1 [json_name = "robotId"]; - void clear_robot_id(); - const std::string& robot_id() const; - template - void set_robot_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_robot_id(); - PROTOBUF_NODISCARD std::string* release_robot_id(); - void set_allocated_robot_id(std::string* robot_id); - private: - const std::string& _internal_robot_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); - std::string* _internal_mutable_robot_id(); - public: - - // string location_id = 2 [json_name = "locationId"]; - void clear_location_id(); - const std::string& location_id() const; - template - void set_location_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_location_id(); - PROTOBUF_NODISCARD std::string* release_location_id(); - void set_allocated_location_id(std::string* location_id); - private: - const std::string& _internal_location_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); - std::string* _internal_mutable_location_id(); - public: - - // string robot_name = 3 [json_name = "robotName"]; - void clear_robot_name(); - const std::string& robot_name() const; - template - void set_robot_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_robot_name(); - PROTOBUF_NODISCARD std::string* release_robot_name(); - void set_allocated_robot_name(std::string* robot_name); - private: - const std::string& _internal_robot_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_name(const std::string& value); - std::string* _internal_mutable_robot_name(); - public: - - // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; - void clear_robot_main_part_id(); - const std::string& robot_main_part_id() const; - template - void set_robot_main_part_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_robot_main_part_id(); - PROTOBUF_NODISCARD std::string* release_robot_main_part_id(); - void set_allocated_robot_main_part_id(std::string* robot_main_part_id); - private: - const std::string& _internal_robot_main_part_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_main_part_id(const std::string& value); - std::string* _internal_mutable_robot_main_part_id(); - public: - - // @@protoc_insertion_point(class_scope:viam.app.v1.RoverRentalRobot) + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteLocationSecretResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_main_part_id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRoverRentalRobotsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRoverRentalRobotsResponse) */ { +class LocationAuthRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.LocationAuthRequest) */ { public: - inline GetRoverRentalRobotsResponse() : GetRoverRentalRobotsResponse(nullptr) {} - ~GetRoverRentalRobotsResponse() override; - explicit PROTOBUF_CONSTEXPR GetRoverRentalRobotsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline LocationAuthRequest() : LocationAuthRequest(nullptr) {} + ~LocationAuthRequest() override; + explicit PROTOBUF_CONSTEXPR LocationAuthRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRoverRentalRobotsResponse(const GetRoverRentalRobotsResponse& from); - GetRoverRentalRobotsResponse(GetRoverRentalRobotsResponse&& from) noexcept - : GetRoverRentalRobotsResponse() { + LocationAuthRequest(const LocationAuthRequest& from); + LocationAuthRequest(LocationAuthRequest&& from) noexcept + : LocationAuthRequest() { *this = ::std::move(from); } - inline GetRoverRentalRobotsResponse& operator=(const GetRoverRentalRobotsResponse& from) { + inline LocationAuthRequest& operator=(const LocationAuthRequest& from) { CopyFrom(from); return *this; } - inline GetRoverRentalRobotsResponse& operator=(GetRoverRentalRobotsResponse&& from) noexcept { + inline LocationAuthRequest& operator=(LocationAuthRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -13606,20 +14214,20 @@ class GetRoverRentalRobotsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRoverRentalRobotsResponse& default_instance() { + static const LocationAuthRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRoverRentalRobotsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRoverRentalRobotsResponse_default_instance_); + static inline const LocationAuthRequest* internal_default_instance() { + return reinterpret_cast( + &_LocationAuthRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 75; + 82; - friend void swap(GetRoverRentalRobotsResponse& a, GetRoverRentalRobotsResponse& b) { + friend void swap(LocationAuthRequest& a, LocationAuthRequest& b) { a.Swap(&b); } - inline void Swap(GetRoverRentalRobotsResponse* other) { + inline void Swap(LocationAuthRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -13632,7 +14240,7 @@ class GetRoverRentalRobotsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRoverRentalRobotsResponse* other) { + void UnsafeArenaSwap(LocationAuthRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -13640,13 +14248,13 @@ class GetRoverRentalRobotsResponse final : // implements Message ---------------------------------------------- - GetRoverRentalRobotsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + LocationAuthRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRoverRentalRobotsResponse& from); + void CopyFrom(const LocationAuthRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRoverRentalRobotsResponse& from); + void MergeFrom(const LocationAuthRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -13663,15 +14271,15 @@ class GetRoverRentalRobotsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRoverRentalRobotsResponse* other); + void InternalSwap(LocationAuthRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRoverRentalRobotsResponse"; + return "viam.app.v1.LocationAuthRequest"; } protected: - explicit GetRoverRentalRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit LocationAuthRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13685,57 +14293,53 @@ class GetRoverRentalRobotsResponse final : // accessors ------------------------------------------------------- enum : int { - kRobotsFieldNumber = 1, + kLocationIdFieldNumber = 1, }; - // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; - int robots_size() const; - private: - int _internal_robots_size() const; - public: - void clear_robots(); - ::viam::app::v1::RoverRentalRobot* mutable_robots(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RoverRentalRobot >* - mutable_robots(); + // string location_id = 1 [json_name = "locationId"]; + void clear_location_id(); + const std::string& location_id() const; + template + void set_location_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_location_id(); + PROTOBUF_NODISCARD std::string* release_location_id(); + void set_allocated_location_id(std::string* location_id); private: - const ::viam::app::v1::RoverRentalRobot& _internal_robots(int index) const; - ::viam::app::v1::RoverRentalRobot* _internal_add_robots(); + const std::string& _internal_location_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); + std::string* _internal_mutable_location_id(); public: - const ::viam::app::v1::RoverRentalRobot& robots(int index) const; - ::viam::app::v1::RoverRentalRobot* add_robots(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RoverRentalRobot >& - robots() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRoverRentalRobotsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.LocationAuthRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RoverRentalRobot > robots_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotResponse) */ { +class LocationAuthResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.LocationAuthResponse) */ { public: - inline GetRobotResponse() : GetRobotResponse(nullptr) {} - ~GetRobotResponse() override; - explicit PROTOBUF_CONSTEXPR GetRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline LocationAuthResponse() : LocationAuthResponse(nullptr) {} + ~LocationAuthResponse() override; + explicit PROTOBUF_CONSTEXPR LocationAuthResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotResponse(const GetRobotResponse& from); - GetRobotResponse(GetRobotResponse&& from) noexcept - : GetRobotResponse() { + LocationAuthResponse(const LocationAuthResponse& from); + LocationAuthResponse(LocationAuthResponse&& from) noexcept + : LocationAuthResponse() { *this = ::std::move(from); } - inline GetRobotResponse& operator=(const GetRobotResponse& from) { + inline LocationAuthResponse& operator=(const LocationAuthResponse& from) { CopyFrom(from); return *this; } - inline GetRobotResponse& operator=(GetRobotResponse&& from) noexcept { + inline LocationAuthResponse& operator=(LocationAuthResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -13758,20 +14362,20 @@ class GetRobotResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotResponse& default_instance() { + static const LocationAuthResponse& default_instance() { return *internal_default_instance(); } - static inline const GetRobotResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotResponse_default_instance_); + static inline const LocationAuthResponse* internal_default_instance() { + return reinterpret_cast( + &_LocationAuthResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 76; + 83; - friend void swap(GetRobotResponse& a, GetRobotResponse& b) { + friend void swap(LocationAuthResponse& a, LocationAuthResponse& b) { a.Swap(&b); } - inline void Swap(GetRobotResponse* other) { + inline void Swap(LocationAuthResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -13784,7 +14388,7 @@ class GetRobotResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotResponse* other) { + void UnsafeArenaSwap(LocationAuthResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -13792,13 +14396,13 @@ class GetRobotResponse final : // implements Message ---------------------------------------------- - GetRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + LocationAuthResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotResponse& from); + void CopyFrom(const LocationAuthResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotResponse& from); + void MergeFrom(const LocationAuthResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -13815,15 +14419,15 @@ class GetRobotResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotResponse* other); + void InternalSwap(LocationAuthResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotResponse"; + return "viam.app.v1.LocationAuthResponse"; } protected: - explicit GetRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit LocationAuthResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13837,57 +14441,57 @@ class GetRobotResponse final : // accessors ------------------------------------------------------- enum : int { - kRobotFieldNumber = 1, + kAuthFieldNumber = 1, }; - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; - bool has_robot() const; + // .viam.app.v1.LocationAuth auth = 1 [json_name = "auth"]; + bool has_auth() const; private: - bool _internal_has_robot() const; + bool _internal_has_auth() const; public: - void clear_robot(); - const ::viam::app::v1::Robot& robot() const; - PROTOBUF_NODISCARD ::viam::app::v1::Robot* release_robot(); - ::viam::app::v1::Robot* mutable_robot(); - void set_allocated_robot(::viam::app::v1::Robot* robot); + void clear_auth(); + const ::viam::app::v1::LocationAuth& auth() const; + PROTOBUF_NODISCARD ::viam::app::v1::LocationAuth* release_auth(); + ::viam::app::v1::LocationAuth* mutable_auth(); + void set_allocated_auth(::viam::app::v1::LocationAuth* auth); private: - const ::viam::app::v1::Robot& _internal_robot() const; - ::viam::app::v1::Robot* _internal_mutable_robot(); + const ::viam::app::v1::LocationAuth& _internal_auth() const; + ::viam::app::v1::LocationAuth* _internal_mutable_auth(); public: - void unsafe_arena_set_allocated_robot( - ::viam::app::v1::Robot* robot); - ::viam::app::v1::Robot* unsafe_arena_release_robot(); + void unsafe_arena_set_allocated_auth( + ::viam::app::v1::LocationAuth* auth); + ::viam::app::v1::LocationAuth* unsafe_arena_release_auth(); - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.LocationAuthResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::Robot* robot_; + ::viam::app::v1::LocationAuth* auth_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartsRequest) */ { +class GetRobotRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotRequest) */ { public: - inline GetRobotPartsRequest() : GetRobotPartsRequest(nullptr) {} - ~GetRobotPartsRequest() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotRequest() : GetRobotRequest(nullptr) {} + ~GetRobotRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartsRequest(const GetRobotPartsRequest& from); - GetRobotPartsRequest(GetRobotPartsRequest&& from) noexcept - : GetRobotPartsRequest() { + GetRobotRequest(const GetRobotRequest& from); + GetRobotRequest(GetRobotRequest&& from) noexcept + : GetRobotRequest() { *this = ::std::move(from); } - inline GetRobotPartsRequest& operator=(const GetRobotPartsRequest& from) { + inline GetRobotRequest& operator=(const GetRobotRequest& from) { CopyFrom(from); return *this; } - inline GetRobotPartsRequest& operator=(GetRobotPartsRequest&& from) noexcept { + inline GetRobotRequest& operator=(GetRobotRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -13910,20 +14514,20 @@ class GetRobotPartsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartsRequest& default_instance() { + static const GetRobotRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartsRequest_default_instance_); + static inline const GetRobotRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 77; + 84; - friend void swap(GetRobotPartsRequest& a, GetRobotPartsRequest& b) { + friend void swap(GetRobotRequest& a, GetRobotRequest& b) { a.Swap(&b); } - inline void Swap(GetRobotPartsRequest* other) { + inline void Swap(GetRobotRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -13936,7 +14540,7 @@ class GetRobotPartsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartsRequest* other) { + void UnsafeArenaSwap(GetRobotRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -13944,13 +14548,13 @@ class GetRobotPartsRequest final : // implements Message ---------------------------------------------- - GetRobotPartsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartsRequest& from); + void CopyFrom(const GetRobotRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartsRequest& from); + void MergeFrom(const GetRobotRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -13967,15 +14571,15 @@ class GetRobotPartsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartsRequest* other); + void InternalSwap(GetRobotRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartsRequest"; + return "viam.app.v1.GetRobotRequest"; } protected: - explicit GetRobotPartsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -13989,53 +14593,53 @@ class GetRobotPartsRequest final : // accessors ------------------------------------------------------- enum : int { - kRobotIdFieldNumber = 1, + kIdFieldNumber = 1, }; - // string robot_id = 1 [json_name = "robotId"]; - void clear_robot_id(); - const std::string& robot_id() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_robot_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_robot_id(); - PROTOBUF_NODISCARD std::string* release_robot_id(); - void set_allocated_robot_id(std::string* robot_id); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_robot_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); - std::string* _internal_mutable_robot_id(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartsRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartsResponse) */ { +class GetRoverRentalRobotsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRoverRentalRobotsRequest) */ { public: - inline GetRobotPartsResponse() : GetRobotPartsResponse(nullptr) {} - ~GetRobotPartsResponse() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRoverRentalRobotsRequest() : GetRoverRentalRobotsRequest(nullptr) {} + ~GetRoverRentalRobotsRequest() override; + explicit PROTOBUF_CONSTEXPR GetRoverRentalRobotsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartsResponse(const GetRobotPartsResponse& from); - GetRobotPartsResponse(GetRobotPartsResponse&& from) noexcept - : GetRobotPartsResponse() { + GetRoverRentalRobotsRequest(const GetRoverRentalRobotsRequest& from); + GetRoverRentalRobotsRequest(GetRoverRentalRobotsRequest&& from) noexcept + : GetRoverRentalRobotsRequest() { *this = ::std::move(from); } - inline GetRobotPartsResponse& operator=(const GetRobotPartsResponse& from) { + inline GetRoverRentalRobotsRequest& operator=(const GetRoverRentalRobotsRequest& from) { CopyFrom(from); return *this; } - inline GetRobotPartsResponse& operator=(GetRobotPartsResponse&& from) noexcept { + inline GetRoverRentalRobotsRequest& operator=(GetRoverRentalRobotsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -14058,20 +14662,20 @@ class GetRobotPartsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartsResponse& default_instance() { + static const GetRoverRentalRobotsRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartsResponse_default_instance_); + static inline const GetRoverRentalRobotsRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRoverRentalRobotsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 78; + 85; - friend void swap(GetRobotPartsResponse& a, GetRobotPartsResponse& b) { + friend void swap(GetRoverRentalRobotsRequest& a, GetRoverRentalRobotsRequest& b) { a.Swap(&b); } - inline void Swap(GetRobotPartsResponse* other) { + inline void Swap(GetRoverRentalRobotsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -14084,7 +14688,7 @@ class GetRobotPartsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartsResponse* other) { + void UnsafeArenaSwap(GetRoverRentalRobotsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -14092,13 +14696,13 @@ class GetRobotPartsResponse final : // implements Message ---------------------------------------------- - GetRobotPartsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } + GetRoverRentalRobotsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartsResponse& from); + void CopyFrom(const GetRoverRentalRobotsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartsResponse& from); + void MergeFrom(const GetRoverRentalRobotsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -14115,15 +14719,15 @@ class GetRobotPartsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartsResponse* other); + void InternalSwap(GetRoverRentalRobotsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartsResponse"; + return "viam.app.v1.GetRoverRentalRobotsRequest"; } protected: - explicit GetRobotPartsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRoverRentalRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -14137,57 +14741,53 @@ class GetRobotPartsResponse final : // accessors ------------------------------------------------------- enum : int { - kPartsFieldNumber = 1, + kOrgIdFieldNumber = 1, }; - // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; - int parts_size() const; - private: - int _internal_parts_size() const; - public: - void clear_parts(); - ::viam::app::v1::RobotPart* mutable_parts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPart >* - mutable_parts(); + // string org_id = 1 [json_name = "orgId"]; + void clear_org_id(); + const std::string& org_id() const; + template + void set_org_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_org_id(); + PROTOBUF_NODISCARD std::string* release_org_id(); + void set_allocated_org_id(std::string* org_id); private: - const ::viam::app::v1::RobotPart& _internal_parts(int index) const; - ::viam::app::v1::RobotPart* _internal_add_parts(); + 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: - const ::viam::app::v1::RobotPart& parts(int index) const; - ::viam::app::v1::RobotPart* add_parts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPart >& - parts() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRoverRentalRobotsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPart > parts_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr org_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartRequest) */ { +class RoverRentalRobot final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.RoverRentalRobot) */ { public: - inline GetRobotPartRequest() : GetRobotPartRequest(nullptr) {} - ~GetRobotPartRequest() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline RoverRentalRobot() : RoverRentalRobot(nullptr) {} + ~RoverRentalRobot() override; + explicit PROTOBUF_CONSTEXPR RoverRentalRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartRequest(const GetRobotPartRequest& from); - GetRobotPartRequest(GetRobotPartRequest&& from) noexcept - : GetRobotPartRequest() { + RoverRentalRobot(const RoverRentalRobot& from); + RoverRentalRobot(RoverRentalRobot&& from) noexcept + : RoverRentalRobot() { *this = ::std::move(from); } - inline GetRobotPartRequest& operator=(const GetRobotPartRequest& from) { + inline RoverRentalRobot& operator=(const RoverRentalRobot& from) { CopyFrom(from); return *this; } - inline GetRobotPartRequest& operator=(GetRobotPartRequest&& from) noexcept { + inline RoverRentalRobot& operator=(RoverRentalRobot&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -14210,20 +14810,20 @@ class GetRobotPartRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartRequest& default_instance() { + static const RoverRentalRobot& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartRequest_default_instance_); + static inline const RoverRentalRobot* internal_default_instance() { + return reinterpret_cast( + &_RoverRentalRobot_default_instance_); } static constexpr int kIndexInFileMessages = - 79; + 86; - friend void swap(GetRobotPartRequest& a, GetRobotPartRequest& b) { + friend void swap(RoverRentalRobot& a, RoverRentalRobot& b) { a.Swap(&b); } - inline void Swap(GetRobotPartRequest* other) { + inline void Swap(RoverRentalRobot* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -14236,7 +14836,7 @@ class GetRobotPartRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartRequest* other) { + void UnsafeArenaSwap(RoverRentalRobot* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -14244,13 +14844,13 @@ class GetRobotPartRequest final : // implements Message ---------------------------------------------- - GetRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + RoverRentalRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartRequest& from); + void CopyFrom(const RoverRentalRobot& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartRequest& from); + void MergeFrom(const RoverRentalRobot& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -14267,15 +14867,15 @@ class GetRobotPartRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartRequest* other); + void InternalSwap(RoverRentalRobot* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartRequest"; + return "viam.app.v1.RoverRentalRobot"; } protected: - explicit GetRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit RoverRentalRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -14289,53 +14889,101 @@ class GetRobotPartRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kRobotIdFieldNumber = 1, + kLocationIdFieldNumber = 2, + kRobotNameFieldNumber = 3, + kRobotMainPartIdFieldNumber = 4, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; + // string robot_id = 1 [json_name = "robotId"]; + void clear_robot_id(); + const std::string& robot_id() const; template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); + void set_robot_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_robot_id(); + PROTOBUF_NODISCARD std::string* release_robot_id(); + void set_allocated_robot_id(std::string* robot_id); private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); + const std::string& _internal_robot_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); + std::string* _internal_mutable_robot_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartRequest) + // string location_id = 2 [json_name = "locationId"]; + void clear_location_id(); + const std::string& location_id() const; + template + void set_location_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_location_id(); + PROTOBUF_NODISCARD std::string* release_location_id(); + void set_allocated_location_id(std::string* location_id); + private: + const std::string& _internal_location_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); + std::string* _internal_mutable_location_id(); + public: + + // string robot_name = 3 [json_name = "robotName"]; + void clear_robot_name(); + const std::string& robot_name() const; + template + void set_robot_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_robot_name(); + PROTOBUF_NODISCARD std::string* release_robot_name(); + void set_allocated_robot_name(std::string* robot_name); + private: + const std::string& _internal_robot_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_name(const std::string& value); + std::string* _internal_mutable_robot_name(); + public: + + // string robot_main_part_id = 4 [json_name = "robotMainPartId"]; + void clear_robot_main_part_id(); + const std::string& robot_main_part_id() const; + template + void set_robot_main_part_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_robot_main_part_id(); + PROTOBUF_NODISCARD std::string* release_robot_main_part_id(); + void set_allocated_robot_main_part_id(std::string* robot_main_part_id); + private: + const std::string& _internal_robot_main_part_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_main_part_id(const std::string& value); + std::string* _internal_mutable_robot_main_part_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.RoverRentalRobot) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_main_part_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartResponse) */ { +class GetRoverRentalRobotsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRoverRentalRobotsResponse) */ { public: - inline GetRobotPartResponse() : GetRobotPartResponse(nullptr) {} - ~GetRobotPartResponse() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRoverRentalRobotsResponse() : GetRoverRentalRobotsResponse(nullptr) {} + ~GetRoverRentalRobotsResponse() override; + explicit PROTOBUF_CONSTEXPR GetRoverRentalRobotsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartResponse(const GetRobotPartResponse& from); - GetRobotPartResponse(GetRobotPartResponse&& from) noexcept - : GetRobotPartResponse() { + GetRoverRentalRobotsResponse(const GetRoverRentalRobotsResponse& from); + GetRoverRentalRobotsResponse(GetRoverRentalRobotsResponse&& from) noexcept + : GetRoverRentalRobotsResponse() { *this = ::std::move(from); } - inline GetRobotPartResponse& operator=(const GetRobotPartResponse& from) { + inline GetRoverRentalRobotsResponse& operator=(const GetRoverRentalRobotsResponse& from) { CopyFrom(from); return *this; } - inline GetRobotPartResponse& operator=(GetRobotPartResponse&& from) noexcept { + inline GetRoverRentalRobotsResponse& operator=(GetRoverRentalRobotsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -14358,20 +15006,20 @@ class GetRobotPartResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartResponse& default_instance() { + static const GetRoverRentalRobotsResponse& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartResponse_default_instance_); + static inline const GetRoverRentalRobotsResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRoverRentalRobotsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 80; + 87; - friend void swap(GetRobotPartResponse& a, GetRobotPartResponse& b) { + friend void swap(GetRoverRentalRobotsResponse& a, GetRoverRentalRobotsResponse& b) { a.Swap(&b); } - inline void Swap(GetRobotPartResponse* other) { + inline void Swap(GetRoverRentalRobotsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -14384,7 +15032,7 @@ class GetRobotPartResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartResponse* other) { + void UnsafeArenaSwap(GetRoverRentalRobotsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -14392,13 +15040,13 @@ class GetRobotPartResponse final : // implements Message ---------------------------------------------- - GetRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRoverRentalRobotsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartResponse& from); + void CopyFrom(const GetRoverRentalRobotsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartResponse& from); + void MergeFrom(const GetRoverRentalRobotsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -14415,15 +15063,15 @@ class GetRobotPartResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartResponse* other); + void InternalSwap(GetRoverRentalRobotsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartResponse"; + return "viam.app.v1.GetRoverRentalRobotsResponse"; } protected: - explicit GetRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRoverRentalRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -14437,73 +15085,57 @@ class GetRobotPartResponse final : // accessors ------------------------------------------------------- enum : int { - kConfigJsonFieldNumber = 2, - kPartFieldNumber = 1, + kRobotsFieldNumber = 1, }; - // string config_json = 2 [json_name = "configJson"]; - void clear_config_json(); - const std::string& config_json() const; - template - void set_config_json(ArgT0&& arg0, ArgT... args); - std::string* mutable_config_json(); - PROTOBUF_NODISCARD std::string* release_config_json(); - void set_allocated_config_json(std::string* config_json); - private: - const std::string& _internal_config_json() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_config_json(const std::string& value); - std::string* _internal_mutable_config_json(); - public: - - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; - bool has_part() const; + // repeated .viam.app.v1.RoverRentalRobot robots = 1 [json_name = "robots"]; + int robots_size() const; private: - bool _internal_has_part() const; + int _internal_robots_size() const; public: - void clear_part(); - const ::viam::app::v1::RobotPart& part() const; - PROTOBUF_NODISCARD ::viam::app::v1::RobotPart* release_part(); - ::viam::app::v1::RobotPart* mutable_part(); - void set_allocated_part(::viam::app::v1::RobotPart* part); + void clear_robots(); + ::viam::app::v1::RoverRentalRobot* mutable_robots(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RoverRentalRobot >* + mutable_robots(); private: - const ::viam::app::v1::RobotPart& _internal_part() const; - ::viam::app::v1::RobotPart* _internal_mutable_part(); + const ::viam::app::v1::RoverRentalRobot& _internal_robots(int index) const; + ::viam::app::v1::RoverRentalRobot* _internal_add_robots(); public: - void unsafe_arena_set_allocated_part( - ::viam::app::v1::RobotPart* part); - ::viam::app::v1::RobotPart* unsafe_arena_release_part(); + const ::viam::app::v1::RoverRentalRobot& robots(int index) const; + ::viam::app::v1::RoverRentalRobot* add_robots(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RoverRentalRobot >& + robots() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRoverRentalRobotsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr config_json_; - ::viam::app::v1::RobotPart* part_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RoverRentalRobot > robots_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartLogsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartLogsRequest) */ { +class GetRobotResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotResponse) */ { public: - inline GetRobotPartLogsRequest() : GetRobotPartLogsRequest(nullptr) {} - ~GetRobotPartLogsRequest() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotResponse() : GetRobotResponse(nullptr) {} + ~GetRobotResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartLogsRequest(const GetRobotPartLogsRequest& from); - GetRobotPartLogsRequest(GetRobotPartLogsRequest&& from) noexcept - : GetRobotPartLogsRequest() { + GetRobotResponse(const GetRobotResponse& from); + GetRobotResponse(GetRobotResponse&& from) noexcept + : GetRobotResponse() { *this = ::std::move(from); } - inline GetRobotPartLogsRequest& operator=(const GetRobotPartLogsRequest& from) { + inline GetRobotResponse& operator=(const GetRobotResponse& from) { CopyFrom(from); return *this; } - inline GetRobotPartLogsRequest& operator=(GetRobotPartLogsRequest&& from) noexcept { + inline GetRobotResponse& operator=(GetRobotResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -14526,20 +15158,20 @@ class GetRobotPartLogsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartLogsRequest& default_instance() { + static const GetRobotResponse& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartLogsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartLogsRequest_default_instance_); + static inline const GetRobotResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 81; + 88; - friend void swap(GetRobotPartLogsRequest& a, GetRobotPartLogsRequest& b) { + friend void swap(GetRobotResponse& a, GetRobotResponse& b) { a.Swap(&b); } - inline void Swap(GetRobotPartLogsRequest* other) { + inline void Swap(GetRobotResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -14552,7 +15184,7 @@ class GetRobotPartLogsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartLogsRequest* other) { + void UnsafeArenaSwap(GetRobotResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -14560,13 +15192,13 @@ class GetRobotPartLogsRequest final : // implements Message ---------------------------------------------- - GetRobotPartLogsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartLogsRequest& from); + void CopyFrom(const GetRobotResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartLogsRequest& from); + void MergeFrom(const GetRobotResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -14583,15 +15215,15 @@ class GetRobotPartLogsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartLogsRequest* other); + void InternalSwap(GetRobotResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartLogsRequest"; + return "viam.app.v1.GetRobotResponse"; } protected: - explicit GetRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -14605,206 +15237,57 @@ class GetRobotPartLogsRequest final : // accessors ------------------------------------------------------- enum : int { - kLevelsFieldNumber = 5, - kIdFieldNumber = 1, - kFilterFieldNumber = 3, - kPageTokenFieldNumber = 4, - kSourceFieldNumber = 9, - kStartFieldNumber = 6, - kEndFieldNumber = 7, - kLimitFieldNumber = 8, - kErrorsOnlyFieldNumber = 2, + kRobotFieldNumber = 1, }; - // repeated string levels = 5 [json_name = "levels"]; - int levels_size() const; - private: - int _internal_levels_size() const; - public: - void clear_levels(); - const std::string& levels(int index) const; - std::string* mutable_levels(int index); - void set_levels(int index, const std::string& value); - void set_levels(int index, std::string&& value); - void set_levels(int index, const char* value); - void set_levels(int index, const char* value, size_t size); - std::string* add_levels(); - void add_levels(const std::string& value); - void add_levels(std::string&& value); - void add_levels(const char* value); - void add_levels(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& levels() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_levels(); - private: - const std::string& _internal_levels(int index) const; - std::string* _internal_add_levels(); - public: - - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - 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 filter = 3 [json_name = "filter"]; - bool has_filter() const; - private: - bool _internal_has_filter() const; - public: - void clear_filter(); - const std::string& filter() const; - template - void set_filter(ArgT0&& arg0, ArgT... args); - std::string* mutable_filter(); - PROTOBUF_NODISCARD std::string* release_filter(); - void set_allocated_filter(std::string* filter); - private: - const std::string& _internal_filter() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter(const std::string& value); - std::string* _internal_mutable_filter(); - public: - - // optional string page_token = 4 [json_name = "pageToken"]; - bool has_page_token() const; - private: - bool _internal_has_page_token() const; - public: - void clear_page_token(); - const std::string& page_token() const; - template - void set_page_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_page_token(); - PROTOBUF_NODISCARD std::string* release_page_token(); - void set_allocated_page_token(std::string* page_token); - 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 string source = 9 [json_name = "source"]; - bool has_source() const; - private: - bool _internal_has_source() const; - public: - void clear_source(); - const std::string& source() const; - template - void set_source(ArgT0&& arg0, ArgT... args); - std::string* mutable_source(); - PROTOBUF_NODISCARD std::string* release_source(); - void set_allocated_source(std::string* source); - private: - const std::string& _internal_source() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_source(const std::string& value); - std::string* _internal_mutable_source(); - public: - - // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; - bool has_start() const; - private: - bool _internal_has_start() const; - public: - void clear_start(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& start() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_start(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_start(); - void set_allocated_start(::PROTOBUF_NAMESPACE_ID::Timestamp* start); - private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start(); - public: - void unsafe_arena_set_allocated_start( - ::PROTOBUF_NAMESPACE_ID::Timestamp* start); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start(); - - // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; - bool has_end() const; - private: - bool _internal_has_end() const; - public: - void clear_end(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& end() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_end(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_end(); - void set_allocated_end(::PROTOBUF_NAMESPACE_ID::Timestamp* end); - private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end(); - public: - void unsafe_arena_set_allocated_end( - ::PROTOBUF_NAMESPACE_ID::Timestamp* end); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end(); - - // optional int64 limit = 8 [json_name = "limit"]; - bool has_limit() const; - private: - bool _internal_has_limit() const; - public: - void clear_limit(); - int64_t limit() const; - void set_limit(int64_t value); + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + bool has_robot() const; private: - int64_t _internal_limit() const; - void _internal_set_limit(int64_t value); + bool _internal_has_robot() const; public: - - // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; - PROTOBUF_DEPRECATED void clear_errors_only(); - PROTOBUF_DEPRECATED bool errors_only() const; - PROTOBUF_DEPRECATED void set_errors_only(bool value); + void clear_robot(); + const ::viam::app::v1::Robot& robot() const; + PROTOBUF_NODISCARD ::viam::app::v1::Robot* release_robot(); + ::viam::app::v1::Robot* mutable_robot(); + void set_allocated_robot(::viam::app::v1::Robot* robot); private: - bool _internal_errors_only() const; - void _internal_set_errors_only(bool value); + const ::viam::app::v1::Robot& _internal_robot() const; + ::viam::app::v1::Robot* _internal_mutable_robot(); public: + void unsafe_arena_set_allocated_robot( + ::viam::app::v1::Robot* robot); + ::viam::app::v1::Robot* unsafe_arena_release_robot(); - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartLogsRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + ::viam::app::v1::Robot* robot_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField levels_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filter_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* start_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* end_; - int64_t limit_; - bool errors_only_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartLogsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartLogsResponse) */ { +class GetRobotPartsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartsRequest) */ { public: - inline GetRobotPartLogsResponse() : GetRobotPartLogsResponse(nullptr) {} - ~GetRobotPartLogsResponse() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartsRequest() : GetRobotPartsRequest(nullptr) {} + ~GetRobotPartsRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartLogsResponse(const GetRobotPartLogsResponse& from); - GetRobotPartLogsResponse(GetRobotPartLogsResponse&& from) noexcept - : GetRobotPartLogsResponse() { - *this = ::std::move(from); + GetRobotPartsRequest(const GetRobotPartsRequest& from); + GetRobotPartsRequest(GetRobotPartsRequest&& from) noexcept + : GetRobotPartsRequest() { + *this = ::std::move(from); } - inline GetRobotPartLogsResponse& operator=(const GetRobotPartLogsResponse& from) { + inline GetRobotPartsRequest& operator=(const GetRobotPartsRequest& from) { CopyFrom(from); return *this; } - inline GetRobotPartLogsResponse& operator=(GetRobotPartLogsResponse&& from) noexcept { + inline GetRobotPartsRequest& operator=(GetRobotPartsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -14827,20 +15310,20 @@ class GetRobotPartLogsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartLogsResponse& default_instance() { + static const GetRobotPartsRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartLogsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartLogsResponse_default_instance_); + static inline const GetRobotPartsRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 82; + 89; - friend void swap(GetRobotPartLogsResponse& a, GetRobotPartLogsResponse& b) { + friend void swap(GetRobotPartsRequest& a, GetRobotPartsRequest& b) { a.Swap(&b); } - inline void Swap(GetRobotPartLogsResponse* other) { + inline void Swap(GetRobotPartsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -14853,7 +15336,7 @@ class GetRobotPartLogsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartLogsResponse* other) { + void UnsafeArenaSwap(GetRobotPartsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -14861,13 +15344,13 @@ class GetRobotPartLogsResponse final : // implements Message ---------------------------------------------- - GetRobotPartLogsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartLogsResponse& from); + void CopyFrom(const GetRobotPartsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartLogsResponse& from); + void MergeFrom(const GetRobotPartsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -14884,15 +15367,15 @@ class GetRobotPartLogsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartLogsResponse* other); + void InternalSwap(GetRobotPartsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartLogsResponse"; + return "viam.app.v1.GetRobotPartsRequest"; } protected: - explicit GetRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -14906,73 +15389,53 @@ class GetRobotPartLogsResponse final : // accessors ------------------------------------------------------- enum : int { - kLogsFieldNumber = 1, - kNextPageTokenFieldNumber = 2, + kRobotIdFieldNumber = 1, }; - // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; - int logs_size() const; - private: - int _internal_logs_size() const; - public: - void clear_logs(); - ::viam::common::v1::LogEntry* mutable_logs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >* - mutable_logs(); - private: - const ::viam::common::v1::LogEntry& _internal_logs(int index) const; - ::viam::common::v1::LogEntry* _internal_add_logs(); - public: - const ::viam::common::v1::LogEntry& logs(int index) const; - ::viam::common::v1::LogEntry* add_logs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >& - logs() const; - - // string next_page_token = 2 [json_name = "nextPageToken"]; - void clear_next_page_token(); - const std::string& next_page_token() const; + // string robot_id = 1 [json_name = "robotId"]; + void clear_robot_id(); + const std::string& robot_id() const; template - void set_next_page_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_next_page_token(); - PROTOBUF_NODISCARD std::string* release_next_page_token(); - void set_allocated_next_page_token(std::string* next_page_token); + void set_robot_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_robot_id(); + PROTOBUF_NODISCARD std::string* release_robot_id(); + void set_allocated_robot_id(std::string* robot_id); 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(); + const std::string& _internal_robot_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); + std::string* _internal_mutable_robot_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartLogsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry > logs_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class TailRobotPartLogsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.TailRobotPartLogsRequest) */ { +class GetRobotPartsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartsResponse) */ { public: - inline TailRobotPartLogsRequest() : TailRobotPartLogsRequest(nullptr) {} - ~TailRobotPartLogsRequest() override; - explicit PROTOBUF_CONSTEXPR TailRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartsResponse() : GetRobotPartsResponse(nullptr) {} + ~GetRobotPartsResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - TailRobotPartLogsRequest(const TailRobotPartLogsRequest& from); - TailRobotPartLogsRequest(TailRobotPartLogsRequest&& from) noexcept - : TailRobotPartLogsRequest() { + GetRobotPartsResponse(const GetRobotPartsResponse& from); + GetRobotPartsResponse(GetRobotPartsResponse&& from) noexcept + : GetRobotPartsResponse() { *this = ::std::move(from); } - inline TailRobotPartLogsRequest& operator=(const TailRobotPartLogsRequest& from) { + inline GetRobotPartsResponse& operator=(const GetRobotPartsResponse& from) { CopyFrom(from); return *this; } - inline TailRobotPartLogsRequest& operator=(TailRobotPartLogsRequest&& from) noexcept { + inline GetRobotPartsResponse& operator=(GetRobotPartsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -14995,20 +15458,20 @@ class TailRobotPartLogsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const TailRobotPartLogsRequest& default_instance() { + static const GetRobotPartsResponse& default_instance() { return *internal_default_instance(); } - static inline const TailRobotPartLogsRequest* internal_default_instance() { - return reinterpret_cast( - &_TailRobotPartLogsRequest_default_instance_); + static inline const GetRobotPartsResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 83; + 90; - friend void swap(TailRobotPartLogsRequest& a, TailRobotPartLogsRequest& b) { + friend void swap(GetRobotPartsResponse& a, GetRobotPartsResponse& b) { a.Swap(&b); } - inline void Swap(TailRobotPartLogsRequest* other) { + inline void Swap(GetRobotPartsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15021,7 +15484,7 @@ class TailRobotPartLogsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(TailRobotPartLogsRequest* other) { + void UnsafeArenaSwap(GetRobotPartsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15029,13 +15492,13 @@ class TailRobotPartLogsRequest final : // implements Message ---------------------------------------------- - TailRobotPartLogsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TailRobotPartLogsRequest& from); + void CopyFrom(const GetRobotPartsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const TailRobotPartLogsRequest& from); + void MergeFrom(const GetRobotPartsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -15052,15 +15515,15 @@ class TailRobotPartLogsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(TailRobotPartLogsRequest* other); + void InternalSwap(GetRobotPartsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.TailRobotPartLogsRequest"; + return "viam.app.v1.GetRobotPartsResponse"; } protected: - explicit TailRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -15074,85 +15537,57 @@ class TailRobotPartLogsRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kFilterFieldNumber = 3, - kErrorsOnlyFieldNumber = 2, + kPartsFieldNumber = 1, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - 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 filter = 3 [json_name = "filter"]; - bool has_filter() const; - private: - bool _internal_has_filter() const; - public: - void clear_filter(); - const std::string& filter() const; - template - void set_filter(ArgT0&& arg0, ArgT... args); - std::string* mutable_filter(); - PROTOBUF_NODISCARD std::string* release_filter(); - void set_allocated_filter(std::string* filter); + // repeated .viam.app.v1.RobotPart parts = 1 [json_name = "parts"]; + int parts_size() const; private: - const std::string& _internal_filter() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter(const std::string& value); - std::string* _internal_mutable_filter(); + int _internal_parts_size() const; public: - - // bool errors_only = 2 [json_name = "errorsOnly"]; - void clear_errors_only(); - bool errors_only() const; - void set_errors_only(bool value); + void clear_parts(); + ::viam::app::v1::RobotPart* mutable_parts(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPart >* + mutable_parts(); private: - bool _internal_errors_only() const; - void _internal_set_errors_only(bool value); + const ::viam::app::v1::RobotPart& _internal_parts(int index) const; + ::viam::app::v1::RobotPart* _internal_add_parts(); public: + const ::viam::app::v1::RobotPart& parts(int index) const; + ::viam::app::v1::RobotPart* add_parts(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPart >& + parts() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.TailRobotPartLogsRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPart > parts_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filter_; - bool errors_only_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class TailRobotPartLogsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.TailRobotPartLogsResponse) */ { +class GetRobotPartRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartRequest) */ { public: - inline TailRobotPartLogsResponse() : TailRobotPartLogsResponse(nullptr) {} - ~TailRobotPartLogsResponse() override; - explicit PROTOBUF_CONSTEXPR TailRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartRequest() : GetRobotPartRequest(nullptr) {} + ~GetRobotPartRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - TailRobotPartLogsResponse(const TailRobotPartLogsResponse& from); - TailRobotPartLogsResponse(TailRobotPartLogsResponse&& from) noexcept - : TailRobotPartLogsResponse() { + GetRobotPartRequest(const GetRobotPartRequest& from); + GetRobotPartRequest(GetRobotPartRequest&& from) noexcept + : GetRobotPartRequest() { *this = ::std::move(from); } - inline TailRobotPartLogsResponse& operator=(const TailRobotPartLogsResponse& from) { + inline GetRobotPartRequest& operator=(const GetRobotPartRequest& from) { CopyFrom(from); return *this; } - inline TailRobotPartLogsResponse& operator=(TailRobotPartLogsResponse&& from) noexcept { + inline GetRobotPartRequest& operator=(GetRobotPartRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -15175,20 +15610,20 @@ class TailRobotPartLogsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const TailRobotPartLogsResponse& default_instance() { + static const GetRobotPartRequest& default_instance() { return *internal_default_instance(); } - static inline const TailRobotPartLogsResponse* internal_default_instance() { - return reinterpret_cast( - &_TailRobotPartLogsResponse_default_instance_); + static inline const GetRobotPartRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 84; + 91; - friend void swap(TailRobotPartLogsResponse& a, TailRobotPartLogsResponse& b) { + friend void swap(GetRobotPartRequest& a, GetRobotPartRequest& b) { a.Swap(&b); } - inline void Swap(TailRobotPartLogsResponse* other) { + inline void Swap(GetRobotPartRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15201,7 +15636,7 @@ class TailRobotPartLogsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(TailRobotPartLogsResponse* other) { + void UnsafeArenaSwap(GetRobotPartRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15209,13 +15644,13 @@ class TailRobotPartLogsResponse final : // implements Message ---------------------------------------------- - TailRobotPartLogsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TailRobotPartLogsResponse& from); + void CopyFrom(const GetRobotPartRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const TailRobotPartLogsResponse& from); + void MergeFrom(const GetRobotPartRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -15232,15 +15667,15 @@ class TailRobotPartLogsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(TailRobotPartLogsResponse* other); + void InternalSwap(GetRobotPartRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.TailRobotPartLogsResponse"; + return "viam.app.v1.GetRobotPartRequest"; } protected: - explicit TailRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -15254,57 +15689,53 @@ class TailRobotPartLogsResponse final : // accessors ------------------------------------------------------- enum : int { - kLogsFieldNumber = 1, + kIdFieldNumber = 1, }; - // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; - int logs_size() const; - private: - int _internal_logs_size() const; - public: - void clear_logs(); - ::viam::common::v1::LogEntry* mutable_logs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >* - mutable_logs(); + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const ::viam::common::v1::LogEntry& _internal_logs(int index) const; - ::viam::common::v1::LogEntry* _internal_add_logs(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - const ::viam::common::v1::LogEntry& logs(int index) const; - ::viam::common::v1::LogEntry* add_logs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >& - logs() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.TailRobotPartLogsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry > logs_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartHistoryRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartHistoryRequest) */ { +class GetRobotPartResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartResponse) */ { public: - inline GetRobotPartHistoryRequest() : GetRobotPartHistoryRequest(nullptr) {} - ~GetRobotPartHistoryRequest() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartHistoryRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartResponse() : GetRobotPartResponse(nullptr) {} + ~GetRobotPartResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartHistoryRequest(const GetRobotPartHistoryRequest& from); - GetRobotPartHistoryRequest(GetRobotPartHistoryRequest&& from) noexcept - : GetRobotPartHistoryRequest() { + GetRobotPartResponse(const GetRobotPartResponse& from); + GetRobotPartResponse(GetRobotPartResponse&& from) noexcept + : GetRobotPartResponse() { *this = ::std::move(from); } - inline GetRobotPartHistoryRequest& operator=(const GetRobotPartHistoryRequest& from) { + inline GetRobotPartResponse& operator=(const GetRobotPartResponse& from) { CopyFrom(from); return *this; } - inline GetRobotPartHistoryRequest& operator=(GetRobotPartHistoryRequest&& from) noexcept { + inline GetRobotPartResponse& operator=(GetRobotPartResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -15327,20 +15758,20 @@ class GetRobotPartHistoryRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartHistoryRequest& default_instance() { + static const GetRobotPartResponse& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartHistoryRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartHistoryRequest_default_instance_); + static inline const GetRobotPartResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 85; + 92; - friend void swap(GetRobotPartHistoryRequest& a, GetRobotPartHistoryRequest& b) { + friend void swap(GetRobotPartResponse& a, GetRobotPartResponse& b) { a.Swap(&b); } - inline void Swap(GetRobotPartHistoryRequest* other) { + inline void Swap(GetRobotPartResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15353,7 +15784,7 @@ class GetRobotPartHistoryRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartHistoryRequest* other) { + void UnsafeArenaSwap(GetRobotPartResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15361,13 +15792,13 @@ class GetRobotPartHistoryRequest final : // implements Message ---------------------------------------------- - GetRobotPartHistoryRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartHistoryRequest& from); + void CopyFrom(const GetRobotPartResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartHistoryRequest& from); + void MergeFrom(const GetRobotPartResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -15384,15 +15815,15 @@ class GetRobotPartHistoryRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartHistoryRequest* other); + void InternalSwap(GetRobotPartResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartHistoryRequest"; + return "viam.app.v1.GetRobotPartResponse"; } protected: - explicit GetRobotPartHistoryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -15406,53 +15837,73 @@ class GetRobotPartHistoryRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kConfigJsonFieldNumber = 2, + kPartFieldNumber = 1, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; + // string config_json = 2 [json_name = "configJson"]; + void clear_config_json(); + const std::string& config_json() const; template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); + void set_config_json(ArgT0&& arg0, ArgT... args); + std::string* mutable_config_json(); + PROTOBUF_NODISCARD std::string* release_config_json(); + void set_allocated_config_json(std::string* config_json); private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); + const std::string& _internal_config_json() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_config_json(const std::string& value); + std::string* _internal_mutable_config_json(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartHistoryRequest) + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + bool has_part() const; + private: + bool _internal_has_part() const; + public: + void clear_part(); + const ::viam::app::v1::RobotPart& part() const; + PROTOBUF_NODISCARD ::viam::app::v1::RobotPart* release_part(); + ::viam::app::v1::RobotPart* mutable_part(); + void set_allocated_part(::viam::app::v1::RobotPart* part); + private: + const ::viam::app::v1::RobotPart& _internal_part() const; + ::viam::app::v1::RobotPart* _internal_mutable_part(); + public: + void unsafe_arena_set_allocated_part( + ::viam::app::v1::RobotPart* part); + ::viam::app::v1::RobotPart* unsafe_arena_release_part(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr config_json_; + ::viam::app::v1::RobotPart* part_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotPartHistoryResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartHistoryResponse) */ { +class GetRobotPartLogsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartLogsRequest) */ { public: - inline GetRobotPartHistoryResponse() : GetRobotPartHistoryResponse(nullptr) {} - ~GetRobotPartHistoryResponse() override; - explicit PROTOBUF_CONSTEXPR GetRobotPartHistoryResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartLogsRequest() : GetRobotPartLogsRequest(nullptr) {} + ~GetRobotPartLogsRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotPartHistoryResponse(const GetRobotPartHistoryResponse& from); - GetRobotPartHistoryResponse(GetRobotPartHistoryResponse&& from) noexcept - : GetRobotPartHistoryResponse() { + GetRobotPartLogsRequest(const GetRobotPartLogsRequest& from); + GetRobotPartLogsRequest(GetRobotPartLogsRequest&& from) noexcept + : GetRobotPartLogsRequest() { *this = ::std::move(from); } - inline GetRobotPartHistoryResponse& operator=(const GetRobotPartHistoryResponse& from) { + inline GetRobotPartLogsRequest& operator=(const GetRobotPartLogsRequest& from) { CopyFrom(from); return *this; } - inline GetRobotPartHistoryResponse& operator=(GetRobotPartHistoryResponse&& from) noexcept { + inline GetRobotPartLogsRequest& operator=(GetRobotPartLogsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -15475,20 +15926,20 @@ class GetRobotPartHistoryResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotPartHistoryResponse& default_instance() { + static const GetRobotPartLogsRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRobotPartHistoryResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotPartHistoryResponse_default_instance_); + static inline const GetRobotPartLogsRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartLogsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 86; + 93; - friend void swap(GetRobotPartHistoryResponse& a, GetRobotPartHistoryResponse& b) { + friend void swap(GetRobotPartLogsRequest& a, GetRobotPartLogsRequest& b) { a.Swap(&b); } - inline void Swap(GetRobotPartHistoryResponse* other) { + inline void Swap(GetRobotPartLogsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15501,7 +15952,7 @@ class GetRobotPartHistoryResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotPartHistoryResponse* other) { + void UnsafeArenaSwap(GetRobotPartLogsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15509,13 +15960,13 @@ class GetRobotPartHistoryResponse final : // implements Message ---------------------------------------------- - GetRobotPartHistoryResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartLogsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotPartHistoryResponse& from); + void CopyFrom(const GetRobotPartLogsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotPartHistoryResponse& from); + void MergeFrom(const GetRobotPartLogsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -15532,15 +15983,15 @@ class GetRobotPartHistoryResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotPartHistoryResponse* other); + void InternalSwap(GetRobotPartLogsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotPartHistoryResponse"; + return "viam.app.v1.GetRobotPartLogsRequest"; } protected: - explicit GetRobotPartHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -15554,57 +16005,206 @@ class GetRobotPartHistoryResponse final : // accessors ------------------------------------------------------- enum : int { - kHistoryFieldNumber = 1, + kLevelsFieldNumber = 5, + kIdFieldNumber = 1, + kFilterFieldNumber = 3, + kPageTokenFieldNumber = 4, + kSourceFieldNumber = 9, + kStartFieldNumber = 6, + kEndFieldNumber = 7, + kLimitFieldNumber = 8, + kErrorsOnlyFieldNumber = 2, }; - // repeated .viam.app.v1.RobotPartHistoryEntry history = 1 [json_name = "history"]; - int history_size() const; + // repeated string levels = 5 [json_name = "levels"]; + int levels_size() const; private: - int _internal_history_size() const; + int _internal_levels_size() const; public: - void clear_history(); - ::viam::app::v1::RobotPartHistoryEntry* mutable_history(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPartHistoryEntry >* - mutable_history(); + void clear_levels(); + const std::string& levels(int index) const; + std::string* mutable_levels(int index); + void set_levels(int index, const std::string& value); + void set_levels(int index, std::string&& value); + void set_levels(int index, const char* value); + void set_levels(int index, const char* value, size_t size); + std::string* add_levels(); + void add_levels(const std::string& value); + void add_levels(std::string&& value); + void add_levels(const char* value); + void add_levels(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& levels() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_levels(); private: - const ::viam::app::v1::RobotPartHistoryEntry& _internal_history(int index) const; - ::viam::app::v1::RobotPartHistoryEntry* _internal_add_history(); + const std::string& _internal_levels(int index) const; + std::string* _internal_add_levels(); public: - const ::viam::app::v1::RobotPartHistoryEntry& history(int index) const; - ::viam::app::v1::RobotPartHistoryEntry* add_history(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPartHistoryEntry >& - history() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartHistoryResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPartHistoryEntry > history_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_app_2fv1_2fapp_2eproto; -}; -// ------------------------------------------------------------------- + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); + 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: -class UpdateRobotPartRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotPartRequest) */ { - public: - inline UpdateRobotPartRequest() : UpdateRobotPartRequest(nullptr) {} - ~UpdateRobotPartRequest() override; - explicit PROTOBUF_CONSTEXPR UpdateRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + // optional string filter = 3 [json_name = "filter"]; + bool has_filter() const; + private: + bool _internal_has_filter() const; + public: + void clear_filter(); + const std::string& filter() const; + template + void set_filter(ArgT0&& arg0, ArgT... args); + std::string* mutable_filter(); + PROTOBUF_NODISCARD std::string* release_filter(); + void set_allocated_filter(std::string* filter); + private: + const std::string& _internal_filter() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter(const std::string& value); + std::string* _internal_mutable_filter(); + public: - UpdateRobotPartRequest(const UpdateRobotPartRequest& from); - UpdateRobotPartRequest(UpdateRobotPartRequest&& from) noexcept - : UpdateRobotPartRequest() { + // optional string page_token = 4 [json_name = "pageToken"]; + bool has_page_token() const; + private: + bool _internal_has_page_token() const; + public: + void clear_page_token(); + const std::string& page_token() const; + template + void set_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_page_token(); + PROTOBUF_NODISCARD std::string* release_page_token(); + void set_allocated_page_token(std::string* page_token); + 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 string source = 9 [json_name = "source"]; + bool has_source() const; + private: + bool _internal_has_source() const; + public: + void clear_source(); + const std::string& source() const; + template + void set_source(ArgT0&& arg0, ArgT... args); + std::string* mutable_source(); + PROTOBUF_NODISCARD std::string* release_source(); + void set_allocated_source(std::string* source); + private: + const std::string& _internal_source() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_source(const std::string& value); + std::string* _internal_mutable_source(); + public: + + // optional .google.protobuf.Timestamp start = 6 [json_name = "start"]; + bool has_start() const; + private: + bool _internal_has_start() const; + public: + void clear_start(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& start() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_start(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_start(); + void set_allocated_start(::PROTOBUF_NAMESPACE_ID::Timestamp* start); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start(); + public: + void unsafe_arena_set_allocated_start( + ::PROTOBUF_NAMESPACE_ID::Timestamp* start); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start(); + + // optional .google.protobuf.Timestamp end = 7 [json_name = "end"]; + bool has_end() const; + private: + bool _internal_has_end() const; + public: + void clear_end(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& end() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_end(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_end(); + void set_allocated_end(::PROTOBUF_NAMESPACE_ID::Timestamp* end); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end(); + public: + void unsafe_arena_set_allocated_end( + ::PROTOBUF_NAMESPACE_ID::Timestamp* end); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end(); + + // optional int64 limit = 8 [json_name = "limit"]; + bool has_limit() const; + private: + bool _internal_has_limit() const; + public: + void clear_limit(); + int64_t limit() const; + void set_limit(int64_t value); + private: + int64_t _internal_limit() const; + void _internal_set_limit(int64_t value); + public: + + // bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; + PROTOBUF_DEPRECATED void clear_errors_only(); + PROTOBUF_DEPRECATED bool errors_only() const; + PROTOBUF_DEPRECATED void set_errors_only(bool value); + private: + bool _internal_errors_only() const; + void _internal_set_errors_only(bool value); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartLogsRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField levels_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filter_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* start_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* end_; + int64_t limit_; + bool errors_only_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class GetRobotPartLogsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartLogsResponse) */ { + public: + inline GetRobotPartLogsResponse() : GetRobotPartLogsResponse(nullptr) {} + ~GetRobotPartLogsResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GetRobotPartLogsResponse(const GetRobotPartLogsResponse& from); + GetRobotPartLogsResponse(GetRobotPartLogsResponse&& from) noexcept + : GetRobotPartLogsResponse() { *this = ::std::move(from); } - inline UpdateRobotPartRequest& operator=(const UpdateRobotPartRequest& from) { + inline GetRobotPartLogsResponse& operator=(const GetRobotPartLogsResponse& from) { CopyFrom(from); return *this; } - inline UpdateRobotPartRequest& operator=(UpdateRobotPartRequest&& from) noexcept { + inline GetRobotPartLogsResponse& operator=(GetRobotPartLogsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -15627,20 +16227,20 @@ class UpdateRobotPartRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateRobotPartRequest& default_instance() { + static const GetRobotPartLogsResponse& default_instance() { return *internal_default_instance(); } - static inline const UpdateRobotPartRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateRobotPartRequest_default_instance_); + static inline const GetRobotPartLogsResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartLogsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 87; + 94; - friend void swap(UpdateRobotPartRequest& a, UpdateRobotPartRequest& b) { + friend void swap(GetRobotPartLogsResponse& a, GetRobotPartLogsResponse& b) { a.Swap(&b); } - inline void Swap(UpdateRobotPartRequest* other) { + inline void Swap(GetRobotPartLogsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15653,7 +16253,7 @@ class UpdateRobotPartRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateRobotPartRequest* other) { + void UnsafeArenaSwap(GetRobotPartLogsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15661,13 +16261,13 @@ class UpdateRobotPartRequest final : // implements Message ---------------------------------------------- - UpdateRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartLogsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UpdateRobotPartRequest& from); + void CopyFrom(const GetRobotPartLogsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UpdateRobotPartRequest& from); + void MergeFrom(const GetRobotPartLogsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -15684,15 +16284,15 @@ class UpdateRobotPartRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UpdateRobotPartRequest* other); + void InternalSwap(GetRobotPartLogsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UpdateRobotPartRequest"; + return "viam.app.v1.GetRobotPartLogsResponse"; } protected: - explicit UpdateRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -15706,89 +16306,73 @@ class UpdateRobotPartRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kNameFieldNumber = 2, - kRobotConfigFieldNumber = 3, + kLogsFieldNumber = 1, + kNextPageTokenFieldNumber = 2, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + int logs_size() const; private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); + int _internal_logs_size() const; public: - - // string name = 2 [json_name = "name"]; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); + void clear_logs(); + ::viam::common::v1::LogEntry* mutable_logs(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >* + mutable_logs(); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); + const ::viam::common::v1::LogEntry& _internal_logs(int index) const; + ::viam::common::v1::LogEntry* _internal_add_logs(); public: + const ::viam::common::v1::LogEntry& logs(int index) const; + ::viam::common::v1::LogEntry* add_logs(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >& + logs() const; - // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; - bool has_robot_config() const; - private: - bool _internal_has_robot_config() const; - public: - void clear_robot_config(); - const ::PROTOBUF_NAMESPACE_ID::Struct& robot_config() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_robot_config(); - ::PROTOBUF_NAMESPACE_ID::Struct* mutable_robot_config(); - void set_allocated_robot_config(::PROTOBUF_NAMESPACE_ID::Struct* robot_config); + // 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(ArgT0&& arg0, ArgT... args); + std::string* mutable_next_page_token(); + PROTOBUF_NODISCARD std::string* release_next_page_token(); + void set_allocated_next_page_token(std::string* next_page_token); private: - const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_robot_config() const; - ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_robot_config(); + 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: - void unsafe_arena_set_allocated_robot_config( - ::PROTOBUF_NAMESPACE_ID::Struct* robot_config); - ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_robot_config(); - // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotPartRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartLogsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::Struct* robot_config_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry > logs_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class UpdateRobotPartResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotPartResponse) */ { +class TailRobotPartLogsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.TailRobotPartLogsRequest) */ { public: - inline UpdateRobotPartResponse() : UpdateRobotPartResponse(nullptr) {} - ~UpdateRobotPartResponse() override; - explicit PROTOBUF_CONSTEXPR UpdateRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline TailRobotPartLogsRequest() : TailRobotPartLogsRequest(nullptr) {} + ~TailRobotPartLogsRequest() override; + explicit PROTOBUF_CONSTEXPR TailRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UpdateRobotPartResponse(const UpdateRobotPartResponse& from); - UpdateRobotPartResponse(UpdateRobotPartResponse&& from) noexcept - : UpdateRobotPartResponse() { + TailRobotPartLogsRequest(const TailRobotPartLogsRequest& from); + TailRobotPartLogsRequest(TailRobotPartLogsRequest&& from) noexcept + : TailRobotPartLogsRequest() { *this = ::std::move(from); } - inline UpdateRobotPartResponse& operator=(const UpdateRobotPartResponse& from) { + inline TailRobotPartLogsRequest& operator=(const TailRobotPartLogsRequest& from) { CopyFrom(from); return *this; } - inline UpdateRobotPartResponse& operator=(UpdateRobotPartResponse&& from) noexcept { + inline TailRobotPartLogsRequest& operator=(TailRobotPartLogsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -15811,20 +16395,20 @@ class UpdateRobotPartResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateRobotPartResponse& default_instance() { + static const TailRobotPartLogsRequest& default_instance() { return *internal_default_instance(); } - static inline const UpdateRobotPartResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateRobotPartResponse_default_instance_); + static inline const TailRobotPartLogsRequest* internal_default_instance() { + return reinterpret_cast( + &_TailRobotPartLogsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 88; + 95; - friend void swap(UpdateRobotPartResponse& a, UpdateRobotPartResponse& b) { + friend void swap(TailRobotPartLogsRequest& a, TailRobotPartLogsRequest& b) { a.Swap(&b); } - inline void Swap(UpdateRobotPartResponse* other) { + inline void Swap(TailRobotPartLogsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15837,7 +16421,7 @@ class UpdateRobotPartResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateRobotPartResponse* other) { + void UnsafeArenaSwap(TailRobotPartLogsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15845,13 +16429,13 @@ class UpdateRobotPartResponse final : // implements Message ---------------------------------------------- - UpdateRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + TailRobotPartLogsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UpdateRobotPartResponse& from); + void CopyFrom(const TailRobotPartLogsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UpdateRobotPartResponse& from); + void MergeFrom(const TailRobotPartLogsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -15868,15 +16452,15 @@ class UpdateRobotPartResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UpdateRobotPartResponse* other); + void InternalSwap(TailRobotPartLogsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UpdateRobotPartResponse"; + return "viam.app.v1.TailRobotPartLogsRequest"; } protected: - explicit UpdateRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit TailRobotPartLogsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -15890,57 +16474,85 @@ class UpdateRobotPartResponse final : // accessors ------------------------------------------------------- enum : int { - kPartFieldNumber = 1, + kIdFieldNumber = 1, + kFilterFieldNumber = 3, + kErrorsOnlyFieldNumber = 2, }; - // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; - bool has_part() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - bool _internal_has_part() const; + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - void clear_part(); - const ::viam::app::v1::RobotPart& part() const; - PROTOBUF_NODISCARD ::viam::app::v1::RobotPart* release_part(); - ::viam::app::v1::RobotPart* mutable_part(); - void set_allocated_part(::viam::app::v1::RobotPart* part); + + // optional string filter = 3 [json_name = "filter"]; + bool has_filter() const; private: - const ::viam::app::v1::RobotPart& _internal_part() const; - ::viam::app::v1::RobotPart* _internal_mutable_part(); + bool _internal_has_filter() const; + public: + void clear_filter(); + const std::string& filter() const; + template + void set_filter(ArgT0&& arg0, ArgT... args); + std::string* mutable_filter(); + PROTOBUF_NODISCARD std::string* release_filter(); + void set_allocated_filter(std::string* filter); + private: + const std::string& _internal_filter() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter(const std::string& value); + std::string* _internal_mutable_filter(); public: - void unsafe_arena_set_allocated_part( - ::viam::app::v1::RobotPart* part); - ::viam::app::v1::RobotPart* unsafe_arena_release_part(); - // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotPartResponse) + // bool errors_only = 2 [json_name = "errorsOnly"]; + void clear_errors_only(); + bool errors_only() const; + void set_errors_only(bool value); + private: + bool _internal_errors_only() const; + void _internal_set_errors_only(bool value); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.TailRobotPartLogsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::RobotPart* part_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filter_; + bool errors_only_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class NewRobotPartRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotPartRequest) */ { +class TailRobotPartLogsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.TailRobotPartLogsResponse) */ { public: - inline NewRobotPartRequest() : NewRobotPartRequest(nullptr) {} - ~NewRobotPartRequest() override; - explicit PROTOBUF_CONSTEXPR NewRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline TailRobotPartLogsResponse() : TailRobotPartLogsResponse(nullptr) {} + ~TailRobotPartLogsResponse() override; + explicit PROTOBUF_CONSTEXPR TailRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NewRobotPartRequest(const NewRobotPartRequest& from); - NewRobotPartRequest(NewRobotPartRequest&& from) noexcept - : NewRobotPartRequest() { + TailRobotPartLogsResponse(const TailRobotPartLogsResponse& from); + TailRobotPartLogsResponse(TailRobotPartLogsResponse&& from) noexcept + : TailRobotPartLogsResponse() { *this = ::std::move(from); } - inline NewRobotPartRequest& operator=(const NewRobotPartRequest& from) { + inline TailRobotPartLogsResponse& operator=(const TailRobotPartLogsResponse& from) { CopyFrom(from); return *this; } - inline NewRobotPartRequest& operator=(NewRobotPartRequest&& from) noexcept { + inline TailRobotPartLogsResponse& operator=(TailRobotPartLogsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -15963,20 +16575,20 @@ class NewRobotPartRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NewRobotPartRequest& default_instance() { + static const TailRobotPartLogsResponse& default_instance() { return *internal_default_instance(); } - static inline const NewRobotPartRequest* internal_default_instance() { - return reinterpret_cast( - &_NewRobotPartRequest_default_instance_); + static inline const TailRobotPartLogsResponse* internal_default_instance() { + return reinterpret_cast( + &_TailRobotPartLogsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 89; + 96; - friend void swap(NewRobotPartRequest& a, NewRobotPartRequest& b) { + friend void swap(TailRobotPartLogsResponse& a, TailRobotPartLogsResponse& b) { a.Swap(&b); } - inline void Swap(NewRobotPartRequest* other) { + inline void Swap(TailRobotPartLogsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -15989,7 +16601,7 @@ class NewRobotPartRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NewRobotPartRequest* other) { + void UnsafeArenaSwap(TailRobotPartLogsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -15997,13 +16609,13 @@ class NewRobotPartRequest final : // implements Message ---------------------------------------------- - NewRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + TailRobotPartLogsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NewRobotPartRequest& from); + void CopyFrom(const TailRobotPartLogsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NewRobotPartRequest& from); + void MergeFrom(const TailRobotPartLogsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -16020,15 +16632,15 @@ class NewRobotPartRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NewRobotPartRequest* other); + void InternalSwap(TailRobotPartLogsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.NewRobotPartRequest"; + return "viam.app.v1.TailRobotPartLogsResponse"; } protected: - explicit NewRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit TailRobotPartLogsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16042,69 +16654,57 @@ class NewRobotPartRequest final : // accessors ------------------------------------------------------- enum : int { - kRobotIdFieldNumber = 1, - kPartNameFieldNumber = 2, + kLogsFieldNumber = 1, }; - // string robot_id = 1 [json_name = "robotId"]; - void clear_robot_id(); - const std::string& robot_id() const; - template - void set_robot_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_robot_id(); - PROTOBUF_NODISCARD std::string* release_robot_id(); - void set_allocated_robot_id(std::string* robot_id); + // repeated .viam.common.v1.LogEntry logs = 1 [json_name = "logs"]; + int logs_size() const; private: - const std::string& _internal_robot_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); - std::string* _internal_mutable_robot_id(); + int _internal_logs_size() const; public: - - // string part_name = 2 [json_name = "partName"]; - void clear_part_name(); - const std::string& part_name() const; - template - void set_part_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_part_name(); - PROTOBUF_NODISCARD std::string* release_part_name(); - void set_allocated_part_name(std::string* part_name); + void clear_logs(); + ::viam::common::v1::LogEntry* mutable_logs(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >* + mutable_logs(); private: - const std::string& _internal_part_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_part_name(const std::string& value); - std::string* _internal_mutable_part_name(); + const ::viam::common::v1::LogEntry& _internal_logs(int index) const; + ::viam::common::v1::LogEntry* _internal_add_logs(); public: + const ::viam::common::v1::LogEntry& logs(int index) const; + ::viam::common::v1::LogEntry* add_logs(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry >& + logs() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotPartRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.TailRobotPartLogsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr part_name_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::common::v1::LogEntry > logs_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class NewRobotPartResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotPartResponse) */ { +class GetRobotPartHistoryRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartHistoryRequest) */ { public: - inline NewRobotPartResponse() : NewRobotPartResponse(nullptr) {} - ~NewRobotPartResponse() override; - explicit PROTOBUF_CONSTEXPR NewRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartHistoryRequest() : GetRobotPartHistoryRequest(nullptr) {} + ~GetRobotPartHistoryRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartHistoryRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NewRobotPartResponse(const NewRobotPartResponse& from); - NewRobotPartResponse(NewRobotPartResponse&& from) noexcept - : NewRobotPartResponse() { + GetRobotPartHistoryRequest(const GetRobotPartHistoryRequest& from); + GetRobotPartHistoryRequest(GetRobotPartHistoryRequest&& from) noexcept + : GetRobotPartHistoryRequest() { *this = ::std::move(from); } - inline NewRobotPartResponse& operator=(const NewRobotPartResponse& from) { + inline GetRobotPartHistoryRequest& operator=(const GetRobotPartHistoryRequest& from) { CopyFrom(from); return *this; } - inline NewRobotPartResponse& operator=(NewRobotPartResponse&& from) noexcept { + inline GetRobotPartHistoryRequest& operator=(GetRobotPartHistoryRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -16127,20 +16727,20 @@ class NewRobotPartResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NewRobotPartResponse& default_instance() { + static const GetRobotPartHistoryRequest& default_instance() { return *internal_default_instance(); } - static inline const NewRobotPartResponse* internal_default_instance() { - return reinterpret_cast( - &_NewRobotPartResponse_default_instance_); + static inline const GetRobotPartHistoryRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartHistoryRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 90; + 97; - friend void swap(NewRobotPartResponse& a, NewRobotPartResponse& b) { + friend void swap(GetRobotPartHistoryRequest& a, GetRobotPartHistoryRequest& b) { a.Swap(&b); } - inline void Swap(NewRobotPartResponse* other) { + inline void Swap(GetRobotPartHistoryRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -16153,7 +16753,7 @@ class NewRobotPartResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NewRobotPartResponse* other) { + void UnsafeArenaSwap(GetRobotPartHistoryRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -16161,13 +16761,13 @@ class NewRobotPartResponse final : // implements Message ---------------------------------------------- - NewRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartHistoryRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NewRobotPartResponse& from); + void CopyFrom(const GetRobotPartHistoryRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NewRobotPartResponse& from); + void MergeFrom(const GetRobotPartHistoryRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -16184,15 +16784,15 @@ class NewRobotPartResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NewRobotPartResponse* other); + void InternalSwap(GetRobotPartHistoryRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.NewRobotPartResponse"; + return "viam.app.v1.GetRobotPartHistoryRequest"; } protected: - explicit NewRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartHistoryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16206,53 +16806,53 @@ class NewRobotPartResponse final : // accessors ------------------------------------------------------- enum : int { - kPartIdFieldNumber = 1, + kIdFieldNumber = 1, }; - // string part_id = 1 [json_name = "partId"]; - void clear_part_id(); - const std::string& part_id() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_part_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_part_id(); - PROTOBUF_NODISCARD std::string* release_part_id(); - void set_allocated_part_id(std::string* part_id); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_part_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_part_id(const std::string& value); - std::string* _internal_mutable_part_id(); - public: - - // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotPartResponse) + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartHistoryRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr part_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteRobotPartRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotPartRequest) */ { +class GetRobotPartHistoryResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartHistoryResponse) */ { public: - inline DeleteRobotPartRequest() : DeleteRobotPartRequest(nullptr) {} - ~DeleteRobotPartRequest() override; - explicit PROTOBUF_CONSTEXPR DeleteRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotPartHistoryResponse() : GetRobotPartHistoryResponse(nullptr) {} + ~GetRobotPartHistoryResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartHistoryResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteRobotPartRequest(const DeleteRobotPartRequest& from); - DeleteRobotPartRequest(DeleteRobotPartRequest&& from) noexcept - : DeleteRobotPartRequest() { + GetRobotPartHistoryResponse(const GetRobotPartHistoryResponse& from); + GetRobotPartHistoryResponse(GetRobotPartHistoryResponse&& from) noexcept + : GetRobotPartHistoryResponse() { *this = ::std::move(from); } - inline DeleteRobotPartRequest& operator=(const DeleteRobotPartRequest& from) { + inline GetRobotPartHistoryResponse& operator=(const GetRobotPartHistoryResponse& from) { CopyFrom(from); return *this; } - inline DeleteRobotPartRequest& operator=(DeleteRobotPartRequest&& from) noexcept { + inline GetRobotPartHistoryResponse& operator=(GetRobotPartHistoryResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -16275,20 +16875,20 @@ class DeleteRobotPartRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteRobotPartRequest& default_instance() { + static const GetRobotPartHistoryResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteRobotPartRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteRobotPartRequest_default_instance_); + static inline const GetRobotPartHistoryResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartHistoryResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 91; + 98; - friend void swap(DeleteRobotPartRequest& a, DeleteRobotPartRequest& b) { + friend void swap(GetRobotPartHistoryResponse& a, GetRobotPartHistoryResponse& b) { a.Swap(&b); } - inline void Swap(DeleteRobotPartRequest* other) { + inline void Swap(GetRobotPartHistoryResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -16301,7 +16901,7 @@ class DeleteRobotPartRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteRobotPartRequest* other) { + void UnsafeArenaSwap(GetRobotPartHistoryResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -16309,13 +16909,13 @@ class DeleteRobotPartRequest final : // implements Message ---------------------------------------------- - DeleteRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotPartHistoryResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteRobotPartRequest& from); + void CopyFrom(const GetRobotPartHistoryResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeleteRobotPartRequest& from); + void MergeFrom(const GetRobotPartHistoryResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -16332,15 +16932,15 @@ class DeleteRobotPartRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteRobotPartRequest* other); + void InternalSwap(GetRobotPartHistoryResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteRobotPartRequest"; + return "viam.app.v1.GetRobotPartHistoryResponse"; } protected: - explicit DeleteRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotPartHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16354,53 +16954,57 @@ class DeleteRobotPartRequest final : // accessors ------------------------------------------------------- enum : int { - kPartIdFieldNumber = 1, + kHistoryFieldNumber = 1, }; - // string part_id = 1 [json_name = "partId"]; - void clear_part_id(); - const std::string& part_id() const; - template - void set_part_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_part_id(); - PROTOBUF_NODISCARD std::string* release_part_id(); - void set_allocated_part_id(std::string* part_id); + // repeated .viam.app.v1.RobotPartHistoryEntry history = 1 [json_name = "history"]; + int history_size() const; private: - const std::string& _internal_part_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_part_id(const std::string& value); - std::string* _internal_mutable_part_id(); + int _internal_history_size() const; + public: + void clear_history(); + ::viam::app::v1::RobotPartHistoryEntry* mutable_history(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPartHistoryEntry >* + mutable_history(); + private: + const ::viam::app::v1::RobotPartHistoryEntry& _internal_history(int index) const; + ::viam::app::v1::RobotPartHistoryEntry* _internal_add_history(); public: + const ::viam::app::v1::RobotPartHistoryEntry& history(int index) const; + ::viam::app::v1::RobotPartHistoryEntry* add_history(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPartHistoryEntry >& + history() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotPartRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartHistoryResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr part_id_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::RobotPartHistoryEntry > history_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotAPIKeysRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotAPIKeysRequest) */ { +class UpdateRobotPartRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotPartRequest) */ { public: - inline GetRobotAPIKeysRequest() : GetRobotAPIKeysRequest(nullptr) {} - ~GetRobotAPIKeysRequest() override; - explicit PROTOBUF_CONSTEXPR GetRobotAPIKeysRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateRobotPartRequest() : UpdateRobotPartRequest(nullptr) {} + ~UpdateRobotPartRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotAPIKeysRequest(const GetRobotAPIKeysRequest& from); - GetRobotAPIKeysRequest(GetRobotAPIKeysRequest&& from) noexcept - : GetRobotAPIKeysRequest() { + UpdateRobotPartRequest(const UpdateRobotPartRequest& from); + UpdateRobotPartRequest(UpdateRobotPartRequest&& from) noexcept + : UpdateRobotPartRequest() { *this = ::std::move(from); } - inline GetRobotAPIKeysRequest& operator=(const GetRobotAPIKeysRequest& from) { + inline UpdateRobotPartRequest& operator=(const UpdateRobotPartRequest& from) { CopyFrom(from); return *this; } - inline GetRobotAPIKeysRequest& operator=(GetRobotAPIKeysRequest&& from) noexcept { + inline UpdateRobotPartRequest& operator=(UpdateRobotPartRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -16423,20 +17027,20 @@ class GetRobotAPIKeysRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotAPIKeysRequest& default_instance() { + static const UpdateRobotPartRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRobotAPIKeysRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRobotAPIKeysRequest_default_instance_); + static inline const UpdateRobotPartRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotPartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 92; + 99; - friend void swap(GetRobotAPIKeysRequest& a, GetRobotAPIKeysRequest& b) { + friend void swap(UpdateRobotPartRequest& a, UpdateRobotPartRequest& b) { a.Swap(&b); } - inline void Swap(GetRobotAPIKeysRequest* other) { + inline void Swap(UpdateRobotPartRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -16449,7 +17053,7 @@ class GetRobotAPIKeysRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotAPIKeysRequest* other) { + void UnsafeArenaSwap(UpdateRobotPartRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -16457,13 +17061,13 @@ class GetRobotAPIKeysRequest final : // implements Message ---------------------------------------------- - GetRobotAPIKeysRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotAPIKeysRequest& from); + void CopyFrom(const UpdateRobotPartRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotAPIKeysRequest& from); + void MergeFrom(const UpdateRobotPartRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -16480,15 +17084,15 @@ class GetRobotAPIKeysRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotAPIKeysRequest* other); + void InternalSwap(UpdateRobotPartRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotAPIKeysRequest"; + return "viam.app.v1.UpdateRobotPartRequest"; } protected: - explicit GetRobotAPIKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16502,53 +17106,89 @@ class GetRobotAPIKeysRequest final : // accessors ------------------------------------------------------- enum : int { - kRobotIdFieldNumber = 1, + kIdFieldNumber = 1, + kNameFieldNumber = 2, + kRobotConfigFieldNumber = 3, }; - // string robot_id = 1 [json_name = "robotId"]; - void clear_robot_id(); - const std::string& robot_id() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_robot_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_robot_id(); - PROTOBUF_NODISCARD std::string* release_robot_id(); - void set_allocated_robot_id(std::string* robot_id); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_robot_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); - std::string* _internal_mutable_robot_id(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotAPIKeysRequest) + // string name = 2 [json_name = "name"]; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; + bool has_robot_config() const; + private: + bool _internal_has_robot_config() const; + public: + void clear_robot_config(); + const ::PROTOBUF_NAMESPACE_ID::Struct& robot_config() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_robot_config(); + ::PROTOBUF_NAMESPACE_ID::Struct* mutable_robot_config(); + void set_allocated_robot_config(::PROTOBUF_NAMESPACE_ID::Struct* robot_config); + private: + const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_robot_config() const; + ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_robot_config(); + public: + void unsafe_arena_set_allocated_robot_config( + ::PROTOBUF_NAMESPACE_ID::Struct* robot_config); + ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_robot_config(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotPartRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::Struct* robot_config_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class APIKey final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.APIKey) */ { +class UpdateRobotPartResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotPartResponse) */ { public: - inline APIKey() : APIKey(nullptr) {} - ~APIKey() override; - explicit PROTOBUF_CONSTEXPR APIKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateRobotPartResponse() : UpdateRobotPartResponse(nullptr) {} + ~UpdateRobotPartResponse() override; + explicit PROTOBUF_CONSTEXPR UpdateRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - APIKey(const APIKey& from); - APIKey(APIKey&& from) noexcept - : APIKey() { + UpdateRobotPartResponse(const UpdateRobotPartResponse& from); + UpdateRobotPartResponse(UpdateRobotPartResponse&& from) noexcept + : UpdateRobotPartResponse() { *this = ::std::move(from); } - inline APIKey& operator=(const APIKey& from) { + inline UpdateRobotPartResponse& operator=(const UpdateRobotPartResponse& from) { CopyFrom(from); return *this; } - inline APIKey& operator=(APIKey&& from) noexcept { + inline UpdateRobotPartResponse& operator=(UpdateRobotPartResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -16571,20 +17211,20 @@ class APIKey final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const APIKey& default_instance() { + static const UpdateRobotPartResponse& default_instance() { return *internal_default_instance(); } - static inline const APIKey* internal_default_instance() { - return reinterpret_cast( - &_APIKey_default_instance_); + static inline const UpdateRobotPartResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotPartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 93; + 100; - friend void swap(APIKey& a, APIKey& b) { + friend void swap(UpdateRobotPartResponse& a, UpdateRobotPartResponse& b) { a.Swap(&b); } - inline void Swap(APIKey* other) { + inline void Swap(UpdateRobotPartResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -16597,7 +17237,7 @@ class APIKey final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(APIKey* other) { + void UnsafeArenaSwap(UpdateRobotPartResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -16605,13 +17245,13 @@ class APIKey final : // implements Message ---------------------------------------------- - APIKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const APIKey& from); + void CopyFrom(const UpdateRobotPartResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const APIKey& from); + void MergeFrom(const UpdateRobotPartResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -16628,15 +17268,15 @@ class APIKey final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(APIKey* other); + void InternalSwap(UpdateRobotPartResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.APIKey"; + return "viam.app.v1.UpdateRobotPartResponse"; } protected: - explicit APIKey(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16650,105 +17290,57 @@ class APIKey final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kKeyFieldNumber = 2, - kNameFieldNumber = 3, - kCreatedOnFieldNumber = 4, + kPartFieldNumber = 1, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - 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: - - // string key = 2 [json_name = "key"]; - void clear_key(); - const std::string& key() const; - template - void set_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_key(); - PROTOBUF_NODISCARD std::string* release_key(); - void set_allocated_key(std::string* key); - private: - const std::string& _internal_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: - - // string name = 3 [json_name = "name"]; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; - bool has_created_on() const; + // .viam.app.v1.RobotPart part = 1 [json_name = "part"]; + bool has_part() const; private: - bool _internal_has_created_on() const; + bool _internal_has_part() const; public: - void clear_created_on(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_created_on(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_created_on(); - void set_allocated_created_on(::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); + void clear_part(); + const ::viam::app::v1::RobotPart& part() const; + PROTOBUF_NODISCARD ::viam::app::v1::RobotPart* release_part(); + ::viam::app::v1::RobotPart* mutable_part(); + void set_allocated_part(::viam::app::v1::RobotPart* part); private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created_on() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created_on(); + const ::viam::app::v1::RobotPart& _internal_part() const; + ::viam::app::v1::RobotPart* _internal_mutable_part(); public: - void unsafe_arena_set_allocated_created_on( - ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created_on(); + void unsafe_arena_set_allocated_part( + ::viam::app::v1::RobotPart* part); + ::viam::app::v1::RobotPart* unsafe_arena_release_part(); - // @@protoc_insertion_point(class_scope:viam.app.v1.APIKey) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotPartResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on_; + ::viam::app::v1::RobotPart* part_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetRobotAPIKeysResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotAPIKeysResponse) */ { +class NewRobotPartRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotPartRequest) */ { public: - inline GetRobotAPIKeysResponse() : GetRobotAPIKeysResponse(nullptr) {} - ~GetRobotAPIKeysResponse() override; - explicit PROTOBUF_CONSTEXPR GetRobotAPIKeysResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NewRobotPartRequest() : NewRobotPartRequest(nullptr) {} + ~NewRobotPartRequest() override; + explicit PROTOBUF_CONSTEXPR NewRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetRobotAPIKeysResponse(const GetRobotAPIKeysResponse& from); - GetRobotAPIKeysResponse(GetRobotAPIKeysResponse&& from) noexcept - : GetRobotAPIKeysResponse() { + NewRobotPartRequest(const NewRobotPartRequest& from); + NewRobotPartRequest(NewRobotPartRequest&& from) noexcept + : NewRobotPartRequest() { *this = ::std::move(from); } - inline GetRobotAPIKeysResponse& operator=(const GetRobotAPIKeysResponse& from) { + inline NewRobotPartRequest& operator=(const NewRobotPartRequest& from) { CopyFrom(from); return *this; } - inline GetRobotAPIKeysResponse& operator=(GetRobotAPIKeysResponse&& from) noexcept { + inline NewRobotPartRequest& operator=(NewRobotPartRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -16771,20 +17363,20 @@ class GetRobotAPIKeysResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetRobotAPIKeysResponse& default_instance() { + static const NewRobotPartRequest& default_instance() { return *internal_default_instance(); } - static inline const GetRobotAPIKeysResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRobotAPIKeysResponse_default_instance_); + static inline const NewRobotPartRequest* internal_default_instance() { + return reinterpret_cast( + &_NewRobotPartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 94; + 101; - friend void swap(GetRobotAPIKeysResponse& a, GetRobotAPIKeysResponse& b) { + friend void swap(NewRobotPartRequest& a, NewRobotPartRequest& b) { a.Swap(&b); } - inline void Swap(GetRobotAPIKeysResponse* other) { + inline void Swap(NewRobotPartRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -16797,7 +17389,7 @@ class GetRobotAPIKeysResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetRobotAPIKeysResponse* other) { + void UnsafeArenaSwap(NewRobotPartRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -16805,13 +17397,13 @@ class GetRobotAPIKeysResponse final : // implements Message ---------------------------------------------- - GetRobotAPIKeysResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + NewRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetRobotAPIKeysResponse& from); + void CopyFrom(const NewRobotPartRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetRobotAPIKeysResponse& from); + void MergeFrom(const NewRobotPartRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -16828,15 +17420,15 @@ class GetRobotAPIKeysResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetRobotAPIKeysResponse* other); + void InternalSwap(NewRobotPartRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetRobotAPIKeysResponse"; + return "viam.app.v1.NewRobotPartRequest"; } protected: - explicit GetRobotAPIKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit NewRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16850,56 +17442,69 @@ class GetRobotAPIKeysResponse final : // accessors ------------------------------------------------------- enum : int { - kApiKeysFieldNumber = 1, + kRobotIdFieldNumber = 1, + kPartNameFieldNumber = 2, }; - // repeated .viam.app.v1.APIKeyWithAuthorizations api_keys = 1 [json_name = "apiKeys"]; - int api_keys_size() const; + // string robot_id = 1 [json_name = "robotId"]; + void clear_robot_id(); + const std::string& robot_id() const; + template + void set_robot_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_robot_id(); + PROTOBUF_NODISCARD std::string* release_robot_id(); + void set_allocated_robot_id(std::string* robot_id); private: - int _internal_api_keys_size() const; + const std::string& _internal_robot_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); + std::string* _internal_mutable_robot_id(); public: - void clear_api_keys(); - ::viam::app::v1::APIKeyWithAuthorizations* mutable_api_keys(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >* - mutable_api_keys(); + + // string part_name = 2 [json_name = "partName"]; + void clear_part_name(); + const std::string& part_name() const; + template + void set_part_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_part_name(); + PROTOBUF_NODISCARD std::string* release_part_name(); + void set_allocated_part_name(std::string* part_name); private: - const ::viam::app::v1::APIKeyWithAuthorizations& _internal_api_keys(int index) const; - ::viam::app::v1::APIKeyWithAuthorizations* _internal_add_api_keys(); + const std::string& _internal_part_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_part_name(const std::string& value); + std::string* _internal_mutable_part_name(); public: - const ::viam::app::v1::APIKeyWithAuthorizations& api_keys(int index) const; - ::viam::app::v1::APIKeyWithAuthorizations* add_api_keys(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >& - api_keys() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotAPIKeysResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotPartRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations > api_keys_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr part_name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteRobotPartResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotPartResponse) */ { +class NewRobotPartResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotPartResponse) */ { public: - inline DeleteRobotPartResponse() : DeleteRobotPartResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR DeleteRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NewRobotPartResponse() : NewRobotPartResponse(nullptr) {} + ~NewRobotPartResponse() override; + explicit PROTOBUF_CONSTEXPR NewRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteRobotPartResponse(const DeleteRobotPartResponse& from); - DeleteRobotPartResponse(DeleteRobotPartResponse&& from) noexcept - : DeleteRobotPartResponse() { + NewRobotPartResponse(const NewRobotPartResponse& from); + NewRobotPartResponse(NewRobotPartResponse&& from) noexcept + : NewRobotPartResponse() { *this = ::std::move(from); } - inline DeleteRobotPartResponse& operator=(const DeleteRobotPartResponse& from) { + inline NewRobotPartResponse& operator=(const NewRobotPartResponse& from) { CopyFrom(from); return *this; } - inline DeleteRobotPartResponse& operator=(DeleteRobotPartResponse&& from) noexcept { + inline NewRobotPartResponse& operator=(NewRobotPartResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -16922,20 +17527,20 @@ class DeleteRobotPartResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteRobotPartResponse& default_instance() { + static const NewRobotPartResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteRobotPartResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteRobotPartResponse_default_instance_); + static inline const NewRobotPartResponse* internal_default_instance() { + return reinterpret_cast( + &_NewRobotPartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 95; + 102; - friend void swap(DeleteRobotPartResponse& a, DeleteRobotPartResponse& b) { + friend void swap(NewRobotPartResponse& a, NewRobotPartResponse& b) { a.Swap(&b); } - inline void Swap(DeleteRobotPartResponse* other) { + inline void Swap(NewRobotPartResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -16948,7 +17553,7 @@ class DeleteRobotPartResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteRobotPartResponse* other) { + void UnsafeArenaSwap(NewRobotPartResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -16956,26 +17561,38 @@ class DeleteRobotPartResponse final : // implements Message ---------------------------------------------- - DeleteRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const DeleteRobotPartResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const DeleteRobotPartResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + NewRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const NewRobotPartResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const NewRobotPartResponse& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(NewRobotPartResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteRobotPartResponse"; + return "viam.app.v1.NewRobotPartResponse"; } protected: - explicit DeleteRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit NewRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -16988,35 +17605,54 @@ class DeleteRobotPartResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotPartResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - friend struct ::TableStruct_app_2fv1_2fapp_2eproto; -}; -// ------------------------------------------------------------------- - -class Fragment final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.Fragment) */ { - public: - inline Fragment() : Fragment(nullptr) {} - ~Fragment() override; - explicit PROTOBUF_CONSTEXPR Fragment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + enum : int { + kPartIdFieldNumber = 1, + }; + // string part_id = 1 [json_name = "partId"]; + void clear_part_id(); + const std::string& part_id() const; + template + void set_part_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_part_id(); + PROTOBUF_NODISCARD std::string* release_part_id(); + void set_allocated_part_id(std::string* part_id); + private: + const std::string& _internal_part_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_part_id(const std::string& value); + std::string* _internal_mutable_part_id(); + public: - Fragment(const Fragment& from); - Fragment(Fragment&& from) noexcept - : Fragment() { + // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotPartResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr part_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteRobotPartRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotPartRequest) */ { + public: + inline DeleteRobotPartRequest() : DeleteRobotPartRequest(nullptr) {} + ~DeleteRobotPartRequest() override; + explicit PROTOBUF_CONSTEXPR DeleteRobotPartRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DeleteRobotPartRequest(const DeleteRobotPartRequest& from); + DeleteRobotPartRequest(DeleteRobotPartRequest&& from) noexcept + : DeleteRobotPartRequest() { *this = ::std::move(from); } - inline Fragment& operator=(const Fragment& from) { + inline DeleteRobotPartRequest& operator=(const DeleteRobotPartRequest& from) { CopyFrom(from); return *this; } - inline Fragment& operator=(Fragment&& from) noexcept { + inline DeleteRobotPartRequest& operator=(DeleteRobotPartRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -17039,20 +17675,20 @@ class Fragment final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const Fragment& default_instance() { + static const DeleteRobotPartRequest& default_instance() { return *internal_default_instance(); } - static inline const Fragment* internal_default_instance() { - return reinterpret_cast( - &_Fragment_default_instance_); + static inline const DeleteRobotPartRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteRobotPartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 96; + 103; - friend void swap(Fragment& a, Fragment& b) { + friend void swap(DeleteRobotPartRequest& a, DeleteRobotPartRequest& b) { a.Swap(&b); } - inline void Swap(Fragment* other) { + inline void Swap(DeleteRobotPartRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -17065,7 +17701,7 @@ class Fragment final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Fragment* other) { + void UnsafeArenaSwap(DeleteRobotPartRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -17073,13 +17709,13 @@ class Fragment final : // implements Message ---------------------------------------------- - Fragment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteRobotPartRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const Fragment& from); + void CopyFrom(const DeleteRobotPartRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const Fragment& from); + void MergeFrom(const DeleteRobotPartRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -17096,15 +17732,163 @@ class Fragment final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Fragment* other); + void InternalSwap(DeleteRobotPartRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.Fragment"; + return "viam.app.v1.DeleteRobotPartRequest"; } protected: - explicit Fragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteRobotPartRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPartIdFieldNumber = 1, + }; + // string part_id = 1 [json_name = "partId"]; + void clear_part_id(); + const std::string& part_id() const; + template + void set_part_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_part_id(); + PROTOBUF_NODISCARD std::string* release_part_id(); + void set_allocated_part_id(std::string* part_id); + private: + const std::string& _internal_part_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_part_id(const std::string& value); + std::string* _internal_mutable_part_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotPartRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr part_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class GetRobotPartMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartMetadataRequest) */ { + public: + inline GetRobotPartMetadataRequest() : GetRobotPartMetadataRequest(nullptr) {} + ~GetRobotPartMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GetRobotPartMetadataRequest(const GetRobotPartMetadataRequest& from); + GetRobotPartMetadataRequest(GetRobotPartMetadataRequest&& from) noexcept + : GetRobotPartMetadataRequest() { + *this = ::std::move(from); + } + + inline GetRobotPartMetadataRequest& operator=(const GetRobotPartMetadataRequest& from) { + CopyFrom(from); + return *this; + } + inline GetRobotPartMetadataRequest& operator=(GetRobotPartMetadataRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetRobotPartMetadataRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetRobotPartMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartMetadataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 104; + + friend void swap(GetRobotPartMetadataRequest& a, GetRobotPartMetadataRequest& b) { + a.Swap(&b); + } + inline void Swap(GetRobotPartMetadataRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRobotPartMetadataRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRobotPartMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetRobotPartMetadataRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetRobotPartMetadataRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetRobotPartMetadataRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.GetRobotPartMetadataRequest"; + } + protected: + explicit GetRobotPartMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -17119,20 +17903,8 @@ class Fragment final : enum : int { kIdFieldNumber = 1, - kNameFieldNumber = 2, - kOrganizationOwnerFieldNumber = 4, - kOrganizationNameFieldNumber = 7, - kRevisionFieldNumber = 14, - kFragmentFieldNumber = 3, - kCreatedOnFieldNumber = 6, - kLastUpdatedFieldNumber = 13, - kPublicFieldNumber = 5, - kOnlyUsedByOwnerFieldNumber = 11, - kRobotPartCountFieldNumber = 9, - kOrganizationCountFieldNumber = 10, - kVisibilityFieldNumber = 12, }; - // string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + // string id = 1 [json_name = "id"]; void clear_id(); const std::string& id() const; template @@ -17146,204 +17918,2231 @@ class Fragment final : std::string* _internal_mutable_id(); public: - // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartMetadataRequest) + private: + class _Internal; - // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; - void clear_organization_owner(); - const std::string& organization_owner() const; - template - void set_organization_owner(ArgT0&& arg0, ArgT... args); - std::string* mutable_organization_owner(); - PROTOBUF_NODISCARD std::string* release_organization_owner(); - void set_allocated_organization_owner(std::string* organization_owner); - private: - const std::string& _internal_organization_owner() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_owner(const std::string& value); - std::string* _internal_mutable_organization_owner(); - public: + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- - // string organization_name = 7 [json_name = "organizationName"]; - void clear_organization_name(); - const std::string& organization_name() const; - template - void set_organization_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_organization_name(); - PROTOBUF_NODISCARD std::string* release_organization_name(); - void set_allocated_organization_name(std::string* organization_name); - private: - const std::string& _internal_organization_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_name(const std::string& value); - std::string* _internal_mutable_organization_name(); - public: +class GetRobotPartMetadataResponse_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + GetRobotPartMetadataResponse_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR GetRobotPartMetadataResponse_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit GetRobotPartMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const GetRobotPartMetadataResponse_DataEntry_DoNotUse& other); + static const GetRobotPartMetadataResponse_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_GetRobotPartMetadataResponse_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.GetRobotPartMetadataResponse.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; - // string revision = 14 [json_name = "revision"]; - void clear_revision(); - const std::string& revision() const; - template - void set_revision(ArgT0&& arg0, ArgT... args); - std::string* mutable_revision(); - PROTOBUF_NODISCARD std::string* release_revision(); - void set_allocated_revision(std::string* revision); - private: - const std::string& _internal_revision() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); - std::string* _internal_mutable_revision(); - public: +// ------------------------------------------------------------------- - // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; - bool has_fragment() const; - private: - bool _internal_has_fragment() const; - public: - void clear_fragment(); - const ::PROTOBUF_NAMESPACE_ID::Struct& fragment() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_fragment(); - ::PROTOBUF_NAMESPACE_ID::Struct* mutable_fragment(); - void set_allocated_fragment(::PROTOBUF_NAMESPACE_ID::Struct* fragment); - private: - const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_fragment() const; - ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_fragment(); - public: - void unsafe_arena_set_allocated_fragment( - ::PROTOBUF_NAMESPACE_ID::Struct* fragment); - ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_fragment(); +class GetRobotPartMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotPartMetadataResponse) */ { + public: + inline GetRobotPartMetadataResponse() : GetRobotPartMetadataResponse(nullptr) {} + ~GetRobotPartMetadataResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotPartMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; - bool has_created_on() const; + GetRobotPartMetadataResponse(const GetRobotPartMetadataResponse& from); + GetRobotPartMetadataResponse(GetRobotPartMetadataResponse&& from) noexcept + : GetRobotPartMetadataResponse() { + *this = ::std::move(from); + } + + inline GetRobotPartMetadataResponse& operator=(const GetRobotPartMetadataResponse& from) { + CopyFrom(from); + return *this; + } + inline GetRobotPartMetadataResponse& operator=(GetRobotPartMetadataResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetRobotPartMetadataResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetRobotPartMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotPartMetadataResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 106; + + friend void swap(GetRobotPartMetadataResponse& a, GetRobotPartMetadataResponse& b) { + a.Swap(&b); + } + inline void Swap(GetRobotPartMetadataResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRobotPartMetadataResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRobotPartMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetRobotPartMetadataResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetRobotPartMetadataResponse& from); private: - bool _internal_has_created_on() const; + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: - void clear_created_on(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_created_on(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_created_on(); - void set_allocated_created_on(::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created_on() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created_on(); - public: - void unsafe_arena_set_allocated_created_on( - ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created_on(); + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetRobotPartMetadataResponse* other); - // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; - bool has_last_updated() const; private: - bool _internal_has_last_updated() const; - public: - void clear_last_updated(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& last_updated() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_last_updated(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_last_updated(); - void set_allocated_last_updated(::PROTOBUF_NAMESPACE_ID::Timestamp* last_updated); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.GetRobotPartMetadataResponse"; + } + protected: + explicit GetRobotPartMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_last_updated() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_last_updated(); + static void ArenaDtor(void* object); public: - void unsafe_arena_set_allocated_last_updated( - ::PROTOBUF_NAMESPACE_ID::Timestamp* last_updated); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_last_updated(); - // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; - void clear_public_(); - bool public_() const; - void set_public_(bool value); - private: - bool _internal_public_() const; - void _internal_set_public_(bool value); - public: + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; - void clear_only_used_by_owner(); - bool only_used_by_owner() const; - void set_only_used_by_owner(bool value); - private: - bool _internal_only_used_by_owner() const; - void _internal_set_only_used_by_owner(bool value); - public: + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - // int32 robot_part_count = 9 [json_name = "robotPartCount"]; - void clear_robot_part_count(); - int32_t robot_part_count() const; - void set_robot_part_count(int32_t value); - private: - int32_t _internal_robot_part_count() const; - void _internal_set_robot_part_count(int32_t value); - public: + // nested types ---------------------------------------------------- - // int32 organization_count = 10 [json_name = "organizationCount"]; - void clear_organization_count(); - int32_t organization_count() const; - void set_organization_count(int32_t value); + + // accessors ------------------------------------------------------- + + enum : int { + kDataFieldNumber = 1, + }; + // map data = 1 [json_name = "data"]; + int data_size() const; private: - int32_t _internal_organization_count() const; - void _internal_set_organization_count(int32_t value); + int _internal_data_size() const; public: - - // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; - void clear_visibility(); - ::viam::app::v1::FragmentVisibility visibility() const; - void set_visibility(::viam::app::v1::FragmentVisibility value); + void clear_data(); private: - ::viam::app::v1::FragmentVisibility _internal_visibility() const; - void _internal_set_visibility(::viam::app::v1::FragmentVisibility value); + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); public: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); - // @@protoc_insertion_point(class_scope:viam.app.v1.Fragment) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotPartMetadataResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_owner_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; - ::PROTOBUF_NAMESPACE_ID::Struct* fragment_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* last_updated_; - bool public__; - bool only_used_by_owner_; - int32_t robot_part_count_; - int32_t organization_count_; - int visibility_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + GetRobotPartMetadataResponse_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class UpdateRobotPartMetadataRequest_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + UpdateRobotPartMetadataRequest_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR UpdateRobotPartMetadataRequest_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit UpdateRobotPartMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const UpdateRobotPartMetadataRequest_DataEntry_DoNotUse& other); + static const UpdateRobotPartMetadataRequest_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_UpdateRobotPartMetadataRequest_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.UpdateRobotPartMetadataRequest.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; + +// ------------------------------------------------------------------- + +class UpdateRobotPartMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotPartMetadataRequest) */ { + public: + inline UpdateRobotPartMetadataRequest() : UpdateRobotPartMetadataRequest(nullptr) {} + ~UpdateRobotPartMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateRobotPartMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UpdateRobotPartMetadataRequest(const UpdateRobotPartMetadataRequest& from); + UpdateRobotPartMetadataRequest(UpdateRobotPartMetadataRequest&& from) noexcept + : UpdateRobotPartMetadataRequest() { + *this = ::std::move(from); + } + + inline UpdateRobotPartMetadataRequest& operator=(const UpdateRobotPartMetadataRequest& from) { + CopyFrom(from); + return *this; + } + inline UpdateRobotPartMetadataRequest& operator=(UpdateRobotPartMetadataRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateRobotPartMetadataRequest& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateRobotPartMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotPartMetadataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 108; + + friend void swap(UpdateRobotPartMetadataRequest& a, UpdateRobotPartMetadataRequest& b) { + a.Swap(&b); + } + inline void Swap(UpdateRobotPartMetadataRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateRobotPartMetadataRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateRobotPartMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const UpdateRobotPartMetadataRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const UpdateRobotPartMetadataRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(UpdateRobotPartMetadataRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.UpdateRobotPartMetadataRequest"; + } + protected: + explicit UpdateRobotPartMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + enum : int { + kDataFieldNumber = 2, + kIdFieldNumber = 1, + }; + // map data = 2 [json_name = "data"]; + int data_size() const; + private: + int _internal_data_size() const; + public: + void clear_data(); + private: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); + public: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); + + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); + 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: + + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotPartMetadataRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + UpdateRobotPartMetadataRequest_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class UpdateRobotPartMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotPartMetadataResponse) */ { + public: + inline UpdateRobotPartMetadataResponse() : UpdateRobotPartMetadataResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR UpdateRobotPartMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UpdateRobotPartMetadataResponse(const UpdateRobotPartMetadataResponse& from); + UpdateRobotPartMetadataResponse(UpdateRobotPartMetadataResponse&& from) noexcept + : UpdateRobotPartMetadataResponse() { + *this = ::std::move(from); + } + + inline UpdateRobotPartMetadataResponse& operator=(const UpdateRobotPartMetadataResponse& from) { + CopyFrom(from); + return *this; + } + inline UpdateRobotPartMetadataResponse& operator=(UpdateRobotPartMetadataResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateRobotPartMetadataResponse& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateRobotPartMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotPartMetadataResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 109; + + friend void swap(UpdateRobotPartMetadataResponse& a, UpdateRobotPartMetadataResponse& b) { + a.Swap(&b); + } + inline void Swap(UpdateRobotPartMetadataResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateRobotPartMetadataResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateRobotPartMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const UpdateRobotPartMetadataResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const UpdateRobotPartMetadataResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.UpdateRobotPartMetadataResponse"; + } + protected: + explicit UpdateRobotPartMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotPartMetadataResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class GetRobotAPIKeysRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotAPIKeysRequest) */ { + public: + inline GetRobotAPIKeysRequest() : GetRobotAPIKeysRequest(nullptr) {} + ~GetRobotAPIKeysRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotAPIKeysRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GetRobotAPIKeysRequest(const GetRobotAPIKeysRequest& from); + GetRobotAPIKeysRequest(GetRobotAPIKeysRequest&& from) noexcept + : GetRobotAPIKeysRequest() { + *this = ::std::move(from); + } + + inline GetRobotAPIKeysRequest& operator=(const GetRobotAPIKeysRequest& from) { + CopyFrom(from); + return *this; + } + inline GetRobotAPIKeysRequest& operator=(GetRobotAPIKeysRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetRobotAPIKeysRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetRobotAPIKeysRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotAPIKeysRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 110; + + friend void swap(GetRobotAPIKeysRequest& a, GetRobotAPIKeysRequest& b) { + a.Swap(&b); + } + inline void Swap(GetRobotAPIKeysRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRobotAPIKeysRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRobotAPIKeysRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetRobotAPIKeysRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetRobotAPIKeysRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetRobotAPIKeysRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.GetRobotAPIKeysRequest"; + } + protected: + explicit GetRobotAPIKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kRobotIdFieldNumber = 1, + }; + // string robot_id = 1 [json_name = "robotId"]; + void clear_robot_id(); + const std::string& robot_id() const; + template + void set_robot_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_robot_id(); + PROTOBUF_NODISCARD std::string* release_robot_id(); + void set_allocated_robot_id(std::string* robot_id); + private: + const std::string& _internal_robot_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_robot_id(const std::string& value); + std::string* _internal_mutable_robot_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotAPIKeysRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr robot_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class APIKey final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.APIKey) */ { + public: + inline APIKey() : APIKey(nullptr) {} + ~APIKey() override; + explicit PROTOBUF_CONSTEXPR APIKey(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + APIKey(const APIKey& from); + APIKey(APIKey&& from) noexcept + : APIKey() { + *this = ::std::move(from); + } + + inline APIKey& operator=(const APIKey& from) { + CopyFrom(from); + return *this; + } + inline APIKey& operator=(APIKey&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const APIKey& default_instance() { + return *internal_default_instance(); + } + static inline const APIKey* internal_default_instance() { + return reinterpret_cast( + &_APIKey_default_instance_); + } + static constexpr int kIndexInFileMessages = + 111; + + friend void swap(APIKey& a, APIKey& b) { + a.Swap(&b); + } + inline void Swap(APIKey* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(APIKey* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + APIKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const APIKey& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const APIKey& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(APIKey* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.APIKey"; + } + protected: + explicit APIKey(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIdFieldNumber = 1, + kKeyFieldNumber = 2, + kNameFieldNumber = 3, + kCreatedOnFieldNumber = 4, + }; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); + 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: + + // string key = 2 [json_name = "key"]; + void clear_key(); + const std::string& key() const; + template + void set_key(ArgT0&& arg0, ArgT... args); + std::string* mutable_key(); + PROTOBUF_NODISCARD std::string* release_key(); + void set_allocated_key(std::string* key); + private: + const std::string& _internal_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); + std::string* _internal_mutable_key(); + public: + + // string name = 3 [json_name = "name"]; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // .google.protobuf.Timestamp created_on = 4 [json_name = "createdOn"]; + bool has_created_on() const; + private: + bool _internal_has_created_on() const; + public: + void clear_created_on(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_created_on(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_created_on(); + void set_allocated_created_on(::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created_on() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created_on(); + public: + void unsafe_arena_set_allocated_created_on( + ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created_on(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.APIKey) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class GetRobotAPIKeysResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotAPIKeysResponse) */ { + public: + inline GetRobotAPIKeysResponse() : GetRobotAPIKeysResponse(nullptr) {} + ~GetRobotAPIKeysResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotAPIKeysResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GetRobotAPIKeysResponse(const GetRobotAPIKeysResponse& from); + GetRobotAPIKeysResponse(GetRobotAPIKeysResponse&& from) noexcept + : GetRobotAPIKeysResponse() { + *this = ::std::move(from); + } + + inline GetRobotAPIKeysResponse& operator=(const GetRobotAPIKeysResponse& from) { + CopyFrom(from); + return *this; + } + inline GetRobotAPIKeysResponse& operator=(GetRobotAPIKeysResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetRobotAPIKeysResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetRobotAPIKeysResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotAPIKeysResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 112; + + 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 (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRobotAPIKeysResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRobotAPIKeysResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetRobotAPIKeysResponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetRobotAPIKeysResponse& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetRobotAPIKeysResponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.GetRobotAPIKeysResponse"; + } + protected: + explicit GetRobotAPIKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + 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); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >* + mutable_api_keys(); + private: + const ::viam::app::v1::APIKeyWithAuthorizations& _internal_api_keys(int index) const; + ::viam::app::v1::APIKeyWithAuthorizations* _internal_add_api_keys(); + public: + const ::viam::app::v1::APIKeyWithAuthorizations& api_keys(int index) const; + ::viam::app::v1::APIKeyWithAuthorizations* add_api_keys(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations >& + api_keys() const; + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotAPIKeysResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::APIKeyWithAuthorizations > api_keys_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteRobotPartResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotPartResponse) */ { + public: + inline DeleteRobotPartResponse() : DeleteRobotPartResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR DeleteRobotPartResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DeleteRobotPartResponse(const DeleteRobotPartResponse& from); + DeleteRobotPartResponse(DeleteRobotPartResponse&& from) noexcept + : DeleteRobotPartResponse() { + *this = ::std::move(from); + } + + inline DeleteRobotPartResponse& operator=(const DeleteRobotPartResponse& from) { + CopyFrom(from); + return *this; + } + inline DeleteRobotPartResponse& operator=(DeleteRobotPartResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DeleteRobotPartResponse& default_instance() { + return *internal_default_instance(); + } + static inline const DeleteRobotPartResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteRobotPartResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 113; + + friend void swap(DeleteRobotPartResponse& a, DeleteRobotPartResponse& b) { + a.Swap(&b); + } + inline void Swap(DeleteRobotPartResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DeleteRobotPartResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DeleteRobotPartResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const DeleteRobotPartResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const DeleteRobotPartResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.DeleteRobotPartResponse"; + } + protected: + explicit DeleteRobotPartResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotPartResponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class Fragment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.Fragment) */ { + public: + inline Fragment() : Fragment(nullptr) {} + ~Fragment() override; + explicit PROTOBUF_CONSTEXPR Fragment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Fragment(const Fragment& from); + Fragment(Fragment&& from) noexcept + : Fragment() { + *this = ::std::move(from); + } + + inline Fragment& operator=(const Fragment& from) { + CopyFrom(from); + return *this; + } + inline Fragment& operator=(Fragment&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Fragment& default_instance() { + return *internal_default_instance(); + } + static inline const Fragment* internal_default_instance() { + return reinterpret_cast( + &_Fragment_default_instance_); + } + static constexpr int kIndexInFileMessages = + 114; + + friend void swap(Fragment& a, Fragment& b) { + a.Swap(&b); + } + inline void Swap(Fragment* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Fragment* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Fragment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Fragment& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const Fragment& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Fragment* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.Fragment"; + } + protected: + explicit Fragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIdFieldNumber = 1, + kNameFieldNumber = 2, + kOrganizationOwnerFieldNumber = 4, + kOrganizationNameFieldNumber = 7, + kRevisionFieldNumber = 14, + kFragmentFieldNumber = 3, + kCreatedOnFieldNumber = 6, + kLastUpdatedFieldNumber = 13, + kPublicFieldNumber = 5, + kOnlyUsedByOwnerFieldNumber = 11, + kRobotPartCountFieldNumber = 9, + kOrganizationCountFieldNumber = 10, + kVisibilityFieldNumber = 12, + }; + // string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); + 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: + + // string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""]; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // string organization_owner = 4 [json_name = "organizationOwner", (.tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""]; + void clear_organization_owner(); + const std::string& organization_owner() const; + template + void set_organization_owner(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_owner(); + PROTOBUF_NODISCARD std::string* release_organization_owner(); + void set_allocated_organization_owner(std::string* organization_owner); + private: + const std::string& _internal_organization_owner() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_owner(const std::string& value); + std::string* _internal_mutable_organization_owner(); + public: + + // string organization_name = 7 [json_name = "organizationName"]; + void clear_organization_name(); + const std::string& organization_name() const; + template + void set_organization_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_name(); + PROTOBUF_NODISCARD std::string* release_organization_name(); + void set_allocated_organization_name(std::string* organization_name); + private: + const std::string& _internal_organization_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization_name(const std::string& value); + std::string* _internal_mutable_organization_name(); + public: + + // string revision = 14 [json_name = "revision"]; + void clear_revision(); + const std::string& revision() const; + template + void set_revision(ArgT0&& arg0, ArgT... args); + std::string* mutable_revision(); + PROTOBUF_NODISCARD std::string* release_revision(); + void set_allocated_revision(std::string* revision); + private: + const std::string& _internal_revision() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); + std::string* _internal_mutable_revision(); + public: + + // .google.protobuf.Struct fragment = 3 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + bool has_fragment() const; + private: + bool _internal_has_fragment() const; + public: + void clear_fragment(); + const ::PROTOBUF_NAMESPACE_ID::Struct& fragment() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_fragment(); + ::PROTOBUF_NAMESPACE_ID::Struct* mutable_fragment(); + void set_allocated_fragment(::PROTOBUF_NAMESPACE_ID::Struct* fragment); + private: + const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_fragment() const; + ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_fragment(); + public: + void unsafe_arena_set_allocated_fragment( + ::PROTOBUF_NAMESPACE_ID::Struct* fragment); + ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_fragment(); + + // .google.protobuf.Timestamp created_on = 6 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; + bool has_created_on() const; + private: + bool _internal_has_created_on() const; + public: + void clear_created_on(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_on() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_created_on(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_created_on(); + void set_allocated_created_on(::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created_on() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created_on(); + public: + void unsafe_arena_set_allocated_created_on( + ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created_on(); + + // .google.protobuf.Timestamp last_updated = 13 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""]; + bool has_last_updated() const; + private: + bool _internal_has_last_updated() const; + public: + void clear_last_updated(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& last_updated() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_last_updated(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_last_updated(); + void set_allocated_last_updated(::PROTOBUF_NAMESPACE_ID::Timestamp* last_updated); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_last_updated() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_last_updated(); + public: + void unsafe_arena_set_allocated_last_updated( + ::PROTOBUF_NAMESPACE_ID::Timestamp* last_updated); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_last_updated(); + + // bool public = 5 [json_name = "public", (.tagger.v1.tags) = "bson:\"public\" json:\"public\""]; + void clear_public_(); + bool public_() const; + void set_public_(bool value); + private: + bool _internal_public_() const; + void _internal_set_public_(bool value); + public: + + // bool only_used_by_owner = 11 [json_name = "onlyUsedByOwner"]; + void clear_only_used_by_owner(); + bool only_used_by_owner() const; + void set_only_used_by_owner(bool value); + private: + bool _internal_only_used_by_owner() const; + void _internal_set_only_used_by_owner(bool value); + public: + + // int32 robot_part_count = 9 [json_name = "robotPartCount"]; + void clear_robot_part_count(); + int32_t robot_part_count() const; + void set_robot_part_count(int32_t value); + private: + int32_t _internal_robot_part_count() const; + void _internal_set_robot_part_count(int32_t value); + public: + + // int32 organization_count = 10 [json_name = "organizationCount"]; + void clear_organization_count(); + int32_t organization_count() const; + void set_organization_count(int32_t value); + private: + int32_t _internal_organization_count() const; + void _internal_set_organization_count(int32_t value); + public: + + // .viam.app.v1.FragmentVisibility visibility = 12 [json_name = "visibility"]; + void clear_visibility(); + ::viam::app::v1::FragmentVisibility visibility() const; + void set_visibility(::viam::app::v1::FragmentVisibility value); + private: + ::viam::app::v1::FragmentVisibility _internal_visibility() const; + void _internal_set_visibility(::viam::app::v1::FragmentVisibility value); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.Fragment) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_owner_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + ::PROTOBUF_NAMESPACE_ID::Struct* fragment_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* created_on_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* last_updated_; + bool public__; + bool only_used_by_owner_; + int32_t robot_part_count_; + int32_t organization_count_; + int visibility_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class FragmentHistoryEntry final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentHistoryEntry) */ { + public: + inline FragmentHistoryEntry() : FragmentHistoryEntry(nullptr) {} + ~FragmentHistoryEntry() override; + explicit PROTOBUF_CONSTEXPR FragmentHistoryEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + FragmentHistoryEntry(const FragmentHistoryEntry& from); + FragmentHistoryEntry(FragmentHistoryEntry&& from) noexcept + : FragmentHistoryEntry() { + *this = ::std::move(from); + } + + inline FragmentHistoryEntry& operator=(const FragmentHistoryEntry& from) { + CopyFrom(from); + return *this; + } + inline FragmentHistoryEntry& operator=(FragmentHistoryEntry&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FragmentHistoryEntry& default_instance() { + return *internal_default_instance(); + } + static inline const FragmentHistoryEntry* internal_default_instance() { + return reinterpret_cast( + &_FragmentHistoryEntry_default_instance_); + } + static constexpr int kIndexInFileMessages = + 115; + + friend void swap(FragmentHistoryEntry& a, FragmentHistoryEntry& b) { + a.Swap(&b); + } + inline void Swap(FragmentHistoryEntry* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FragmentHistoryEntry* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FragmentHistoryEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const FragmentHistoryEntry& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const FragmentHistoryEntry& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FragmentHistoryEntry* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.FragmentHistoryEntry"; + } + protected: + explicit FragmentHistoryEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kFragmentFieldNumber = 1, + kRevisionFieldNumber = 5, + kEditedOnFieldNumber = 2, + kOldFieldNumber = 3, + kEditedByFieldNumber = 4, + kConfigFieldNumber = 6, + }; + // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; + void clear_fragment(); + const std::string& fragment() const; + template + void set_fragment(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment(); + PROTOBUF_NODISCARD std::string* release_fragment(); + void set_allocated_fragment(std::string* fragment); + private: + const std::string& _internal_fragment() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment(const std::string& value); + std::string* _internal_mutable_fragment(); + public: + + // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; + void clear_revision(); + const std::string& revision() const; + template + void set_revision(ArgT0&& arg0, ArgT... args); + std::string* mutable_revision(); + PROTOBUF_NODISCARD std::string* release_revision(); + void set_allocated_revision(std::string* revision); + private: + const std::string& _internal_revision() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); + std::string* _internal_mutable_revision(); + public: + + // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; + bool has_edited_on() const; + private: + bool _internal_has_edited_on() const; + public: + void clear_edited_on(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& edited_on() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_edited_on(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_edited_on(); + void set_allocated_edited_on(::PROTOBUF_NAMESPACE_ID::Timestamp* edited_on); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_edited_on() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_edited_on(); + public: + void unsafe_arena_set_allocated_edited_on( + ::PROTOBUF_NAMESPACE_ID::Timestamp* edited_on); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_edited_on(); + + // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; + bool has_old() const; + private: + bool _internal_has_old() const; + public: + 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* old); + private: + const ::viam::app::v1::Fragment& _internal_old() const; + ::viam::app::v1::Fragment* _internal_mutable_old(); + public: + void unsafe_arena_set_allocated_old( + ::viam::app::v1::Fragment* old); + ::viam::app::v1::Fragment* unsafe_arena_release_old(); + + // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; + bool has_edited_by() const; + private: + bool _internal_has_edited_by() const; + public: + 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* edited_by); + private: + const ::viam::app::v1::AuthenticatorInfo& _internal_edited_by() const; + ::viam::app::v1::AuthenticatorInfo* _internal_mutable_edited_by(); + public: + void unsafe_arena_set_allocated_edited_by( + ::viam::app::v1::AuthenticatorInfo* edited_by); + ::viam::app::v1::AuthenticatorInfo* unsafe_arena_release_edited_by(); + + // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; + bool has_config() const; + private: + bool _internal_has_config() const; + public: + void clear_config(); + const ::PROTOBUF_NAMESPACE_ID::Struct& config() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_config(); + ::PROTOBUF_NAMESPACE_ID::Struct* mutable_config(); + void set_allocated_config(::PROTOBUF_NAMESPACE_ID::Struct* config); + private: + const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_config() const; + ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_config(); + public: + void unsafe_arena_set_allocated_config( + ::PROTOBUF_NAMESPACE_ID::Struct* config); + ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_config(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentHistoryEntry) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* edited_on_; + ::viam::app::v1::Fragment* old_; + ::viam::app::v1::AuthenticatorInfo* edited_by_; + ::PROTOBUF_NAMESPACE_ID::Struct* config_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class FragmentRevision final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentRevision) */ { + public: + inline FragmentRevision() : FragmentRevision(nullptr) {} + ~FragmentRevision() override; + explicit PROTOBUF_CONSTEXPR FragmentRevision(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + FragmentRevision(const FragmentRevision& from); + FragmentRevision(FragmentRevision&& from) noexcept + : FragmentRevision() { + *this = ::std::move(from); + } + + inline FragmentRevision& operator=(const FragmentRevision& from) { + CopyFrom(from); + return *this; + } + inline FragmentRevision& operator=(FragmentRevision&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FragmentRevision& default_instance() { + return *internal_default_instance(); + } + static inline const FragmentRevision* internal_default_instance() { + return reinterpret_cast( + &_FragmentRevision_default_instance_); + } + static constexpr int kIndexInFileMessages = + 116; + + friend void swap(FragmentRevision& a, FragmentRevision& b) { + a.Swap(&b); + } + inline void Swap(FragmentRevision* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FragmentRevision* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FragmentRevision* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const FragmentRevision& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const FragmentRevision& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FragmentRevision* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.FragmentRevision"; + } + protected: + explicit FragmentRevision(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kRevisionFieldNumber = 1, + kCreatedAtFieldNumber = 2, + }; + // string revision = 1 [json_name = "revision"]; + void clear_revision(); + const std::string& revision() const; + template + void set_revision(ArgT0&& arg0, ArgT... args); + std::string* mutable_revision(); + PROTOBUF_NODISCARD std::string* release_revision(); + void set_allocated_revision(std::string* revision); + private: + const std::string& _internal_revision() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); + std::string* _internal_mutable_revision(); + public: + + // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; + bool has_created_at() const; + private: + bool _internal_has_created_at() const; + public: + void clear_created_at(); + const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_at() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_created_at(); + ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_created_at(); + void set_allocated_created_at(::PROTOBUF_NAMESPACE_ID::Timestamp* created_at); + private: + const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created_at() const; + ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created_at(); + public: + void unsafe_arena_set_allocated_created_at( + ::PROTOBUF_NAMESPACE_ID::Timestamp* created_at); + ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created_at(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentRevision) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + ::PROTOBUF_NAMESPACE_ID::Timestamp* created_at_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class FragmentTag final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentTag) */ { + public: + inline FragmentTag() : FragmentTag(nullptr) {} + ~FragmentTag() override; + explicit PROTOBUF_CONSTEXPR FragmentTag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + FragmentTag(const FragmentTag& from); + FragmentTag(FragmentTag&& from) noexcept + : FragmentTag() { + *this = ::std::move(from); + } + + inline FragmentTag& operator=(const FragmentTag& from) { + CopyFrom(from); + return *this; + } + inline FragmentTag& operator=(FragmentTag&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FragmentTag& default_instance() { + return *internal_default_instance(); + } + static inline const FragmentTag* internal_default_instance() { + return reinterpret_cast( + &_FragmentTag_default_instance_); + } + static constexpr int kIndexInFileMessages = + 117; + + friend void swap(FragmentTag& a, FragmentTag& b) { + a.Swap(&b); + } + inline void Swap(FragmentTag* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FragmentTag* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FragmentTag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const FragmentTag& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const FragmentTag& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FragmentTag* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.FragmentTag"; + } + protected: + explicit FragmentTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTagFieldNumber = 1, + kRevisionFieldNumber = 2, + }; + // string tag = 1 [json_name = "tag"]; + void clear_tag(); + const std::string& tag() const; + template + void set_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tag(); + PROTOBUF_NODISCARD std::string* release_tag(); + void set_allocated_tag(std::string* tag); + private: + const std::string& _internal_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); + std::string* _internal_mutable_tag(); + public: + + // string revision = 2 [json_name = "revision"]; + void clear_revision(); + const std::string& revision() const; + template + void set_revision(ArgT0&& arg0, ArgT... args); + std::string* mutable_revision(); + PROTOBUF_NODISCARD std::string* release_revision(); + void set_allocated_revision(std::string* revision); + private: + const std::string& _internal_revision() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); + std::string* _internal_mutable_revision(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentTag) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- + +class FragmentError final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentError) */ { + public: + inline FragmentError() : FragmentError(nullptr) {} + ~FragmentError() override; + explicit PROTOBUF_CONSTEXPR FragmentError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + FragmentError(const FragmentError& from); + FragmentError(FragmentError&& from) noexcept + : FragmentError() { + *this = ::std::move(from); + } + + inline FragmentError& operator=(const FragmentError& from) { + CopyFrom(from); + return *this; + } + inline FragmentError& operator=(FragmentError&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FragmentError& default_instance() { + return *internal_default_instance(); + } + static inline const FragmentError* internal_default_instance() { + return reinterpret_cast( + &_FragmentError_default_instance_); + } + static constexpr int kIndexInFileMessages = + 118; + + friend void swap(FragmentError& a, FragmentError& b) { + a.Swap(&b); + } + inline void Swap(FragmentError* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FragmentError* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FragmentError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const FragmentError& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const FragmentError& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FragmentError* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.FragmentError"; + } + protected: + explicit FragmentError(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kFragmentIdFieldNumber = 2, + kDetailFieldNumber = 3, + kErrorTypeFieldNumber = 1, + }; + // string fragment_id = 2 [json_name = "fragmentId"]; + void clear_fragment_id(); + const std::string& fragment_id() const; + template + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); + private: + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); + public: + + // string detail = 3 [json_name = "detail"]; + void clear_detail(); + const std::string& detail() const; + template + void set_detail(ArgT0&& arg0, ArgT... args); + std::string* mutable_detail(); + PROTOBUF_NODISCARD std::string* release_detail(); + void set_allocated_detail(std::string* detail); + private: + const std::string& _internal_detail() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_detail(const std::string& value); + std::string* _internal_mutable_detail(); + public: + + // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; + void clear_error_type(); + ::viam::app::v1::FragmentErrorType error_type() const; + void set_error_type(::viam::app::v1::FragmentErrorType value); + private: + ::viam::app::v1::FragmentErrorType _internal_error_type() const; + void _internal_set_error_type(::viam::app::v1::FragmentErrorType value); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentError) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr detail_; + int error_type_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class FragmentHistoryEntry final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentHistoryEntry) */ { +class FragmentUsage final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentUsage) */ { public: - inline FragmentHistoryEntry() : FragmentHistoryEntry(nullptr) {} - ~FragmentHistoryEntry() override; - explicit PROTOBUF_CONSTEXPR FragmentHistoryEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline FragmentUsage() : FragmentUsage(nullptr) {} + ~FragmentUsage() override; + explicit PROTOBUF_CONSTEXPR FragmentUsage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - FragmentHistoryEntry(const FragmentHistoryEntry& from); - FragmentHistoryEntry(FragmentHistoryEntry&& from) noexcept - : FragmentHistoryEntry() { + FragmentUsage(const FragmentUsage& from); + FragmentUsage(FragmentUsage&& from) noexcept + : FragmentUsage() { *this = ::std::move(from); } - inline FragmentHistoryEntry& operator=(const FragmentHistoryEntry& from) { + inline FragmentUsage& operator=(const FragmentUsage& from) { CopyFrom(from); return *this; } - inline FragmentHistoryEntry& operator=(FragmentHistoryEntry&& from) noexcept { + inline FragmentUsage& operator=(FragmentUsage&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -17366,20 +20165,20 @@ class FragmentHistoryEntry final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const FragmentHistoryEntry& default_instance() { + static const FragmentUsage& default_instance() { return *internal_default_instance(); } - static inline const FragmentHistoryEntry* internal_default_instance() { - return reinterpret_cast( - &_FragmentHistoryEntry_default_instance_); + static inline const FragmentUsage* internal_default_instance() { + return reinterpret_cast( + &_FragmentUsage_default_instance_); } static constexpr int kIndexInFileMessages = - 97; + 119; - friend void swap(FragmentHistoryEntry& a, FragmentHistoryEntry& b) { + friend void swap(FragmentUsage& a, FragmentUsage& b) { a.Swap(&b); } - inline void Swap(FragmentHistoryEntry* other) { + inline void Swap(FragmentUsage* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -17392,7 +20191,7 @@ class FragmentHistoryEntry final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(FragmentHistoryEntry* other) { + void UnsafeArenaSwap(FragmentUsage* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -17400,13 +20199,13 @@ class FragmentHistoryEntry final : // implements Message ---------------------------------------------- - FragmentHistoryEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + FragmentUsage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FragmentHistoryEntry& from); + void CopyFrom(const FragmentUsage& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FragmentHistoryEntry& from); + void MergeFrom(const FragmentUsage& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -17423,15 +20222,15 @@ class FragmentHistoryEntry final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(FragmentHistoryEntry* other); + void InternalSwap(FragmentUsage* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.FragmentHistoryEntry"; + return "viam.app.v1.FragmentUsage"; } protected: - explicit FragmentHistoryEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit FragmentUsage(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -17445,149 +20244,107 @@ class FragmentHistoryEntry final : // accessors ------------------------------------------------------- enum : int { - kFragmentFieldNumber = 1, - kRevisionFieldNumber = 5, - kEditedOnFieldNumber = 2, - kOldFieldNumber = 3, - kEditedByFieldNumber = 4, - kConfigFieldNumber = 6, + kFragmentIdFieldNumber = 1, + kVersionFieldNumber = 5, + kOrganizationsFieldNumber = 2, + kMachinesFieldNumber = 3, + kMachinesInCurrentOrgFieldNumber = 4, }; - // string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""]; - void clear_fragment(); - const std::string& fragment() const; - template - void set_fragment(ArgT0&& arg0, ArgT... args); - std::string* mutable_fragment(); - PROTOBUF_NODISCARD std::string* release_fragment(); - void set_allocated_fragment(std::string* fragment); - private: - const std::string& _internal_fragment() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment(const std::string& value); - std::string* _internal_mutable_fragment(); - public: - - // string revision = 5 [json_name = "revision", (.tagger.v1.tags) = "bson:\"revision\" json:\"revision\""]; - void clear_revision(); - const std::string& revision() const; + // string fragment_id = 1 [json_name = "fragmentId"]; + void clear_fragment_id(); + const std::string& fragment_id() const; template - void set_revision(ArgT0&& arg0, ArgT... args); - std::string* mutable_revision(); - PROTOBUF_NODISCARD std::string* release_revision(); - void set_allocated_revision(std::string* revision); + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); private: - const std::string& _internal_revision() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); - std::string* _internal_mutable_revision(); + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); public: - // .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""]; - bool has_edited_on() const; + // optional string version = 5 [json_name = "version"]; + bool has_version() const; private: - bool _internal_has_edited_on() const; + bool _internal_has_version() const; public: - void clear_edited_on(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& edited_on() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_edited_on(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_edited_on(); - void set_allocated_edited_on(::PROTOBUF_NAMESPACE_ID::Timestamp* edited_on); + void clear_version(); + const std::string& version() const; + template + void set_version(ArgT0&& arg0, ArgT... args); + std::string* mutable_version(); + PROTOBUF_NODISCARD std::string* release_version(); + void set_allocated_version(std::string* version); private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_edited_on() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_edited_on(); + const std::string& _internal_version() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); + std::string* _internal_mutable_version(); public: - void unsafe_arena_set_allocated_edited_on( - ::PROTOBUF_NAMESPACE_ID::Timestamp* edited_on); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_edited_on(); - // .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""]; - bool has_old() const; - private: - bool _internal_has_old() const; - public: - 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* old); + // int32 organizations = 2 [json_name = "organizations"]; + void clear_organizations(); + int32_t organizations() const; + void set_organizations(int32_t value); private: - const ::viam::app::v1::Fragment& _internal_old() const; - ::viam::app::v1::Fragment* _internal_mutable_old(); + int32_t _internal_organizations() const; + void _internal_set_organizations(int32_t value); public: - void unsafe_arena_set_allocated_old( - ::viam::app::v1::Fragment* old); - ::viam::app::v1::Fragment* unsafe_arena_release_old(); - // .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""]; - bool has_edited_by() const; - private: - bool _internal_has_edited_by() const; - public: - 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* edited_by); + // int32 machines = 3 [json_name = "machines"]; + void clear_machines(); + int32_t machines() const; + void set_machines(int32_t value); private: - const ::viam::app::v1::AuthenticatorInfo& _internal_edited_by() const; - ::viam::app::v1::AuthenticatorInfo* _internal_mutable_edited_by(); + int32_t _internal_machines() const; + void _internal_set_machines(int32_t value); public: - void unsafe_arena_set_allocated_edited_by( - ::viam::app::v1::AuthenticatorInfo* edited_by); - ::viam::app::v1::AuthenticatorInfo* unsafe_arena_release_edited_by(); - // .google.protobuf.Struct config = 6 [json_name = "config", (.tagger.v1.tags) = "bson:\"config\" json:\"config\""]; - bool has_config() const; - private: - bool _internal_has_config() const; - public: - void clear_config(); - const ::PROTOBUF_NAMESPACE_ID::Struct& config() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_config(); - ::PROTOBUF_NAMESPACE_ID::Struct* mutable_config(); - void set_allocated_config(::PROTOBUF_NAMESPACE_ID::Struct* config); + // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; + void clear_machines_in_current_org(); + int32_t machines_in_current_org() const; + void set_machines_in_current_org(int32_t value); private: - const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_config() const; - ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_config(); + int32_t _internal_machines_in_current_org() const; + void _internal_set_machines_in_current_org(int32_t value); public: - void unsafe_arena_set_allocated_config( - ::PROTOBUF_NAMESPACE_ID::Struct* config); - ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_config(); - // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentHistoryEntry) + // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentUsage) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* edited_on_; - ::viam::app::v1::Fragment* old_; - ::viam::app::v1::AuthenticatorInfo* edited_by_; - ::PROTOBUF_NAMESPACE_ID::Struct* config_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; + int32_t organizations_; + int32_t machines_; + int32_t machines_in_current_org_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class FragmentRevision final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentRevision) */ { +class ResolvedFragment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ResolvedFragment) */ { public: - inline FragmentRevision() : FragmentRevision(nullptr) {} - ~FragmentRevision() override; - explicit PROTOBUF_CONSTEXPR FragmentRevision(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ResolvedFragment() : ResolvedFragment(nullptr) {} + ~ResolvedFragment() override; + explicit PROTOBUF_CONSTEXPR ResolvedFragment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - FragmentRevision(const FragmentRevision& from); - FragmentRevision(FragmentRevision&& from) noexcept - : FragmentRevision() { + ResolvedFragment(const ResolvedFragment& from); + ResolvedFragment(ResolvedFragment&& from) noexcept + : ResolvedFragment() { *this = ::std::move(from); } - inline FragmentRevision& operator=(const FragmentRevision& from) { + inline ResolvedFragment& operator=(const ResolvedFragment& from) { CopyFrom(from); return *this; } - inline FragmentRevision& operator=(FragmentRevision&& from) noexcept { + inline ResolvedFragment& operator=(ResolvedFragment&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -17610,20 +20367,20 @@ class FragmentRevision final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const FragmentRevision& default_instance() { + static const ResolvedFragment& default_instance() { return *internal_default_instance(); } - static inline const FragmentRevision* internal_default_instance() { - return reinterpret_cast( - &_FragmentRevision_default_instance_); + static inline const ResolvedFragment* internal_default_instance() { + return reinterpret_cast( + &_ResolvedFragment_default_instance_); } static constexpr int kIndexInFileMessages = - 98; + 120; - friend void swap(FragmentRevision& a, FragmentRevision& b) { + friend void swap(ResolvedFragment& a, ResolvedFragment& b) { a.Swap(&b); } - inline void Swap(FragmentRevision* other) { + inline void Swap(ResolvedFragment* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -17636,7 +20393,7 @@ class FragmentRevision final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(FragmentRevision* other) { + void UnsafeArenaSwap(ResolvedFragment* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -17644,13 +20401,13 @@ class FragmentRevision final : // implements Message ---------------------------------------------- - FragmentRevision* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ResolvedFragment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FragmentRevision& from); + void CopyFrom(const ResolvedFragment& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FragmentRevision& from); + void MergeFrom(const ResolvedFragment& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -17667,15 +20424,15 @@ class FragmentRevision final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(FragmentRevision* other); + void InternalSwap(ResolvedFragment* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.FragmentRevision"; + return "viam.app.v1.ResolvedFragment"; } protected: - explicit FragmentRevision(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ResolvedFragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -17689,10 +20446,26 @@ class FragmentRevision final : // accessors ------------------------------------------------------- enum : int { - kRevisionFieldNumber = 1, - kCreatedAtFieldNumber = 2, + kFragmentIdFieldNumber = 1, + kRevisionFieldNumber = 4, + kResolvedConfigFieldNumber = 2, + kErrorFieldNumber = 3, }; - // string revision = 1 [json_name = "revision"]; + // string fragment_id = 1 [json_name = "fragmentId"]; + void clear_fragment_id(); + const std::string& fragment_id() const; + template + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); + private: + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); + public: + + // string revision = 4 [json_name = "revision"]; void clear_revision(); const std::string& revision() const; template @@ -17706,56 +20479,76 @@ class FragmentRevision final : std::string* _internal_mutable_revision(); public: - // .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"]; - bool has_created_at() const; + // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; + bool has_resolved_config() const; private: - bool _internal_has_created_at() const; + bool _internal_has_resolved_config() const; public: - void clear_created_at(); - const ::PROTOBUF_NAMESPACE_ID::Timestamp& created_at() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_created_at(); - ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_created_at(); - void set_allocated_created_at(::PROTOBUF_NAMESPACE_ID::Timestamp* created_at); + void clear_resolved_config(); + const ::PROTOBUF_NAMESPACE_ID::Struct& resolved_config() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_resolved_config(); + ::PROTOBUF_NAMESPACE_ID::Struct* mutable_resolved_config(); + void set_allocated_resolved_config(::PROTOBUF_NAMESPACE_ID::Struct* resolved_config); private: - const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_created_at() const; - ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_created_at(); + const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_resolved_config() const; + ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_resolved_config(); public: - void unsafe_arena_set_allocated_created_at( - ::PROTOBUF_NAMESPACE_ID::Timestamp* created_at); - ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_created_at(); + void unsafe_arena_set_allocated_resolved_config( + ::PROTOBUF_NAMESPACE_ID::Struct* resolved_config); + ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_resolved_config(); - // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentRevision) + // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; + bool has_error() const; + private: + bool _internal_has_error() const; + public: + void clear_error(); + const ::viam::app::v1::FragmentError& error() const; + PROTOBUF_NODISCARD ::viam::app::v1::FragmentError* release_error(); + ::viam::app::v1::FragmentError* mutable_error(); + void set_allocated_error(::viam::app::v1::FragmentError* error); + private: + const ::viam::app::v1::FragmentError& _internal_error() const; + ::viam::app::v1::FragmentError* _internal_mutable_error(); + public: + void unsafe_arena_set_allocated_error( + ::viam::app::v1::FragmentError* error); + ::viam::app::v1::FragmentError* unsafe_arena_release_error(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.ResolvedFragment) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; - ::PROTOBUF_NAMESPACE_ID::Timestamp* created_at_; + ::PROTOBUF_NAMESPACE_ID::Struct* resolved_config_; + ::viam::app::v1::FragmentError* error_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class FragmentTag final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentTag) */ { +class ListFragmentsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListFragmentsRequest) */ { public: - inline FragmentTag() : FragmentTag(nullptr) {} - ~FragmentTag() override; - explicit PROTOBUF_CONSTEXPR FragmentTag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListFragmentsRequest() : ListFragmentsRequest(nullptr) {} + ~ListFragmentsRequest() override; + explicit PROTOBUF_CONSTEXPR ListFragmentsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - FragmentTag(const FragmentTag& from); - FragmentTag(FragmentTag&& from) noexcept - : FragmentTag() { + ListFragmentsRequest(const ListFragmentsRequest& from); + ListFragmentsRequest(ListFragmentsRequest&& from) noexcept + : ListFragmentsRequest() { *this = ::std::move(from); } - inline FragmentTag& operator=(const FragmentTag& from) { + inline ListFragmentsRequest& operator=(const ListFragmentsRequest& from) { CopyFrom(from); return *this; } - inline FragmentTag& operator=(FragmentTag&& from) noexcept { + inline ListFragmentsRequest& operator=(ListFragmentsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -17778,20 +20571,20 @@ class FragmentTag final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const FragmentTag& default_instance() { + static const ListFragmentsRequest& default_instance() { return *internal_default_instance(); } - static inline const FragmentTag* internal_default_instance() { - return reinterpret_cast( - &_FragmentTag_default_instance_); + static inline const ListFragmentsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListFragmentsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 99; + 121; - friend void swap(FragmentTag& a, FragmentTag& b) { + friend void swap(ListFragmentsRequest& a, ListFragmentsRequest& b) { a.Swap(&b); } - inline void Swap(FragmentTag* other) { + inline void Swap(ListFragmentsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -17804,7 +20597,7 @@ class FragmentTag final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(FragmentTag* other) { + void UnsafeArenaSwap(ListFragmentsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -17812,13 +20605,13 @@ class FragmentTag final : // implements Message ---------------------------------------------- - FragmentTag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListFragmentsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FragmentTag& from); + void CopyFrom(const ListFragmentsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FragmentTag& from); + void MergeFrom(const ListFragmentsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -17835,15 +20628,15 @@ class FragmentTag final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(FragmentTag* other); + void InternalSwap(ListFragmentsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.FragmentTag"; + return "viam.app.v1.ListFragmentsRequest"; } protected: - explicit FragmentTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -17857,69 +20650,84 @@ class FragmentTag final : // accessors ------------------------------------------------------- enum : int { - kTagFieldNumber = 1, - kRevisionFieldNumber = 2, + kFragmentVisibilityFieldNumber = 3, + kOrganizationIdFieldNumber = 1, + kShowPublicFieldNumber = 2, }; - // string tag = 1 [json_name = "tag"]; - void clear_tag(); - const std::string& tag() const; - template - void set_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tag(); - PROTOBUF_NODISCARD std::string* release_tag(); - void set_allocated_tag(std::string* tag); + // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; + int fragment_visibility_size() const; private: - const std::string& _internal_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); - std::string* _internal_mutable_tag(); + int _internal_fragment_visibility_size() const; + public: + void clear_fragment_visibility(); + private: + ::viam::app::v1::FragmentVisibility _internal_fragment_visibility(int index) const; + void _internal_add_fragment_visibility(::viam::app::v1::FragmentVisibility value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_fragment_visibility(); public: + ::viam::app::v1::FragmentVisibility fragment_visibility(int index) const; + void set_fragment_visibility(int index, ::viam::app::v1::FragmentVisibility value); + void add_fragment_visibility(::viam::app::v1::FragmentVisibility value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField& fragment_visibility() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_fragment_visibility(); - // string revision = 2 [json_name = "revision"]; - void clear_revision(); - const std::string& revision() const; + // string organization_id = 1 [json_name = "organizationId"]; + void clear_organization_id(); + const std::string& organization_id() const; template - void set_revision(ArgT0&& arg0, ArgT... args); - std::string* mutable_revision(); - PROTOBUF_NODISCARD std::string* release_revision(); - void set_allocated_revision(std::string* revision); + void set_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_organization_id(); + PROTOBUF_NODISCARD std::string* release_organization_id(); + void set_allocated_organization_id(std::string* organization_id); private: - const std::string& _internal_revision() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); - std::string* _internal_mutable_revision(); + 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.FragmentTag) + // bool show_public = 2 [json_name = "showPublic"]; + void clear_show_public(); + bool show_public() const; + void set_show_public(bool value); + private: + bool _internal_show_public() const; + void _internal_set_show_public(bool value); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.ListFragmentsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField fragment_visibility_; + mutable std::atomic _fragment_visibility_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; + bool show_public_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class FragmentError final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentError) */ { +class ListFragmentsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListFragmentsResponse) */ { public: - inline FragmentError() : FragmentError(nullptr) {} - ~FragmentError() override; - explicit PROTOBUF_CONSTEXPR FragmentError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListFragmentsResponse() : ListFragmentsResponse(nullptr) {} + ~ListFragmentsResponse() override; + explicit PROTOBUF_CONSTEXPR ListFragmentsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - FragmentError(const FragmentError& from); - FragmentError(FragmentError&& from) noexcept - : FragmentError() { + ListFragmentsResponse(const ListFragmentsResponse& from); + ListFragmentsResponse(ListFragmentsResponse&& from) noexcept + : ListFragmentsResponse() { *this = ::std::move(from); } - inline FragmentError& operator=(const FragmentError& from) { + inline ListFragmentsResponse& operator=(const ListFragmentsResponse& from) { CopyFrom(from); return *this; } - inline FragmentError& operator=(FragmentError&& from) noexcept { + inline ListFragmentsResponse& operator=(ListFragmentsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -17942,20 +20750,20 @@ class FragmentError final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const FragmentError& default_instance() { + static const ListFragmentsResponse& default_instance() { return *internal_default_instance(); } - static inline const FragmentError* internal_default_instance() { - return reinterpret_cast( - &_FragmentError_default_instance_); + static inline const ListFragmentsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListFragmentsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 100; + 122; - friend void swap(FragmentError& a, FragmentError& b) { + friend void swap(ListFragmentsResponse& a, ListFragmentsResponse& b) { a.Swap(&b); } - inline void Swap(FragmentError* other) { + inline void Swap(ListFragmentsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -17968,7 +20776,7 @@ class FragmentError final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(FragmentError* other) { + void UnsafeArenaSwap(ListFragmentsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -17976,13 +20784,13 @@ class FragmentError final : // implements Message ---------------------------------------------- - FragmentError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListFragmentsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FragmentError& from); + void CopyFrom(const ListFragmentsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FragmentError& from); + void MergeFrom(const ListFragmentsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -17999,15 +20807,15 @@ class FragmentError final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(FragmentError* other); + void InternalSwap(ListFragmentsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.FragmentError"; + return "viam.app.v1.ListFragmentsResponse"; } protected: - explicit FragmentError(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -18021,80 +20829,77 @@ class FragmentError final : // accessors ------------------------------------------------------- enum : int { - kFragmentIdFieldNumber = 2, - kDetailFieldNumber = 3, - kErrorTypeFieldNumber = 1, + kFragmentsFieldNumber = 1, + kFragmentUsagesFieldNumber = 2, }; - // string fragment_id = 2 [json_name = "fragmentId"]; - void clear_fragment_id(); - const std::string& fragment_id() const; - template - void set_fragment_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_fragment_id(); - PROTOBUF_NODISCARD std::string* release_fragment_id(); - void set_allocated_fragment_id(std::string* fragment_id); + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + int fragments_size() const; + private: + int _internal_fragments_size() const; + public: + void clear_fragments(); + ::viam::app::v1::Fragment* mutable_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >* + mutable_fragments(); private: - const std::string& _internal_fragment_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); - std::string* _internal_mutable_fragment_id(); + const ::viam::app::v1::Fragment& _internal_fragments(int index) const; + ::viam::app::v1::Fragment* _internal_add_fragments(); public: + const ::viam::app::v1::Fragment& fragments(int index) const; + ::viam::app::v1::Fragment* add_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >& + fragments() const; - // string detail = 3 [json_name = "detail"]; - void clear_detail(); - const std::string& detail() const; - template - void set_detail(ArgT0&& arg0, ArgT... args); - std::string* mutable_detail(); - PROTOBUF_NODISCARD std::string* release_detail(); - void set_allocated_detail(std::string* detail); + // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; + int fragment_usages_size() const; private: - const std::string& _internal_detail() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_detail(const std::string& value); - std::string* _internal_mutable_detail(); + int _internal_fragment_usages_size() const; public: - - // .viam.app.v1.FragmentErrorType error_type = 1 [json_name = "errorType"]; - void clear_error_type(); - ::viam::app::v1::FragmentErrorType error_type() const; - void set_error_type(::viam::app::v1::FragmentErrorType value); + void clear_fragment_usages(); + ::viam::app::v1::FragmentUsage* mutable_fragment_usages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >* + mutable_fragment_usages(); private: - ::viam::app::v1::FragmentErrorType _internal_error_type() const; - void _internal_set_error_type(::viam::app::v1::FragmentErrorType value); + const ::viam::app::v1::FragmentUsage& _internal_fragment_usages(int index) const; + ::viam::app::v1::FragmentUsage* _internal_add_fragment_usages(); public: + const ::viam::app::v1::FragmentUsage& fragment_usages(int index) const; + ::viam::app::v1::FragmentUsage* add_fragment_usages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >& + fragment_usages() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentError) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListFragmentsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr detail_; - int error_type_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment > fragments_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage > fragment_usages_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class FragmentUsage final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.FragmentUsage) */ { +class GetFragmentRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentRequest) */ { public: - inline FragmentUsage() : FragmentUsage(nullptr) {} - ~FragmentUsage() override; - explicit PROTOBUF_CONSTEXPR FragmentUsage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetFragmentRequest() : GetFragmentRequest(nullptr) {} + ~GetFragmentRequest() override; + explicit PROTOBUF_CONSTEXPR GetFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - FragmentUsage(const FragmentUsage& from); - FragmentUsage(FragmentUsage&& from) noexcept - : FragmentUsage() { + GetFragmentRequest(const GetFragmentRequest& from); + GetFragmentRequest(GetFragmentRequest&& from) noexcept + : GetFragmentRequest() { *this = ::std::move(from); } - inline FragmentUsage& operator=(const FragmentUsage& from) { + inline GetFragmentRequest& operator=(const GetFragmentRequest& from) { CopyFrom(from); return *this; } - inline FragmentUsage& operator=(FragmentUsage&& from) noexcept { + inline GetFragmentRequest& operator=(GetFragmentRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -18117,20 +20922,20 @@ class FragmentUsage final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const FragmentUsage& default_instance() { + static const GetFragmentRequest& default_instance() { return *internal_default_instance(); } - static inline const FragmentUsage* internal_default_instance() { - return reinterpret_cast( - &_FragmentUsage_default_instance_); + static inline const GetFragmentRequest* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 101; + 123; - friend void swap(FragmentUsage& a, FragmentUsage& b) { + friend void swap(GetFragmentRequest& a, GetFragmentRequest& b) { a.Swap(&b); } - inline void Swap(FragmentUsage* other) { + inline void Swap(GetFragmentRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -18143,7 +20948,7 @@ class FragmentUsage final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(FragmentUsage* other) { + void UnsafeArenaSwap(GetFragmentRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -18151,13 +20956,13 @@ class FragmentUsage final : // implements Message ---------------------------------------------- - FragmentUsage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const FragmentUsage& from); + void CopyFrom(const GetFragmentRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const FragmentUsage& from); + void MergeFrom(const GetFragmentRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -18174,15 +20979,15 @@ class FragmentUsage final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(FragmentUsage* other); + void InternalSwap(GetFragmentRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.FragmentUsage"; + return "viam.app.v1.GetFragmentRequest"; } protected: - explicit FragmentUsage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -18196,27 +21001,39 @@ class FragmentUsage final : // accessors ------------------------------------------------------- enum : int { - kFragmentIdFieldNumber = 1, - kVersionFieldNumber = 5, - kOrganizationsFieldNumber = 2, - kMachinesFieldNumber = 3, - kMachinesInCurrentOrgFieldNumber = 4, + kIdFieldNumber = 1, + kCurrentOrganizationIdFieldNumber = 2, + kVersionFieldNumber = 3, }; - // string fragment_id = 1 [json_name = "fragmentId"]; - void clear_fragment_id(); - const std::string& fragment_id() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_fragment_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_fragment_id(); - PROTOBUF_NODISCARD std::string* release_fragment_id(); - void set_allocated_fragment_id(std::string* fragment_id); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_fragment_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); - std::string* _internal_mutable_fragment_id(); + 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 version = 5 [json_name = "version"]; + // string current_organization_id = 2 [json_name = "currentOrganizationId"]; + void clear_current_organization_id(); + const std::string& current_organization_id() const; + template + void set_current_organization_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_current_organization_id(); + PROTOBUF_NODISCARD std::string* release_current_organization_id(); + void set_allocated_current_organization_id(std::string* current_organization_id); + private: + const std::string& _internal_current_organization_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_current_organization_id(const std::string& value); + std::string* _internal_mutable_current_organization_id(); + public: + + // optional string version = 3 [json_name = "version"]; bool has_version() const; private: bool _internal_has_version() const; @@ -18234,34 +21051,7 @@ class FragmentUsage final : std::string* _internal_mutable_version(); public: - // int32 organizations = 2 [json_name = "organizations"]; - void clear_organizations(); - int32_t organizations() const; - void set_organizations(int32_t value); - private: - int32_t _internal_organizations() const; - void _internal_set_organizations(int32_t value); - public: - - // int32 machines = 3 [json_name = "machines"]; - void clear_machines(); - int32_t machines() const; - void set_machines(int32_t value); - private: - int32_t _internal_machines() const; - void _internal_set_machines(int32_t value); - public: - - // int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"]; - void clear_machines_in_current_org(); - int32_t machines_in_current_org() const; - void set_machines_in_current_org(int32_t value); - private: - int32_t _internal_machines_in_current_org() const; - void _internal_set_machines_in_current_org(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:viam.app.v1.FragmentUsage) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentRequest) private: class _Internal; @@ -18270,33 +21060,31 @@ class FragmentUsage final : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr current_organization_id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; - int32_t organizations_; - int32_t machines_; - int32_t machines_in_current_org_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ResolvedFragment final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ResolvedFragment) */ { +class GetFragmentResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentResponse) */ { public: - inline ResolvedFragment() : ResolvedFragment(nullptr) {} - ~ResolvedFragment() override; - explicit PROTOBUF_CONSTEXPR ResolvedFragment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetFragmentResponse() : GetFragmentResponse(nullptr) {} + ~GetFragmentResponse() override; + explicit PROTOBUF_CONSTEXPR GetFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ResolvedFragment(const ResolvedFragment& from); - ResolvedFragment(ResolvedFragment&& from) noexcept - : ResolvedFragment() { + GetFragmentResponse(const GetFragmentResponse& from); + GetFragmentResponse(GetFragmentResponse&& from) noexcept + : GetFragmentResponse() { *this = ::std::move(from); } - inline ResolvedFragment& operator=(const ResolvedFragment& from) { + inline GetFragmentResponse& operator=(const GetFragmentResponse& from) { CopyFrom(from); return *this; } - inline ResolvedFragment& operator=(ResolvedFragment&& from) noexcept { + inline GetFragmentResponse& operator=(GetFragmentResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -18319,20 +21107,20 @@ class ResolvedFragment final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ResolvedFragment& default_instance() { + static const GetFragmentResponse& default_instance() { return *internal_default_instance(); } - static inline const ResolvedFragment* internal_default_instance() { - return reinterpret_cast( - &_ResolvedFragment_default_instance_); + static inline const GetFragmentResponse* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 102; + 124; - friend void swap(ResolvedFragment& a, ResolvedFragment& b) { + friend void swap(GetFragmentResponse& a, GetFragmentResponse& b) { a.Swap(&b); } - inline void Swap(ResolvedFragment* other) { + inline void Swap(GetFragmentResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -18345,7 +21133,7 @@ class ResolvedFragment final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ResolvedFragment* other) { + void UnsafeArenaSwap(GetFragmentResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -18353,13 +21141,13 @@ class ResolvedFragment final : // implements Message ---------------------------------------------- - ResolvedFragment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ResolvedFragment& from); + void CopyFrom(const GetFragmentResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ResolvedFragment& from); + void MergeFrom(const GetFragmentResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -18376,15 +21164,15 @@ class ResolvedFragment final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ResolvedFragment* other); + void InternalSwap(GetFragmentResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ResolvedFragment"; + return "viam.app.v1.GetFragmentResponse"; } protected: - explicit ResolvedFragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -18398,93 +21186,117 @@ class ResolvedFragment final : // accessors ------------------------------------------------------- enum : int { - kFragmentIdFieldNumber = 1, - kResolvedConfigFieldNumber = 2, - kErrorFieldNumber = 3, + kRevisionsFieldNumber = 3, + kTagsFieldNumber = 4, + kFragmentFieldNumber = 1, + kFragmentUsageFieldNumber = 2, }; - // string fragment_id = 1 [json_name = "fragmentId"]; - void clear_fragment_id(); - const std::string& fragment_id() const; - template - void set_fragment_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_fragment_id(); - PROTOBUF_NODISCARD std::string* release_fragment_id(); - void set_allocated_fragment_id(std::string* fragment_id); + // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; + int revisions_size() const; private: - const std::string& _internal_fragment_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); - std::string* _internal_mutable_fragment_id(); + int _internal_revisions_size() const; + public: + void clear_revisions(); + ::viam::app::v1::FragmentRevision* mutable_revisions(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentRevision >* + mutable_revisions(); + private: + const ::viam::app::v1::FragmentRevision& _internal_revisions(int index) const; + ::viam::app::v1::FragmentRevision* _internal_add_revisions(); public: + const ::viam::app::v1::FragmentRevision& revisions(int index) const; + ::viam::app::v1::FragmentRevision* add_revisions(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentRevision >& + revisions() const; - // .google.protobuf.Struct resolved_config = 2 [json_name = "resolvedConfig"]; - bool has_resolved_config() const; + // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; + int tags_size() const; private: - bool _internal_has_resolved_config() const; + int _internal_tags_size() const; public: - void clear_resolved_config(); - const ::PROTOBUF_NAMESPACE_ID::Struct& resolved_config() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_resolved_config(); - ::PROTOBUF_NAMESPACE_ID::Struct* mutable_resolved_config(); - void set_allocated_resolved_config(::PROTOBUF_NAMESPACE_ID::Struct* resolved_config); + void clear_tags(); + ::viam::app::v1::FragmentTag* mutable_tags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >* + mutable_tags(); private: - const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_resolved_config() const; - ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_resolved_config(); + const ::viam::app::v1::FragmentTag& _internal_tags(int index) const; + ::viam::app::v1::FragmentTag* _internal_add_tags(); public: - void unsafe_arena_set_allocated_resolved_config( - ::PROTOBUF_NAMESPACE_ID::Struct* resolved_config); - ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_resolved_config(); + const ::viam::app::v1::FragmentTag& tags(int index) const; + ::viam::app::v1::FragmentTag* add_tags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >& + tags() const; - // .viam.app.v1.FragmentError error = 3 [json_name = "error"]; - bool has_error() const; + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + bool has_fragment() const; private: - bool _internal_has_error() const; + bool _internal_has_fragment() const; public: - void clear_error(); - const ::viam::app::v1::FragmentError& error() const; - PROTOBUF_NODISCARD ::viam::app::v1::FragmentError* release_error(); - ::viam::app::v1::FragmentError* mutable_error(); - void set_allocated_error(::viam::app::v1::FragmentError* error); + 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* fragment); private: - const ::viam::app::v1::FragmentError& _internal_error() const; - ::viam::app::v1::FragmentError* _internal_mutable_error(); + const ::viam::app::v1::Fragment& _internal_fragment() const; + ::viam::app::v1::Fragment* _internal_mutable_fragment(); public: - void unsafe_arena_set_allocated_error( - ::viam::app::v1::FragmentError* error); - ::viam::app::v1::FragmentError* unsafe_arena_release_error(); + void unsafe_arena_set_allocated_fragment( + ::viam::app::v1::Fragment* fragment); + ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); - // @@protoc_insertion_point(class_scope:viam.app.v1.ResolvedFragment) + // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; + bool has_fragment_usage() const; + private: + bool _internal_has_fragment_usage() const; + public: + void clear_fragment_usage(); + const ::viam::app::v1::FragmentUsage& fragment_usage() const; + PROTOBUF_NODISCARD ::viam::app::v1::FragmentUsage* release_fragment_usage(); + ::viam::app::v1::FragmentUsage* mutable_fragment_usage(); + void set_allocated_fragment_usage(::viam::app::v1::FragmentUsage* fragment_usage); + private: + const ::viam::app::v1::FragmentUsage& _internal_fragment_usage() const; + ::viam::app::v1::FragmentUsage* _internal_mutable_fragment_usage(); + public: + void unsafe_arena_set_allocated_fragment_usage( + ::viam::app::v1::FragmentUsage* fragment_usage); + ::viam::app::v1::FragmentUsage* unsafe_arena_release_fragment_usage(); + + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; - ::PROTOBUF_NAMESPACE_ID::Struct* resolved_config_; - ::viam::app::v1::FragmentError* error_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentRevision > revisions_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag > tags_; + ::viam::app::v1::Fragment* fragment_; + ::viam::app::v1::FragmentUsage* fragment_usage_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListFragmentsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListFragmentsRequest) */ { +class CreateFragmentRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateFragmentRequest) */ { public: - inline ListFragmentsRequest() : ListFragmentsRequest(nullptr) {} - ~ListFragmentsRequest() override; - explicit PROTOBUF_CONSTEXPR ListFragmentsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateFragmentRequest() : CreateFragmentRequest(nullptr) {} + ~CreateFragmentRequest() override; + explicit PROTOBUF_CONSTEXPR CreateFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListFragmentsRequest(const ListFragmentsRequest& from); - ListFragmentsRequest(ListFragmentsRequest&& from) noexcept - : ListFragmentsRequest() { + CreateFragmentRequest(const CreateFragmentRequest& from); + CreateFragmentRequest(CreateFragmentRequest&& from) noexcept + : CreateFragmentRequest() { *this = ::std::move(from); } - inline ListFragmentsRequest& operator=(const ListFragmentsRequest& from) { + inline CreateFragmentRequest& operator=(const CreateFragmentRequest& from) { CopyFrom(from); return *this; } - inline ListFragmentsRequest& operator=(ListFragmentsRequest&& from) noexcept { + inline CreateFragmentRequest& operator=(CreateFragmentRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -18507,20 +21319,20 @@ class ListFragmentsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListFragmentsRequest& default_instance() { + static const CreateFragmentRequest& default_instance() { return *internal_default_instance(); } - static inline const ListFragmentsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListFragmentsRequest_default_instance_); + static inline const CreateFragmentRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 103; + 125; - friend void swap(ListFragmentsRequest& a, ListFragmentsRequest& b) { + friend void swap(CreateFragmentRequest& a, CreateFragmentRequest& b) { a.Swap(&b); } - inline void Swap(ListFragmentsRequest* other) { + inline void Swap(CreateFragmentRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -18533,7 +21345,7 @@ class ListFragmentsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListFragmentsRequest* other) { + void UnsafeArenaSwap(CreateFragmentRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -18541,13 +21353,13 @@ class ListFragmentsRequest final : // implements Message ---------------------------------------------- - ListFragmentsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + CreateFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListFragmentsRequest& from); + void CopyFrom(const CreateFragmentRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListFragmentsRequest& from); + void MergeFrom(const CreateFragmentRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -18564,15 +21376,15 @@ class ListFragmentsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListFragmentsRequest* other); + void InternalSwap(CreateFragmentRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListFragmentsRequest"; + return "viam.app.v1.CreateFragmentRequest"; } protected: - explicit ListFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -18586,28 +21398,26 @@ class ListFragmentsRequest final : // accessors ------------------------------------------------------- enum : int { - kFragmentVisibilityFieldNumber = 3, - kOrganizationIdFieldNumber = 1, - kShowPublicFieldNumber = 2, + kNameFieldNumber = 1, + kOrganizationIdFieldNumber = 3, + kConfigFieldNumber = 2, + kVisibilityFieldNumber = 4, }; - // repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"]; - int fragment_visibility_size() const; - private: - int _internal_fragment_visibility_size() const; - public: - void clear_fragment_visibility(); + // string name = 1 [json_name = "name"]; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); private: - ::viam::app::v1::FragmentVisibility _internal_fragment_visibility(int index) const; - void _internal_add_fragment_visibility(::viam::app::v1::FragmentVisibility value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_fragment_visibility(); + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); public: - ::viam::app::v1::FragmentVisibility fragment_visibility(int index) const; - void set_fragment_visibility(int index, ::viam::app::v1::FragmentVisibility value); - void add_fragment_visibility(::viam::app::v1::FragmentVisibility value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& fragment_visibility() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_fragment_visibility(); - // string organization_id = 1 [json_name = "organizationId"]; + // string organization_id = 3 [json_name = "organizationId"]; void clear_organization_id(); const std::string& organization_id() const; template @@ -18621,49 +21431,72 @@ class ListFragmentsRequest final : std::string* _internal_mutable_organization_id(); public: - // bool show_public = 2 [json_name = "showPublic"]; - void clear_show_public(); - bool show_public() const; - void set_show_public(bool value); + // .google.protobuf.Struct config = 2 [json_name = "config"]; + bool has_config() const; private: - bool _internal_show_public() const; - void _internal_set_show_public(bool value); + bool _internal_has_config() const; + public: + void clear_config(); + const ::PROTOBUF_NAMESPACE_ID::Struct& config() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_config(); + ::PROTOBUF_NAMESPACE_ID::Struct* mutable_config(); + void set_allocated_config(::PROTOBUF_NAMESPACE_ID::Struct* config); + private: + const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_config() const; + ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_config(); + public: + void unsafe_arena_set_allocated_config( + ::PROTOBUF_NAMESPACE_ID::Struct* config); + ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_config(); + + // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; + bool has_visibility() const; + private: + bool _internal_has_visibility() const; + public: + void clear_visibility(); + ::viam::app::v1::FragmentVisibility visibility() const; + void set_visibility(::viam::app::v1::FragmentVisibility value); + private: + ::viam::app::v1::FragmentVisibility _internal_visibility() const; + void _internal_set_visibility(::viam::app::v1::FragmentVisibility value); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ListFragmentsRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.CreateFragmentRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField fragment_visibility_; - mutable std::atomic _fragment_visibility_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; - bool show_public_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; + ::PROTOBUF_NAMESPACE_ID::Struct* config_; + int visibility_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListFragmentsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListFragmentsResponse) */ { +class CreateFragmentResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateFragmentResponse) */ { public: - inline ListFragmentsResponse() : ListFragmentsResponse(nullptr) {} - ~ListFragmentsResponse() override; - explicit PROTOBUF_CONSTEXPR ListFragmentsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateFragmentResponse() : CreateFragmentResponse(nullptr) {} + ~CreateFragmentResponse() override; + explicit PROTOBUF_CONSTEXPR CreateFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListFragmentsResponse(const ListFragmentsResponse& from); - ListFragmentsResponse(ListFragmentsResponse&& from) noexcept - : ListFragmentsResponse() { + CreateFragmentResponse(const CreateFragmentResponse& from); + CreateFragmentResponse(CreateFragmentResponse&& from) noexcept + : CreateFragmentResponse() { *this = ::std::move(from); } - inline ListFragmentsResponse& operator=(const ListFragmentsResponse& from) { + inline CreateFragmentResponse& operator=(const CreateFragmentResponse& from) { CopyFrom(from); return *this; } - inline ListFragmentsResponse& operator=(ListFragmentsResponse&& from) noexcept { + inline CreateFragmentResponse& operator=(CreateFragmentResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -18686,20 +21519,20 @@ class ListFragmentsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListFragmentsResponse& default_instance() { + static const CreateFragmentResponse& default_instance() { return *internal_default_instance(); } - static inline const ListFragmentsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListFragmentsResponse_default_instance_); + static inline const CreateFragmentResponse* internal_default_instance() { + return reinterpret_cast( + &_CreateFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 104; + 126; - friend void swap(ListFragmentsResponse& a, ListFragmentsResponse& b) { + friend void swap(CreateFragmentResponse& a, CreateFragmentResponse& b) { a.Swap(&b); } - inline void Swap(ListFragmentsResponse* other) { + inline void Swap(CreateFragmentResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -18712,21 +21545,21 @@ class ListFragmentsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListFragmentsResponse* other) { + void UnsafeArenaSwap(CreateFragmentResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - - ListFragmentsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + + CreateFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListFragmentsResponse& from); + void CopyFrom(const CreateFragmentResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListFragmentsResponse& from); + void MergeFrom(const CreateFragmentResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -18743,15 +21576,15 @@ class ListFragmentsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListFragmentsResponse* other); + void InternalSwap(CreateFragmentResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListFragmentsResponse"; + return "viam.app.v1.CreateFragmentResponse"; } protected: - explicit ListFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -18765,77 +21598,57 @@ class ListFragmentsResponse final : // accessors ------------------------------------------------------- enum : int { - kFragmentsFieldNumber = 1, - kFragmentUsagesFieldNumber = 2, + kFragmentFieldNumber = 1, }; - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; - int fragments_size() const; - private: - int _internal_fragments_size() const; - public: - void clear_fragments(); - ::viam::app::v1::Fragment* mutable_fragments(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >* - mutable_fragments(); - private: - const ::viam::app::v1::Fragment& _internal_fragments(int index) const; - ::viam::app::v1::Fragment* _internal_add_fragments(); - public: - const ::viam::app::v1::Fragment& fragments(int index) const; - ::viam::app::v1::Fragment* add_fragments(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >& - fragments() const; - - // repeated .viam.app.v1.FragmentUsage fragment_usages = 2 [json_name = "fragmentUsages"]; - int fragment_usages_size() const; + // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; + bool has_fragment() const; private: - int _internal_fragment_usages_size() const; + bool _internal_has_fragment() const; public: - void clear_fragment_usages(); - ::viam::app::v1::FragmentUsage* mutable_fragment_usages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >* - mutable_fragment_usages(); + 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* fragment); private: - const ::viam::app::v1::FragmentUsage& _internal_fragment_usages(int index) const; - ::viam::app::v1::FragmentUsage* _internal_add_fragment_usages(); + const ::viam::app::v1::Fragment& _internal_fragment() const; + ::viam::app::v1::Fragment* _internal_mutable_fragment(); public: - const ::viam::app::v1::FragmentUsage& fragment_usages(int index) const; - ::viam::app::v1::FragmentUsage* add_fragment_usages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >& - fragment_usages() const; + void unsafe_arena_set_allocated_fragment( + ::viam::app::v1::Fragment* fragment); + ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); - // @@protoc_insertion_point(class_scope:viam.app.v1.ListFragmentsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.CreateFragmentResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment > fragments_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage > fragment_usages_; + ::viam::app::v1::Fragment* fragment_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetFragmentRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentRequest) */ { +class UpdateFragmentRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateFragmentRequest) */ { public: - inline GetFragmentRequest() : GetFragmentRequest(nullptr) {} - ~GetFragmentRequest() override; - explicit PROTOBUF_CONSTEXPR GetFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateFragmentRequest() : UpdateFragmentRequest(nullptr) {} + ~UpdateFragmentRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetFragmentRequest(const GetFragmentRequest& from); - GetFragmentRequest(GetFragmentRequest&& from) noexcept - : GetFragmentRequest() { + UpdateFragmentRequest(const UpdateFragmentRequest& from); + UpdateFragmentRequest(UpdateFragmentRequest&& from) noexcept + : UpdateFragmentRequest() { *this = ::std::move(from); } - inline GetFragmentRequest& operator=(const GetFragmentRequest& from) { + inline UpdateFragmentRequest& operator=(const UpdateFragmentRequest& from) { CopyFrom(from); return *this; } - inline GetFragmentRequest& operator=(GetFragmentRequest&& from) noexcept { + inline UpdateFragmentRequest& operator=(UpdateFragmentRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -18858,20 +21671,20 @@ class GetFragmentRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentRequest& default_instance() { + static const UpdateFragmentRequest& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentRequest* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentRequest_default_instance_); + static inline const UpdateFragmentRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 105; + 127; - friend void swap(GetFragmentRequest& a, GetFragmentRequest& b) { + friend void swap(UpdateFragmentRequest& a, UpdateFragmentRequest& b) { a.Swap(&b); } - inline void Swap(GetFragmentRequest* other) { + inline void Swap(UpdateFragmentRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -18884,7 +21697,7 @@ class GetFragmentRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentRequest* other) { + void UnsafeArenaSwap(UpdateFragmentRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -18892,13 +21705,13 @@ class GetFragmentRequest final : // implements Message ---------------------------------------------- - GetFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetFragmentRequest& from); + void CopyFrom(const UpdateFragmentRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetFragmentRequest& from); + void MergeFrom(const UpdateFragmentRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -18915,15 +21728,15 @@ class GetFragmentRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetFragmentRequest* other); + void InternalSwap(UpdateFragmentRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetFragmentRequest"; + return "viam.app.v1.UpdateFragmentRequest"; } protected: - explicit GetFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -18938,8 +21751,10 @@ class GetFragmentRequest final : enum : int { kIdFieldNumber = 1, - kCurrentOrganizationIdFieldNumber = 2, - kVersionFieldNumber = 3, + kNameFieldNumber = 2, + kConfigFieldNumber = 3, + kPublicFieldNumber = 4, + kVisibilityFieldNumber = 5, }; // string id = 1 [json_name = "id"]; void clear_id(); @@ -18955,39 +21770,65 @@ class GetFragmentRequest final : std::string* _internal_mutable_id(); public: - // string current_organization_id = 2 [json_name = "currentOrganizationId"]; - void clear_current_organization_id(); - const std::string& current_organization_id() const; + // string name = 2 [json_name = "name"]; + void clear_name(); + const std::string& name() const; template - void set_current_organization_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_current_organization_id(); - PROTOBUF_NODISCARD std::string* release_current_organization_id(); - void set_allocated_current_organization_id(std::string* current_organization_id); + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); private: - const std::string& _internal_current_organization_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_current_organization_id(const std::string& value); - std::string* _internal_mutable_current_organization_id(); + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); public: - // optional string version = 3 [json_name = "version"]; - bool has_version() const; + // .google.protobuf.Struct config = 3 [json_name = "config"]; + bool has_config() const; private: - bool _internal_has_version() const; + bool _internal_has_config() const; public: - void clear_version(); - const std::string& version() const; - template - void set_version(ArgT0&& arg0, ArgT... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* version); + void clear_config(); + const ::PROTOBUF_NAMESPACE_ID::Struct& config() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_config(); + ::PROTOBUF_NAMESPACE_ID::Struct* mutable_config(); + void set_allocated_config(::PROTOBUF_NAMESPACE_ID::Struct* config); private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); - std::string* _internal_mutable_version(); + const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_config() const; + ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_config(); public: + void unsafe_arena_set_allocated_config( + ::PROTOBUF_NAMESPACE_ID::Struct* config); + ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_config(); - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentRequest) + // optional bool public = 4 [json_name = "public"]; + bool has_public_() const; + private: + bool _internal_has_public_() const; + public: + void clear_public_(); + bool public_() const; + void set_public_(bool value); + private: + bool _internal_public_() const; + void _internal_set_public_(bool value); + public: + + // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; + bool has_visibility() const; + private: + bool _internal_has_visibility() const; + public: + void clear_visibility(); + ::viam::app::v1::FragmentVisibility visibility() const; + void set_visibility(::viam::app::v1::FragmentVisibility value); + private: + ::viam::app::v1::FragmentVisibility _internal_visibility() const; + void _internal_set_visibility(::viam::app::v1::FragmentVisibility value); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateFragmentRequest) private: class _Internal; @@ -18997,30 +21838,32 @@ class GetFragmentRequest final : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr current_organization_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::Struct* config_; + bool public__; + int visibility_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetFragmentResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentResponse) */ { +class UpdateFragmentResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateFragmentResponse) */ { public: - inline GetFragmentResponse() : GetFragmentResponse(nullptr) {} - ~GetFragmentResponse() override; - explicit PROTOBUF_CONSTEXPR GetFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateFragmentResponse() : UpdateFragmentResponse(nullptr) {} + ~UpdateFragmentResponse() override; + explicit PROTOBUF_CONSTEXPR UpdateFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetFragmentResponse(const GetFragmentResponse& from); - GetFragmentResponse(GetFragmentResponse&& from) noexcept - : GetFragmentResponse() { + UpdateFragmentResponse(const UpdateFragmentResponse& from); + UpdateFragmentResponse(UpdateFragmentResponse&& from) noexcept + : UpdateFragmentResponse() { *this = ::std::move(from); } - inline GetFragmentResponse& operator=(const GetFragmentResponse& from) { + inline UpdateFragmentResponse& operator=(const UpdateFragmentResponse& from) { CopyFrom(from); return *this; } - inline GetFragmentResponse& operator=(GetFragmentResponse&& from) noexcept { + inline UpdateFragmentResponse& operator=(UpdateFragmentResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -19043,20 +21886,20 @@ class GetFragmentResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentResponse& default_instance() { + static const UpdateFragmentResponse& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentResponse* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentResponse_default_instance_); + static inline const UpdateFragmentResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateFragmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 106; + 128; - friend void swap(GetFragmentResponse& a, GetFragmentResponse& b) { + friend void swap(UpdateFragmentResponse& a, UpdateFragmentResponse& b) { a.Swap(&b); } - inline void Swap(GetFragmentResponse* other) { + inline void Swap(UpdateFragmentResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -19069,7 +21912,7 @@ class GetFragmentResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentResponse* other) { + void UnsafeArenaSwap(UpdateFragmentResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -19077,13 +21920,13 @@ class GetFragmentResponse final : // implements Message ---------------------------------------------- - GetFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetFragmentResponse& from); + void CopyFrom(const UpdateFragmentResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetFragmentResponse& from); + void MergeFrom(const UpdateFragmentResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -19100,15 +21943,15 @@ class GetFragmentResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetFragmentResponse* other); + void InternalSwap(UpdateFragmentResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetFragmentResponse"; + return "viam.app.v1.UpdateFragmentResponse"; } protected: - explicit GetFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -19122,47 +21965,8 @@ class GetFragmentResponse final : // accessors ------------------------------------------------------- enum : int { - kRevisionsFieldNumber = 3, - kTagsFieldNumber = 4, kFragmentFieldNumber = 1, - kFragmentUsageFieldNumber = 2, }; - // repeated .viam.app.v1.FragmentRevision revisions = 3 [json_name = "revisions"]; - int revisions_size() const; - private: - int _internal_revisions_size() const; - public: - void clear_revisions(); - ::viam::app::v1::FragmentRevision* mutable_revisions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentRevision >* - mutable_revisions(); - private: - const ::viam::app::v1::FragmentRevision& _internal_revisions(int index) const; - ::viam::app::v1::FragmentRevision* _internal_add_revisions(); - public: - const ::viam::app::v1::FragmentRevision& revisions(int index) const; - ::viam::app::v1::FragmentRevision* add_revisions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentRevision >& - revisions() const; - - // repeated .viam.app.v1.FragmentTag tags = 4 [json_name = "tags"]; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - ::viam::app::v1::FragmentTag* mutable_tags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >* - mutable_tags(); - private: - const ::viam::app::v1::FragmentTag& _internal_tags(int index) const; - ::viam::app::v1::FragmentTag* _internal_add_tags(); - public: - const ::viam::app::v1::FragmentTag& tags(int index) const; - ::viam::app::v1::FragmentTag* add_tags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >& - tags() const; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; bool has_fragment() const; private: @@ -19181,58 +21985,37 @@ class GetFragmentResponse final : ::viam::app::v1::Fragment* fragment); ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); - // .viam.app.v1.FragmentUsage fragment_usage = 2 [json_name = "fragmentUsage"]; - bool has_fragment_usage() const; - private: - bool _internal_has_fragment_usage() const; - public: - void clear_fragment_usage(); - const ::viam::app::v1::FragmentUsage& fragment_usage() const; - PROTOBUF_NODISCARD ::viam::app::v1::FragmentUsage* release_fragment_usage(); - ::viam::app::v1::FragmentUsage* mutable_fragment_usage(); - void set_allocated_fragment_usage(::viam::app::v1::FragmentUsage* fragment_usage); - private: - const ::viam::app::v1::FragmentUsage& _internal_fragment_usage() const; - ::viam::app::v1::FragmentUsage* _internal_mutable_fragment_usage(); - public: - void unsafe_arena_set_allocated_fragment_usage( - ::viam::app::v1::FragmentUsage* fragment_usage); - ::viam::app::v1::FragmentUsage* unsafe_arena_release_fragment_usage(); - - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateFragmentResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentRevision > revisions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag > tags_; ::viam::app::v1::Fragment* fragment_; - ::viam::app::v1::FragmentUsage* fragment_usage_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class CreateFragmentRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateFragmentRequest) */ { +class DeleteFragmentRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentRequest) */ { public: - inline CreateFragmentRequest() : CreateFragmentRequest(nullptr) {} - ~CreateFragmentRequest() override; - explicit PROTOBUF_CONSTEXPR CreateFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteFragmentRequest() : DeleteFragmentRequest(nullptr) {} + ~DeleteFragmentRequest() override; + explicit PROTOBUF_CONSTEXPR DeleteFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CreateFragmentRequest(const CreateFragmentRequest& from); - CreateFragmentRequest(CreateFragmentRequest&& from) noexcept - : CreateFragmentRequest() { + DeleteFragmentRequest(const DeleteFragmentRequest& from); + DeleteFragmentRequest(DeleteFragmentRequest&& from) noexcept + : DeleteFragmentRequest() { *this = ::std::move(from); } - inline CreateFragmentRequest& operator=(const CreateFragmentRequest& from) { + inline DeleteFragmentRequest& operator=(const DeleteFragmentRequest& from) { CopyFrom(from); return *this; } - inline CreateFragmentRequest& operator=(CreateFragmentRequest&& from) noexcept { + inline DeleteFragmentRequest& operator=(DeleteFragmentRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -19255,20 +22038,20 @@ class CreateFragmentRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CreateFragmentRequest& default_instance() { + static const DeleteFragmentRequest& default_instance() { return *internal_default_instance(); } - static inline const CreateFragmentRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateFragmentRequest_default_instance_); + static inline const DeleteFragmentRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteFragmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 107; + 129; - friend void swap(CreateFragmentRequest& a, CreateFragmentRequest& b) { + friend void swap(DeleteFragmentRequest& a, DeleteFragmentRequest& b) { a.Swap(&b); } - inline void Swap(CreateFragmentRequest* other) { + inline void Swap(DeleteFragmentRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -19281,7 +22064,7 @@ class CreateFragmentRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreateFragmentRequest* other) { + void UnsafeArenaSwap(DeleteFragmentRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -19289,13 +22072,13 @@ class CreateFragmentRequest final : // implements Message ---------------------------------------------- - CreateFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CreateFragmentRequest& from); + void CopyFrom(const DeleteFragmentRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CreateFragmentRequest& from); + void MergeFrom(const DeleteFragmentRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -19312,15 +22095,15 @@ class CreateFragmentRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(CreateFragmentRequest* other); + void InternalSwap(DeleteFragmentRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.CreateFragmentRequest"; + return "viam.app.v1.DeleteFragmentRequest"; } protected: - explicit CreateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -19334,105 +22117,169 @@ class CreateFragmentRequest final : // accessors ------------------------------------------------------- enum : int { - kNameFieldNumber = 1, - kOrganizationIdFieldNumber = 3, - kConfigFieldNumber = 2, - kVisibilityFieldNumber = 4, + kIdFieldNumber = 1, }; - // string name = 1 [json_name = "name"]; - void clear_name(); - const std::string& name() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - // string organization_id = 3 [json_name = "organizationId"]; - void clear_organization_id(); - const std::string& organization_id() const; - template - void set_organization_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_organization_id(); - PROTOBUF_NODISCARD std::string* release_organization_id(); - void set_allocated_organization_id(std::string* organization_id); - 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.DeleteFragmentRequest) + private: + class _Internal; - // .google.protobuf.Struct config = 2 [json_name = "config"]; - bool has_config() const; - private: - bool _internal_has_config() const; - public: - void clear_config(); - const ::PROTOBUF_NAMESPACE_ID::Struct& config() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_config(); - ::PROTOBUF_NAMESPACE_ID::Struct* mutable_config(); - void set_allocated_config(::PROTOBUF_NAMESPACE_ID::Struct* config); - private: - const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_config() const; - ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_config(); - public: - void unsafe_arena_set_allocated_config( - ::PROTOBUF_NAMESPACE_ID::Struct* config); - ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_config(); + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; +// ------------------------------------------------------------------- - // optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"]; - bool has_visibility() const; - private: - bool _internal_has_visibility() const; +class DeleteFragmentResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentResponse) */ { + public: + inline DeleteFragmentResponse() : DeleteFragmentResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR DeleteFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DeleteFragmentResponse(const DeleteFragmentResponse& from); + DeleteFragmentResponse(DeleteFragmentResponse&& from) noexcept + : DeleteFragmentResponse() { + *this = ::std::move(from); + } + + inline DeleteFragmentResponse& operator=(const DeleteFragmentResponse& from) { + CopyFrom(from); + return *this; + } + inline DeleteFragmentResponse& operator=(DeleteFragmentResponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DeleteFragmentResponse& default_instance() { + return *internal_default_instance(); + } + static inline const DeleteFragmentResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteFragmentResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 130; + + friend void swap(DeleteFragmentResponse& a, DeleteFragmentResponse& b) { + a.Swap(&b); + } + inline void Swap(DeleteFragmentResponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DeleteFragmentResponse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DeleteFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const DeleteFragmentResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const DeleteFragmentResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + } public: - void clear_visibility(); - ::viam::app::v1::FragmentVisibility visibility() const; - void set_visibility(::viam::app::v1::FragmentVisibility value); + private: - ::viam::app::v1::FragmentVisibility _internal_visibility() const; - void _internal_set_visibility(::viam::app::v1::FragmentVisibility value); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.DeleteFragmentResponse"; + } + protected: + explicit DeleteFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.CreateFragmentRequest) + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr organization_id_; - ::PROTOBUF_NAMESPACE_ID::Struct* config_; - int visibility_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class CreateFragmentResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.CreateFragmentResponse) */ { +class GetFragmentHistoryRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentHistoryRequest) */ { public: - inline CreateFragmentResponse() : CreateFragmentResponse(nullptr) {} - ~CreateFragmentResponse() override; - explicit PROTOBUF_CONSTEXPR CreateFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetFragmentHistoryRequest() : GetFragmentHistoryRequest(nullptr) {} + ~GetFragmentHistoryRequest() override; + explicit PROTOBUF_CONSTEXPR GetFragmentHistoryRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CreateFragmentResponse(const CreateFragmentResponse& from); - CreateFragmentResponse(CreateFragmentResponse&& from) noexcept - : CreateFragmentResponse() { + GetFragmentHistoryRequest(const GetFragmentHistoryRequest& from); + GetFragmentHistoryRequest(GetFragmentHistoryRequest&& from) noexcept + : GetFragmentHistoryRequest() { *this = ::std::move(from); } - inline CreateFragmentResponse& operator=(const CreateFragmentResponse& from) { + inline GetFragmentHistoryRequest& operator=(const GetFragmentHistoryRequest& from) { CopyFrom(from); return *this; } - inline CreateFragmentResponse& operator=(CreateFragmentResponse&& from) noexcept { + inline GetFragmentHistoryRequest& operator=(GetFragmentHistoryRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -19455,20 +22302,20 @@ class CreateFragmentResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CreateFragmentResponse& default_instance() { + static const GetFragmentHistoryRequest& default_instance() { return *internal_default_instance(); } - static inline const CreateFragmentResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateFragmentResponse_default_instance_); + static inline const GetFragmentHistoryRequest* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentHistoryRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 108; + 131; - friend void swap(CreateFragmentResponse& a, CreateFragmentResponse& b) { + friend void swap(GetFragmentHistoryRequest& a, GetFragmentHistoryRequest& b) { a.Swap(&b); } - inline void Swap(CreateFragmentResponse* other) { + inline void Swap(GetFragmentHistoryRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -19481,7 +22328,7 @@ class CreateFragmentResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CreateFragmentResponse* other) { + void UnsafeArenaSwap(GetFragmentHistoryRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -19489,13 +22336,13 @@ class CreateFragmentResponse final : // implements Message ---------------------------------------------- - CreateFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentHistoryRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CreateFragmentResponse& from); + void CopyFrom(const GetFragmentHistoryRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const CreateFragmentResponse& from); + void MergeFrom(const GetFragmentHistoryRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -19512,15 +22359,15 @@ class CreateFragmentResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(CreateFragmentResponse* other); + void InternalSwap(GetFragmentHistoryRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.CreateFragmentResponse"; + return "viam.app.v1.GetFragmentHistoryRequest"; } protected: - explicit CreateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetFragmentHistoryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -19534,57 +22381,89 @@ class CreateFragmentResponse final : // accessors ------------------------------------------------------- enum : int { - kFragmentFieldNumber = 1, + kIdFieldNumber = 1, + kPageTokenFieldNumber = 2, + kPageLimitFieldNumber = 3, }; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - bool has_fragment() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - bool _internal_has_fragment() const; + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - 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* fragment); + + // optional string page_token = 2 [json_name = "pageToken"]; + bool has_page_token() const; private: - const ::viam::app::v1::Fragment& _internal_fragment() const; - ::viam::app::v1::Fragment* _internal_mutable_fragment(); + bool _internal_has_page_token() const; + public: + void clear_page_token(); + const std::string& page_token() const; + template + void set_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_page_token(); + PROTOBUF_NODISCARD std::string* release_page_token(); + void set_allocated_page_token(std::string* page_token); + 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: - void unsafe_arena_set_allocated_fragment( - ::viam::app::v1::Fragment* fragment); - ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); - // @@protoc_insertion_point(class_scope:viam.app.v1.CreateFragmentResponse) + // optional int64 page_limit = 3 [json_name = "pageLimit"]; + bool has_page_limit() const; + private: + bool _internal_has_page_limit() const; + public: + 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; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::Fragment* fragment_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; + int64_t page_limit_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class UpdateFragmentRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateFragmentRequest) */ { +class GetFragmentHistoryResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentHistoryResponse) */ { public: - inline UpdateFragmentRequest() : UpdateFragmentRequest(nullptr) {} - ~UpdateFragmentRequest() override; - explicit PROTOBUF_CONSTEXPR UpdateFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetFragmentHistoryResponse() : GetFragmentHistoryResponse(nullptr) {} + ~GetFragmentHistoryResponse() override; + explicit PROTOBUF_CONSTEXPR GetFragmentHistoryResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UpdateFragmentRequest(const UpdateFragmentRequest& from); - UpdateFragmentRequest(UpdateFragmentRequest&& from) noexcept - : UpdateFragmentRequest() { + GetFragmentHistoryResponse(const GetFragmentHistoryResponse& from); + GetFragmentHistoryResponse(GetFragmentHistoryResponse&& from) noexcept + : GetFragmentHistoryResponse() { *this = ::std::move(from); } - inline UpdateFragmentRequest& operator=(const UpdateFragmentRequest& from) { + inline GetFragmentHistoryResponse& operator=(const GetFragmentHistoryResponse& from) { CopyFrom(from); return *this; } - inline UpdateFragmentRequest& operator=(UpdateFragmentRequest&& from) noexcept { + inline GetFragmentHistoryResponse& operator=(GetFragmentHistoryResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -19607,20 +22486,20 @@ class UpdateFragmentRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateFragmentRequest& default_instance() { + static const GetFragmentHistoryResponse& default_instance() { return *internal_default_instance(); } - static inline const UpdateFragmentRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateFragmentRequest_default_instance_); + static inline const GetFragmentHistoryResponse* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentHistoryResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 109; + 132; - friend void swap(UpdateFragmentRequest& a, UpdateFragmentRequest& b) { + friend void swap(GetFragmentHistoryResponse& a, GetFragmentHistoryResponse& b) { a.Swap(&b); } - inline void Swap(UpdateFragmentRequest* other) { + inline void Swap(GetFragmentHistoryResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -19633,7 +22512,7 @@ class UpdateFragmentRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateFragmentRequest* other) { + void UnsafeArenaSwap(GetFragmentHistoryResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -19641,13 +22520,13 @@ class UpdateFragmentRequest final : // implements Message ---------------------------------------------- - UpdateFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentHistoryResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UpdateFragmentRequest& from); + void CopyFrom(const GetFragmentHistoryResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UpdateFragmentRequest& from); + void MergeFrom(const GetFragmentHistoryResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -19664,15 +22543,15 @@ class UpdateFragmentRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UpdateFragmentRequest* other); + void InternalSwap(GetFragmentHistoryResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UpdateFragmentRequest"; + return "viam.app.v1.GetFragmentHistoryResponse"; } protected: - explicit UpdateFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetFragmentHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -19686,120 +22565,73 @@ class UpdateFragmentRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kNameFieldNumber = 2, - kConfigFieldNumber = 3, - kPublicFieldNumber = 4, - kVisibilityFieldNumber = 5, + kHistoryFieldNumber = 1, + kNextPageTokenFieldNumber = 2, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - 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: - - // string name = 2 [json_name = "name"]; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // .google.protobuf.Struct config = 3 [json_name = "config"]; - bool has_config() const; - private: - bool _internal_has_config() const; - public: - void clear_config(); - const ::PROTOBUF_NAMESPACE_ID::Struct& config() const; - PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_config(); - ::PROTOBUF_NAMESPACE_ID::Struct* mutable_config(); - void set_allocated_config(::PROTOBUF_NAMESPACE_ID::Struct* config); - private: - const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_config() const; - ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_config(); - public: - void unsafe_arena_set_allocated_config( - ::PROTOBUF_NAMESPACE_ID::Struct* config); - ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_config(); - - // optional bool public = 4 [json_name = "public"]; - bool has_public_() const; + // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; + int history_size() const; private: - bool _internal_has_public_() const; + int _internal_history_size() const; public: - void clear_public_(); - bool public_() const; - void set_public_(bool value); + void clear_history(); + ::viam::app::v1::FragmentHistoryEntry* mutable_history(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry >* + mutable_history(); private: - bool _internal_public_() const; - void _internal_set_public_(bool value); + const ::viam::app::v1::FragmentHistoryEntry& _internal_history(int index) const; + ::viam::app::v1::FragmentHistoryEntry* _internal_add_history(); public: + const ::viam::app::v1::FragmentHistoryEntry& history(int index) const; + ::viam::app::v1::FragmentHistoryEntry* add_history(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry >& + history() const; - // optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"]; - bool has_visibility() const; - private: - bool _internal_has_visibility() const; - public: - void clear_visibility(); - ::viam::app::v1::FragmentVisibility visibility() const; - void set_visibility(::viam::app::v1::FragmentVisibility value); + // 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(ArgT0&& arg0, ArgT... args); + std::string* mutable_next_page_token(); + PROTOBUF_NODISCARD std::string* release_next_page_token(); + void set_allocated_next_page_token(std::string* next_page_token); private: - ::viam::app::v1::FragmentVisibility _internal_visibility() const; - void _internal_set_visibility(::viam::app::v1::FragmentVisibility value); + 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.UpdateFragmentRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentHistoryResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry > history_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::Struct* config_; - bool public__; - int visibility_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class UpdateFragmentResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateFragmentResponse) */ { +class GetFragmentUsageRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentUsageRequest) */ { public: - inline UpdateFragmentResponse() : UpdateFragmentResponse(nullptr) {} - ~UpdateFragmentResponse() override; - explicit PROTOBUF_CONSTEXPR UpdateFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetFragmentUsageRequest() : GetFragmentUsageRequest(nullptr) {} + ~GetFragmentUsageRequest() override; + explicit PROTOBUF_CONSTEXPR GetFragmentUsageRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UpdateFragmentResponse(const UpdateFragmentResponse& from); - UpdateFragmentResponse(UpdateFragmentResponse&& from) noexcept - : UpdateFragmentResponse() { + GetFragmentUsageRequest(const GetFragmentUsageRequest& from); + GetFragmentUsageRequest(GetFragmentUsageRequest&& from) noexcept + : GetFragmentUsageRequest() { *this = ::std::move(from); } - inline UpdateFragmentResponse& operator=(const UpdateFragmentResponse& from) { + inline GetFragmentUsageRequest& operator=(const GetFragmentUsageRequest& from) { CopyFrom(from); return *this; } - inline UpdateFragmentResponse& operator=(UpdateFragmentResponse&& from) noexcept { + inline GetFragmentUsageRequest& operator=(GetFragmentUsageRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -19822,20 +22654,20 @@ class UpdateFragmentResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateFragmentResponse& default_instance() { + static const GetFragmentUsageRequest& default_instance() { return *internal_default_instance(); } - static inline const UpdateFragmentResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateFragmentResponse_default_instance_); + static inline const GetFragmentUsageRequest* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentUsageRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 110; + 133; - friend void swap(UpdateFragmentResponse& a, UpdateFragmentResponse& b) { + friend void swap(GetFragmentUsageRequest& a, GetFragmentUsageRequest& b) { a.Swap(&b); } - inline void Swap(UpdateFragmentResponse* other) { + inline void Swap(GetFragmentUsageRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -19848,7 +22680,7 @@ class UpdateFragmentResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateFragmentResponse* other) { + void UnsafeArenaSwap(GetFragmentUsageRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -19856,13 +22688,13 @@ class UpdateFragmentResponse final : // implements Message ---------------------------------------------- - UpdateFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentUsageRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UpdateFragmentResponse& from); + void CopyFrom(const GetFragmentUsageRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UpdateFragmentResponse& from); + void MergeFrom(const GetFragmentUsageRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -19879,15 +22711,15 @@ class UpdateFragmentResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UpdateFragmentResponse* other); + void InternalSwap(GetFragmentUsageRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UpdateFragmentResponse"; + return "viam.app.v1.GetFragmentUsageRequest"; } protected: - explicit UpdateFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetFragmentUsageRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -19901,57 +22733,53 @@ class UpdateFragmentResponse final : // accessors ------------------------------------------------------- enum : int { - kFragmentFieldNumber = 1, + kFragmentIdFieldNumber = 1, }; - // .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"]; - bool has_fragment() const; - private: - bool _internal_has_fragment() const; - public: - 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* fragment); + // string fragment_id = 1 [json_name = "fragmentId"]; + void clear_fragment_id(); + const std::string& fragment_id() const; + template + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); private: - const ::viam::app::v1::Fragment& _internal_fragment() const; - ::viam::app::v1::Fragment* _internal_mutable_fragment(); + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); public: - void unsafe_arena_set_allocated_fragment( - ::viam::app::v1::Fragment* fragment); - ::viam::app::v1::Fragment* unsafe_arena_release_fragment(); - // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateFragmentResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentUsageRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::Fragment* fragment_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteFragmentRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentRequest) */ { +class GetFragmentUsageResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentUsageResponse) */ { public: - inline DeleteFragmentRequest() : DeleteFragmentRequest(nullptr) {} - ~DeleteFragmentRequest() override; - explicit PROTOBUF_CONSTEXPR DeleteFragmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetFragmentUsageResponse() : GetFragmentUsageResponse(nullptr) {} + ~GetFragmentUsageResponse() override; + explicit PROTOBUF_CONSTEXPR GetFragmentUsageResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteFragmentRequest(const DeleteFragmentRequest& from); - DeleteFragmentRequest(DeleteFragmentRequest&& from) noexcept - : DeleteFragmentRequest() { + GetFragmentUsageResponse(const GetFragmentUsageResponse& from); + GetFragmentUsageResponse(GetFragmentUsageResponse&& from) noexcept + : GetFragmentUsageResponse() { *this = ::std::move(from); } - inline DeleteFragmentRequest& operator=(const DeleteFragmentRequest& from) { + inline GetFragmentUsageResponse& operator=(const GetFragmentUsageResponse& from) { CopyFrom(from); return *this; } - inline DeleteFragmentRequest& operator=(DeleteFragmentRequest&& from) noexcept { + inline GetFragmentUsageResponse& operator=(GetFragmentUsageResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -19974,20 +22802,20 @@ class DeleteFragmentRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteFragmentRequest& default_instance() { + static const GetFragmentUsageResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteFragmentRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteFragmentRequest_default_instance_); + static inline const GetFragmentUsageResponse* internal_default_instance() { + return reinterpret_cast( + &_GetFragmentUsageResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 111; + 134; - friend void swap(DeleteFragmentRequest& a, DeleteFragmentRequest& b) { + friend void swap(GetFragmentUsageResponse& a, GetFragmentUsageResponse& b) { a.Swap(&b); } - inline void Swap(DeleteFragmentRequest* other) { + inline void Swap(GetFragmentUsageResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20000,7 +22828,7 @@ class DeleteFragmentRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteFragmentRequest* other) { + void UnsafeArenaSwap(GetFragmentUsageResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20008,13 +22836,13 @@ class DeleteFragmentRequest final : // implements Message ---------------------------------------------- - DeleteFragmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetFragmentUsageResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteFragmentRequest& from); + void CopyFrom(const GetFragmentUsageResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeleteFragmentRequest& from); + void MergeFrom(const GetFragmentUsageResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -20031,15 +22859,15 @@ class DeleteFragmentRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteFragmentRequest* other); + void InternalSwap(GetFragmentUsageResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteFragmentRequest"; + return "viam.app.v1.GetFragmentUsageResponse"; } protected: - explicit DeleteFragmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetFragmentUsageResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20053,52 +22881,57 @@ class DeleteFragmentRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kVersionUsagesFieldNumber = 1, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); + // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; + int version_usages_size() const; private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); + int _internal_version_usages_size() const; + public: + void clear_version_usages(); + ::viam::app::v1::FragmentUsage* mutable_version_usages(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >* + mutable_version_usages(); + private: + const ::viam::app::v1::FragmentUsage& _internal_version_usages(int index) const; + ::viam::app::v1::FragmentUsage* _internal_add_version_usages(); public: + const ::viam::app::v1::FragmentUsage& version_usages(int index) const; + ::viam::app::v1::FragmentUsage* add_version_usages(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >& + version_usages() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentUsageResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage > version_usages_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteFragmentResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentResponse) */ { +class SetFragmentTagRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.SetFragmentTagRequest) */ { public: - inline DeleteFragmentResponse() : DeleteFragmentResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR DeleteFragmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline SetFragmentTagRequest() : SetFragmentTagRequest(nullptr) {} + ~SetFragmentTagRequest() override; + explicit PROTOBUF_CONSTEXPR SetFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteFragmentResponse(const DeleteFragmentResponse& from); - DeleteFragmentResponse(DeleteFragmentResponse&& from) noexcept - : DeleteFragmentResponse() { + SetFragmentTagRequest(const SetFragmentTagRequest& from); + SetFragmentTagRequest(SetFragmentTagRequest&& from) noexcept + : SetFragmentTagRequest() { *this = ::std::move(from); } - inline DeleteFragmentResponse& operator=(const DeleteFragmentResponse& from) { + inline SetFragmentTagRequest& operator=(const SetFragmentTagRequest& from) { CopyFrom(from); return *this; } - inline DeleteFragmentResponse& operator=(DeleteFragmentResponse&& from) noexcept { + inline SetFragmentTagRequest& operator=(SetFragmentTagRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20121,20 +22954,20 @@ class DeleteFragmentResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteFragmentResponse& default_instance() { + static const SetFragmentTagRequest& default_instance() { return *internal_default_instance(); } - static inline const DeleteFragmentResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteFragmentResponse_default_instance_); + static inline const SetFragmentTagRequest* internal_default_instance() { + return reinterpret_cast( + &_SetFragmentTagRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 112; + 135; - friend void swap(DeleteFragmentResponse& a, DeleteFragmentResponse& b) { + friend void swap(SetFragmentTagRequest& a, SetFragmentTagRequest& b) { a.Swap(&b); } - inline void Swap(DeleteFragmentResponse* other) { + inline void Swap(SetFragmentTagRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20147,34 +22980,46 @@ class DeleteFragmentResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteFragmentResponse* other) { + void UnsafeArenaSwap(SetFragmentTagRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteFragmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const DeleteFragmentResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + InternalSwap(other); } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const DeleteFragmentResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + + // implements Message ---------------------------------------------- + + SetFragmentTagRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetFragmentTagRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const SetFragmentTagRequest& from); + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SetFragmentTagRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteFragmentResponse"; + return "viam.app.v1.SetFragmentTagRequest"; } protected: - explicit DeleteFragmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit SetFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20187,35 +23032,86 @@ class DeleteFragmentResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentResponse) + enum : int { + kFragmentIdFieldNumber = 1, + kTagFieldNumber = 2, + kRevisionFieldNumber = 3, + }; + // string fragment_id = 1 [json_name = "fragmentId"]; + void clear_fragment_id(); + const std::string& fragment_id() const; + template + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); + private: + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); + public: + + // string tag = 2 [json_name = "tag"]; + void clear_tag(); + const std::string& tag() const; + template + void set_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tag(); + PROTOBUF_NODISCARD std::string* release_tag(); + void set_allocated_tag(std::string* tag); + private: + const std::string& _internal_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); + std::string* _internal_mutable_tag(); + public: + + // string revision = 3 [json_name = "revision"]; + void clear_revision(); + const std::string& revision() const; + template + void set_revision(ArgT0&& arg0, ArgT... args); + std::string* mutable_revision(); + PROTOBUF_NODISCARD std::string* release_revision(); + void set_allocated_revision(std::string* revision); + private: + const std::string& _internal_revision() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); + std::string* _internal_mutable_revision(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.SetFragmentTagRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetFragmentHistoryRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentHistoryRequest) */ { +class SetFragmentTagResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.SetFragmentTagResponse) */ { public: - inline GetFragmentHistoryRequest() : GetFragmentHistoryRequest(nullptr) {} - ~GetFragmentHistoryRequest() override; - explicit PROTOBUF_CONSTEXPR GetFragmentHistoryRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline SetFragmentTagResponse() : SetFragmentTagResponse(nullptr) {} + ~SetFragmentTagResponse() override; + explicit PROTOBUF_CONSTEXPR SetFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetFragmentHistoryRequest(const GetFragmentHistoryRequest& from); - GetFragmentHistoryRequest(GetFragmentHistoryRequest&& from) noexcept - : GetFragmentHistoryRequest() { + SetFragmentTagResponse(const SetFragmentTagResponse& from); + SetFragmentTagResponse(SetFragmentTagResponse&& from) noexcept + : SetFragmentTagResponse() { *this = ::std::move(from); } - inline GetFragmentHistoryRequest& operator=(const GetFragmentHistoryRequest& from) { + inline SetFragmentTagResponse& operator=(const SetFragmentTagResponse& from) { CopyFrom(from); return *this; } - inline GetFragmentHistoryRequest& operator=(GetFragmentHistoryRequest&& from) noexcept { + inline SetFragmentTagResponse& operator=(SetFragmentTagResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20238,20 +23134,20 @@ class GetFragmentHistoryRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentHistoryRequest& default_instance() { + static const SetFragmentTagResponse& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentHistoryRequest* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentHistoryRequest_default_instance_); + static inline const SetFragmentTagResponse* internal_default_instance() { + return reinterpret_cast( + &_SetFragmentTagResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 113; + 136; - friend void swap(GetFragmentHistoryRequest& a, GetFragmentHistoryRequest& b) { + friend void swap(SetFragmentTagResponse& a, SetFragmentTagResponse& b) { a.Swap(&b); } - inline void Swap(GetFragmentHistoryRequest* other) { + inline void Swap(SetFragmentTagResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20264,7 +23160,7 @@ class GetFragmentHistoryRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentHistoryRequest* other) { + void UnsafeArenaSwap(SetFragmentTagResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20272,13 +23168,13 @@ class GetFragmentHistoryRequest final : // implements Message ---------------------------------------------- - GetFragmentHistoryRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + SetFragmentTagResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetFragmentHistoryRequest& from); + void CopyFrom(const SetFragmentTagResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetFragmentHistoryRequest& from); + void MergeFrom(const SetFragmentTagResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -20295,15 +23191,15 @@ class GetFragmentHistoryRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetFragmentHistoryRequest* other); + void InternalSwap(SetFragmentTagResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetFragmentHistoryRequest"; + return "viam.app.v1.SetFragmentTagResponse"; } protected: - explicit GetFragmentHistoryRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit SetFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20317,89 +23213,57 @@ class GetFragmentHistoryRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kPageTokenFieldNumber = 2, - kPageLimitFieldNumber = 3, + kTagsFieldNumber = 1, }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - 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; - private: - bool _internal_has_page_token() const; - public: - void clear_page_token(); - const std::string& page_token() const; - template - void set_page_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_page_token(); - PROTOBUF_NODISCARD std::string* release_page_token(); - void set_allocated_page_token(std::string* page_token); - 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; + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; + int tags_size() const; private: - bool _internal_has_page_limit() const; + int _internal_tags_size() const; public: - void clear_page_limit(); - int64_t page_limit() const; - void set_page_limit(int64_t value); + void clear_tags(); + ::viam::app::v1::FragmentTag* mutable_tags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >* + mutable_tags(); private: - int64_t _internal_page_limit() const; - void _internal_set_page_limit(int64_t value); + const ::viam::app::v1::FragmentTag& _internal_tags(int index) const; + ::viam::app::v1::FragmentTag* _internal_add_tags(); public: + const ::viam::app::v1::FragmentTag& tags(int index) const; + ::viam::app::v1::FragmentTag* add_tags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >& + tags() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentHistoryRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.SetFragmentTagResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag > tags_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; - int64_t page_limit_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetFragmentHistoryResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentHistoryResponse) */ { +class DeleteFragmentTagRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentTagRequest) */ { public: - inline GetFragmentHistoryResponse() : GetFragmentHistoryResponse(nullptr) {} - ~GetFragmentHistoryResponse() override; - explicit PROTOBUF_CONSTEXPR GetFragmentHistoryResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteFragmentTagRequest() : DeleteFragmentTagRequest(nullptr) {} + ~DeleteFragmentTagRequest() override; + explicit PROTOBUF_CONSTEXPR DeleteFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetFragmentHistoryResponse(const GetFragmentHistoryResponse& from); - GetFragmentHistoryResponse(GetFragmentHistoryResponse&& from) noexcept - : GetFragmentHistoryResponse() { + DeleteFragmentTagRequest(const DeleteFragmentTagRequest& from); + DeleteFragmentTagRequest(DeleteFragmentTagRequest&& from) noexcept + : DeleteFragmentTagRequest() { *this = ::std::move(from); } - inline GetFragmentHistoryResponse& operator=(const GetFragmentHistoryResponse& from) { + inline DeleteFragmentTagRequest& operator=(const DeleteFragmentTagRequest& from) { CopyFrom(from); return *this; } - inline GetFragmentHistoryResponse& operator=(GetFragmentHistoryResponse&& from) noexcept { + inline DeleteFragmentTagRequest& operator=(DeleteFragmentTagRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20422,20 +23286,20 @@ class GetFragmentHistoryResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentHistoryResponse& default_instance() { + static const DeleteFragmentTagRequest& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentHistoryResponse* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentHistoryResponse_default_instance_); + static inline const DeleteFragmentTagRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteFragmentTagRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 114; + 137; - friend void swap(GetFragmentHistoryResponse& a, GetFragmentHistoryResponse& b) { + friend void swap(DeleteFragmentTagRequest& a, DeleteFragmentTagRequest& b) { a.Swap(&b); } - inline void Swap(GetFragmentHistoryResponse* other) { + inline void Swap(DeleteFragmentTagRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20448,7 +23312,7 @@ class GetFragmentHistoryResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentHistoryResponse* other) { + void UnsafeArenaSwap(DeleteFragmentTagRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20456,13 +23320,13 @@ class GetFragmentHistoryResponse final : // implements Message ---------------------------------------------- - GetFragmentHistoryResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteFragmentTagRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetFragmentHistoryResponse& from); + void CopyFrom(const DeleteFragmentTagRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetFragmentHistoryResponse& from); + void MergeFrom(const DeleteFragmentTagRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -20479,15 +23343,15 @@ class GetFragmentHistoryResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetFragmentHistoryResponse* other); + void InternalSwap(DeleteFragmentTagRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetFragmentHistoryResponse"; + return "viam.app.v1.DeleteFragmentTagRequest"; } protected: - explicit GetFragmentHistoryResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20501,73 +23365,69 @@ class GetFragmentHistoryResponse final : // accessors ------------------------------------------------------- enum : int { - kHistoryFieldNumber = 1, - kNextPageTokenFieldNumber = 2, + kFragmentIdFieldNumber = 1, + kTagFieldNumber = 2, }; - // repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"]; - int history_size() const; - private: - int _internal_history_size() const; - public: - void clear_history(); - ::viam::app::v1::FragmentHistoryEntry* mutable_history(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry >* - mutable_history(); + // string fragment_id = 1 [json_name = "fragmentId"]; + void clear_fragment_id(); + const std::string& fragment_id() const; + template + void set_fragment_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_fragment_id(); + PROTOBUF_NODISCARD std::string* release_fragment_id(); + void set_allocated_fragment_id(std::string* fragment_id); private: - const ::viam::app::v1::FragmentHistoryEntry& _internal_history(int index) const; - ::viam::app::v1::FragmentHistoryEntry* _internal_add_history(); + const std::string& _internal_fragment_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); + std::string* _internal_mutable_fragment_id(); public: - const ::viam::app::v1::FragmentHistoryEntry& history(int index) const; - ::viam::app::v1::FragmentHistoryEntry* add_history(); - const ::PROTOBUF_NAMESPACE_ID::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; + // string tag = 2 [json_name = "tag"]; + void clear_tag(); + const std::string& tag() const; template - void set_next_page_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_next_page_token(); - PROTOBUF_NODISCARD std::string* release_next_page_token(); - void set_allocated_next_page_token(std::string* next_page_token); + void set_tag(ArgT0&& arg0, ArgT... args); + std::string* mutable_tag(); + PROTOBUF_NODISCARD std::string* release_tag(); + void set_allocated_tag(std::string* tag); 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(); + const std::string& _internal_tag() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); + std::string* _internal_mutable_tag(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentHistoryResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentTagRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentHistoryEntry > history_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetFragmentUsageRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentUsageRequest) */ { +class DeleteFragmentTagResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentTagResponse) */ { public: - inline GetFragmentUsageRequest() : GetFragmentUsageRequest(nullptr) {} - ~GetFragmentUsageRequest() override; - explicit PROTOBUF_CONSTEXPR GetFragmentUsageRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteFragmentTagResponse() : DeleteFragmentTagResponse(nullptr) {} + ~DeleteFragmentTagResponse() override; + explicit PROTOBUF_CONSTEXPR DeleteFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetFragmentUsageRequest(const GetFragmentUsageRequest& from); - GetFragmentUsageRequest(GetFragmentUsageRequest&& from) noexcept - : GetFragmentUsageRequest() { + DeleteFragmentTagResponse(const DeleteFragmentTagResponse& from); + DeleteFragmentTagResponse(DeleteFragmentTagResponse&& from) noexcept + : DeleteFragmentTagResponse() { *this = ::std::move(from); } - inline GetFragmentUsageRequest& operator=(const GetFragmentUsageRequest& from) { + inline DeleteFragmentTagResponse& operator=(const DeleteFragmentTagResponse& from) { CopyFrom(from); return *this; } - inline GetFragmentUsageRequest& operator=(GetFragmentUsageRequest&& from) noexcept { + inline DeleteFragmentTagResponse& operator=(DeleteFragmentTagResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20590,20 +23450,20 @@ class GetFragmentUsageRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentUsageRequest& default_instance() { + static const DeleteFragmentTagResponse& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentUsageRequest* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentUsageRequest_default_instance_); + static inline const DeleteFragmentTagResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteFragmentTagResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 115; + 138; - friend void swap(GetFragmentUsageRequest& a, GetFragmentUsageRequest& b) { + friend void swap(DeleteFragmentTagResponse& a, DeleteFragmentTagResponse& b) { a.Swap(&b); } - inline void Swap(GetFragmentUsageRequest* other) { + inline void Swap(DeleteFragmentTagResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20616,7 +23476,7 @@ class GetFragmentUsageRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentUsageRequest* other) { + void UnsafeArenaSwap(DeleteFragmentTagResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20624,13 +23484,13 @@ class GetFragmentUsageRequest final : // implements Message ---------------------------------------------- - GetFragmentUsageRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteFragmentTagResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetFragmentUsageRequest& from); + void CopyFrom(const DeleteFragmentTagResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetFragmentUsageRequest& from); + void MergeFrom(const DeleteFragmentTagResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -20647,15 +23507,15 @@ class GetFragmentUsageRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetFragmentUsageRequest* other); + void InternalSwap(DeleteFragmentTagResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetFragmentUsageRequest"; + return "viam.app.v1.DeleteFragmentTagResponse"; } protected: - explicit GetFragmentUsageRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20669,53 +23529,57 @@ class GetFragmentUsageRequest final : // accessors ------------------------------------------------------- enum : int { - kFragmentIdFieldNumber = 1, + kTagsFieldNumber = 1, }; - // string fragment_id = 1 [json_name = "fragmentId"]; - void clear_fragment_id(); - const std::string& fragment_id() const; - template - void set_fragment_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_fragment_id(); - PROTOBUF_NODISCARD std::string* release_fragment_id(); - void set_allocated_fragment_id(std::string* fragment_id); + // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; + int tags_size() const; private: - const std::string& _internal_fragment_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); - std::string* _internal_mutable_fragment_id(); + int _internal_tags_size() const; + public: + void clear_tags(); + ::viam::app::v1::FragmentTag* mutable_tags(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >* + mutable_tags(); + private: + const ::viam::app::v1::FragmentTag& _internal_tags(int index) const; + ::viam::app::v1::FragmentTag* _internal_add_tags(); public: + const ::viam::app::v1::FragmentTag& tags(int index) const; + ::viam::app::v1::FragmentTag* add_tags(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >& + tags() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentUsageRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentTagResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag > tags_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class GetFragmentUsageResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetFragmentUsageResponse) */ { +class ListRobotsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListRobotsRequest) */ { public: - inline GetFragmentUsageResponse() : GetFragmentUsageResponse(nullptr) {} - ~GetFragmentUsageResponse() override; - explicit PROTOBUF_CONSTEXPR GetFragmentUsageResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListRobotsRequest() : ListRobotsRequest(nullptr) {} + ~ListRobotsRequest() override; + explicit PROTOBUF_CONSTEXPR ListRobotsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - GetFragmentUsageResponse(const GetFragmentUsageResponse& from); - GetFragmentUsageResponse(GetFragmentUsageResponse&& from) noexcept - : GetFragmentUsageResponse() { + ListRobotsRequest(const ListRobotsRequest& from); + ListRobotsRequest(ListRobotsRequest&& from) noexcept + : ListRobotsRequest() { *this = ::std::move(from); } - inline GetFragmentUsageResponse& operator=(const GetFragmentUsageResponse& from) { + inline ListRobotsRequest& operator=(const ListRobotsRequest& from) { CopyFrom(from); return *this; } - inline GetFragmentUsageResponse& operator=(GetFragmentUsageResponse&& from) noexcept { + inline ListRobotsRequest& operator=(ListRobotsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20738,20 +23602,20 @@ class GetFragmentUsageResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const GetFragmentUsageResponse& default_instance() { + static const ListRobotsRequest& default_instance() { return *internal_default_instance(); } - static inline const GetFragmentUsageResponse* internal_default_instance() { - return reinterpret_cast( - &_GetFragmentUsageResponse_default_instance_); + static inline const ListRobotsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListRobotsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 116; + 139; - friend void swap(GetFragmentUsageResponse& a, GetFragmentUsageResponse& b) { + friend void swap(ListRobotsRequest& a, ListRobotsRequest& b) { a.Swap(&b); } - inline void Swap(GetFragmentUsageResponse* other) { + inline void Swap(ListRobotsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20764,7 +23628,7 @@ class GetFragmentUsageResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(GetFragmentUsageResponse* other) { + void UnsafeArenaSwap(ListRobotsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20772,13 +23636,13 @@ class GetFragmentUsageResponse final : // implements Message ---------------------------------------------- - GetFragmentUsageResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListRobotsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GetFragmentUsageResponse& from); + void CopyFrom(const ListRobotsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const GetFragmentUsageResponse& from); + void MergeFrom(const ListRobotsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -20795,15 +23659,15 @@ class GetFragmentUsageResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetFragmentUsageResponse* other); + void InternalSwap(ListRobotsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.GetFragmentUsageResponse"; + return "viam.app.v1.ListRobotsRequest"; } protected: - explicit GetFragmentUsageResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20817,57 +23681,53 @@ class GetFragmentUsageResponse final : // accessors ------------------------------------------------------- enum : int { - kVersionUsagesFieldNumber = 1, + kLocationIdFieldNumber = 1, }; - // repeated .viam.app.v1.FragmentUsage version_usages = 1 [json_name = "versionUsages"]; - int version_usages_size() const; - private: - int _internal_version_usages_size() const; - public: - void clear_version_usages(); - ::viam::app::v1::FragmentUsage* mutable_version_usages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >* - mutable_version_usages(); + // string location_id = 1 [json_name = "locationId"]; + void clear_location_id(); + const std::string& location_id() const; + template + void set_location_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_location_id(); + PROTOBUF_NODISCARD std::string* release_location_id(); + void set_allocated_location_id(std::string* location_id); private: - const ::viam::app::v1::FragmentUsage& _internal_version_usages(int index) const; - ::viam::app::v1::FragmentUsage* _internal_add_version_usages(); + const std::string& _internal_location_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); + std::string* _internal_mutable_location_id(); public: - const ::viam::app::v1::FragmentUsage& version_usages(int index) const; - ::viam::app::v1::FragmentUsage* add_version_usages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage >& - version_usages() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.GetFragmentUsageResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListRobotsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentUsage > version_usages_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class SetFragmentTagRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.SetFragmentTagRequest) */ { +class AdditionalFragment final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.AdditionalFragment) */ { public: - inline SetFragmentTagRequest() : SetFragmentTagRequest(nullptr) {} - ~SetFragmentTagRequest() override; - explicit PROTOBUF_CONSTEXPR SetFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline AdditionalFragment() : AdditionalFragment(nullptr) {} + ~AdditionalFragment() override; + explicit PROTOBUF_CONSTEXPR AdditionalFragment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - SetFragmentTagRequest(const SetFragmentTagRequest& from); - SetFragmentTagRequest(SetFragmentTagRequest&& from) noexcept - : SetFragmentTagRequest() { + AdditionalFragment(const AdditionalFragment& from); + AdditionalFragment(AdditionalFragment&& from) noexcept + : AdditionalFragment() { *this = ::std::move(from); } - inline SetFragmentTagRequest& operator=(const SetFragmentTagRequest& from) { + inline AdditionalFragment& operator=(const AdditionalFragment& from) { CopyFrom(from); return *this; } - inline SetFragmentTagRequest& operator=(SetFragmentTagRequest&& from) noexcept { + inline AdditionalFragment& operator=(AdditionalFragment&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -20890,20 +23750,20 @@ class SetFragmentTagRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const SetFragmentTagRequest& default_instance() { + static const AdditionalFragment& default_instance() { return *internal_default_instance(); } - static inline const SetFragmentTagRequest* internal_default_instance() { - return reinterpret_cast( - &_SetFragmentTagRequest_default_instance_); + static inline const AdditionalFragment* internal_default_instance() { + return reinterpret_cast( + &_AdditionalFragment_default_instance_); } static constexpr int kIndexInFileMessages = - 117; + 140; - friend void swap(SetFragmentTagRequest& a, SetFragmentTagRequest& b) { + friend void swap(AdditionalFragment& a, AdditionalFragment& b) { a.Swap(&b); } - inline void Swap(SetFragmentTagRequest* other) { + inline void Swap(AdditionalFragment* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -20916,7 +23776,7 @@ class SetFragmentTagRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetFragmentTagRequest* other) { + void UnsafeArenaSwap(AdditionalFragment* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -20924,13 +23784,13 @@ class SetFragmentTagRequest final : // implements Message ---------------------------------------------- - SetFragmentTagRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + AdditionalFragment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SetFragmentTagRequest& from); + void CopyFrom(const AdditionalFragment& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const SetFragmentTagRequest& from); + void MergeFrom(const AdditionalFragment& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -20947,15 +23807,15 @@ class SetFragmentTagRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(SetFragmentTagRequest* other); + void InternalSwap(AdditionalFragment* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.SetFragmentTagRequest"; + return "viam.app.v1.AdditionalFragment"; } protected: - explicit SetFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit AdditionalFragment(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -20970,8 +23830,7 @@ class SetFragmentTagRequest final : enum : int { kFragmentIdFieldNumber = 1, - kTagFieldNumber = 2, - kRevisionFieldNumber = 3, + kVersionFieldNumber = 2, }; // string fragment_id = 1 [json_name = "fragmentId"]; void clear_fragment_id(); @@ -20987,67 +23846,57 @@ class SetFragmentTagRequest final : std::string* _internal_mutable_fragment_id(); public: - // string tag = 2 [json_name = "tag"]; - void clear_tag(); - const std::string& tag() const; - template - void set_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tag(); - PROTOBUF_NODISCARD std::string* release_tag(); - void set_allocated_tag(std::string* tag); - private: - const std::string& _internal_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); - std::string* _internal_mutable_tag(); + // optional string version = 2 [json_name = "version"]; + bool has_version() const; + private: + bool _internal_has_version() const; public: - - // string revision = 3 [json_name = "revision"]; - void clear_revision(); - const std::string& revision() const; + void clear_version(); + const std::string& version() const; template - void set_revision(ArgT0&& arg0, ArgT... args); - std::string* mutable_revision(); - PROTOBUF_NODISCARD std::string* release_revision(); - void set_allocated_revision(std::string* revision); + void set_version(ArgT0&& arg0, ArgT... args); + std::string* mutable_version(); + PROTOBUF_NODISCARD std::string* release_version(); + void set_allocated_version(std::string* version); private: - const std::string& _internal_revision() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); - std::string* _internal_mutable_revision(); + const std::string& _internal_version() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); + std::string* _internal_mutable_version(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.SetFragmentTagRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.AdditionalFragment) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class SetFragmentTagResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.SetFragmentTagResponse) */ { +class ListMachineFragmentsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsRequest) */ { public: - inline SetFragmentTagResponse() : SetFragmentTagResponse(nullptr) {} - ~SetFragmentTagResponse() override; - explicit PROTOBUF_CONSTEXPR SetFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListMachineFragmentsRequest() : ListMachineFragmentsRequest(nullptr) {} + ~ListMachineFragmentsRequest() override; + explicit PROTOBUF_CONSTEXPR ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - SetFragmentTagResponse(const SetFragmentTagResponse& from); - SetFragmentTagResponse(SetFragmentTagResponse&& from) noexcept - : SetFragmentTagResponse() { + ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from); + ListMachineFragmentsRequest(ListMachineFragmentsRequest&& from) noexcept + : ListMachineFragmentsRequest() { *this = ::std::move(from); } - inline SetFragmentTagResponse& operator=(const SetFragmentTagResponse& from) { + inline ListMachineFragmentsRequest& operator=(const ListMachineFragmentsRequest& from) { CopyFrom(from); return *this; } - inline SetFragmentTagResponse& operator=(SetFragmentTagResponse&& from) noexcept { + inline ListMachineFragmentsRequest& operator=(ListMachineFragmentsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -21070,20 +23919,20 @@ class SetFragmentTagResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const SetFragmentTagResponse& default_instance() { + static const ListMachineFragmentsRequest& default_instance() { return *internal_default_instance(); } - static inline const SetFragmentTagResponse* internal_default_instance() { - return reinterpret_cast( - &_SetFragmentTagResponse_default_instance_); + static inline const ListMachineFragmentsRequest* internal_default_instance() { + return reinterpret_cast( + &_ListMachineFragmentsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 118; + 141; - friend void swap(SetFragmentTagResponse& a, SetFragmentTagResponse& b) { + friend void swap(ListMachineFragmentsRequest& a, ListMachineFragmentsRequest& b) { a.Swap(&b); } - inline void Swap(SetFragmentTagResponse* other) { + inline void Swap(ListMachineFragmentsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -21096,7 +23945,7 @@ class SetFragmentTagResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetFragmentTagResponse* other) { + void UnsafeArenaSwap(ListMachineFragmentsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -21104,13 +23953,13 @@ class SetFragmentTagResponse final : // implements Message ---------------------------------------------- - SetFragmentTagResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListMachineFragmentsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SetFragmentTagResponse& from); + void CopyFrom(const ListMachineFragmentsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const SetFragmentTagResponse& from); + void MergeFrom(const ListMachineFragmentsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -21127,15 +23976,15 @@ class SetFragmentTagResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(SetFragmentTagResponse* other); + void InternalSwap(ListMachineFragmentsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.SetFragmentTagResponse"; + return "viam.app.v1.ListMachineFragmentsRequest"; } protected: - explicit SetFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -21149,57 +23998,99 @@ class SetFragmentTagResponse final : // accessors ------------------------------------------------------- enum : int { - kTagsFieldNumber = 1, + kAdditionalFragmentIdsFieldNumber = 2, + kAdditionalFragmentsFieldNumber = 3, + kMachineIdFieldNumber = 1, }; - // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; - int tags_size() const; + // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; + int additional_fragment_ids_size() const; private: - int _internal_tags_size() const; + int _internal_additional_fragment_ids_size() const; public: - void clear_tags(); - ::viam::app::v1::FragmentTag* mutable_tags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >* - mutable_tags(); + 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, size_t size); + 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, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& additional_fragment_ids() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_additional_fragment_ids(); private: - const ::viam::app::v1::FragmentTag& _internal_tags(int index) const; - ::viam::app::v1::FragmentTag* _internal_add_tags(); + const std::string& _internal_additional_fragment_ids(int index) const; + std::string* _internal_add_additional_fragment_ids(); public: - const ::viam::app::v1::FragmentTag& tags(int index) const; - ::viam::app::v1::FragmentTag* add_tags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >& - tags() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.SetFragmentTagResponse) + // repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; + int additional_fragments_size() const; + private: + int _internal_additional_fragments_size() const; + public: + void clear_additional_fragments(); + ::viam::app::v1::AdditionalFragment* mutable_additional_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >* + mutable_additional_fragments(); + private: + const ::viam::app::v1::AdditionalFragment& _internal_additional_fragments(int index) const; + ::viam::app::v1::AdditionalFragment* _internal_add_additional_fragments(); + public: + const ::viam::app::v1::AdditionalFragment& additional_fragments(int index) const; + ::viam::app::v1::AdditionalFragment* add_additional_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >& + additional_fragments() const; + + // string machine_id = 1 [json_name = "machineId"]; + void clear_machine_id(); + const std::string& machine_id() const; + template + void set_machine_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_machine_id(); + PROTOBUF_NODISCARD std::string* release_machine_id(); + void set_allocated_machine_id(std::string* machine_id); + private: + const std::string& _internal_machine_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_machine_id(const std::string& value); + std::string* _internal_mutable_machine_id(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.ListMachineFragmentsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag > tags_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField additional_fragment_ids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment > additional_fragments_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr machine_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteFragmentTagRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentTagRequest) */ { +class ListMachineFragmentsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsResponse) */ { public: - inline DeleteFragmentTagRequest() : DeleteFragmentTagRequest(nullptr) {} - ~DeleteFragmentTagRequest() override; - explicit PROTOBUF_CONSTEXPR DeleteFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListMachineFragmentsResponse() : ListMachineFragmentsResponse(nullptr) {} + ~ListMachineFragmentsResponse() override; + explicit PROTOBUF_CONSTEXPR ListMachineFragmentsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteFragmentTagRequest(const DeleteFragmentTagRequest& from); - DeleteFragmentTagRequest(DeleteFragmentTagRequest&& from) noexcept - : DeleteFragmentTagRequest() { + ListMachineFragmentsResponse(const ListMachineFragmentsResponse& from); + ListMachineFragmentsResponse(ListMachineFragmentsResponse&& from) noexcept + : ListMachineFragmentsResponse() { *this = ::std::move(from); } - inline DeleteFragmentTagRequest& operator=(const DeleteFragmentTagRequest& from) { + inline ListMachineFragmentsResponse& operator=(const ListMachineFragmentsResponse& from) { CopyFrom(from); return *this; } - inline DeleteFragmentTagRequest& operator=(DeleteFragmentTagRequest&& from) noexcept { + inline ListMachineFragmentsResponse& operator=(ListMachineFragmentsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -21222,20 +24113,20 @@ class DeleteFragmentTagRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteFragmentTagRequest& default_instance() { + static const ListMachineFragmentsResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteFragmentTagRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteFragmentTagRequest_default_instance_); + static inline const ListMachineFragmentsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListMachineFragmentsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 119; + 142; - friend void swap(DeleteFragmentTagRequest& a, DeleteFragmentTagRequest& b) { + friend void swap(ListMachineFragmentsResponse& a, ListMachineFragmentsResponse& b) { a.Swap(&b); } - inline void Swap(DeleteFragmentTagRequest* other) { + inline void Swap(ListMachineFragmentsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -21248,7 +24139,7 @@ class DeleteFragmentTagRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteFragmentTagRequest* other) { + void UnsafeArenaSwap(ListMachineFragmentsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -21256,13 +24147,13 @@ class DeleteFragmentTagRequest final : // implements Message ---------------------------------------------- - DeleteFragmentTagRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListMachineFragmentsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteFragmentTagRequest& from); + void CopyFrom(const ListMachineFragmentsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeleteFragmentTagRequest& from); + void MergeFrom(const ListMachineFragmentsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -21279,15 +24170,15 @@ class DeleteFragmentTagRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteFragmentTagRequest* other); + void InternalSwap(ListMachineFragmentsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteFragmentTagRequest"; + return "viam.app.v1.ListMachineFragmentsResponse"; } protected: - explicit DeleteFragmentTagRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListMachineFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -21301,69 +24192,77 @@ class DeleteFragmentTagRequest final : // accessors ------------------------------------------------------- enum : int { - kFragmentIdFieldNumber = 1, - kTagFieldNumber = 2, + kFragmentsFieldNumber = 1, + kResolvedFragmentsFieldNumber = 2, }; - // string fragment_id = 1 [json_name = "fragmentId"]; - void clear_fragment_id(); - const std::string& fragment_id() const; - template - void set_fragment_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_fragment_id(); - PROTOBUF_NODISCARD std::string* release_fragment_id(); - void set_allocated_fragment_id(std::string* fragment_id); + // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; + int fragments_size() const; private: - const std::string& _internal_fragment_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fragment_id(const std::string& value); - std::string* _internal_mutable_fragment_id(); + int _internal_fragments_size() const; + public: + void clear_fragments(); + ::viam::app::v1::Fragment* mutable_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >* + mutable_fragments(); + private: + const ::viam::app::v1::Fragment& _internal_fragments(int index) const; + ::viam::app::v1::Fragment* _internal_add_fragments(); public: + const ::viam::app::v1::Fragment& fragments(int index) const; + ::viam::app::v1::Fragment* add_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >& + fragments() const; - // string tag = 2 [json_name = "tag"]; - void clear_tag(); - const std::string& tag() const; - template - void set_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tag(); - PROTOBUF_NODISCARD std::string* release_tag(); - void set_allocated_tag(std::string* tag); + // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; + int resolved_fragments_size() const; private: - const std::string& _internal_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); - std::string* _internal_mutable_tag(); + int _internal_resolved_fragments_size() const; + public: + void clear_resolved_fragments(); + ::viam::app::v1::ResolvedFragment* mutable_resolved_fragments(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >* + mutable_resolved_fragments(); + private: + const ::viam::app::v1::ResolvedFragment& _internal_resolved_fragments(int index) const; + ::viam::app::v1::ResolvedFragment* _internal_add_resolved_fragments(); public: + const ::viam::app::v1::ResolvedFragment& resolved_fragments(int index) const; + ::viam::app::v1::ResolvedFragment* add_resolved_fragments(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >& + resolved_fragments() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentTagRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListMachineFragmentsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fragment_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment > fragments_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment > resolved_fragments_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteFragmentTagResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteFragmentTagResponse) */ { +class ListRobotsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListRobotsResponse) */ { public: - inline DeleteFragmentTagResponse() : DeleteFragmentTagResponse(nullptr) {} - ~DeleteFragmentTagResponse() override; - explicit PROTOBUF_CONSTEXPR DeleteFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListRobotsResponse() : ListRobotsResponse(nullptr) {} + ~ListRobotsResponse() override; + explicit PROTOBUF_CONSTEXPR ListRobotsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteFragmentTagResponse(const DeleteFragmentTagResponse& from); - DeleteFragmentTagResponse(DeleteFragmentTagResponse&& from) noexcept - : DeleteFragmentTagResponse() { + ListRobotsResponse(const ListRobotsResponse& from); + ListRobotsResponse(ListRobotsResponse&& from) noexcept + : ListRobotsResponse() { *this = ::std::move(from); } - inline DeleteFragmentTagResponse& operator=(const DeleteFragmentTagResponse& from) { + inline ListRobotsResponse& operator=(const ListRobotsResponse& from) { CopyFrom(from); return *this; } - inline DeleteFragmentTagResponse& operator=(DeleteFragmentTagResponse&& from) noexcept { + inline ListRobotsResponse& operator=(ListRobotsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -21386,20 +24285,20 @@ class DeleteFragmentTagResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteFragmentTagResponse& default_instance() { + static const ListRobotsResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteFragmentTagResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteFragmentTagResponse_default_instance_); + static inline const ListRobotsResponse* internal_default_instance() { + return reinterpret_cast( + &_ListRobotsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 120; + 143; - friend void swap(DeleteFragmentTagResponse& a, DeleteFragmentTagResponse& b) { + friend void swap(ListRobotsResponse& a, ListRobotsResponse& b) { a.Swap(&b); } - inline void Swap(DeleteFragmentTagResponse* other) { + inline void Swap(ListRobotsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -21412,7 +24311,7 @@ class DeleteFragmentTagResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteFragmentTagResponse* other) { + void UnsafeArenaSwap(ListRobotsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -21420,13 +24319,13 @@ class DeleteFragmentTagResponse final : // implements Message ---------------------------------------------- - DeleteFragmentTagResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListRobotsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteFragmentTagResponse& from); + void CopyFrom(const ListRobotsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeleteFragmentTagResponse& from); + void MergeFrom(const ListRobotsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -21443,15 +24342,15 @@ class DeleteFragmentTagResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteFragmentTagResponse* other); + void InternalSwap(ListRobotsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteFragmentTagResponse"; + return "viam.app.v1.ListRobotsResponse"; } protected: - explicit DeleteFragmentTagResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -21465,57 +24364,57 @@ class DeleteFragmentTagResponse final : // accessors ------------------------------------------------------- enum : int { - kTagsFieldNumber = 1, + kRobotsFieldNumber = 1, }; - // repeated .viam.app.v1.FragmentTag tags = 1 [json_name = "tags"]; - int tags_size() const; + // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; + int robots_size() const; private: - int _internal_tags_size() const; + int _internal_robots_size() const; public: - void clear_tags(); - ::viam::app::v1::FragmentTag* mutable_tags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >* - mutable_tags(); + void clear_robots(); + ::viam::app::v1::Robot* mutable_robots(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Robot >* + mutable_robots(); private: - const ::viam::app::v1::FragmentTag& _internal_tags(int index) const; - ::viam::app::v1::FragmentTag* _internal_add_tags(); + const ::viam::app::v1::Robot& _internal_robots(int index) const; + ::viam::app::v1::Robot* _internal_add_robots(); public: - const ::viam::app::v1::FragmentTag& tags(int index) const; - ::viam::app::v1::FragmentTag* add_tags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag >& - tags() const; + const ::viam::app::v1::Robot& robots(int index) const; + ::viam::app::v1::Robot* add_robots(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Robot >& + robots() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentTagResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.ListRobotsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::FragmentTag > tags_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Robot > robots_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListRobotsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListRobotsRequest) */ { +class NewRobotRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotRequest) */ { public: - inline ListRobotsRequest() : ListRobotsRequest(nullptr) {} - ~ListRobotsRequest() override; - explicit PROTOBUF_CONSTEXPR ListRobotsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NewRobotRequest() : NewRobotRequest(nullptr) {} + ~NewRobotRequest() override; + explicit PROTOBUF_CONSTEXPR NewRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListRobotsRequest(const ListRobotsRequest& from); - ListRobotsRequest(ListRobotsRequest&& from) noexcept - : ListRobotsRequest() { + NewRobotRequest(const NewRobotRequest& from); + NewRobotRequest(NewRobotRequest&& from) noexcept + : NewRobotRequest() { *this = ::std::move(from); } - inline ListRobotsRequest& operator=(const ListRobotsRequest& from) { + inline NewRobotRequest& operator=(const NewRobotRequest& from) { CopyFrom(from); return *this; } - inline ListRobotsRequest& operator=(ListRobotsRequest&& from) noexcept { + inline NewRobotRequest& operator=(NewRobotRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -21538,20 +24437,20 @@ class ListRobotsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListRobotsRequest& default_instance() { + static const NewRobotRequest& default_instance() { return *internal_default_instance(); } - static inline const ListRobotsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListRobotsRequest_default_instance_); + static inline const NewRobotRequest* internal_default_instance() { + return reinterpret_cast( + &_NewRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 121; + 144; - friend void swap(ListRobotsRequest& a, ListRobotsRequest& b) { + friend void swap(NewRobotRequest& a, NewRobotRequest& b) { a.Swap(&b); } - inline void Swap(ListRobotsRequest* other) { + inline void Swap(NewRobotRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -21564,7 +24463,7 @@ class ListRobotsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListRobotsRequest* other) { + void UnsafeArenaSwap(NewRobotRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -21572,13 +24471,13 @@ class ListRobotsRequest final : // implements Message ---------------------------------------------- - ListRobotsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + NewRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListRobotsRequest& from); + void CopyFrom(const NewRobotRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListRobotsRequest& from); + void MergeFrom(const NewRobotRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -21595,15 +24494,15 @@ class ListRobotsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListRobotsRequest* other); + void InternalSwap(NewRobotRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListRobotsRequest"; + return "viam.app.v1.NewRobotRequest"; } protected: - explicit ListRobotsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit NewRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -21617,53 +24516,69 @@ class ListRobotsRequest final : // accessors ------------------------------------------------------- enum : int { - kLocationIdFieldNumber = 1, + kNameFieldNumber = 1, + kLocationFieldNumber = 2, }; - // string location_id = 1 [json_name = "locationId"]; - void clear_location_id(); - const std::string& location_id() const; + // string name = 1 [json_name = "name"]; + void clear_name(); + const std::string& name() const; template - void set_location_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_location_id(); - PROTOBUF_NODISCARD std::string* release_location_id(); - void set_allocated_location_id(std::string* location_id); + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); private: - const std::string& _internal_location_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_location_id(const std::string& value); - std::string* _internal_mutable_location_id(); + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ListRobotsRequest) + // string location = 2 [json_name = "location"]; + void clear_location(); + const std::string& location() const; + template + void set_location(ArgT0&& arg0, ArgT... args); + std::string* mutable_location(); + PROTOBUF_NODISCARD std::string* release_location(); + void set_allocated_location(std::string* location); + private: + const std::string& _internal_location() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location(const std::string& value); + std::string* _internal_mutable_location(); + public: + + // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListMachineFragmentsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsRequest) */ { +class NewRobotResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotResponse) */ { public: - inline ListMachineFragmentsRequest() : ListMachineFragmentsRequest(nullptr) {} - ~ListMachineFragmentsRequest() override; - explicit PROTOBUF_CONSTEXPR ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NewRobotResponse() : NewRobotResponse(nullptr) {} + ~NewRobotResponse() override; + explicit PROTOBUF_CONSTEXPR NewRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListMachineFragmentsRequest(const ListMachineFragmentsRequest& from); - ListMachineFragmentsRequest(ListMachineFragmentsRequest&& from) noexcept - : ListMachineFragmentsRequest() { + NewRobotResponse(const NewRobotResponse& from); + NewRobotResponse(NewRobotResponse&& from) noexcept + : NewRobotResponse() { *this = ::std::move(from); } - inline ListMachineFragmentsRequest& operator=(const ListMachineFragmentsRequest& from) { + inline NewRobotResponse& operator=(const NewRobotResponse& from) { CopyFrom(from); return *this; } - inline ListMachineFragmentsRequest& operator=(ListMachineFragmentsRequest&& from) noexcept { + inline NewRobotResponse& operator=(NewRobotResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -21686,20 +24601,20 @@ class ListMachineFragmentsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListMachineFragmentsRequest& default_instance() { + static const NewRobotResponse& default_instance() { return *internal_default_instance(); } - static inline const ListMachineFragmentsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListMachineFragmentsRequest_default_instance_); + static inline const NewRobotResponse* internal_default_instance() { + return reinterpret_cast( + &_NewRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 122; + 145; - friend void swap(ListMachineFragmentsRequest& a, ListMachineFragmentsRequest& b) { + friend void swap(NewRobotResponse& a, NewRobotResponse& b) { a.Swap(&b); } - inline void Swap(ListMachineFragmentsRequest* other) { + inline void Swap(NewRobotResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -21712,7 +24627,7 @@ class ListMachineFragmentsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListMachineFragmentsRequest* other) { + void UnsafeArenaSwap(NewRobotResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -21720,13 +24635,13 @@ class ListMachineFragmentsRequest final : // implements Message ---------------------------------------------- - ListMachineFragmentsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + NewRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListMachineFragmentsRequest& from); + void CopyFrom(const NewRobotResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListMachineFragmentsRequest& from); + void MergeFrom(const NewRobotResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -21743,101 +24658,75 @@ class ListMachineFragmentsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListMachineFragmentsRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListMachineFragmentsRequest"; - } - protected: - explicit ListMachineFragmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- + void InternalSwap(NewRobotResponse* other); - enum : int { - kAdditionalFragmentIdsFieldNumber = 2, - kMachineIdFieldNumber = 1, - }; - // repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"]; - int additional_fragment_ids_size() const; - private: - int _internal_additional_fragment_ids_size() const; - public: - 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, size_t size); - 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, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& additional_fragment_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_additional_fragment_ids(); private: - const std::string& _internal_additional_fragment_ids(int index) const; - std::string* _internal_add_additional_fragment_ids(); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "viam.app.v1.NewRobotResponse"; + } + protected: + explicit NewRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); public: - // string machine_id = 1 [json_name = "machineId"]; - void clear_machine_id(); - const std::string& machine_id() const; + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIdFieldNumber = 1, + }; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_machine_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_machine_id(); - PROTOBUF_NODISCARD std::string* release_machine_id(); - void set_allocated_machine_id(std::string* machine_id); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_machine_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_machine_id(const std::string& value); - std::string* _internal_mutable_machine_id(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.ListMachineFragmentsRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField additional_fragment_ids_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr machine_id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListMachineFragmentsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListMachineFragmentsResponse) */ { +class UpdateRobotRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotRequest) */ { public: - inline ListMachineFragmentsResponse() : ListMachineFragmentsResponse(nullptr) {} - ~ListMachineFragmentsResponse() override; - explicit PROTOBUF_CONSTEXPR ListMachineFragmentsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateRobotRequest() : UpdateRobotRequest(nullptr) {} + ~UpdateRobotRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListMachineFragmentsResponse(const ListMachineFragmentsResponse& from); - ListMachineFragmentsResponse(ListMachineFragmentsResponse&& from) noexcept - : ListMachineFragmentsResponse() { + UpdateRobotRequest(const UpdateRobotRequest& from); + UpdateRobotRequest(UpdateRobotRequest&& from) noexcept + : UpdateRobotRequest() { *this = ::std::move(from); } - inline ListMachineFragmentsResponse& operator=(const ListMachineFragmentsResponse& from) { + inline UpdateRobotRequest& operator=(const UpdateRobotRequest& from) { CopyFrom(from); return *this; } - inline ListMachineFragmentsResponse& operator=(ListMachineFragmentsResponse&& from) noexcept { + inline UpdateRobotRequest& operator=(UpdateRobotRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -21860,20 +24749,20 @@ class ListMachineFragmentsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListMachineFragmentsResponse& default_instance() { + static const UpdateRobotRequest& default_instance() { return *internal_default_instance(); } - static inline const ListMachineFragmentsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListMachineFragmentsResponse_default_instance_); + static inline const UpdateRobotRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 123; + 146; - friend void swap(ListMachineFragmentsResponse& a, ListMachineFragmentsResponse& b) { + friend void swap(UpdateRobotRequest& a, UpdateRobotRequest& b) { a.Swap(&b); } - inline void Swap(ListMachineFragmentsResponse* other) { + inline void Swap(UpdateRobotRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -21886,7 +24775,7 @@ class ListMachineFragmentsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListMachineFragmentsResponse* other) { + void UnsafeArenaSwap(UpdateRobotRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -21894,13 +24783,13 @@ class ListMachineFragmentsResponse final : // implements Message ---------------------------------------------- - ListMachineFragmentsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListMachineFragmentsResponse& from); + void CopyFrom(const UpdateRobotRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListMachineFragmentsResponse& from); + void MergeFrom(const UpdateRobotRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -21917,15 +24806,15 @@ class ListMachineFragmentsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListMachineFragmentsResponse* other); + void InternalSwap(UpdateRobotRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListMachineFragmentsResponse"; + return "viam.app.v1.UpdateRobotRequest"; } protected: - explicit ListMachineFragmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -21939,77 +24828,85 @@ class ListMachineFragmentsResponse final : // accessors ------------------------------------------------------- enum : int { - kFragmentsFieldNumber = 1, - kResolvedFragmentsFieldNumber = 2, + kIdFieldNumber = 1, + kNameFieldNumber = 2, + kLocationFieldNumber = 3, }; - // repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"]; - int fragments_size() const; - private: - int _internal_fragments_size() const; - public: - void clear_fragments(); - ::viam::app::v1::Fragment* mutable_fragments(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >* - mutable_fragments(); + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; + template + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const ::viam::app::v1::Fragment& _internal_fragments(int index) const; - ::viam::app::v1::Fragment* _internal_add_fragments(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - const ::viam::app::v1::Fragment& fragments(int index) const; - ::viam::app::v1::Fragment* add_fragments(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment >& - fragments() const; - // repeated .viam.app.v1.ResolvedFragment resolved_fragments = 2 [json_name = "resolvedFragments"]; - int resolved_fragments_size() const; + // string name = 2 [json_name = "name"]; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); private: - int _internal_resolved_fragments_size() const; + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); public: - void clear_resolved_fragments(); - ::viam::app::v1::ResolvedFragment* mutable_resolved_fragments(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >* - mutable_resolved_fragments(); + + // string location = 3 [json_name = "location"]; + void clear_location(); + const std::string& location() const; + template + void set_location(ArgT0&& arg0, ArgT... args); + std::string* mutable_location(); + PROTOBUF_NODISCARD std::string* release_location(); + void set_allocated_location(std::string* location); private: - const ::viam::app::v1::ResolvedFragment& _internal_resolved_fragments(int index) const; - ::viam::app::v1::ResolvedFragment* _internal_add_resolved_fragments(); + const std::string& _internal_location() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_location(const std::string& value); + std::string* _internal_mutable_location(); public: - const ::viam::app::v1::ResolvedFragment& resolved_fragments(int index) const; - ::viam::app::v1::ResolvedFragment* add_resolved_fragments(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment >& - resolved_fragments() const; - // @@protoc_insertion_point(class_scope:viam.app.v1.ListMachineFragmentsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Fragment > fragments_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::ResolvedFragment > resolved_fragments_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class ListRobotsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.ListRobotsResponse) */ { +class UpdateRobotResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotResponse) */ { public: - inline ListRobotsResponse() : ListRobotsResponse(nullptr) {} - ~ListRobotsResponse() override; - explicit PROTOBUF_CONSTEXPR ListRobotsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateRobotResponse() : UpdateRobotResponse(nullptr) {} + ~UpdateRobotResponse() override; + explicit PROTOBUF_CONSTEXPR UpdateRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ListRobotsResponse(const ListRobotsResponse& from); - ListRobotsResponse(ListRobotsResponse&& from) noexcept - : ListRobotsResponse() { + UpdateRobotResponse(const UpdateRobotResponse& from); + UpdateRobotResponse(UpdateRobotResponse&& from) noexcept + : UpdateRobotResponse() { *this = ::std::move(from); } - inline ListRobotsResponse& operator=(const ListRobotsResponse& from) { + inline UpdateRobotResponse& operator=(const UpdateRobotResponse& from) { CopyFrom(from); return *this; } - inline ListRobotsResponse& operator=(ListRobotsResponse&& from) noexcept { + inline UpdateRobotResponse& operator=(UpdateRobotResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22032,20 +24929,20 @@ class ListRobotsResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ListRobotsResponse& default_instance() { + static const UpdateRobotResponse& default_instance() { return *internal_default_instance(); } - static inline const ListRobotsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListRobotsResponse_default_instance_); + static inline const UpdateRobotResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 124; + 147; - friend void swap(ListRobotsResponse& a, ListRobotsResponse& b) { + friend void swap(UpdateRobotResponse& a, UpdateRobotResponse& b) { a.Swap(&b); } - inline void Swap(ListRobotsResponse* other) { + inline void Swap(UpdateRobotResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -22058,7 +24955,7 @@ class ListRobotsResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ListRobotsResponse* other) { + void UnsafeArenaSwap(UpdateRobotResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -22066,13 +24963,13 @@ class ListRobotsResponse final : // implements Message ---------------------------------------------- - ListRobotsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ListRobotsResponse& from); + void CopyFrom(const UpdateRobotResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ListRobotsResponse& from); + void MergeFrom(const UpdateRobotResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -22089,15 +24986,15 @@ class ListRobotsResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ListRobotsResponse* other); + void InternalSwap(UpdateRobotResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.ListRobotsResponse"; + return "viam.app.v1.UpdateRobotResponse"; } protected: - explicit ListRobotsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -22111,57 +25008,57 @@ class ListRobotsResponse final : // accessors ------------------------------------------------------- enum : int { - kRobotsFieldNumber = 1, + kRobotFieldNumber = 1, }; - // repeated .viam.app.v1.Robot robots = 1 [json_name = "robots"]; - int robots_size() const; + // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; + bool has_robot() const; private: - int _internal_robots_size() const; + bool _internal_has_robot() const; public: - void clear_robots(); - ::viam::app::v1::Robot* mutable_robots(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Robot >* - mutable_robots(); + void clear_robot(); + const ::viam::app::v1::Robot& robot() const; + PROTOBUF_NODISCARD ::viam::app::v1::Robot* release_robot(); + ::viam::app::v1::Robot* mutable_robot(); + void set_allocated_robot(::viam::app::v1::Robot* robot); private: - const ::viam::app::v1::Robot& _internal_robots(int index) const; - ::viam::app::v1::Robot* _internal_add_robots(); + const ::viam::app::v1::Robot& _internal_robot() const; + ::viam::app::v1::Robot* _internal_mutable_robot(); public: - const ::viam::app::v1::Robot& robots(int index) const; - ::viam::app::v1::Robot* add_robots(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Robot >& - robots() const; + void unsafe_arena_set_allocated_robot( + ::viam::app::v1::Robot* robot); + ::viam::app::v1::Robot* unsafe_arena_release_robot(); - // @@protoc_insertion_point(class_scope:viam.app.v1.ListRobotsResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::Robot > robots_; + ::viam::app::v1::Robot* robot_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class NewRobotRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotRequest) */ { +class DeleteRobotRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotRequest) */ { public: - inline NewRobotRequest() : NewRobotRequest(nullptr) {} - ~NewRobotRequest() override; - explicit PROTOBUF_CONSTEXPR NewRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteRobotRequest() : DeleteRobotRequest(nullptr) {} + ~DeleteRobotRequest() override; + explicit PROTOBUF_CONSTEXPR DeleteRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NewRobotRequest(const NewRobotRequest& from); - NewRobotRequest(NewRobotRequest&& from) noexcept - : NewRobotRequest() { + DeleteRobotRequest(const DeleteRobotRequest& from); + DeleteRobotRequest(DeleteRobotRequest&& from) noexcept + : DeleteRobotRequest() { *this = ::std::move(from); } - inline NewRobotRequest& operator=(const NewRobotRequest& from) { + inline DeleteRobotRequest& operator=(const DeleteRobotRequest& from) { CopyFrom(from); return *this; } - inline NewRobotRequest& operator=(NewRobotRequest&& from) noexcept { + inline DeleteRobotRequest& operator=(DeleteRobotRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22184,20 +25081,20 @@ class NewRobotRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NewRobotRequest& default_instance() { + static const DeleteRobotRequest& default_instance() { return *internal_default_instance(); } - static inline const NewRobotRequest* internal_default_instance() { - return reinterpret_cast( - &_NewRobotRequest_default_instance_); + static inline const DeleteRobotRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteRobotRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 125; + 148; - friend void swap(NewRobotRequest& a, NewRobotRequest& b) { + friend void swap(DeleteRobotRequest& a, DeleteRobotRequest& b) { a.Swap(&b); } - inline void Swap(NewRobotRequest* other) { + inline void Swap(DeleteRobotRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -22210,7 +25107,7 @@ class NewRobotRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NewRobotRequest* other) { + void UnsafeArenaSwap(DeleteRobotRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -22218,13 +25115,13 @@ class NewRobotRequest final : // implements Message ---------------------------------------------- - NewRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NewRobotRequest& from); + void CopyFrom(const DeleteRobotRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NewRobotRequest& from); + void MergeFrom(const DeleteRobotRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -22241,15 +25138,15 @@ class NewRobotRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NewRobotRequest* other); + void InternalSwap(DeleteRobotRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.NewRobotRequest"; + return "viam.app.v1.DeleteRobotRequest"; } protected: - explicit NewRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -22263,69 +25160,52 @@ class NewRobotRequest final : // accessors ------------------------------------------------------- enum : int { - kNameFieldNumber = 1, - kLocationFieldNumber = 2, + kIdFieldNumber = 1, }; - // string name = 1 [json_name = "name"]; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string location = 2 [json_name = "location"]; - void clear_location(); - const std::string& location() const; + // string id = 1 [json_name = "id"]; + void clear_id(); + const std::string& id() const; template - void set_location(ArgT0&& arg0, ArgT... args); - std::string* mutable_location(); - PROTOBUF_NODISCARD std::string* release_location(); - void set_allocated_location(std::string* location); + void set_id(ArgT0&& arg0, ArgT... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* id); private: - const std::string& _internal_location() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_location(const std::string& value); - std::string* _internal_mutable_location(); + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); + std::string* _internal_mutable_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class NewRobotResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.NewRobotResponse) */ { +class DeleteRobotResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotResponse) */ { public: - inline NewRobotResponse() : NewRobotResponse(nullptr) {} - ~NewRobotResponse() override; - explicit PROTOBUF_CONSTEXPR NewRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteRobotResponse() : DeleteRobotResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR DeleteRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NewRobotResponse(const NewRobotResponse& from); - NewRobotResponse(NewRobotResponse&& from) noexcept - : NewRobotResponse() { + DeleteRobotResponse(const DeleteRobotResponse& from); + DeleteRobotResponse(DeleteRobotResponse&& from) noexcept + : DeleteRobotResponse() { *this = ::std::move(from); } - inline NewRobotResponse& operator=(const NewRobotResponse& from) { + inline DeleteRobotResponse& operator=(const DeleteRobotResponse& from) { CopyFrom(from); return *this; } - inline NewRobotResponse& operator=(NewRobotResponse&& from) noexcept { + inline DeleteRobotResponse& operator=(DeleteRobotResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22348,20 +25228,20 @@ class NewRobotResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NewRobotResponse& default_instance() { + static const DeleteRobotResponse& default_instance() { return *internal_default_instance(); } - static inline const NewRobotResponse* internal_default_instance() { - return reinterpret_cast( - &_NewRobotResponse_default_instance_); + static inline const DeleteRobotResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteRobotResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 126; + 149; - friend void swap(NewRobotResponse& a, NewRobotResponse& b) { + friend void swap(DeleteRobotResponse& a, DeleteRobotResponse& b) { a.Swap(&b); } - inline void Swap(NewRobotResponse* other) { + inline void Swap(DeleteRobotResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -22374,7 +25254,7 @@ class NewRobotResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NewRobotResponse* other) { + void UnsafeArenaSwap(DeleteRobotResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -22382,38 +25262,26 @@ class NewRobotResponse final : // implements Message ---------------------------------------------- - NewRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const DeleteRobotResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const DeleteRobotResponse& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NewRobotResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NewRobotResponse& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(NewRobotResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.NewRobotResponse"; + return "viam.app.v1.DeleteRobotResponse"; } protected: - explicit NewRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -22426,54 +25294,35 @@ class NewRobotResponse final : // accessors ------------------------------------------------------- - enum : int { - kIdFieldNumber = 1, - }; - // string id = 1 [json_name = "id"]; - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - 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: - - // @@protoc_insertion_point(class_scope:viam.app.v1.NewRobotResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class UpdateRobotRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotRequest) */ { +class GetRobotMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotMetadataRequest) */ { public: - inline UpdateRobotRequest() : UpdateRobotRequest(nullptr) {} - ~UpdateRobotRequest() override; - explicit PROTOBUF_CONSTEXPR UpdateRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotMetadataRequest() : GetRobotMetadataRequest(nullptr) {} + ~GetRobotMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR GetRobotMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UpdateRobotRequest(const UpdateRobotRequest& from); - UpdateRobotRequest(UpdateRobotRequest&& from) noexcept - : UpdateRobotRequest() { + GetRobotMetadataRequest(const GetRobotMetadataRequest& from); + GetRobotMetadataRequest(GetRobotMetadataRequest&& from) noexcept + : GetRobotMetadataRequest() { *this = ::std::move(from); } - inline UpdateRobotRequest& operator=(const UpdateRobotRequest& from) { + inline GetRobotMetadataRequest& operator=(const GetRobotMetadataRequest& from) { CopyFrom(from); return *this; } - inline UpdateRobotRequest& operator=(UpdateRobotRequest&& from) noexcept { + inline GetRobotMetadataRequest& operator=(GetRobotMetadataRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22496,20 +25345,20 @@ class UpdateRobotRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateRobotRequest& default_instance() { + static const GetRobotMetadataRequest& default_instance() { return *internal_default_instance(); } - static inline const UpdateRobotRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateRobotRequest_default_instance_); + static inline const GetRobotMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_GetRobotMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 127; + 150; - friend void swap(UpdateRobotRequest& a, UpdateRobotRequest& b) { + friend void swap(GetRobotMetadataRequest& a, GetRobotMetadataRequest& b) { a.Swap(&b); } - inline void Swap(UpdateRobotRequest* other) { + inline void Swap(GetRobotMetadataRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -22522,7 +25371,7 @@ class UpdateRobotRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateRobotRequest* other) { + void UnsafeArenaSwap(GetRobotMetadataRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -22530,13 +25379,13 @@ class UpdateRobotRequest final : // implements Message ---------------------------------------------- - UpdateRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UpdateRobotRequest& from); + void CopyFrom(const GetRobotMetadataRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UpdateRobotRequest& from); + void MergeFrom(const GetRobotMetadataRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -22553,15 +25402,15 @@ class UpdateRobotRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UpdateRobotRequest* other); + void InternalSwap(GetRobotMetadataRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UpdateRobotRequest"; + return "viam.app.v1.GetRobotMetadataRequest"; } protected: - explicit UpdateRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -22576,8 +25425,6 @@ class UpdateRobotRequest final : enum : int { kIdFieldNumber = 1, - kNameFieldNumber = 2, - kLocationFieldNumber = 3, }; // string id = 1 [json_name = "id"]; void clear_id(); @@ -22593,35 +25440,7 @@ class UpdateRobotRequest final : std::string* _internal_mutable_id(); public: - // string name = 2 [json_name = "name"]; - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // string location = 3 [json_name = "location"]; - void clear_location(); - const std::string& location() const; - template - void set_location(ArgT0&& arg0, ArgT... args); - std::string* mutable_location(); - PROTOBUF_NODISCARD std::string* release_location(); - void set_allocated_location(std::string* location); - private: - const std::string& _internal_location() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_location(const std::string& value); - std::string* _internal_mutable_location(); - public: - - // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotMetadataRequest) private: class _Internal; @@ -22629,31 +25448,55 @@ class UpdateRobotRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr location_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class UpdateRobotResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotResponse) */ { +class GetRobotMetadataResponse_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + GetRobotMetadataResponse_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR GetRobotMetadataResponse_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit GetRobotMetadataResponse_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const GetRobotMetadataResponse_DataEntry_DoNotUse& other); + static const GetRobotMetadataResponse_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_GetRobotMetadataResponse_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.GetRobotMetadataResponse.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; + +// ------------------------------------------------------------------- + +class GetRobotMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.GetRobotMetadataResponse) */ { public: - inline UpdateRobotResponse() : UpdateRobotResponse(nullptr) {} - ~UpdateRobotResponse() override; - explicit PROTOBUF_CONSTEXPR UpdateRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetRobotMetadataResponse() : GetRobotMetadataResponse(nullptr) {} + ~GetRobotMetadataResponse() override; + explicit PROTOBUF_CONSTEXPR GetRobotMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UpdateRobotResponse(const UpdateRobotResponse& from); - UpdateRobotResponse(UpdateRobotResponse&& from) noexcept - : UpdateRobotResponse() { + GetRobotMetadataResponse(const GetRobotMetadataResponse& from); + GetRobotMetadataResponse(GetRobotMetadataResponse&& from) noexcept + : GetRobotMetadataResponse() { *this = ::std::move(from); } - inline UpdateRobotResponse& operator=(const UpdateRobotResponse& from) { + inline GetRobotMetadataResponse& operator=(const GetRobotMetadataResponse& from) { CopyFrom(from); return *this; } - inline UpdateRobotResponse& operator=(UpdateRobotResponse&& from) noexcept { + inline GetRobotMetadataResponse& operator=(GetRobotMetadataResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22676,20 +25519,20 @@ class UpdateRobotResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateRobotResponse& default_instance() { + static const GetRobotMetadataResponse& default_instance() { return *internal_default_instance(); } - static inline const UpdateRobotResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateRobotResponse_default_instance_); + static inline const GetRobotMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_GetRobotMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 128; + 152; - friend void swap(UpdateRobotResponse& a, UpdateRobotResponse& b) { + friend void swap(GetRobotMetadataResponse& a, GetRobotMetadataResponse& b) { a.Swap(&b); } - inline void Swap(UpdateRobotResponse* other) { + inline void Swap(GetRobotMetadataResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -22702,7 +25545,7 @@ class UpdateRobotResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateRobotResponse* other) { + void UnsafeArenaSwap(GetRobotMetadataResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -22710,13 +25553,13 @@ class UpdateRobotResponse final : // implements Message ---------------------------------------------- - UpdateRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetRobotMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UpdateRobotResponse& from); + void CopyFrom(const GetRobotMetadataResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const UpdateRobotResponse& from); + void MergeFrom(const GetRobotMetadataResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -22733,16 +25576,18 @@ class UpdateRobotResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UpdateRobotResponse* other); + void InternalSwap(GetRobotMetadataResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.UpdateRobotResponse"; + return "viam.app.v1.GetRobotMetadataResponse"; } protected: - explicit UpdateRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetRobotMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); + private: + static void ArenaDtor(void* object); public: static const ClassData _class_data_; @@ -22752,60 +25597,90 @@ class UpdateRobotResponse final : // nested types ---------------------------------------------------- + // accessors ------------------------------------------------------- enum : int { - kRobotFieldNumber = 1, + kDataFieldNumber = 1, }; - // .viam.app.v1.Robot robot = 1 [json_name = "robot"]; - bool has_robot() const; + // map data = 1 [json_name = "data"]; + int data_size() const; private: - bool _internal_has_robot() const; + int _internal_data_size() const; public: - void clear_robot(); - const ::viam::app::v1::Robot& robot() const; - PROTOBUF_NODISCARD ::viam::app::v1::Robot* release_robot(); - ::viam::app::v1::Robot* mutable_robot(); - void set_allocated_robot(::viam::app::v1::Robot* robot); + void clear_data(); private: - const ::viam::app::v1::Robot& _internal_robot() const; - ::viam::app::v1::Robot* _internal_mutable_robot(); + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); public: - void unsafe_arena_set_allocated_robot( - ::viam::app::v1::Robot* robot); - ::viam::app::v1::Robot* unsafe_arena_release_robot(); + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); - // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.GetRobotMetadataResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::viam::app::v1::Robot* robot_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + GetRobotMetadataResponse_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteRobotRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotRequest) */ { +class UpdateRobotMetadataRequest_DataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry { +public: + typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry SuperType; + UpdateRobotMetadataRequest_DataEntry_DoNotUse(); + explicit PROTOBUF_CONSTEXPR UpdateRobotMetadataRequest_DataEntry_DoNotUse( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + explicit UpdateRobotMetadataRequest_DataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void MergeFrom(const UpdateRobotMetadataRequest_DataEntry_DoNotUse& other); + static const UpdateRobotMetadataRequest_DataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_UpdateRobotMetadataRequest_DataEntry_DoNotUse_default_instance_); } + static bool ValidateKey(std::string* s) { + return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "viam.app.v1.UpdateRobotMetadataRequest.DataEntry.key"); + } + static bool ValidateValue(void*) { return true; } + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + friend struct ::TableStruct_app_2fv1_2fapp_2eproto; +}; + +// ------------------------------------------------------------------- + +class UpdateRobotMetadataRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotMetadataRequest) */ { public: - inline DeleteRobotRequest() : DeleteRobotRequest(nullptr) {} - ~DeleteRobotRequest() override; - explicit PROTOBUF_CONSTEXPR DeleteRobotRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateRobotMetadataRequest() : UpdateRobotMetadataRequest(nullptr) {} + ~UpdateRobotMetadataRequest() override; + explicit PROTOBUF_CONSTEXPR UpdateRobotMetadataRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteRobotRequest(const DeleteRobotRequest& from); - DeleteRobotRequest(DeleteRobotRequest&& from) noexcept - : DeleteRobotRequest() { + UpdateRobotMetadataRequest(const UpdateRobotMetadataRequest& from); + UpdateRobotMetadataRequest(UpdateRobotMetadataRequest&& from) noexcept + : UpdateRobotMetadataRequest() { *this = ::std::move(from); } - inline DeleteRobotRequest& operator=(const DeleteRobotRequest& from) { + inline UpdateRobotMetadataRequest& operator=(const UpdateRobotMetadataRequest& from) { CopyFrom(from); return *this; } - inline DeleteRobotRequest& operator=(DeleteRobotRequest&& from) noexcept { + inline UpdateRobotMetadataRequest& operator=(UpdateRobotMetadataRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22828,20 +25703,20 @@ class DeleteRobotRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteRobotRequest& default_instance() { + static const UpdateRobotMetadataRequest& default_instance() { return *internal_default_instance(); } - static inline const DeleteRobotRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteRobotRequest_default_instance_); + static inline const UpdateRobotMetadataRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 129; + 154; - friend void swap(DeleteRobotRequest& a, DeleteRobotRequest& b) { + friend void swap(UpdateRobotMetadataRequest& a, UpdateRobotMetadataRequest& b) { a.Swap(&b); } - inline void Swap(DeleteRobotRequest* other) { + inline void Swap(UpdateRobotMetadataRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -22854,7 +25729,7 @@ class DeleteRobotRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteRobotRequest* other) { + void UnsafeArenaSwap(UpdateRobotMetadataRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -22862,13 +25737,13 @@ class DeleteRobotRequest final : // implements Message ---------------------------------------------- - DeleteRobotRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateRobotMetadataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeleteRobotRequest& from); + void CopyFrom(const UpdateRobotMetadataRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const DeleteRobotRequest& from); + void MergeFrom(const UpdateRobotMetadataRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -22885,16 +25760,18 @@ class DeleteRobotRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteRobotRequest* other); + void InternalSwap(UpdateRobotMetadataRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteRobotRequest"; + return "viam.app.v1.UpdateRobotMetadataRequest"; } protected: - explicit DeleteRobotRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateRobotMetadataRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); + private: + static void ArenaDtor(void* object); public: static const ClassData _class_data_; @@ -22904,11 +25781,30 @@ class DeleteRobotRequest final : // nested types ---------------------------------------------------- + // accessors ------------------------------------------------------- enum : int { + kDataFieldNumber = 2, kIdFieldNumber = 1, }; + // map data = 2 [json_name = "data"]; + int data_size() const; + private: + int _internal_data_size() const; + public: + void clear_data(); + private: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + _internal_data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + _internal_mutable_data(); + public: + const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& + data() const; + ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_data(); + // string id = 1 [json_name = "id"]; void clear_id(); const std::string& id() const; @@ -22923,36 +25819,41 @@ class DeleteRobotRequest final : std::string* _internal_mutable_id(); public: - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotRequest) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotMetadataRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::MapField< + UpdateRobotMetadataRequest_DataEntry_DoNotUse, + std::string, ::PROTOBUF_NAMESPACE_ID::Any, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_app_2fv1_2fapp_2eproto; }; // ------------------------------------------------------------------- -class DeleteRobotResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.DeleteRobotResponse) */ { +class UpdateRobotMetadataResponse final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:viam.app.v1.UpdateRobotMetadataResponse) */ { public: - inline DeleteRobotResponse() : DeleteRobotResponse(nullptr) {} - explicit PROTOBUF_CONSTEXPR DeleteRobotResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateRobotMetadataResponse() : UpdateRobotMetadataResponse(nullptr) {} + explicit PROTOBUF_CONSTEXPR UpdateRobotMetadataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - DeleteRobotResponse(const DeleteRobotResponse& from); - DeleteRobotResponse(DeleteRobotResponse&& from) noexcept - : DeleteRobotResponse() { + UpdateRobotMetadataResponse(const UpdateRobotMetadataResponse& from); + UpdateRobotMetadataResponse(UpdateRobotMetadataResponse&& from) noexcept + : UpdateRobotMetadataResponse() { *this = ::std::move(from); } - inline DeleteRobotResponse& operator=(const DeleteRobotResponse& from) { + inline UpdateRobotMetadataResponse& operator=(const UpdateRobotMetadataResponse& from) { CopyFrom(from); return *this; } - inline DeleteRobotResponse& operator=(DeleteRobotResponse&& from) noexcept { + inline UpdateRobotMetadataResponse& operator=(UpdateRobotMetadataResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -22975,20 +25876,20 @@ class DeleteRobotResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const DeleteRobotResponse& default_instance() { + static const UpdateRobotMetadataResponse& default_instance() { return *internal_default_instance(); } - static inline const DeleteRobotResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteRobotResponse_default_instance_); + static inline const UpdateRobotMetadataResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateRobotMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 130; + 155; - friend void swap(DeleteRobotResponse& a, DeleteRobotResponse& b) { + friend void swap(UpdateRobotMetadataResponse& a, UpdateRobotMetadataResponse& b) { a.Swap(&b); } - inline void Swap(DeleteRobotResponse* other) { + inline void Swap(UpdateRobotMetadataResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -23001,7 +25902,7 @@ class DeleteRobotResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(DeleteRobotResponse* other) { + void UnsafeArenaSwap(UpdateRobotMetadataResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -23009,15 +25910,15 @@ class DeleteRobotResponse final : // implements Message ---------------------------------------------- - DeleteRobotResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateRobotMetadataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const DeleteRobotResponse& from) { + inline void CopyFrom(const UpdateRobotMetadataResponse& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const DeleteRobotResponse& from) { + void MergeFrom(const UpdateRobotMetadataResponse& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); } public: @@ -23025,10 +25926,10 @@ class DeleteRobotResponse final : private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "viam.app.v1.DeleteRobotResponse"; + return "viam.app.v1.UpdateRobotMetadataResponse"; } protected: - explicit DeleteRobotResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateRobotMetadataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -23041,7 +25942,7 @@ class DeleteRobotResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteRobotResponse) + // @@protoc_insertion_point(class_scope:viam.app.v1.UpdateRobotMetadataResponse) private: class _Internal; @@ -23100,7 +26001,7 @@ class MarkPartAsMainRequest final : &_MarkPartAsMainRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 131; + 156; friend void swap(MarkPartAsMainRequest& a, MarkPartAsMainRequest& b) { a.Swap(&b); @@ -23247,7 +26148,7 @@ class MarkPartAsMainResponse final : &_MarkPartAsMainResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 132; + 157; friend void swap(MarkPartAsMainResponse& a, MarkPartAsMainResponse& b) { a.Swap(&b); @@ -23364,7 +26265,7 @@ class MarkPartForRestartRequest final : &_MarkPartForRestartRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 133; + 158; friend void swap(MarkPartForRestartRequest& a, MarkPartForRestartRequest& b) { a.Swap(&b); @@ -23511,7 +26412,7 @@ class MarkPartForRestartResponse final : &_MarkPartForRestartResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 134; + 159; friend void swap(MarkPartForRestartResponse& a, MarkPartForRestartResponse& b) { a.Swap(&b); @@ -23628,7 +26529,7 @@ class CreateRobotPartSecretRequest final : &_CreateRobotPartSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 135; + 160; friend void swap(CreateRobotPartSecretRequest& a, CreateRobotPartSecretRequest& b) { a.Swap(&b); @@ -23776,7 +26677,7 @@ class CreateRobotPartSecretResponse final : &_CreateRobotPartSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 136; + 161; friend void swap(CreateRobotPartSecretResponse& a, CreateRobotPartSecretResponse& b) { a.Swap(&b); @@ -23928,7 +26829,7 @@ class DeleteRobotPartSecretRequest final : &_DeleteRobotPartSecretRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 137; + 162; friend void swap(DeleteRobotPartSecretRequest& a, DeleteRobotPartSecretRequest& b) { a.Swap(&b); @@ -24091,7 +26992,7 @@ class DeleteRobotPartSecretResponse final : &_DeleteRobotPartSecretResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 138; + 163; friend void swap(DeleteRobotPartSecretResponse& a, DeleteRobotPartSecretResponse& b) { a.Swap(&b); @@ -24208,7 +27109,7 @@ class Authorization final : &_Authorization_default_instance_); } static constexpr int kIndexInFileMessages = - 139; + 164; friend void swap(Authorization& a, Authorization& b) { a.Swap(&b); @@ -24452,7 +27353,7 @@ class AddRoleRequest final : &_AddRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 140; + 165; friend void swap(AddRoleRequest& a, AddRoleRequest& b) { a.Swap(&b); @@ -24603,7 +27504,7 @@ class AddRoleResponse final : &_AddRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 141; + 166; friend void swap(AddRoleResponse& a, AddRoleResponse& b) { a.Swap(&b); @@ -24720,7 +27621,7 @@ class RemoveRoleRequest final : &_RemoveRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 142; + 167; friend void swap(RemoveRoleRequest& a, RemoveRoleRequest& b) { a.Swap(&b); @@ -24871,7 +27772,7 @@ class RemoveRoleResponse final : &_RemoveRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 143; + 168; friend void swap(RemoveRoleResponse& a, RemoveRoleResponse& b) { a.Swap(&b); @@ -24988,7 +27889,7 @@ class ChangeRoleRequest final : &_ChangeRoleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 144; + 169; friend void swap(ChangeRoleRequest& a, ChangeRoleRequest& b) { a.Swap(&b); @@ -25159,7 +28060,7 @@ class ChangeRoleResponse final : &_ChangeRoleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 145; + 170; friend void swap(ChangeRoleResponse& a, ChangeRoleResponse& b) { a.Swap(&b); @@ -25276,7 +28177,7 @@ class ListAuthorizationsRequest final : &_ListAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 146; + 171; friend void swap(ListAuthorizationsRequest& a, ListAuthorizationsRequest& b) { a.Swap(&b); @@ -25450,7 +28351,7 @@ class ListAuthorizationsResponse final : &_ListAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 147; + 172; friend void swap(ListAuthorizationsResponse& a, ListAuthorizationsResponse& b) { a.Swap(&b); @@ -25602,7 +28503,7 @@ class CheckPermissionsRequest final : &_CheckPermissionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 148; + 173; friend void swap(CheckPermissionsRequest& a, CheckPermissionsRequest& b) { a.Swap(&b); @@ -25754,7 +28655,7 @@ class AuthorizedPermissions final : &_AuthorizedPermissions_default_instance_); } static constexpr int kIndexInFileMessages = - 149; + 174; friend void swap(AuthorizedPermissions& a, AuthorizedPermissions& b) { a.Swap(&b); @@ -25944,7 +28845,7 @@ class CheckPermissionsResponse final : &_CheckPermissionsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 150; + 175; friend void swap(CheckPermissionsResponse& a, CheckPermissionsResponse& b) { a.Swap(&b); @@ -26096,7 +28997,7 @@ class ModuleVersion final : &_ModuleVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 151; + 176; friend void swap(ModuleVersion& a, ModuleVersion& b) { a.Swap(&b); @@ -26321,7 +29222,7 @@ class ModuleMetadata final : &_ModuleMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 152; + 177; friend void swap(ModuleMetadata& a, ModuleMetadata& b) { a.Swap(&b); @@ -26530,7 +29431,7 @@ class MLModelMetadata final : &_MLModelMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 153; + 178; friend void swap(MLModelMetadata& a, MLModelMetadata& b) { a.Swap(&b); @@ -26710,7 +29611,7 @@ class MLTrainingVersion final : &_MLTrainingVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 154; + 179; friend void swap(MLTrainingVersion& a, MLTrainingVersion& b) { a.Swap(&b); @@ -26878,7 +29779,7 @@ class MLTrainingMetadata final : &_MLTrainingMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 155; + 180; friend void swap(MLTrainingMetadata& a, MLTrainingMetadata& b) { a.Swap(&b); @@ -27070,7 +29971,7 @@ class RegistryItem final : &_RegistryItem_default_instance_); } static constexpr int kIndexInFileMessages = - 156; + 181; friend void swap(RegistryItem& a, RegistryItem& b) { a.Swap(&b); @@ -27478,7 +30379,7 @@ class GetRegistryItemRequest final : &_GetRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 157; + 182; friend void swap(GetRegistryItemRequest& a, GetRegistryItemRequest& b) { a.Swap(&b); @@ -27642,7 +30543,7 @@ class GetRegistryItemResponse final : &_GetRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 158; + 183; friend void swap(GetRegistryItemResponse& a, GetRegistryItemResponse& b) { a.Swap(&b); @@ -27794,7 +30695,7 @@ class CreateRegistryItemRequest final : &_CreateRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 159; + 184; friend void swap(CreateRegistryItemRequest& a, CreateRegistryItemRequest& b) { a.Swap(&b); @@ -27968,7 +30869,7 @@ class CreateRegistryItemResponse final : &_CreateRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 160; + 185; friend void swap(CreateRegistryItemResponse& a, CreateRegistryItemResponse& b) { a.Swap(&b); @@ -28092,7 +30993,7 @@ class UpdateRegistryItemRequest final : &_UpdateRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 161; + 186; friend void swap(UpdateRegistryItemRequest& a, UpdateRegistryItemRequest& b) { a.Swap(&b); @@ -28372,7 +31273,7 @@ class UpdateRegistryItemResponse final : &_UpdateRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 162; + 187; friend void swap(UpdateRegistryItemResponse& a, UpdateRegistryItemResponse& b) { a.Swap(&b); @@ -28489,7 +31390,7 @@ class ListRegistryItemsRequest final : &_ListRegistryItemsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 163; + 188; friend void swap(ListRegistryItemsRequest& a, ListRegistryItemsRequest& b) { a.Swap(&b); @@ -28809,7 +31710,7 @@ class ListRegistryItemsResponse final : &_ListRegistryItemsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 164; + 189; friend void swap(ListRegistryItemsResponse& a, ListRegistryItemsResponse& b) { a.Swap(&b); @@ -28961,7 +31862,7 @@ class DeleteRegistryItemRequest final : &_DeleteRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 165; + 190; friend void swap(DeleteRegistryItemRequest& a, DeleteRegistryItemRequest& b) { a.Swap(&b); @@ -29108,7 +32009,7 @@ class DeleteRegistryItemResponse final : &_DeleteRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 166; + 191; friend void swap(DeleteRegistryItemResponse& a, DeleteRegistryItemResponse& b) { a.Swap(&b); @@ -29225,7 +32126,7 @@ class TransferRegistryItemRequest final : &_TransferRegistryItemRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 167; + 192; friend void swap(TransferRegistryItemRequest& a, TransferRegistryItemRequest& b) { a.Swap(&b); @@ -29388,7 +32289,7 @@ class TransferRegistryItemResponse final : &_TransferRegistryItemResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 168; + 193; friend void swap(TransferRegistryItemResponse& a, TransferRegistryItemResponse& b) { a.Swap(&b); @@ -29505,7 +32406,7 @@ class CreateModuleRequest final : &_CreateModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 169; + 194; friend void swap(CreateModuleRequest& a, CreateModuleRequest& b) { a.Swap(&b); @@ -29669,7 +32570,7 @@ class CreateModuleResponse final : &_CreateModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 170; + 195; friend void swap(CreateModuleResponse& a, CreateModuleResponse& b) { a.Swap(&b); @@ -29833,7 +32734,7 @@ class UpdateModuleRequest final : &_UpdateModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 171; + 196; friend void swap(UpdateModuleRequest& a, UpdateModuleRequest& b) { a.Swap(&b); @@ -30081,7 +32982,7 @@ class UpdateModuleResponse final : &_UpdateModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 172; + 197; friend void swap(UpdateModuleResponse& a, UpdateModuleResponse& b) { a.Swap(&b); @@ -30229,7 +33130,7 @@ class UpdateModuleMetadata final : &_UpdateModuleMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 173; + 198; friend void swap(UpdateModuleMetadata& a, UpdateModuleMetadata& b) { a.Swap(&b); @@ -30397,7 +33298,7 @@ class UpdateMLModelMetadata final : &_UpdateMLModelMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 174; + 199; friend void swap(UpdateMLModelMetadata& a, UpdateMLModelMetadata& b) { a.Swap(&b); @@ -30551,7 +33452,7 @@ class UpdateMLTrainingMetadata final : &_UpdateMLTrainingMetadata_default_instance_); } static constexpr int kIndexInFileMessages = - 175; + 200; friend void swap(UpdateMLTrainingMetadata& a, UpdateMLTrainingMetadata& b) { a.Swap(&b); @@ -30716,7 +33617,7 @@ class Model final : &_Model_default_instance_); } static constexpr int kIndexInFileMessages = - 176; + 201; friend void swap(Model& a, Model& b) { a.Swap(&b); @@ -30921,7 +33822,7 @@ class ModuleFileInfo final : &_ModuleFileInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 177; + 202; friend void swap(ModuleFileInfo& a, ModuleFileInfo& b) { a.Swap(&b); @@ -31133,7 +34034,7 @@ class UploadModuleFileRequest final : &_UploadModuleFileRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 178; + 203; friend void swap(UploadModuleFileRequest& a, UploadModuleFileRequest& b) { a.Swap(&b); @@ -31318,7 +34219,7 @@ class UploadModuleFileResponse final : &_UploadModuleFileResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 179; + 204; friend void swap(UploadModuleFileResponse& a, UploadModuleFileResponse& b) { a.Swap(&b); @@ -31466,7 +34367,7 @@ class GetModuleRequest final : &_GetModuleRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 180; + 205; friend void swap(GetModuleRequest& a, GetModuleRequest& b) { a.Swap(&b); @@ -31630,7 +34531,7 @@ class GetModuleResponse final : &_GetModuleResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 181; + 206; friend void swap(GetModuleResponse& a, GetModuleResponse& b) { a.Swap(&b); @@ -31782,7 +34683,7 @@ class Module final : &_Module_default_instance_); } static constexpr int kIndexInFileMessages = - 182; + 207; friend void swap(Module& a, Module& b) { a.Swap(&b); @@ -32120,7 +35021,7 @@ class VersionHistory final : &_VersionHistory_default_instance_); } static constexpr int kIndexInFileMessages = - 183; + 208; friend void swap(VersionHistory& a, VersionHistory& b) { a.Swap(&b); @@ -32345,7 +35246,7 @@ class Uploads final : &_Uploads_default_instance_); } static constexpr int kIndexInFileMessages = - 184; + 209; friend void swap(Uploads& a, Uploads& b) { a.Swap(&b); @@ -32513,7 +35414,7 @@ class ListModulesRequest final : &_ListModulesRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 185; + 210; friend void swap(ListModulesRequest& a, ListModulesRequest& b) { a.Swap(&b); @@ -32681,7 +35582,7 @@ class ListModulesResponse final : &_ListModulesResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 186; + 211; friend void swap(ListModulesResponse& a, ListModulesResponse& b) { a.Swap(&b); @@ -32833,7 +35734,7 @@ class GetUserIDByEmailRequest final : &_GetUserIDByEmailRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 187; + 212; friend void swap(GetUserIDByEmailRequest& a, GetUserIDByEmailRequest& b) { a.Swap(&b); @@ -32981,7 +35882,7 @@ class GetUserIDByEmailResponse final : &_GetUserIDByEmailResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 188; + 213; friend void swap(GetUserIDByEmailResponse& a, GetUserIDByEmailResponse& b) { a.Swap(&b); @@ -33129,7 +36030,7 @@ class ListOrganizationsByUserRequest final : &_ListOrganizationsByUserRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 189; + 214; friend void swap(ListOrganizationsByUserRequest& a, ListOrganizationsByUserRequest& b) { a.Swap(&b); @@ -33277,7 +36178,7 @@ class OrgDetails final : &_OrgDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 190; + 215; friend void swap(OrgDetails& a, OrgDetails& b) { a.Swap(&b); @@ -33482,7 +36383,7 @@ class ListOrganizationsByUserResponse final : &_ListOrganizationsByUserResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 191; + 216; friend void swap(ListOrganizationsByUserResponse& a, ListOrganizationsByUserResponse& b) { a.Swap(&b); @@ -33634,7 +36535,7 @@ class SearchOrganizationsRequest final : &_SearchOrganizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 192; + 217; friend void swap(SearchOrganizationsRequest& a, SearchOrganizationsRequest& b) { a.Swap(&b); @@ -33847,7 +36748,7 @@ class SearchOrganizationsResponse final : &_SearchOrganizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 193; + 218; friend void swap(SearchOrganizationsResponse& a, SearchOrganizationsResponse& b) { a.Swap(&b); @@ -33999,7 +36900,7 @@ class CreateKeyRequest final : &_CreateKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 194; + 219; friend void swap(CreateKeyRequest& a, CreateKeyRequest& b) { a.Swap(&b); @@ -34167,7 +37068,7 @@ class CreateKeyResponse final : &_CreateKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 195; + 220; friend void swap(CreateKeyResponse& a, CreateKeyResponse& b) { a.Swap(&b); @@ -34331,7 +37232,7 @@ class DeleteKeyRequest final : &_DeleteKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 196; + 221; friend void swap(DeleteKeyRequest& a, DeleteKeyRequest& b) { a.Swap(&b); @@ -34478,7 +37379,7 @@ class DeleteKeyResponse final : &_DeleteKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 197; + 222; friend void swap(DeleteKeyResponse& a, DeleteKeyResponse& b) { a.Swap(&b); @@ -34595,7 +37496,7 @@ class RenameKeyRequest final : &_RenameKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 198; + 223; friend void swap(RenameKeyRequest& a, RenameKeyRequest& b) { a.Swap(&b); @@ -34759,7 +37660,7 @@ class RenameKeyResponse final : &_RenameKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 199; + 224; friend void swap(RenameKeyResponse& a, RenameKeyResponse& b) { a.Swap(&b); @@ -34923,7 +37824,7 @@ class AuthorizationDetails final : &_AuthorizationDetails_default_instance_); } static constexpr int kIndexInFileMessages = - 200; + 225; friend void swap(AuthorizationDetails& a, AuthorizationDetails& b) { a.Swap(&b); @@ -35135,7 +38036,7 @@ class APIKeyWithAuthorizations final : &_APIKeyWithAuthorizations_default_instance_); } static constexpr int kIndexInFileMessages = - 201; + 226; friend void swap(APIKeyWithAuthorizations& a, APIKeyWithAuthorizations& b) { a.Swap(&b); @@ -35307,7 +38208,7 @@ class ListKeysRequest final : &_ListKeysRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 202; + 227; friend void swap(ListKeysRequest& a, ListKeysRequest& b) { a.Swap(&b); @@ -35455,7 +38356,7 @@ class ListKeysResponse final : &_ListKeysResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 203; + 228; friend void swap(ListKeysResponse& a, ListKeysResponse& b) { a.Swap(&b); @@ -35607,7 +38508,7 @@ class RotateKeyRequest final : &_RotateKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 204; + 229; friend void swap(RotateKeyRequest& a, RotateKeyRequest& b) { a.Swap(&b); @@ -35755,7 +38656,7 @@ class RotateKeyResponse final : &_RotateKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 205; + 230; friend void swap(RotateKeyResponse& a, RotateKeyResponse& b) { a.Swap(&b); @@ -35919,7 +38820,7 @@ class CreateKeyFromExistingKeyAuthorizationsRequest final : &_CreateKeyFromExistingKeyAuthorizationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 206; + 231; friend void swap(CreateKeyFromExistingKeyAuthorizationsRequest& a, CreateKeyFromExistingKeyAuthorizationsRequest& b) { a.Swap(&b); @@ -36067,7 +38968,7 @@ class CreateKeyFromExistingKeyAuthorizationsResponse final : &_CreateKeyFromExistingKeyAuthorizationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 207; + 232; friend void swap(CreateKeyFromExistingKeyAuthorizationsResponse& a, CreateKeyFromExistingKeyAuthorizationsResponse& b) { a.Swap(&b); @@ -36231,7 +39132,7 @@ class OrganizationSetLogoRequest final : &_OrganizationSetLogoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 208; + 233; friend void swap(OrganizationSetLogoRequest& a, OrganizationSetLogoRequest& b) { a.Swap(&b); @@ -36394,7 +39295,7 @@ class OrganizationSetLogoResponse final : &_OrganizationSetLogoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 209; + 234; friend void swap(OrganizationSetLogoResponse& a, OrganizationSetLogoResponse& b) { a.Swap(&b); @@ -36511,7 +39412,7 @@ class OrganizationGetLogoRequest final : &_OrganizationGetLogoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 210; + 235; friend void swap(OrganizationGetLogoRequest& a, OrganizationGetLogoRequest& b) { a.Swap(&b); @@ -36659,7 +39560,7 @@ class OrganizationGetLogoResponse final : &_OrganizationGetLogoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 211; + 236; friend void swap(OrganizationGetLogoResponse& a, OrganizationGetLogoResponse& b) { a.Swap(&b); @@ -36807,7 +39708,7 @@ class EnableAuthServiceRequest final : &_EnableAuthServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 212; + 237; friend void swap(EnableAuthServiceRequest& a, EnableAuthServiceRequest& b) { a.Swap(&b); @@ -36954,7 +39855,7 @@ class EnableAuthServiceResponse final : &_EnableAuthServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 213; + 238; friend void swap(EnableAuthServiceResponse& a, EnableAuthServiceResponse& b) { a.Swap(&b); @@ -37071,7 +39972,7 @@ class DisableAuthServiceRequest final : &_DisableAuthServiceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 214; + 239; friend void swap(DisableAuthServiceRequest& a, DisableAuthServiceRequest& b) { a.Swap(&b); @@ -37218,7 +40119,7 @@ class DisableAuthServiceResponse final : &_DisableAuthServiceResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 215; + 240; friend void swap(DisableAuthServiceResponse& a, DisableAuthServiceResponse& b) { a.Swap(&b); @@ -37335,7 +40236,7 @@ class CreateOAuthAppRequest final : &_CreateOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 216; + 241; friend void swap(CreateOAuthAppRequest& a, CreateOAuthAppRequest& b) { a.Swap(&b); @@ -37519,7 +40420,7 @@ class CreateOAuthAppResponse final : &_CreateOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 217; + 242; friend void swap(CreateOAuthAppResponse& a, CreateOAuthAppResponse& b) { a.Swap(&b); @@ -37683,7 +40584,7 @@ class ReadOAuthAppRequest final : &_ReadOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 218; + 243; friend void swap(ReadOAuthAppRequest& a, ReadOAuthAppRequest& b) { a.Swap(&b); @@ -37847,7 +40748,7 @@ class ReadOAuthAppResponse final : &_ReadOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 219; + 244; friend void swap(ReadOAuthAppResponse& a, ReadOAuthAppResponse& b) { a.Swap(&b); @@ -38031,7 +40932,7 @@ class UpdateOAuthAppRequest final : &_UpdateOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 220; + 245; friend void swap(UpdateOAuthAppRequest& a, UpdateOAuthAppRequest& b) { a.Swap(&b); @@ -38230,7 +41131,7 @@ class UpdateOAuthAppResponse final : &_UpdateOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 221; + 246; friend void swap(UpdateOAuthAppResponse& a, UpdateOAuthAppResponse& b) { a.Swap(&b); @@ -38347,7 +41248,7 @@ class DeleteOAuthAppRequest final : &_DeleteOAuthAppRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 222; + 247; friend void swap(DeleteOAuthAppRequest& a, DeleteOAuthAppRequest& b) { a.Swap(&b); @@ -38510,7 +41411,7 @@ class DeleteOAuthAppResponse final : &_DeleteOAuthAppResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 223; + 248; friend void swap(DeleteOAuthAppResponse& a, DeleteOAuthAppResponse& b) { a.Swap(&b); @@ -38627,7 +41528,7 @@ class ListOAuthAppsRequest final : &_ListOAuthAppsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 224; + 249; friend void swap(ListOAuthAppsRequest& a, ListOAuthAppsRequest& b) { a.Swap(&b); @@ -38775,7 +41676,7 @@ class ListOAuthAppsResponse final : &_ListOAuthAppsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 225; + 250; friend void swap(ListOAuthAppsResponse& a, ListOAuthAppsResponse& b) { a.Swap(&b); @@ -38933,7 +41834,7 @@ class OAuthConfig final : &_OAuthConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 226; + 251; friend void swap(OAuthConfig& a, OAuthConfig& b) { a.Swap(&b); @@ -42608,6 +45509,178 @@ inline void DeleteOrganizationRequest::set_allocated_organization_id(std::string // ------------------------------------------------------------------- +// GetOrganizationMetadataRequest + +// string organization_id = 1 [json_name = "organizationId"]; +inline void GetOrganizationMetadataRequest::clear_organization_id() { + organization_id_.ClearToEmpty(); +} +inline const std::string& GetOrganizationMetadataRequest::organization_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.GetOrganizationMetadataRequest.organization_id) + return _internal_organization_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GetOrganizationMetadataRequest::set_organization_id(ArgT0&& arg0, ArgT... args) { + + organization_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetOrganizationMetadataRequest.organization_id) +} +inline std::string* GetOrganizationMetadataRequest::mutable_organization_id() { + std::string* _s = _internal_mutable_organization_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetOrganizationMetadataRequest.organization_id) + return _s; +} +inline const std::string& GetOrganizationMetadataRequest::_internal_organization_id() const { + return organization_id_.Get(); +} +inline void GetOrganizationMetadataRequest::_internal_set_organization_id(const std::string& value) { + + organization_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* GetOrganizationMetadataRequest::_internal_mutable_organization_id() { + + return organization_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* GetOrganizationMetadataRequest::release_organization_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.GetOrganizationMetadataRequest.organization_id) + return organization_id_.Release(); +} +inline void GetOrganizationMetadataRequest::set_allocated_organization_id(std::string* organization_id) { + if (organization_id != nullptr) { + + } else { + + } + organization_id_.SetAllocated(organization_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (organization_id_.IsDefault()) { + organization_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetOrganizationMetadataRequest.organization_id) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// GetOrganizationMetadataResponse + +// map data = 1 [json_name = "data"]; +inline int GetOrganizationMetadataResponse::_internal_data_size() const { + return data_.size(); +} +inline int GetOrganizationMetadataResponse::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetOrganizationMetadataResponse::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetOrganizationMetadataResponse::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.GetOrganizationMetadataResponse.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetOrganizationMetadataResponse::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetOrganizationMetadataResponse::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.GetOrganizationMetadataResponse.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// UpdateOrganizationMetadataRequest + +// string organization_id = 1 [json_name = "organizationId"]; +inline void UpdateOrganizationMetadataRequest::clear_organization_id() { + organization_id_.ClearToEmpty(); +} +inline const std::string& UpdateOrganizationMetadataRequest::organization_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.UpdateOrganizationMetadataRequest.organization_id) + return _internal_organization_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void UpdateOrganizationMetadataRequest::set_organization_id(ArgT0&& arg0, ArgT... args) { + + organization_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.UpdateOrganizationMetadataRequest.organization_id) +} +inline std::string* UpdateOrganizationMetadataRequest::mutable_organization_id() { + std::string* _s = _internal_mutable_organization_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.UpdateOrganizationMetadataRequest.organization_id) + return _s; +} +inline const std::string& UpdateOrganizationMetadataRequest::_internal_organization_id() const { + return organization_id_.Get(); +} +inline void UpdateOrganizationMetadataRequest::_internal_set_organization_id(const std::string& value) { + + organization_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* UpdateOrganizationMetadataRequest::_internal_mutable_organization_id() { + + return organization_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* UpdateOrganizationMetadataRequest::release_organization_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.UpdateOrganizationMetadataRequest.organization_id) + return organization_id_.Release(); +} +inline void UpdateOrganizationMetadataRequest::set_allocated_organization_id(std::string* organization_id) { + if (organization_id != nullptr) { + + } else { + + } + organization_id_.SetAllocated(organization_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (organization_id_.IsDefault()) { + organization_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.UpdateOrganizationMetadataRequest.organization_id) +} + +// map data = 2 [json_name = "data"]; +inline int UpdateOrganizationMetadataRequest::_internal_data_size() const { + return data_.size(); +} +inline int UpdateOrganizationMetadataRequest::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateOrganizationMetadataRequest::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateOrganizationMetadataRequest::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.UpdateOrganizationMetadataRequest.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateOrganizationMetadataRequest::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateOrganizationMetadataRequest::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.UpdateOrganizationMetadataRequest.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// UpdateOrganizationMetadataResponse + +// ------------------------------------------------------------------- + // ListOrganizationMembersRequest // string organization_id = 1 [json_name = "organizationId"]; @@ -46832,6 +49905,178 @@ inline void DeleteLocationRequest::set_allocated_location_id(std::string* locati // ------------------------------------------------------------------- +// GetLocationMetadataRequest + +// string location_id = 1 [json_name = "locationId"]; +inline void GetLocationMetadataRequest::clear_location_id() { + location_id_.ClearToEmpty(); +} +inline const std::string& GetLocationMetadataRequest::location_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.GetLocationMetadataRequest.location_id) + return _internal_location_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GetLocationMetadataRequest::set_location_id(ArgT0&& arg0, ArgT... args) { + + location_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetLocationMetadataRequest.location_id) +} +inline std::string* GetLocationMetadataRequest::mutable_location_id() { + std::string* _s = _internal_mutable_location_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetLocationMetadataRequest.location_id) + return _s; +} +inline const std::string& GetLocationMetadataRequest::_internal_location_id() const { + return location_id_.Get(); +} +inline void GetLocationMetadataRequest::_internal_set_location_id(const std::string& value) { + + location_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* GetLocationMetadataRequest::_internal_mutable_location_id() { + + return location_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* GetLocationMetadataRequest::release_location_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.GetLocationMetadataRequest.location_id) + return location_id_.Release(); +} +inline void GetLocationMetadataRequest::set_allocated_location_id(std::string* location_id) { + if (location_id != nullptr) { + + } else { + + } + location_id_.SetAllocated(location_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (location_id_.IsDefault()) { + location_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetLocationMetadataRequest.location_id) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// GetLocationMetadataResponse + +// map data = 1 [json_name = "data"]; +inline int GetLocationMetadataResponse::_internal_data_size() const { + return data_.size(); +} +inline int GetLocationMetadataResponse::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetLocationMetadataResponse::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetLocationMetadataResponse::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.GetLocationMetadataResponse.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetLocationMetadataResponse::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetLocationMetadataResponse::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.GetLocationMetadataResponse.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// UpdateLocationMetadataRequest + +// string location_id = 1 [json_name = "locationId"]; +inline void UpdateLocationMetadataRequest::clear_location_id() { + location_id_.ClearToEmpty(); +} +inline const std::string& UpdateLocationMetadataRequest::location_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.UpdateLocationMetadataRequest.location_id) + return _internal_location_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void UpdateLocationMetadataRequest::set_location_id(ArgT0&& arg0, ArgT... args) { + + location_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.UpdateLocationMetadataRequest.location_id) +} +inline std::string* UpdateLocationMetadataRequest::mutable_location_id() { + std::string* _s = _internal_mutable_location_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.UpdateLocationMetadataRequest.location_id) + return _s; +} +inline const std::string& UpdateLocationMetadataRequest::_internal_location_id() const { + return location_id_.Get(); +} +inline void UpdateLocationMetadataRequest::_internal_set_location_id(const std::string& value) { + + location_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* UpdateLocationMetadataRequest::_internal_mutable_location_id() { + + return location_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* UpdateLocationMetadataRequest::release_location_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.UpdateLocationMetadataRequest.location_id) + return location_id_.Release(); +} +inline void UpdateLocationMetadataRequest::set_allocated_location_id(std::string* location_id) { + if (location_id != nullptr) { + + } else { + + } + location_id_.SetAllocated(location_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (location_id_.IsDefault()) { + location_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.UpdateLocationMetadataRequest.location_id) +} + +// map data = 2 [json_name = "data"]; +inline int UpdateLocationMetadataRequest::_internal_data_size() const { + return data_.size(); +} +inline int UpdateLocationMetadataRequest::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateLocationMetadataRequest::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateLocationMetadataRequest::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.UpdateLocationMetadataRequest.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateLocationMetadataRequest::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateLocationMetadataRequest::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.UpdateLocationMetadataRequest.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// UpdateLocationMetadataResponse + +// ------------------------------------------------------------------- + // GetOrganizationsWithAccessToLocationRequest // string location_id = 1 [json_name = "locationId"]; @@ -49816,6 +53061,178 @@ inline void DeleteRobotPartRequest::set_allocated_part_id(std::string* part_id) // ------------------------------------------------------------------- +// GetRobotPartMetadataRequest + +// string id = 1 [json_name = "id"]; +inline void GetRobotPartMetadataRequest::clear_id() { + id_.ClearToEmpty(); +} +inline const std::string& GetRobotPartMetadataRequest::id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.GetRobotPartMetadataRequest.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GetRobotPartMetadataRequest::set_id(ArgT0&& arg0, ArgT... args) { + + id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetRobotPartMetadataRequest.id) +} +inline std::string* GetRobotPartMetadataRequest::mutable_id() { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetRobotPartMetadataRequest.id) + return _s; +} +inline const std::string& GetRobotPartMetadataRequest::_internal_id() const { + return id_.Get(); +} +inline void GetRobotPartMetadataRequest::_internal_set_id(const std::string& value) { + + id_.Set(value, GetArenaForAllocation()); +} +inline std::string* GetRobotPartMetadataRequest::_internal_mutable_id() { + + return id_.Mutable(GetArenaForAllocation()); +} +inline std::string* GetRobotPartMetadataRequest::release_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.GetRobotPartMetadataRequest.id) + return id_.Release(); +} +inline void GetRobotPartMetadataRequest::set_allocated_id(std::string* id) { + if (id != nullptr) { + + } else { + + } + id_.SetAllocated(id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (id_.IsDefault()) { + id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetRobotPartMetadataRequest.id) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// GetRobotPartMetadataResponse + +// map data = 1 [json_name = "data"]; +inline int GetRobotPartMetadataResponse::_internal_data_size() const { + return data_.size(); +} +inline int GetRobotPartMetadataResponse::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetRobotPartMetadataResponse::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetRobotPartMetadataResponse::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.GetRobotPartMetadataResponse.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetRobotPartMetadataResponse::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetRobotPartMetadataResponse::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.GetRobotPartMetadataResponse.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// UpdateRobotPartMetadataRequest + +// string id = 1 [json_name = "id"]; +inline void UpdateRobotPartMetadataRequest::clear_id() { + id_.ClearToEmpty(); +} +inline const std::string& UpdateRobotPartMetadataRequest::id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.UpdateRobotPartMetadataRequest.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void UpdateRobotPartMetadataRequest::set_id(ArgT0&& arg0, ArgT... args) { + + id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.UpdateRobotPartMetadataRequest.id) +} +inline std::string* UpdateRobotPartMetadataRequest::mutable_id() { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.UpdateRobotPartMetadataRequest.id) + return _s; +} +inline const std::string& UpdateRobotPartMetadataRequest::_internal_id() const { + return id_.Get(); +} +inline void UpdateRobotPartMetadataRequest::_internal_set_id(const std::string& value) { + + id_.Set(value, GetArenaForAllocation()); +} +inline std::string* UpdateRobotPartMetadataRequest::_internal_mutable_id() { + + return id_.Mutable(GetArenaForAllocation()); +} +inline std::string* UpdateRobotPartMetadataRequest::release_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.UpdateRobotPartMetadataRequest.id) + return id_.Release(); +} +inline void UpdateRobotPartMetadataRequest::set_allocated_id(std::string* id) { + if (id != nullptr) { + + } else { + + } + id_.SetAllocated(id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (id_.IsDefault()) { + id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.UpdateRobotPartMetadataRequest.id) +} + +// map data = 2 [json_name = "data"]; +inline int UpdateRobotPartMetadataRequest::_internal_data_size() const { + return data_.size(); +} +inline int UpdateRobotPartMetadataRequest::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateRobotPartMetadataRequest::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateRobotPartMetadataRequest::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.UpdateRobotPartMetadataRequest.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateRobotPartMetadataRequest::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateRobotPartMetadataRequest::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.UpdateRobotPartMetadataRequest.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// UpdateRobotPartMetadataResponse + +// ------------------------------------------------------------------- + // GetRobotAPIKeysRequest // string robot_id = 1 [json_name = "robotId"]; @@ -51996,6 +55413,56 @@ inline void ResolvedFragment::set_allocated_error(::viam::app::v1::FragmentError // @@protoc_insertion_point(field_set_allocated:viam.app.v1.ResolvedFragment.error) } +// string revision = 4 [json_name = "revision"]; +inline void ResolvedFragment::clear_revision() { + revision_.ClearToEmpty(); +} +inline const std::string& ResolvedFragment::revision() const { + // @@protoc_insertion_point(field_get:viam.app.v1.ResolvedFragment.revision) + return _internal_revision(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ResolvedFragment::set_revision(ArgT0&& arg0, ArgT... args) { + + revision_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.ResolvedFragment.revision) +} +inline std::string* ResolvedFragment::mutable_revision() { + std::string* _s = _internal_mutable_revision(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.ResolvedFragment.revision) + return _s; +} +inline const std::string& ResolvedFragment::_internal_revision() const { + return revision_.Get(); +} +inline void ResolvedFragment::_internal_set_revision(const std::string& value) { + + revision_.Set(value, GetArenaForAllocation()); +} +inline std::string* ResolvedFragment::_internal_mutable_revision() { + + return revision_.Mutable(GetArenaForAllocation()); +} +inline std::string* ResolvedFragment::release_revision() { + // @@protoc_insertion_point(field_release:viam.app.v1.ResolvedFragment.revision) + return revision_.Release(); +} +inline void ResolvedFragment::set_allocated_revision(std::string* revision) { + if (revision != nullptr) { + + } else { + + } + revision_.SetAllocated(revision, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (revision_.IsDefault()) { + revision_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.ResolvedFragment.revision) +} + // ------------------------------------------------------------------- // ListFragmentsRequest @@ -54085,6 +57552,128 @@ inline void ListRobotsRequest::set_allocated_location_id(std::string* location_i // ------------------------------------------------------------------- +// AdditionalFragment + +// string fragment_id = 1 [json_name = "fragmentId"]; +inline void AdditionalFragment::clear_fragment_id() { + fragment_id_.ClearToEmpty(); +} +inline const std::string& AdditionalFragment::fragment_id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.AdditionalFragment.fragment_id) + return _internal_fragment_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void AdditionalFragment::set_fragment_id(ArgT0&& arg0, ArgT... args) { + + fragment_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.AdditionalFragment.fragment_id) +} +inline std::string* AdditionalFragment::mutable_fragment_id() { + std::string* _s = _internal_mutable_fragment_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.AdditionalFragment.fragment_id) + return _s; +} +inline const std::string& AdditionalFragment::_internal_fragment_id() const { + return fragment_id_.Get(); +} +inline void AdditionalFragment::_internal_set_fragment_id(const std::string& value) { + + fragment_id_.Set(value, GetArenaForAllocation()); +} +inline std::string* AdditionalFragment::_internal_mutable_fragment_id() { + + return fragment_id_.Mutable(GetArenaForAllocation()); +} +inline std::string* AdditionalFragment::release_fragment_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.AdditionalFragment.fragment_id) + return fragment_id_.Release(); +} +inline void AdditionalFragment::set_allocated_fragment_id(std::string* fragment_id) { + if (fragment_id != nullptr) { + + } else { + + } + fragment_id_.SetAllocated(fragment_id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (fragment_id_.IsDefault()) { + fragment_id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.AdditionalFragment.fragment_id) +} + +// optional string version = 2 [json_name = "version"]; +inline bool AdditionalFragment::_internal_has_version() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline bool AdditionalFragment::has_version() const { + return _internal_has_version(); +} +inline void AdditionalFragment::clear_version() { + version_.ClearToEmpty(); + _has_bits_[0] &= ~0x00000001u; +} +inline const std::string& AdditionalFragment::version() const { + // @@protoc_insertion_point(field_get:viam.app.v1.AdditionalFragment.version) + return _internal_version(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void AdditionalFragment::set_version(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + version_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.AdditionalFragment.version) +} +inline std::string* AdditionalFragment::mutable_version() { + std::string* _s = _internal_mutable_version(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.AdditionalFragment.version) + return _s; +} +inline const std::string& AdditionalFragment::_internal_version() const { + return version_.Get(); +} +inline void AdditionalFragment::_internal_set_version(const std::string& value) { + _has_bits_[0] |= 0x00000001u; + version_.Set(value, GetArenaForAllocation()); +} +inline std::string* AdditionalFragment::_internal_mutable_version() { + _has_bits_[0] |= 0x00000001u; + return version_.Mutable(GetArenaForAllocation()); +} +inline std::string* AdditionalFragment::release_version() { + // @@protoc_insertion_point(field_release:viam.app.v1.AdditionalFragment.version) + if (!_internal_has_version()) { + return nullptr; + } + _has_bits_[0] &= ~0x00000001u; + auto* p = version_.Release(); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (version_.IsDefault()) { + version_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; +} +inline void AdditionalFragment::set_allocated_version(std::string* version) { + if (version != nullptr) { + _has_bits_[0] |= 0x00000001u; + } else { + _has_bits_[0] &= ~0x00000001u; + } + version_.SetAllocated(version, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (version_.IsDefault()) { + version_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.AdditionalFragment.version) +} + +// ------------------------------------------------------------------- + // ListMachineFragmentsRequest // string machine_id = 1 [json_name = "machineId"]; @@ -54212,6 +57801,46 @@ ListMachineFragmentsRequest::mutable_additional_fragment_ids() { return &additional_fragment_ids_; } +// repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"]; +inline int ListMachineFragmentsRequest::_internal_additional_fragments_size() const { + return additional_fragments_.size(); +} +inline int ListMachineFragmentsRequest::additional_fragments_size() const { + return _internal_additional_fragments_size(); +} +inline void ListMachineFragmentsRequest::clear_additional_fragments() { + additional_fragments_.Clear(); +} +inline ::viam::app::v1::AdditionalFragment* ListMachineFragmentsRequest::mutable_additional_fragments(int index) { + // @@protoc_insertion_point(field_mutable:viam.app.v1.ListMachineFragmentsRequest.additional_fragments) + return additional_fragments_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >* +ListMachineFragmentsRequest::mutable_additional_fragments() { + // @@protoc_insertion_point(field_mutable_list:viam.app.v1.ListMachineFragmentsRequest.additional_fragments) + return &additional_fragments_; +} +inline const ::viam::app::v1::AdditionalFragment& ListMachineFragmentsRequest::_internal_additional_fragments(int index) const { + return additional_fragments_.Get(index); +} +inline const ::viam::app::v1::AdditionalFragment& ListMachineFragmentsRequest::additional_fragments(int index) const { + // @@protoc_insertion_point(field_get:viam.app.v1.ListMachineFragmentsRequest.additional_fragments) + return _internal_additional_fragments(index); +} +inline ::viam::app::v1::AdditionalFragment* ListMachineFragmentsRequest::_internal_add_additional_fragments() { + return additional_fragments_.Add(); +} +inline ::viam::app::v1::AdditionalFragment* ListMachineFragmentsRequest::add_additional_fragments() { + ::viam::app::v1::AdditionalFragment* _add = _internal_add_additional_fragments(); + // @@protoc_insertion_point(field_add:viam.app.v1.ListMachineFragmentsRequest.additional_fragments) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::viam::app::v1::AdditionalFragment >& +ListMachineFragmentsRequest::additional_fragments() const { + // @@protoc_insertion_point(field_list:viam.app.v1.ListMachineFragmentsRequest.additional_fragments) + return additional_fragments_; +} + // ------------------------------------------------------------------- // ListMachineFragmentsResponse @@ -54806,6 +58435,178 @@ inline void DeleteRobotRequest::set_allocated_id(std::string* id) { // ------------------------------------------------------------------- +// GetRobotMetadataRequest + +// string id = 1 [json_name = "id"]; +inline void GetRobotMetadataRequest::clear_id() { + id_.ClearToEmpty(); +} +inline const std::string& GetRobotMetadataRequest::id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.GetRobotMetadataRequest.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GetRobotMetadataRequest::set_id(ArgT0&& arg0, ArgT... args) { + + id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.GetRobotMetadataRequest.id) +} +inline std::string* GetRobotMetadataRequest::mutable_id() { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.GetRobotMetadataRequest.id) + return _s; +} +inline const std::string& GetRobotMetadataRequest::_internal_id() const { + return id_.Get(); +} +inline void GetRobotMetadataRequest::_internal_set_id(const std::string& value) { + + id_.Set(value, GetArenaForAllocation()); +} +inline std::string* GetRobotMetadataRequest::_internal_mutable_id() { + + return id_.Mutable(GetArenaForAllocation()); +} +inline std::string* GetRobotMetadataRequest::release_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.GetRobotMetadataRequest.id) + return id_.Release(); +} +inline void GetRobotMetadataRequest::set_allocated_id(std::string* id) { + if (id != nullptr) { + + } else { + + } + id_.SetAllocated(id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (id_.IsDefault()) { + id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.GetRobotMetadataRequest.id) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// GetRobotMetadataResponse + +// map data = 1 [json_name = "data"]; +inline int GetRobotMetadataResponse::_internal_data_size() const { + return data_.size(); +} +inline int GetRobotMetadataResponse::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetRobotMetadataResponse::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +GetRobotMetadataResponse::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.GetRobotMetadataResponse.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetRobotMetadataResponse::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +GetRobotMetadataResponse::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.GetRobotMetadataResponse.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// UpdateRobotMetadataRequest + +// string id = 1 [json_name = "id"]; +inline void UpdateRobotMetadataRequest::clear_id() { + id_.ClearToEmpty(); +} +inline const std::string& UpdateRobotMetadataRequest::id() const { + // @@protoc_insertion_point(field_get:viam.app.v1.UpdateRobotMetadataRequest.id) + return _internal_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void UpdateRobotMetadataRequest::set_id(ArgT0&& arg0, ArgT... args) { + + id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:viam.app.v1.UpdateRobotMetadataRequest.id) +} +inline std::string* UpdateRobotMetadataRequest::mutable_id() { + std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:viam.app.v1.UpdateRobotMetadataRequest.id) + return _s; +} +inline const std::string& UpdateRobotMetadataRequest::_internal_id() const { + return id_.Get(); +} +inline void UpdateRobotMetadataRequest::_internal_set_id(const std::string& value) { + + id_.Set(value, GetArenaForAllocation()); +} +inline std::string* UpdateRobotMetadataRequest::_internal_mutable_id() { + + return id_.Mutable(GetArenaForAllocation()); +} +inline std::string* UpdateRobotMetadataRequest::release_id() { + // @@protoc_insertion_point(field_release:viam.app.v1.UpdateRobotMetadataRequest.id) + return id_.Release(); +} +inline void UpdateRobotMetadataRequest::set_allocated_id(std::string* id) { + if (id != nullptr) { + + } else { + + } + id_.SetAllocated(id, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (id_.IsDefault()) { + id_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:viam.app.v1.UpdateRobotMetadataRequest.id) +} + +// map data = 2 [json_name = "data"]; +inline int UpdateRobotMetadataRequest::_internal_data_size() const { + return data_.size(); +} +inline int UpdateRobotMetadataRequest::data_size() const { + return _internal_data_size(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateRobotMetadataRequest::_internal_data() const { + return data_.GetMap(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >& +UpdateRobotMetadataRequest::data() const { + // @@protoc_insertion_point(field_map:viam.app.v1.UpdateRobotMetadataRequest.data) + return _internal_data(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateRobotMetadataRequest::_internal_mutable_data() { + return data_.MutableMap(); +} +inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Any >* +UpdateRobotMetadataRequest::mutable_data() { + // @@protoc_insertion_point(field_mutable_map:viam.app.v1.UpdateRobotMetadataRequest.data) + return _internal_mutable_data(); +} + +// ------------------------------------------------------------------- + +// UpdateRobotMetadataResponse + +// ------------------------------------------------------------------- + // MarkPartAsMainRequest // string part_id = 1 [json_name = "partId"]; @@ -66438,6 +70239,56 @@ OAuthConfig::mutable_enabled_grants() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/src/viam/api/app/v1/billing.pb.cc b/src/viam/api/app/v1/billing.pb.cc index 975f92094..5dda0c172 100644 --- a/src/viam/api/app/v1/billing.pb.cc +++ b/src/viam/api/app/v1/billing.pb.cc @@ -493,7 +493,7 @@ const char descriptor_table_protodef_app_2fv1_2fbilling_2eproto[] PROTOBUF_SECTI "(\tR\021billingOwnerOrgId\"\"\n SendPaymentRequ" "iredEmailResponse*V\n\021PaymentMethodType\022#" "\n\037PAYMENT_METHOD_TYPE_UNSPECIFIED\020\000\022\034\n\030P" - "AYMENT_METHOD_TYPE_CARD\020\001*\207\007\n\rUsageCostT" + "AYMENT_METHOD_TYPE_CARD\020\001*\363\007\n\rUsageCostT" "ype\022\037\n\033USAGE_COST_TYPE_UNSPECIFIED\020\000\022#\n\033" "USAGE_COST_TYPE_DATA_UPLOAD\020\001\032\002\010\001\022#\n\033USA" "GE_COST_TYPE_DATA_EGRESS\020\002\032\002\010\001\022\"\n\036USAGE_" @@ -516,31 +516,34 @@ const char descriptor_table_protodef_app_2fv1_2fbilling_2eproto[] PROTOBUF_SECTI "Y_DATA_EGRESS\020\022\022\'\n#USAGE_COST_TYPE_TABUL" "AR_DATA_EGRESS\020\023\022\037\n\033USAGE_COST_TYPE_LOGS" "_EGRESS\020\024\022(\n$USAGE_COST_TYPE_TRAINING_LO" - "GS_EGRESS\020\025*X\n\nSourceType\022\033\n\027SOURCE_TYPE" - "_UNSPECIFIED\020\000\022\023\n\017SOURCE_TYPE_ORG\020\001\022\030\n\024S" - "OURCE_TYPE_FRAGMENT\020\0022\260\004\n\016BillingService" - "\022k\n\024GetCurrentMonthUsage\022(.viam.app.v1.G" - "etCurrentMonthUsageRequest\032).viam.app.v1" - ".GetCurrentMonthUsageResponse\022w\n\030GetOrgB" - "illingInformation\022,.viam.app.v1.GetOrgBi" - "llingInformationRequest\032-.viam.app.v1.Ge" - "tOrgBillingInformationResponse\022e\n\022GetInv" - "oicesSummary\022&.viam.app.v1.GetInvoicesSu" - "mmaryRequest\032\'.viam.app.v1.GetInvoicesSu" - "mmaryResponse\022X\n\rGetInvoicePdf\022!.viam.ap" - "p.v1.GetInvoicePdfRequest\032\".viam.app.v1." - "GetInvoicePdfResponse0\001\022w\n\030SendPaymentRe" - "quiredEmail\022,.viam.app.v1.SendPaymentReq" - "uiredEmailRequest\032-.viam.app.v1.SendPaym" - "entRequiredEmailResponseB\030Z\026go.viam.com/" - "api/app/v1b\006proto3" + "GS_EGRESS\020\025\0227\n3USAGE_COST_TYPE_TABULAR_D" + "ATA_DATABASE_CLOUD_STORAGE\020\026\0221\n-USAGE_CO" + "ST_TYPE_TABULAR_DATA_DATABASE_COMPUTE\020\027*" + "X\n\nSourceType\022\033\n\027SOURCE_TYPE_UNSPECIFIED" + "\020\000\022\023\n\017SOURCE_TYPE_ORG\020\001\022\030\n\024SOURCE_TYPE_F" + "RAGMENT\020\0022\260\004\n\016BillingService\022k\n\024GetCurre" + "ntMonthUsage\022(.viam.app.v1.GetCurrentMon" + "thUsageRequest\032).viam.app.v1.GetCurrentM" + "onthUsageResponse\022w\n\030GetOrgBillingInform" + "ation\022,.viam.app.v1.GetOrgBillingInforma" + "tionRequest\032-.viam.app.v1.GetOrgBillingI" + "nformationResponse\022e\n\022GetInvoicesSummary" + "\022&.viam.app.v1.GetInvoicesSummaryRequest" + "\032\'.viam.app.v1.GetInvoicesSummaryRespons" + "e\022X\n\rGetInvoicePdf\022!.viam.app.v1.GetInvo" + "icePdfRequest\032\".viam.app.v1.GetInvoicePd" + "fResponse0\001\022w\n\030SendPaymentRequiredEmail\022" + ",.viam.app.v1.SendPaymentRequiredEmailRe" + "quest\032-.viam.app.v1.SendPaymentRequiredE" + "mailResponseB\030Z\026go.viam.com/api/app/v1b\006" + "proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_app_2fv1_2fbilling_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, }; static ::_pbi::once_flag descriptor_table_app_2fv1_2fbilling_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_app_2fv1_2fbilling_2eproto = { - false, false, 4418, descriptor_table_protodef_app_2fv1_2fbilling_2eproto, + false, false, 4526, descriptor_table_protodef_app_2fv1_2fbilling_2eproto, "app/v1/billing.proto", &descriptor_table_app_2fv1_2fbilling_2eproto_once, descriptor_table_app_2fv1_2fbilling_2eproto_deps, 1, 15, schemas, file_default_instances, TableStruct_app_2fv1_2fbilling_2eproto::offsets, @@ -598,6 +601,8 @@ bool UsageCostType_IsValid(int value) { case 19: case 20: case 21: + case 22: + case 23: return true; default: return false; diff --git a/src/viam/api/app/v1/billing.pb.h b/src/viam/api/app/v1/billing.pb.h index 38c8af92b..98e442168 100644 --- a/src/viam/api/app/v1/billing.pb.h +++ b/src/viam/api/app/v1/billing.pb.h @@ -167,12 +167,14 @@ enum UsageCostType : int { USAGE_COST_TYPE_TABULAR_DATA_EGRESS = 19, USAGE_COST_TYPE_LOGS_EGRESS = 20, USAGE_COST_TYPE_TRAINING_LOGS_EGRESS = 21, + USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE = 22, + USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE = 23, UsageCostType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), UsageCostType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool UsageCostType_IsValid(int value); constexpr UsageCostType UsageCostType_MIN = USAGE_COST_TYPE_UNSPECIFIED; -constexpr UsageCostType UsageCostType_MAX = USAGE_COST_TYPE_TRAINING_LOGS_EGRESS; +constexpr UsageCostType UsageCostType_MAX = USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE; constexpr int UsageCostType_ARRAYSIZE = UsageCostType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UsageCostType_descriptor(); diff --git a/src/viam/api/buf.lock b/src/viam/api/buf.lock index ec9f4373d..433955c80 100644 --- a/src/viam/api/buf.lock +++ b/src/viam/api/buf.lock @@ -4,11 +4,11 @@ deps: - remote: buf.build owner: googleapis repository: googleapis - commit: 83c0f6c19b2f4ea0b0fd84a80e753659 + commit: 546238c53f7340c6a2a6099fb863bc1b - remote: buf.build owner: viamrobotics repository: api - commit: 672eade1f84b4c9097b300218754da57 + commit: c10b3b3d7e6447039c5ac175e231fb3b - remote: buf.build owner: viamrobotics repository: goutils diff --git a/src/viam/api/google/api/client.pb.cc b/src/viam/api/google/api/client.pb.cc index 0c792dff2..e05390f17 100644 --- a/src/viam/api/google/api/client.pb.cc +++ b/src/viam/api/google/api/client.pb.cc @@ -135,7 +135,8 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR PythonSettings_ExperimentalFeatures::PythonSettings_ExperimentalFeatures( ::_pbi::ConstantInitialized) : rest_async_io_enabled_(false) - , protobuf_pythonic_types_enabled_(false){} + , protobuf_pythonic_types_enabled_(false) + , unversioned_package_disabled_(false){} struct PythonSettings_ExperimentalFeaturesDefaultTypeInternal { PROTOBUF_CONSTEXPR PythonSettings_ExperimentalFeaturesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -378,6 +379,7 @@ const uint32_t TableStruct_google_2fapi_2fclient_2eproto::offsets[] PROTOBUF_SEC ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::google::api::PythonSettings_ExperimentalFeatures, rest_async_io_enabled_), PROTOBUF_FIELD_OFFSET(::google::api::PythonSettings_ExperimentalFeatures, protobuf_pythonic_types_enabled_), + PROTOBUF_FIELD_OFFSET(::google::api::PythonSettings_ExperimentalFeatures, unversioned_package_disabled_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::google::api::PythonSettings, _internal_metadata_), ~0u, // no _extensions_ @@ -487,17 +489,17 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 62, -1, -1, sizeof(::google::api::CppSettings)}, { 69, -1, -1, sizeof(::google::api::PhpSettings)}, { 76, -1, -1, sizeof(::google::api::PythonSettings_ExperimentalFeatures)}, - { 84, -1, -1, sizeof(::google::api::PythonSettings)}, - { 92, -1, -1, sizeof(::google::api::NodeSettings)}, - { 99, 107, -1, sizeof(::google::api::DotnetSettings_RenamedServicesEntry_DoNotUse)}, - { 109, 117, -1, sizeof(::google::api::DotnetSettings_RenamedResourcesEntry_DoNotUse)}, - { 119, -1, -1, sizeof(::google::api::DotnetSettings)}, - { 131, -1, -1, sizeof(::google::api::RubySettings)}, - { 138, 146, -1, sizeof(::google::api::GoSettings_RenamedServicesEntry_DoNotUse)}, - { 148, -1, -1, sizeof(::google::api::GoSettings)}, - { 156, -1, -1, sizeof(::google::api::MethodSettings_LongRunning)}, - { 166, -1, -1, sizeof(::google::api::MethodSettings)}, - { 175, -1, -1, sizeof(::google::api::SelectiveGapicGeneration)}, + { 85, -1, -1, sizeof(::google::api::PythonSettings)}, + { 93, -1, -1, sizeof(::google::api::NodeSettings)}, + { 100, 108, -1, sizeof(::google::api::DotnetSettings_RenamedServicesEntry_DoNotUse)}, + { 110, 118, -1, sizeof(::google::api::DotnetSettings_RenamedResourcesEntry_DoNotUse)}, + { 120, -1, -1, sizeof(::google::api::DotnetSettings)}, + { 132, -1, -1, sizeof(::google::api::RubySettings)}, + { 139, 147, -1, sizeof(::google::api::GoSettings_RenamedServicesEntry_DoNotUse)}, + { 149, -1, -1, sizeof(::google::api::GoSettings)}, + { 157, -1, -1, sizeof(::google::api::MethodSettings_LongRunning)}, + { 167, -1, -1, sizeof(::google::api::MethodSettings)}, + { 176, -1, -1, sizeof(::google::api::SelectiveGapicGeneration)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -575,70 +577,72 @@ const char descriptor_table_protodef_google_2fapi_2fclient_2eproto[] PROTOBUF_SE "\0028\001\"I\n\013CppSettings\022:\n\006common\030\001 \001(\0132\".goo" "gle.api.CommonLanguageSettingsR\006common\"I" "\n\013PhpSettings\022:\n\006common\030\001 \001(\0132\".google.a" - "pi.CommonLanguageSettingsR\006common\"\305\002\n\016Py" + "pi.CommonLanguageSettingsR\006common\"\207\003\n\016Py" "thonSettings\022:\n\006common\030\001 \001(\0132\".google.ap" "i.CommonLanguageSettingsR\006common\022d\n\025expe" "rimental_features\030\002 \001(\0132/.google.api.Pyt" "honSettings.ExperimentalFeaturesR\024experi" - "mentalFeatures\032\220\001\n\024ExperimentalFeatures\022" + "mentalFeatures\032\322\001\n\024ExperimentalFeatures\022" "1\n\025rest_async_io_enabled\030\001 \001(\010R\022restAsyn" "cIoEnabled\022E\n\037protobuf_pythonic_types_en" "abled\030\002 \001(\010R\034protobufPythonicTypesEnable" - "d\"J\n\014NodeSettings\022:\n\006common\030\001 \001(\0132\".goog" - "le.api.CommonLanguageSettingsR\006common\"\256\004" - "\n\016DotnetSettings\022:\n\006common\030\001 \001(\0132\".googl" - "e.api.CommonLanguageSettingsR\006common\022Z\n\020" - "renamed_services\030\002 \003(\0132/.google.api.Dotn" - "etSettings.RenamedServicesEntryR\017renamed" - "Services\022]\n\021renamed_resources\030\003 \003(\01320.go" - "ogle.api.DotnetSettings.RenamedResources" - "EntryR\020renamedResources\022+\n\021ignored_resou" - "rces\030\004 \003(\tR\020ignoredResources\0228\n\030forced_n" - "amespace_aliases\030\005 \003(\tR\026forcedNamespaceA" - "liases\0225\n\026handwritten_signatures\030\006 \003(\tR\025" - "handwrittenSignatures\032B\n\024RenamedServices" - "Entry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005" - "value:\0028\001\032C\n\025RenamedResourcesEntry\022\020\n\003ke" - "y\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\"J" - "\n\014RubySettings\022:\n\006common\030\001 \001(\0132\".google." - "api.CommonLanguageSettingsR\006common\"\344\001\n\nG" - "oSettings\022:\n\006common\030\001 \001(\0132\".google.api.C" - "ommonLanguageSettingsR\006common\022V\n\020renamed" - "_services\030\002 \003(\0132+.google.api.GoSettings." - "RenamedServicesEntryR\017renamedServices\032B\n" - "\024RenamedServicesEntry\022\020\n\003key\030\001 \001(\tR\003key\022" - "\024\n\005value\030\002 \001(\tR\005value:\0028\001\"\302\003\n\016MethodSett" - "ings\022\032\n\010selector\030\001 \001(\tR\010selector\022I\n\014long" - "_running\030\002 \001(\0132&.google.api.MethodSettin" - "gs.LongRunningR\013longRunning\0222\n\025auto_popu" - "lated_fields\030\003 \003(\tR\023autoPopulatedFields\032" - "\224\002\n\013LongRunning\022G\n\022initial_poll_delay\030\001 " - "\001(\0132\031.google.protobuf.DurationR\020initialP" - "ollDelay\0222\n\025poll_delay_multiplier\030\002 \001(\002R" - "\023pollDelayMultiplier\022\?\n\016max_poll_delay\030\003" - " \001(\0132\031.google.protobuf.DurationR\014maxPoll" - "Delay\022G\n\022total_poll_timeout\030\004 \001(\0132\031.goog" - "le.protobuf.DurationR\020totalPollTimeout\"u" - "\n\030SelectiveGapicGeneration\022\030\n\007methods\030\001 " - "\003(\tR\007methods\022\?\n\034generate_omitted_as_inte" - "rnal\030\002 \001(\010R\031generateOmittedAsInternal*\243\001" - "\n\031ClientLibraryOrganization\022+\n\'CLIENT_LI" - "BRARY_ORGANIZATION_UNSPECIFIED\020\000\022\t\n\005CLOU" - "D\020\001\022\007\n\003ADS\020\002\022\n\n\006PHOTOS\020\003\022\017\n\013STREET_VIEW\020" - "\004\022\014\n\010SHOPPING\020\005\022\007\n\003GEO\020\006\022\021\n\rGENERATIVE_A" - "I\020\007*g\n\030ClientLibraryDestination\022*\n&CLIEN" - "T_LIBRARY_DESTINATION_UNSPECIFIED\020\000\022\n\n\006G" - "ITHUB\020\n\022\023\n\017PACKAGE_MANAGER\020\024:J\n\020method_s" - "ignature\022\036.google.protobuf.MethodOptions" - "\030\233\010 \003(\tR\017methodSignature:C\n\014default_host" - "\022\037.google.protobuf.ServiceOptions\030\231\010 \001(\t" - "R\013defaultHost:C\n\014oauth_scopes\022\037.google.p" - "rotobuf.ServiceOptions\030\232\010 \001(\tR\013oauthScop" - "es:D\n\013api_version\022\037.google.protobuf.Serv" - "iceOptions\030\301\272\253\372\001 \001(\tR\napiVersionBi\n\016com." - "google.apiB\013ClientProtoP\001ZAgoogle.golang" - ".org/genproto/googleapis/api/annotations" - ";annotations\242\002\004GAPIb\006proto3" + "d\022@\n\034unversioned_package_disabled\030\003 \001(\010R" + "\032unversionedPackageDisabled\"J\n\014NodeSetti" + "ngs\022:\n\006common\030\001 \001(\0132\".google.api.CommonL" + "anguageSettingsR\006common\"\256\004\n\016DotnetSettin" + "gs\022:\n\006common\030\001 \001(\0132\".google.api.CommonLa" + "nguageSettingsR\006common\022Z\n\020renamed_servic" + "es\030\002 \003(\0132/.google.api.DotnetSettings.Ren" + "amedServicesEntryR\017renamedServices\022]\n\021re" + "named_resources\030\003 \003(\01320.google.api.Dotne" + "tSettings.RenamedResourcesEntryR\020renamed" + "Resources\022+\n\021ignored_resources\030\004 \003(\tR\020ig" + "noredResources\0228\n\030forced_namespace_alias" + "es\030\005 \003(\tR\026forcedNamespaceAliases\0225\n\026hand" + "written_signatures\030\006 \003(\tR\025handwrittenSig" + "natures\032B\n\024RenamedServicesEntry\022\020\n\003key\030\001" + " \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\032C\n\025R" + "enamedResourcesEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024" + "\n\005value\030\002 \001(\tR\005value:\0028\001\"J\n\014RubySettings" + "\022:\n\006common\030\001 \001(\0132\".google.api.CommonLang" + "uageSettingsR\006common\"\344\001\n\nGoSettings\022:\n\006c" + "ommon\030\001 \001(\0132\".google.api.CommonLanguageS" + "ettingsR\006common\022V\n\020renamed_services\030\002 \003(" + "\0132+.google.api.GoSettings.RenamedService" + "sEntryR\017renamedServices\032B\n\024RenamedServic" + "esEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\t" + "R\005value:\0028\001\"\302\003\n\016MethodSettings\022\032\n\010select" + "or\030\001 \001(\tR\010selector\022I\n\014long_running\030\002 \001(\013" + "2&.google.api.MethodSettings.LongRunning" + "R\013longRunning\0222\n\025auto_populated_fields\030\003" + " \003(\tR\023autoPopulatedFields\032\224\002\n\013LongRunnin" + "g\022G\n\022initial_poll_delay\030\001 \001(\0132\031.google.p" + "rotobuf.DurationR\020initialPollDelay\0222\n\025po" + "ll_delay_multiplier\030\002 \001(\002R\023pollDelayMult" + "iplier\022\?\n\016max_poll_delay\030\003 \001(\0132\031.google." + "protobuf.DurationR\014maxPollDelay\022G\n\022total" + "_poll_timeout\030\004 \001(\0132\031.google.protobuf.Du" + "rationR\020totalPollTimeout\"u\n\030SelectiveGap" + "icGeneration\022\030\n\007methods\030\001 \003(\tR\007methods\022\?" + "\n\034generate_omitted_as_internal\030\002 \001(\010R\031ge" + "nerateOmittedAsInternal*\243\001\n\031ClientLibrar" + "yOrganization\022+\n\'CLIENT_LIBRARY_ORGANIZA" + "TION_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\007\n\003ADS\020\002\022\n" + "\n\006PHOTOS\020\003\022\017\n\013STREET_VIEW\020\004\022\014\n\010SHOPPING\020" + "\005\022\007\n\003GEO\020\006\022\021\n\rGENERATIVE_AI\020\007*g\n\030ClientL" + "ibraryDestination\022*\n&CLIENT_LIBRARY_DEST" + "INATION_UNSPECIFIED\020\000\022\n\n\006GITHUB\020\n\022\023\n\017PAC" + "KAGE_MANAGER\020\024:J\n\020method_signature\022\036.goo" + "gle.protobuf.MethodOptions\030\233\010 \003(\tR\017metho" + "dSignature:C\n\014default_host\022\037.google.prot" + "obuf.ServiceOptions\030\231\010 \001(\tR\013defaultHost:" + "C\n\014oauth_scopes\022\037.google.protobuf.Servic" + "eOptions\030\232\010 \001(\tR\013oauthScopes:D\n\013api_vers" + "ion\022\037.google.protobuf.ServiceOptions\030\301\272\253" + "\372\001 \001(\tR\napiVersionBi\n\016com.google.apiB\013Cl" + "ientProtoP\001ZAgoogle.golang.org/genproto/" + "googleapis/api/annotations;annotations\242\002" + "\004GAPIb\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_google_2fapi_2fclient_2eproto_deps[3] = { &::descriptor_table_google_2fapi_2flaunch_5fstage_2eproto, @@ -647,7 +651,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_google_2fapi_2fclie }; static ::_pbi::once_flag descriptor_table_google_2fapi_2fclient_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_google_2fapi_2fclient_2eproto = { - false, false, 4627, descriptor_table_protodef_google_2fapi_2fclient_2eproto, + false, false, 4693, descriptor_table_protodef_google_2fapi_2fclient_2eproto, "google/api/client.proto", &descriptor_table_google_2fapi_2fclient_2eproto_once, descriptor_table_google_2fapi_2fclient_2eproto_deps, 3, 19, schemas, file_default_instances, TableStruct_google_2fapi_2fclient_2eproto::offsets, @@ -2879,16 +2883,16 @@ PythonSettings_ExperimentalFeatures::PythonSettings_ExperimentalFeatures(const P : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&rest_async_io_enabled_, &from.rest_async_io_enabled_, - static_cast(reinterpret_cast(&protobuf_pythonic_types_enabled_) - - reinterpret_cast(&rest_async_io_enabled_)) + sizeof(protobuf_pythonic_types_enabled_)); + static_cast(reinterpret_cast(&unversioned_package_disabled_) - + reinterpret_cast(&rest_async_io_enabled_)) + sizeof(unversioned_package_disabled_)); // @@protoc_insertion_point(copy_constructor:google.api.PythonSettings.ExperimentalFeatures) } inline void PythonSettings_ExperimentalFeatures::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&rest_async_io_enabled_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&protobuf_pythonic_types_enabled_) - - reinterpret_cast(&rest_async_io_enabled_)) + sizeof(protobuf_pythonic_types_enabled_)); + 0, static_cast(reinterpret_cast(&unversioned_package_disabled_) - + reinterpret_cast(&rest_async_io_enabled_)) + sizeof(unversioned_package_disabled_)); } PythonSettings_ExperimentalFeatures::~PythonSettings_ExperimentalFeatures() { @@ -2915,8 +2919,8 @@ void PythonSettings_ExperimentalFeatures::Clear() { (void) cached_has_bits; ::memset(&rest_async_io_enabled_, 0, static_cast( - reinterpret_cast(&protobuf_pythonic_types_enabled_) - - reinterpret_cast(&rest_async_io_enabled_)) + sizeof(protobuf_pythonic_types_enabled_)); + reinterpret_cast(&unversioned_package_disabled_) - + reinterpret_cast(&rest_async_io_enabled_)) + sizeof(unversioned_package_disabled_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2942,6 +2946,14 @@ const char* PythonSettings_ExperimentalFeatures::_InternalParse(const char* ptr, } else goto handle_unusual; continue; + // bool unversioned_package_disabled = 3 [json_name = "unversionedPackageDisabled"]; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + unversioned_package_disabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -2983,6 +2995,12 @@ uint8_t* PythonSettings_ExperimentalFeatures::_InternalSerialize( target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_protobuf_pythonic_types_enabled(), target); } + // bool unversioned_package_disabled = 3 [json_name = "unversionedPackageDisabled"]; + if (this->_internal_unversioned_package_disabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_unversioned_package_disabled(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3009,6 +3027,11 @@ size_t PythonSettings_ExperimentalFeatures::ByteSizeLong() const { total_size += 1 + 1; } + // bool unversioned_package_disabled = 3 [json_name = "unversionedPackageDisabled"]; + if (this->_internal_unversioned_package_disabled() != 0) { + total_size += 1 + 1; + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -3037,6 +3060,9 @@ void PythonSettings_ExperimentalFeatures::MergeFrom(const PythonSettings_Experim if (from._internal_protobuf_pythonic_types_enabled() != 0) { _internal_set_protobuf_pythonic_types_enabled(from._internal_protobuf_pythonic_types_enabled()); } + if (from._internal_unversioned_package_disabled() != 0) { + _internal_set_unversioned_package_disabled(from._internal_unversioned_package_disabled()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -3055,8 +3081,8 @@ void PythonSettings_ExperimentalFeatures::InternalSwap(PythonSettings_Experiment using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PythonSettings_ExperimentalFeatures, protobuf_pythonic_types_enabled_) - + sizeof(PythonSettings_ExperimentalFeatures::protobuf_pythonic_types_enabled_) + PROTOBUF_FIELD_OFFSET(PythonSettings_ExperimentalFeatures, unversioned_package_disabled_) + + sizeof(PythonSettings_ExperimentalFeatures::unversioned_package_disabled_) - PROTOBUF_FIELD_OFFSET(PythonSettings_ExperimentalFeatures, rest_async_io_enabled_)>( reinterpret_cast(&rest_async_io_enabled_), reinterpret_cast(&other->rest_async_io_enabled_)); diff --git a/src/viam/api/google/api/client.pb.h b/src/viam/api/google/api/client.pb.h index d54ae575e..8a770b9b1 100644 --- a/src/viam/api/google/api/client.pb.h +++ b/src/viam/api/google/api/client.pb.h @@ -1681,6 +1681,7 @@ class PythonSettings_ExperimentalFeatures final : enum : int { kRestAsyncIoEnabledFieldNumber = 1, kProtobufPythonicTypesEnabledFieldNumber = 2, + kUnversionedPackageDisabledFieldNumber = 3, }; // bool rest_async_io_enabled = 1 [json_name = "restAsyncIoEnabled"]; void clear_rest_async_io_enabled(); @@ -1700,6 +1701,15 @@ class PythonSettings_ExperimentalFeatures final : void _internal_set_protobuf_pythonic_types_enabled(bool value); public: + // bool unversioned_package_disabled = 3 [json_name = "unversionedPackageDisabled"]; + void clear_unversioned_package_disabled(); + bool unversioned_package_disabled() const; + void set_unversioned_package_disabled(bool value); + private: + bool _internal_unversioned_package_disabled() const; + void _internal_set_unversioned_package_disabled(bool value); + public: + // @@protoc_insertion_point(class_scope:google.api.PythonSettings.ExperimentalFeatures) private: class _Internal; @@ -1709,6 +1719,7 @@ class PythonSettings_ExperimentalFeatures final : typedef void DestructorSkippable_; bool rest_async_io_enabled_; bool protobuf_pythonic_types_enabled_; + bool unversioned_package_disabled_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_google_2fapi_2fclient_2eproto; }; @@ -5259,6 +5270,26 @@ inline void PythonSettings_ExperimentalFeatures::set_protobuf_pythonic_types_ena // @@protoc_insertion_point(field_set:google.api.PythonSettings.ExperimentalFeatures.protobuf_pythonic_types_enabled) } +// bool unversioned_package_disabled = 3 [json_name = "unversionedPackageDisabled"]; +inline void PythonSettings_ExperimentalFeatures::clear_unversioned_package_disabled() { + unversioned_package_disabled_ = false; +} +inline bool PythonSettings_ExperimentalFeatures::_internal_unversioned_package_disabled() const { + return unversioned_package_disabled_; +} +inline bool PythonSettings_ExperimentalFeatures::unversioned_package_disabled() const { + // @@protoc_insertion_point(field_get:google.api.PythonSettings.ExperimentalFeatures.unversioned_package_disabled) + return _internal_unversioned_package_disabled(); +} +inline void PythonSettings_ExperimentalFeatures::_internal_set_unversioned_package_disabled(bool value) { + + unversioned_package_disabled_ = value; +} +inline void PythonSettings_ExperimentalFeatures::set_unversioned_package_disabled(bool value) { + _internal_set_unversioned_package_disabled(value); + // @@protoc_insertion_point(field_set:google.api.PythonSettings.ExperimentalFeatures.unversioned_package_disabled) +} + // ------------------------------------------------------------------- // PythonSettings diff --git a/src/viam/api/google/api/http.pb.cc b/src/viam/api/google/api/http.pb.cc index 4e7e9107c..12b455620 100644 --- a/src/viam/api/google/api/http.pb.cc +++ b/src/viam/api/google/api/http.pb.cc @@ -132,14 +132,14 @@ const char descriptor_table_protodef_google_2fapi_2fhttp_2eproto[] PROTOBUF_SECT "bindings\030\013 \003(\0132\024.google.api.HttpRuleR\022ad" "ditionalBindingsB\t\n\007pattern\";\n\021CustomHtt" "pPattern\022\022\n\004kind\030\001 \001(\tR\004kind\022\022\n\004path\030\002 \001" - "(\tR\004pathBj\n\016com.google.apiB\tHttpProtoP\001Z" + "(\tR\004pathBg\n\016com.google.apiB\tHttpProtoP\001Z" "Agoogle.golang.org/genproto/googleapis/a" - "pi/annotations;annotations\370\001\001\242\002\004GAPIb\006pr" - "oto3" + "pi/annotations;annotations\242\002\004GAPIb\006proto" + "3" ; static ::_pbi::once_flag descriptor_table_google_2fapi_2fhttp_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_google_2fapi_2fhttp_2eproto = { - false, false, 684, descriptor_table_protodef_google_2fapi_2fhttp_2eproto, + false, false, 681, descriptor_table_protodef_google_2fapi_2fhttp_2eproto, "google/api/http.proto", &descriptor_table_google_2fapi_2fhttp_2eproto_once, nullptr, 0, 3, schemas, file_default_instances, TableStruct_google_2fapi_2fhttp_2eproto::offsets, diff --git a/src/viam/api/google/api/resource.pb.cc b/src/viam/api/google/api/resource.pb.cc index d2f1d2920..0b953d734 100644 --- a/src/viam/api/google/api/resource.pb.cc +++ b/src/viam/api/google/api/resource.pb.cc @@ -117,17 +117,17 @@ const char descriptor_table_protodef_google_2fapi_2fresource_2eproto[] PROTOBUF_ "sourceDescriptorR\022resourceDefinition:\\\n\010" "resource\022\037.google.protobuf.MessageOption" "s\030\235\010 \001(\0132\036.google.api.ResourceDescriptor" - "R\010resourceBn\n\016com.google.apiB\rResourcePr" + "R\010resourceBk\n\016com.google.apiB\rResourcePr" "otoP\001ZAgoogle.golang.org/genproto/google" - "apis/api/annotations;annotations\370\001\001\242\002\004GA" - "PIb\006proto3" + "apis/api/annotations;annotations\242\002\004GAPIb" + "\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_google_2fapi_2fresource_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, }; static ::_pbi::once_flag descriptor_table_google_2fapi_2fresource_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_google_2fapi_2fresource_2eproto = { - false, false, 1010, descriptor_table_protodef_google_2fapi_2fresource_2eproto, + false, false, 1007, descriptor_table_protodef_google_2fapi_2fresource_2eproto, "google/api/resource.proto", &descriptor_table_google_2fapi_2fresource_2eproto_once, descriptor_table_google_2fapi_2fresource_2eproto_deps, 1, 2, schemas, file_default_instances, TableStruct_google_2fapi_2fresource_2eproto::offsets, diff --git a/src/viam/api/google/api/visibility.pb.cc b/src/viam/api/google/api/visibility.pb.cc index 66abe8cb5..fc8bfa16b 100644 --- a/src/viam/api/google/api/visibility.pb.cc +++ b/src/viam/api/google/api/visibility.pb.cc @@ -102,17 +102,17 @@ const char descriptor_table_protodef_google_2fapi_2fvisibility_2eproto[] PROTOBU "i.VisibilityRuleR\020methodVisibility:e\n\016ap" "i_visibility\022\037.google.protobuf.ServiceOp" "tions\030\257\312\274\" \001(\0132\032.google.api.VisibilityRu" - "leR\rapiVisibilityBn\n\016com.google.apiB\017Vis" + "leR\rapiVisibilityBk\n\016com.google.apiB\017Vis" "ibilityProtoP\001Z\?google.golang.org/genpro" - "to/googleapis/api/visibility;visibility\370" - "\001\001\242\002\004GAPIb\006proto3" + "to/googleapis/api/visibility;visibility\242" + "\002\004GAPIb\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_google_2fapi_2fvisibility_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, }; static ::_pbi::once_flag descriptor_table_google_2fapi_2fvisibility_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_google_2fapi_2fvisibility_2eproto = { - false, false, 977, descriptor_table_protodef_google_2fapi_2fvisibility_2eproto, + false, false, 974, descriptor_table_protodef_google_2fapi_2fvisibility_2eproto, "google/api/visibility.proto", &descriptor_table_google_2fapi_2fvisibility_2eproto_once, descriptor_table_google_2fapi_2fvisibility_2eproto_deps, 1, 2, schemas, file_default_instances, TableStruct_google_2fapi_2fvisibility_2eproto::offsets,