com.clarifai.grpc.auth.scope.S Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/auth/scope/scope.proto
package com.clarifai.grpc.auth.scope;
/**
*
* Next index: 41
* NOTE: When updating the list of "clarifai_exposed" scopes, please also
* update the TestScopes function in main_key_test.go and TestGetExposedScopes function in
* scope_test.go
* The dependencies listed for each scope are simply recommendations so that a user
* cannot make a key that would be useless. Beyond the key creation they are not enforced
* but rather the scopes are enforce when data is accessed.
* There is the following conventions in place, make sure you add them to the scopes for all new
* resource types:
* 1. *_Add requires the corresponding _Get.
* 2. *_Delete requires the corresponding _Add and _Get.
* 3. *_Patch is deprecated and not check anywhere.
* Think of the dependencies in this file at the DB level. If you cannot make a DB call to Get, Add
* or Delete a resource without having access to another resource then you should add it here. That
* should for the most part be the same resource type. In service.proto for the API level you will
* also specify cl_depending_scopes for each API endpoint. Those cover cases where an endpoint
* might need to access more than just that one resource type in order to operate (ie. API handlers
* that make multiple DB calls of various resource types likely have more cl_depending_scopes than
* the ones listed below). For example: PostCollectors to create a collector we make sure that you
* can do model predictions, get concepts, etc. so that you don't have a collector that would be
* useless at the end of that API handler but below you can see that the dependencies of Collector
* scopes are only on other Collector scopes.
*
*
* Protobuf enum {@code clarifai.auth.scope.S}
*/
public enum S
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* introduce undef so that the zero (default/unset) value of the enum is not a real
* permission. undef is only present for this purpose and should not be used
* to indicate any "real" value.
*
*
* undef = 0;
*/
undef(0),
/**
* All = 1 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
All(1),
/**
*
* Make an rpc to our prediction services.
*
*
* Predict = 2 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Predict(2),
/**
*
* Write to the inputs table in the DB.
*
*
* Inputs_Add = 4 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get];
*/
Inputs_Add(4),
/**
*
* Read from the inputs table in the DB.
*
*
* Inputs_Get = 5 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Inputs_Get(5),
/**
*
* To patch we need read/write.
* Deprecated.
* Optionally needs Concepts_Add.
*
*
* Inputs_Patch = 7 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get];
*/
@java.lang.Deprecated
Inputs_Patch(7),
/**
*
* To delete we need read/write
*
*
* Inputs_Delete = 8 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get];
*/
Inputs_Delete(8),
/**
*
* Deprecated.
*
*
* Outputs_Patch = 9 [deprecated = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Predict];
*/
@java.lang.Deprecated
Outputs_Patch(9),
/**
*
* Write to the concepts DB tables.
*
*
* Concepts_Add = 10 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Get];
*/
Concepts_Add(10),
/**
*
* Read from the concepts DB tables.
*
*
* Concepts_Get = 11 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Concepts_Get(11),
/**
*
* To patch we need read/write.
* Deprecated
*
*
* Concepts_Patch = 12 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Get];
*/
@java.lang.Deprecated
Concepts_Patch(12),
/**
*
* To delete we need read/write.
* Note: not implemented.
*
*
* Concepts_Delete = 13 [(.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Get];
*/
Concepts_Delete(13),
/**
*
* Write to the models DB tables.
*
*
* Models_Add = 14 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
Models_Add(14),
/**
*
* Read from the models and models versions DB tables.
*
*
* Models_Get = 15 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Models_Get(15),
/**
*
* To patch we need read/write.
* Deprecated.
*
*
* Models_Patch = 16 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Train];
*/
@java.lang.Deprecated
Models_Patch(16),
/**
*
* To delete we need read/write.
*
*
* Models_Delete = 17 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
Models_Delete(17),
/**
*
* Note: Models_Train is effectively doing POST /models/{models_id}/versions so it's treated that
* way in terms of data access under the hood.
* Write to the model versions DB table.
*
*
* Models_Train = 26 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
Models_Train(26),
/**
*
* Internal only model syncing.
*
*
* Models_Sync = 27 [(.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
Models_Sync(27),
/**
*
* To get model version export
*
*
* ModelExports_Get = 142 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
ModelExports_Get(142),
/**
*
* To create model version export
*
*
* ModelExports_Add = 143 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = ModelExports_Get];
*/
ModelExports_Add(143),
/**
*
* Write to the workflows DB table.
*
*
* Workflows_Add = 18 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Get];
*/
Workflows_Add(18),
/**
*
* Read from the workflows DB table.
*
*
* Workflows_Get = 19 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Workflows_Get(19),
/**
*
* To patch we need read/write.
* Deprecated.
*
*
* Workflows_Patch = 20 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Get];
*/
@java.lang.Deprecated
Workflows_Patch(20),
/**
*
* To delete we need read/write.
*
*
* Workflows_Delete = 21 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Get];
*/
Workflows_Delete(21),
/**
* WorkflowMetrics_Get = 96 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
WorkflowMetrics_Get(96),
/**
* WorkflowMetrics_Add = 97 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = WorkflowMetrics_Get];
*/
WorkflowMetrics_Add(97),
/**
* WorkflowMetrics_Delete = 98 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = WorkflowMetrics_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = WorkflowMetrics_Get];
*/
WorkflowMetrics_Delete(98),
/**
*
* Write to the visualizations DB table.
* Deprecated
*
*
* TSNEVisualizations_Add = 24 [deprecated = true, (.clarifai.auth.scope.clarifai_depending_scopes) = TSNEVisualizations_Get];
*/
@java.lang.Deprecated
TSNEVisualizations_Add(24),
/**
*
* Read from the visualizations DB table.
* Deprecated
*
*
* TSNEVisualizations_Get = 25 [deprecated = true];
*/
@java.lang.Deprecated
TSNEVisualizations_Get(25),
/**
*
* Write to the annotations DB table.
*
*
* Annotations_Add = 37 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Get];
*/
Annotations_Add(37),
/**
*
* Read from the annotations DB table.
*
*
* Annotations_Get = 38 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Annotations_Get(38),
/**
*
* To patch we need read/write.
* Deprecated.
*
*
* Annotations_Patch = 39 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Get];
*/
@java.lang.Deprecated
Annotations_Patch(39),
/**
*
* To delete we need read/write.
*
*
* Annotations_Delete = 40 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Get];
*/
Annotations_Delete(40),
/**
*
* Write to the collectors DB table.
*
*
* Collectors_Add = 41 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collectors_Get];
*/
Collectors_Add(41),
/**
*
* Read from the collectors DB table.
*
*
* Collectors_Get = 42 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Collectors_Get(42),
/**
*
* To delete we need read/write.
*
*
* Collectors_Delete = 43 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collectors_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Collectors_Get];
*/
Collectors_Delete(43),
/**
*
* Write to the apps DB table.
*
*
* Apps_Add = 44 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Apps_Get];
*/
Apps_Add(44),
/**
*
* Read from the apps DB table.
*
*
* Apps_Get = 45 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Apps_Get(45),
/**
*
* To delete we need read/write.
*
*
* Apps_Delete = 46 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Apps_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Apps_Get];
*/
Apps_Delete(46),
/**
*
* Write to the keys DB table.
*
*
* Keys_Add = 47 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Keys_Get];
*/
Keys_Add(47),
/**
*
* Read from the keys DB table.
*
*
* Keys_Get = 48 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Keys_Get(48),
/**
*
* To delete we need read/write.
*
*
* Keys_Delete = 49 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Keys_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Keys_Get];
*/
Keys_Delete(49),
/**
*
* Write to the app sharing DB table
*
*
* Collaborators_Add = 51 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collaborators_Get];
*/
Collaborators_Add(51),
/**
*
* Read from the app sharing DB table
*
*
* Collaborators_Get = 50 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Collaborators_Get(50),
/**
*
* To delete we need read/write
*
*
* Collaborators_Delete = 52 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collaborators_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Collaborators_Get];
*/
Collaborators_Delete(52),
/**
*
* Write to the metrics table
*
*
* Metrics_Add = 54 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Metrics_Get];
*/
Metrics_Add(54),
/**
*
* Read from metrics table
*
*
* Metrics_Get = 53 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Metrics_Get(53),
/**
*
* To delete we need read/write
*
*
* Metrics_Delete = 63 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Metrics_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Metrics_Get];
*/
Metrics_Delete(63),
/**
*
* Write to tasks DB table.
*
*
* Tasks_Add = 55 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Tasks_Get];
*/
Tasks_Add(55),
/**
*
* Read from the tasks DB table.
*
*
* Tasks_Get = 56 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Tasks_Get(56),
/**
*
* To delete we need read/write
*
*
* Tasks_Delete = 70 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Tasks_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Tasks_Get];
*/
Tasks_Delete(70),
/**
*
* Write to the password_policies DB table
*
*
* PasswordPolicies_Add = 57 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = PasswordPolicies_Get];
*/
PasswordPolicies_Add(57),
/**
*
* Read from the password_policies DB table
*
*
* PasswordPolicies_Get = 58 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
PasswordPolicies_Get(58),
/**
*
* To delete password_policies we need read/write
*
*
* PasswordPolicies_Delete = 59 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = PasswordPolicies_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = PasswordPolicies_Get];
*/
PasswordPolicies_Delete(59),
/**
*
* Read from label orders table
*
*
* LabelOrders_Get = 67 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
LabelOrders_Get(67),
/**
*
* Write to label orders table
*
*
* LabelOrders_Add = 68 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = LabelOrders_Get];
*/
LabelOrders_Add(68),
/**
*
* To delete label orders we need read/write
*
*
* LabelOrders_Delete = 69 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = LabelOrders_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = LabelOrders_Get];
*/
LabelOrders_Delete(69),
/**
*
* Read from user_feature_configs table
*
*
* UserFeatureConfigs_Get = 71 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
UserFeatureConfigs_Get(71),
/**
*
* CRUD on FindDuplicateAnnotationsJobs table
*
*
* FindDuplicateAnnotationsJobs_Add = 102 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = FindDuplicateAnnotationsJobs_Get];
*/
FindDuplicateAnnotationsJobs_Add(102),
/**
* FindDuplicateAnnotationsJobs_Get = 103 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
FindDuplicateAnnotationsJobs_Get(103),
/**
* FindDuplicateAnnotationsJobs_Delete = 104 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = FindDuplicateAnnotationsJobs_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = FindDuplicateAnnotationsJobs_Get];
*/
FindDuplicateAnnotationsJobs_Delete(104),
/**
* Datasets_Get = 105 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Datasets_Get(105),
/**
* Datasets_Add = 106 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Datasets_Get];
*/
Datasets_Add(106),
/**
* Datasets_Delete = 107 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Datasets_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Datasets_Add];
*/
Datasets_Delete(107),
/**
*
* Write to the modules DB tables.
*
*
* Modules_Add = 108 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
Modules_Add(108),
/**
*
* Read from the modules and modules versions DB tables.
*
*
* Modules_Get = 109 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Modules_Get(109),
/**
*
* To delete we need read/write.
*
*
* Modules_Delete = 110 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
Modules_Delete(110),
/**
*
* Write to the InstalledModuleVersions DB tables.
*
*
* InstalledModuleVersions_Add = 111 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = InstalledModuleVersions_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
InstalledModuleVersions_Add(111),
/**
*
* Read from the InstalledModuleVersions and InstalledModuleVersions versions DB tables.
*
*
* InstalledModuleVersions_Get = 112 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
InstalledModuleVersions_Get(112),
/**
*
* To delete we need read/write.
*
*
* InstalledModuleVersions_Delete = 113 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = InstalledModuleVersions_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = InstalledModuleVersions_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
InstalledModuleVersions_Delete(113),
/**
*
* Make an rpc to our search services.
*
*
* Search = 3 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Search(3),
/**
*
* To get a saved search.
*
*
* SavedSearch_Get = 114 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
SavedSearch_Get(114),
/**
*
* To add a saved search
*
*
* SavedSearch_Add = 115 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = SavedSearch_Get];
*/
SavedSearch_Add(115),
/**
*
* To delete a saved search
*
*
* SavedSearch_Delete = 116 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = SavedSearch_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = SavedSearch_Add];
*/
SavedSearch_Delete(116),
/**
* ModelVersionPublications_Add = 117 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
ModelVersionPublications_Add(117),
/**
* ModelVersionPublications_Delete = 118 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
ModelVersionPublications_Delete(118),
/**
* WorkflowPublications_Add = 119 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
WorkflowPublications_Add(119),
/**
* WorkflowPublications_Delete = 120 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
WorkflowPublications_Delete(120),
/**
*
* To write bulk operations to the DB
*
*
* BulkOperation_Add = 121 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = BulkOperation_Get];
*/
BulkOperation_Add(121),
/**
*
* To Read Bulk Operations from the DB
*
*
* BulkOperation_Get = 122 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
BulkOperation_Get(122),
/**
*
* To Delete Bulk Operations from the DB
*
*
* BulkOperation_Delete = 123 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = BulkOperation_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = BulkOperation_Get];
*/
BulkOperation_Delete(123),
/**
*
* To read historical usage from usage.dashboard_items table
*
*
* HistoricalUsage_Get = 124;
*/
HistoricalUsage_Get(124),
/**
*
* To read uploaded files and archives info from Uploads endpoints
*
*
* Uploads_Get = 128 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Uploads_Get(128),
/**
*
* To upload files or archives through the Uploads endpoints
*
*
* Uploads_Add = 129 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Uploads_Get];
*/
Uploads_Add(129),
/**
* Uploads_Delete = 130 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Uploads_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Uploads_Add];
*/
Uploads_Delete(130),
/**
*
* To control remote runners
*
*
* Runners_Get = 131 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Runners_Get(131),
/**
* Runners_Add = 132 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Runners_Get];
*/
Runners_Add(132),
/**
* Runners_Delete = 133 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Runners_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Runners_Add];
*/
Runners_Delete(133),
/**
* RunnerItems_Get = 134 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
RunnerItems_Get(134),
/**
* RunnerItems_Add = 135 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = RunnerItems_Get];
*/
RunnerItems_Add(135),
/**
*
* Pools of compute resources.
*
*
* Nodepools_Get = 136 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Nodepools_Get(136),
/**
* Nodepools_Add = 137 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Nodepools_Get];
*/
Nodepools_Add(137),
/**
* Nodepools_Delete = 138 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Nodepools_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Nodepools_Add];
*/
Nodepools_Delete(138),
/**
*
* Cluster of machines in a region of cloud
*
*
* ComputeClusters_Get = 139 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
ComputeClusters_Get(139),
/**
* ComputeClusters_Add = 140 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = ComputeClusters_Get];
*/
ComputeClusters_Add(140),
/**
* ComputeClusters_Delete = 141 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = ComputeClusters_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = ComputeClusters_Add];
*/
ComputeClusters_Delete(141),
/**
*
* How to autoscale resources within nodepools.
*
*
* Deployments_Get = 144 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Deployments_Get(144),
/**
* Deployments_Add = 145 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Deployments_Get];
*/
Deployments_Add(145),
/**
* Deployments_Delete = 146 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Deployments_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Deployments_Add];
*/
Deployments_Delete(146),
UNRECOGNIZED(-1),
;
/**
*
* introduce undef so that the zero (default/unset) value of the enum is not a real
* permission. undef is only present for this purpose and should not be used
* to indicate any "real" value.
*
*
* undef = 0;
*/
public static final int undef_VALUE = 0;
/**
* All = 1 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int All_VALUE = 1;
/**
*
* Make an rpc to our prediction services.
*
*
* Predict = 2 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Predict_VALUE = 2;
/**
*
* Write to the inputs table in the DB.
*
*
* Inputs_Add = 4 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get];
*/
public static final int Inputs_Add_VALUE = 4;
/**
*
* Read from the inputs table in the DB.
*
*
* Inputs_Get = 5 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Inputs_Get_VALUE = 5;
/**
*
* To patch we need read/write.
* Deprecated.
* Optionally needs Concepts_Add.
*
*
* Inputs_Patch = 7 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get];
*/
@java.lang.Deprecated public static final int Inputs_Patch_VALUE = 7;
/**
*
* To delete we need read/write
*
*
* Inputs_Delete = 8 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get];
*/
public static final int Inputs_Delete_VALUE = 8;
/**
*
* Deprecated.
*
*
* Outputs_Patch = 9 [deprecated = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Inputs_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Predict];
*/
@java.lang.Deprecated public static final int Outputs_Patch_VALUE = 9;
/**
*
* Write to the concepts DB tables.
*
*
* Concepts_Add = 10 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Get];
*/
public static final int Concepts_Add_VALUE = 10;
/**
*
* Read from the concepts DB tables.
*
*
* Concepts_Get = 11 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Concepts_Get_VALUE = 11;
/**
*
* To patch we need read/write.
* Deprecated
*
*
* Concepts_Patch = 12 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Get];
*/
@java.lang.Deprecated public static final int Concepts_Patch_VALUE = 12;
/**
*
* To delete we need read/write.
* Note: not implemented.
*
*
* Concepts_Delete = 13 [(.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Concepts_Get];
*/
public static final int Concepts_Delete_VALUE = 13;
/**
*
* Write to the models DB tables.
*
*
* Models_Add = 14 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
public static final int Models_Add_VALUE = 14;
/**
*
* Read from the models and models versions DB tables.
*
*
* Models_Get = 15 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Models_Get_VALUE = 15;
/**
*
* To patch we need read/write.
* Deprecated.
*
*
* Models_Patch = 16 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Train];
*/
@java.lang.Deprecated public static final int Models_Patch_VALUE = 16;
/**
*
* To delete we need read/write.
*
*
* Models_Delete = 17 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
public static final int Models_Delete_VALUE = 17;
/**
*
* Note: Models_Train is effectively doing POST /models/{models_id}/versions so it's treated that
* way in terms of data access under the hood.
* Write to the model versions DB table.
*
*
* Models_Train = 26 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
public static final int Models_Train_VALUE = 26;
/**
*
* Internal only model syncing.
*
*
* Models_Sync = 27 [(.clarifai.auth.scope.clarifai_depending_scopes) = Models_Get];
*/
public static final int Models_Sync_VALUE = 27;
/**
*
* To get model version export
*
*
* ModelExports_Get = 142 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int ModelExports_Get_VALUE = 142;
/**
*
* To create model version export
*
*
* ModelExports_Add = 143 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = ModelExports_Get];
*/
public static final int ModelExports_Add_VALUE = 143;
/**
*
* Write to the workflows DB table.
*
*
* Workflows_Add = 18 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Get];
*/
public static final int Workflows_Add_VALUE = 18;
/**
*
* Read from the workflows DB table.
*
*
* Workflows_Get = 19 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Workflows_Get_VALUE = 19;
/**
*
* To patch we need read/write.
* Deprecated.
*
*
* Workflows_Patch = 20 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Get];
*/
@java.lang.Deprecated public static final int Workflows_Patch_VALUE = 20;
/**
*
* To delete we need read/write.
*
*
* Workflows_Delete = 21 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Workflows_Get];
*/
public static final int Workflows_Delete_VALUE = 21;
/**
* WorkflowMetrics_Get = 96 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int WorkflowMetrics_Get_VALUE = 96;
/**
* WorkflowMetrics_Add = 97 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = WorkflowMetrics_Get];
*/
public static final int WorkflowMetrics_Add_VALUE = 97;
/**
* WorkflowMetrics_Delete = 98 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = WorkflowMetrics_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = WorkflowMetrics_Get];
*/
public static final int WorkflowMetrics_Delete_VALUE = 98;
/**
*
* Write to the visualizations DB table.
* Deprecated
*
*
* TSNEVisualizations_Add = 24 [deprecated = true, (.clarifai.auth.scope.clarifai_depending_scopes) = TSNEVisualizations_Get];
*/
@java.lang.Deprecated public static final int TSNEVisualizations_Add_VALUE = 24;
/**
*
* Read from the visualizations DB table.
* Deprecated
*
*
* TSNEVisualizations_Get = 25 [deprecated = true];
*/
@java.lang.Deprecated public static final int TSNEVisualizations_Get_VALUE = 25;
/**
*
* Write to the annotations DB table.
*
*
* Annotations_Add = 37 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Get];
*/
public static final int Annotations_Add_VALUE = 37;
/**
*
* Read from the annotations DB table.
*
*
* Annotations_Get = 38 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Annotations_Get_VALUE = 38;
/**
*
* To patch we need read/write.
* Deprecated.
*
*
* Annotations_Patch = 39 [deprecated = true, (.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Get];
*/
@java.lang.Deprecated public static final int Annotations_Patch_VALUE = 39;
/**
*
* To delete we need read/write.
*
*
* Annotations_Delete = 40 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Annotations_Get];
*/
public static final int Annotations_Delete_VALUE = 40;
/**
*
* Write to the collectors DB table.
*
*
* Collectors_Add = 41 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collectors_Get];
*/
public static final int Collectors_Add_VALUE = 41;
/**
*
* Read from the collectors DB table.
*
*
* Collectors_Get = 42 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Collectors_Get_VALUE = 42;
/**
*
* To delete we need read/write.
*
*
* Collectors_Delete = 43 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collectors_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Collectors_Get];
*/
public static final int Collectors_Delete_VALUE = 43;
/**
*
* Write to the apps DB table.
*
*
* Apps_Add = 44 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Apps_Get];
*/
public static final int Apps_Add_VALUE = 44;
/**
*
* Read from the apps DB table.
*
*
* Apps_Get = 45 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Apps_Get_VALUE = 45;
/**
*
* To delete we need read/write.
*
*
* Apps_Delete = 46 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Apps_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Apps_Get];
*/
public static final int Apps_Delete_VALUE = 46;
/**
*
* Write to the keys DB table.
*
*
* Keys_Add = 47 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Keys_Get];
*/
public static final int Keys_Add_VALUE = 47;
/**
*
* Read from the keys DB table.
*
*
* Keys_Get = 48 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Keys_Get_VALUE = 48;
/**
*
* To delete we need read/write.
*
*
* Keys_Delete = 49 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Keys_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Keys_Get];
*/
public static final int Keys_Delete_VALUE = 49;
/**
*
* Write to the app sharing DB table
*
*
* Collaborators_Add = 51 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collaborators_Get];
*/
public static final int Collaborators_Add_VALUE = 51;
/**
*
* Read from the app sharing DB table
*
*
* Collaborators_Get = 50 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Collaborators_Get_VALUE = 50;
/**
*
* To delete we need read/write
*
*
* Collaborators_Delete = 52 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Collaborators_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Collaborators_Get];
*/
public static final int Collaborators_Delete_VALUE = 52;
/**
*
* Write to the metrics table
*
*
* Metrics_Add = 54 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Metrics_Get];
*/
public static final int Metrics_Add_VALUE = 54;
/**
*
* Read from metrics table
*
*
* Metrics_Get = 53 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Metrics_Get_VALUE = 53;
/**
*
* To delete we need read/write
*
*
* Metrics_Delete = 63 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Metrics_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Metrics_Get];
*/
public static final int Metrics_Delete_VALUE = 63;
/**
*
* Write to tasks DB table.
*
*
* Tasks_Add = 55 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Tasks_Get];
*/
public static final int Tasks_Add_VALUE = 55;
/**
*
* Read from the tasks DB table.
*
*
* Tasks_Get = 56 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Tasks_Get_VALUE = 56;
/**
*
* To delete we need read/write
*
*
* Tasks_Delete = 70 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Tasks_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Tasks_Get];
*/
public static final int Tasks_Delete_VALUE = 70;
/**
*
* Write to the password_policies DB table
*
*
* PasswordPolicies_Add = 57 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = PasswordPolicies_Get];
*/
public static final int PasswordPolicies_Add_VALUE = 57;
/**
*
* Read from the password_policies DB table
*
*
* PasswordPolicies_Get = 58 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int PasswordPolicies_Get_VALUE = 58;
/**
*
* To delete password_policies we need read/write
*
*
* PasswordPolicies_Delete = 59 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = PasswordPolicies_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = PasswordPolicies_Get];
*/
public static final int PasswordPolicies_Delete_VALUE = 59;
/**
*
* Read from label orders table
*
*
* LabelOrders_Get = 67 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int LabelOrders_Get_VALUE = 67;
/**
*
* Write to label orders table
*
*
* LabelOrders_Add = 68 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = LabelOrders_Get];
*/
public static final int LabelOrders_Add_VALUE = 68;
/**
*
* To delete label orders we need read/write
*
*
* LabelOrders_Delete = 69 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = LabelOrders_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = LabelOrders_Get];
*/
public static final int LabelOrders_Delete_VALUE = 69;
/**
*
* Read from user_feature_configs table
*
*
* UserFeatureConfigs_Get = 71 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int UserFeatureConfigs_Get_VALUE = 71;
/**
*
* CRUD on FindDuplicateAnnotationsJobs table
*
*
* FindDuplicateAnnotationsJobs_Add = 102 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = FindDuplicateAnnotationsJobs_Get];
*/
public static final int FindDuplicateAnnotationsJobs_Add_VALUE = 102;
/**
* FindDuplicateAnnotationsJobs_Get = 103 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int FindDuplicateAnnotationsJobs_Get_VALUE = 103;
/**
* FindDuplicateAnnotationsJobs_Delete = 104 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = FindDuplicateAnnotationsJobs_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = FindDuplicateAnnotationsJobs_Get];
*/
public static final int FindDuplicateAnnotationsJobs_Delete_VALUE = 104;
/**
* Datasets_Get = 105 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Datasets_Get_VALUE = 105;
/**
* Datasets_Add = 106 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Datasets_Get];
*/
public static final int Datasets_Add_VALUE = 106;
/**
* Datasets_Delete = 107 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Datasets_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Datasets_Add];
*/
public static final int Datasets_Delete_VALUE = 107;
/**
*
* Write to the modules DB tables.
*
*
* Modules_Add = 108 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
public static final int Modules_Add_VALUE = 108;
/**
*
* Read from the modules and modules versions DB tables.
*
*
* Modules_Get = 109 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Modules_Get_VALUE = 109;
/**
*
* To delete we need read/write.
*
*
* Modules_Delete = 110 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
public static final int Modules_Delete_VALUE = 110;
/**
*
* Write to the InstalledModuleVersions DB tables.
*
*
* InstalledModuleVersions_Add = 111 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = InstalledModuleVersions_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
public static final int InstalledModuleVersions_Add_VALUE = 111;
/**
*
* Read from the InstalledModuleVersions and InstalledModuleVersions versions DB tables.
*
*
* InstalledModuleVersions_Get = 112 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
public static final int InstalledModuleVersions_Get_VALUE = 112;
/**
*
* To delete we need read/write.
*
*
* InstalledModuleVersions_Delete = 113 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = InstalledModuleVersions_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = InstalledModuleVersions_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Modules_Get];
*/
public static final int InstalledModuleVersions_Delete_VALUE = 113;
/**
*
* Make an rpc to our search services.
*
*
* Search = 3 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Search_VALUE = 3;
/**
*
* To get a saved search.
*
*
* SavedSearch_Get = 114 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int SavedSearch_Get_VALUE = 114;
/**
*
* To add a saved search
*
*
* SavedSearch_Add = 115 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = SavedSearch_Get];
*/
public static final int SavedSearch_Add_VALUE = 115;
/**
*
* To delete a saved search
*
*
* SavedSearch_Delete = 116 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = SavedSearch_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = SavedSearch_Add];
*/
public static final int SavedSearch_Delete_VALUE = 116;
/**
* ModelVersionPublications_Add = 117 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int ModelVersionPublications_Add_VALUE = 117;
/**
* ModelVersionPublications_Delete = 118 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int ModelVersionPublications_Delete_VALUE = 118;
/**
* WorkflowPublications_Add = 119 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int WorkflowPublications_Add_VALUE = 119;
/**
* WorkflowPublications_Delete = 120 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int WorkflowPublications_Delete_VALUE = 120;
/**
*
* To write bulk operations to the DB
*
*
* BulkOperation_Add = 121 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = BulkOperation_Get];
*/
public static final int BulkOperation_Add_VALUE = 121;
/**
*
* To Read Bulk Operations from the DB
*
*
* BulkOperation_Get = 122 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int BulkOperation_Get_VALUE = 122;
/**
*
* To Delete Bulk Operations from the DB
*
*
* BulkOperation_Delete = 123 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = BulkOperation_Add, (.clarifai.auth.scope.clarifai_depending_scopes) = BulkOperation_Get];
*/
public static final int BulkOperation_Delete_VALUE = 123;
/**
*
* To read historical usage from usage.dashboard_items table
*
*
* HistoricalUsage_Get = 124;
*/
public static final int HistoricalUsage_Get_VALUE = 124;
/**
*
* To read uploaded files and archives info from Uploads endpoints
*
*
* Uploads_Get = 128 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Uploads_Get_VALUE = 128;
/**
*
* To upload files or archives through the Uploads endpoints
*
*
* Uploads_Add = 129 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Uploads_Get];
*/
public static final int Uploads_Add_VALUE = 129;
/**
* Uploads_Delete = 130 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Uploads_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Uploads_Add];
*/
public static final int Uploads_Delete_VALUE = 130;
/**
*
* To control remote runners
*
*
* Runners_Get = 131 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Runners_Get_VALUE = 131;
/**
* Runners_Add = 132 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Runners_Get];
*/
public static final int Runners_Add_VALUE = 132;
/**
* Runners_Delete = 133 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Runners_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Runners_Add];
*/
public static final int Runners_Delete_VALUE = 133;
/**
* RunnerItems_Get = 134 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int RunnerItems_Get_VALUE = 134;
/**
* RunnerItems_Add = 135 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = RunnerItems_Get];
*/
public static final int RunnerItems_Add_VALUE = 135;
/**
*
* Pools of compute resources.
*
*
* Nodepools_Get = 136 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Nodepools_Get_VALUE = 136;
/**
* Nodepools_Add = 137 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Nodepools_Get];
*/
public static final int Nodepools_Add_VALUE = 137;
/**
* Nodepools_Delete = 138 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Nodepools_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Nodepools_Add];
*/
public static final int Nodepools_Delete_VALUE = 138;
/**
*
* Cluster of machines in a region of cloud
*
*
* ComputeClusters_Get = 139 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int ComputeClusters_Get_VALUE = 139;
/**
* ComputeClusters_Add = 140 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = ComputeClusters_Get];
*/
public static final int ComputeClusters_Add_VALUE = 140;
/**
* ComputeClusters_Delete = 141 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = ComputeClusters_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = ComputeClusters_Add];
*/
public static final int ComputeClusters_Delete_VALUE = 141;
/**
*
* How to autoscale resources within nodepools.
*
*
* Deployments_Get = 144 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Deployments_Get_VALUE = 144;
/**
* Deployments_Add = 145 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Deployments_Get];
*/
public static final int Deployments_Add_VALUE = 145;
/**
* Deployments_Delete = 146 [(.clarifai.auth.scope.clarfai_exposed) = true, (.clarifai.auth.scope.clarifai_depending_scopes) = Deployments_Get, (.clarifai.auth.scope.clarifai_depending_scopes) = Deployments_Add];
*/
public static final int Deployments_Delete_VALUE = 146;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static S valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static S forNumber(int value) {
switch (value) {
case 0: return undef;
case 1: return All;
case 2: return Predict;
case 4: return Inputs_Add;
case 5: return Inputs_Get;
case 7: return Inputs_Patch;
case 8: return Inputs_Delete;
case 9: return Outputs_Patch;
case 10: return Concepts_Add;
case 11: return Concepts_Get;
case 12: return Concepts_Patch;
case 13: return Concepts_Delete;
case 14: return Models_Add;
case 15: return Models_Get;
case 16: return Models_Patch;
case 17: return Models_Delete;
case 26: return Models_Train;
case 27: return Models_Sync;
case 142: return ModelExports_Get;
case 143: return ModelExports_Add;
case 18: return Workflows_Add;
case 19: return Workflows_Get;
case 20: return Workflows_Patch;
case 21: return Workflows_Delete;
case 96: return WorkflowMetrics_Get;
case 97: return WorkflowMetrics_Add;
case 98: return WorkflowMetrics_Delete;
case 24: return TSNEVisualizations_Add;
case 25: return TSNEVisualizations_Get;
case 37: return Annotations_Add;
case 38: return Annotations_Get;
case 39: return Annotations_Patch;
case 40: return Annotations_Delete;
case 41: return Collectors_Add;
case 42: return Collectors_Get;
case 43: return Collectors_Delete;
case 44: return Apps_Add;
case 45: return Apps_Get;
case 46: return Apps_Delete;
case 47: return Keys_Add;
case 48: return Keys_Get;
case 49: return Keys_Delete;
case 51: return Collaborators_Add;
case 50: return Collaborators_Get;
case 52: return Collaborators_Delete;
case 54: return Metrics_Add;
case 53: return Metrics_Get;
case 63: return Metrics_Delete;
case 55: return Tasks_Add;
case 56: return Tasks_Get;
case 70: return Tasks_Delete;
case 57: return PasswordPolicies_Add;
case 58: return PasswordPolicies_Get;
case 59: return PasswordPolicies_Delete;
case 67: return LabelOrders_Get;
case 68: return LabelOrders_Add;
case 69: return LabelOrders_Delete;
case 71: return UserFeatureConfigs_Get;
case 102: return FindDuplicateAnnotationsJobs_Add;
case 103: return FindDuplicateAnnotationsJobs_Get;
case 104: return FindDuplicateAnnotationsJobs_Delete;
case 105: return Datasets_Get;
case 106: return Datasets_Add;
case 107: return Datasets_Delete;
case 108: return Modules_Add;
case 109: return Modules_Get;
case 110: return Modules_Delete;
case 111: return InstalledModuleVersions_Add;
case 112: return InstalledModuleVersions_Get;
case 113: return InstalledModuleVersions_Delete;
case 3: return Search;
case 114: return SavedSearch_Get;
case 115: return SavedSearch_Add;
case 116: return SavedSearch_Delete;
case 117: return ModelVersionPublications_Add;
case 118: return ModelVersionPublications_Delete;
case 119: return WorkflowPublications_Add;
case 120: return WorkflowPublications_Delete;
case 121: return BulkOperation_Add;
case 122: return BulkOperation_Get;
case 123: return BulkOperation_Delete;
case 124: return HistoricalUsage_Get;
case 128: return Uploads_Get;
case 129: return Uploads_Add;
case 130: return Uploads_Delete;
case 131: return Runners_Get;
case 132: return Runners_Add;
case 133: return Runners_Delete;
case 134: return RunnerItems_Get;
case 135: return RunnerItems_Add;
case 136: return Nodepools_Get;
case 137: return Nodepools_Add;
case 138: return Nodepools_Delete;
case 139: return ComputeClusters_Get;
case 140: return ComputeClusters_Add;
case 141: return ComputeClusters_Delete;
case 144: return Deployments_Get;
case 145: return Deployments_Add;
case 146: return Deployments_Delete;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
S> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public S findValueByNumber(int number) {
return S.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.clarifai.grpc.auth.scope.Scope.getDescriptor().getEnumTypes().get(0);
}
private static final S[] VALUES = values();
public static S valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private S(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:clarifai.auth.scope.S)
}