
com.clarifai.grpc.auth.scope.S Maven / Gradle / Ivy
// 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 enforcee
* but rather the scopes are enforce when data is accessed.
* There is the following conventions in place, make sure you add them to the socpes for all new
* resource types:
* 1. *_Add required the corresponding _Get.
* 2. *_Delete requires the corresponding _Add and _Get.
* 3. *_Patch is deprecated and not check anywhere.
*
*
* 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),
/**
*
* Make an rpc to our search services.
*
*
* Search = 3 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
Search(3),
/**
*
* 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),
/**
*
* 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),
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;
/**
*
* Make an rpc to our search services.
*
*
* Search = 3 [(.clarifai.auth.scope.clarfai_exposed) = true];
*/
public static final int Search_VALUE = 3;
/**
*
* 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];
*/
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];
*/
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];
*/
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];
*/
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;
/**
*
* 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];
*/
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];
*/
public static final int TSNEVisualizations_Add_VALUE = 24;
/**
*
* Read from the visualizations DB table.
* Deprecated
*
*
* TSNEVisualizations_Get = 25 [deprecated = true];
*/
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];
*/
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;
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 3: return Search;
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 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;
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() {
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)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy