Package api
Interface SubmitOuterClass.QueueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubmitOuterClass.Queue,SubmitOuterClass.Queue.Builder
- Enclosing class:
- SubmitOuterClass
public static interface SubmitOuterClass.QueueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)map<string, string> labels = 10;booleancontainsResourceLimits(String key)Deprecated.booleancontainsResourceLimitsByPriorityClassName(String key)Map from priority class name to resource limit overrides for this queue and priority class.booleangetCordoned()Determines whether scheduling is enabled for this queue.StringgetGroupOwners(int index)repeated string group_owners = 4;com.google.protobuf.ByteStringgetGroupOwnersBytes(int index)repeated string group_owners = 4;intgetGroupOwnersCount()repeated string group_owners = 4;List<String>getGroupOwnersList()repeated string group_owners = 4;Map<String,String>getLabels()Deprecated.intgetLabelsCount()map<string, string> labels = 10;StringgetLabelsDeprecated(int index)Deprecated.api.Queue.labels_deprecated is deprecated.com.google.protobuf.ByteStringgetLabelsDeprecatedBytes(int index)Deprecated.api.Queue.labels_deprecated is deprecated.intgetLabelsDeprecatedCount()Deprecated.api.Queue.labels_deprecated is deprecated.List<String>getLabelsDeprecatedList()Deprecated.api.Queue.labels_deprecated is deprecated.Map<String,String>getLabelsMap()map<string, string> labels = 10;StringgetLabelsOrDefault(String key, String defaultValue)map<string, string> labels = 10;StringgetLabelsOrThrow(String key)map<string, string> labels = 10;StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;SubmitOuterClass.Queue.PermissionsgetPermissions(int index)repeated .api.Queue.Permissions permissions = 6;intgetPermissionsCount()repeated .api.Queue.Permissions permissions = 6;List<SubmitOuterClass.Queue.Permissions>getPermissionsList()repeated .api.Queue.Permissions permissions = 6;SubmitOuterClass.Queue.PermissionsOrBuildergetPermissionsOrBuilder(int index)repeated .api.Queue.Permissions permissions = 6;List<? extends SubmitOuterClass.Queue.PermissionsOrBuilder>getPermissionsOrBuilderList()repeated .api.Queue.Permissions permissions = 6;doublegetPriorityFactor()double priority_factor = 2;Map<String,Double>getResourceLimits()Deprecated.Map<String,SubmitOuterClass.PriorityClassResourceLimits>getResourceLimitsByPriorityClassName()Deprecated.intgetResourceLimitsByPriorityClassNameCount()Map from priority class name to resource limit overrides for this queue and priority class.Map<String,SubmitOuterClass.PriorityClassResourceLimits>getResourceLimitsByPriorityClassNameMap()Map from priority class name to resource limit overrides for this queue and priority class.SubmitOuterClass.PriorityClassResourceLimitsgetResourceLimitsByPriorityClassNameOrDefault(String key, SubmitOuterClass.PriorityClassResourceLimits defaultValue)Map from priority class name to resource limit overrides for this queue and priority class.SubmitOuterClass.PriorityClassResourceLimitsgetResourceLimitsByPriorityClassNameOrThrow(String key)Map from priority class name to resource limit overrides for this queue and priority class.intgetResourceLimitsCount()Deprecated.Map<String,Double>getResourceLimitsMap()Deprecated.doublegetResourceLimitsOrDefault(String key, double defaultValue)Deprecated.doublegetResourceLimitsOrThrow(String key)Deprecated.StringgetUserOwners(int index)repeated string user_owners = 3;com.google.protobuf.ByteStringgetUserOwnersBytes(int index)repeated string user_owners = 3;intgetUserOwnersCount()repeated string user_owners = 3;List<String>getUserOwnersList()repeated string user_owners = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;- Returns:
- The bytes for name.
-
getPriorityFactor
double getPriorityFactor()
double priority_factor = 2;- Returns:
- The priorityFactor.
-
getUserOwnersList
List<String> getUserOwnersList()
repeated string user_owners = 3;- Returns:
- A list containing the userOwners.
-
getUserOwnersCount
int getUserOwnersCount()
repeated string user_owners = 3;- Returns:
- The count of userOwners.
-
getUserOwners
String getUserOwners(int index)
repeated string user_owners = 3;- Parameters:
index- The index of the element to return.- Returns:
- The userOwners at the given index.
-
getUserOwnersBytes
com.google.protobuf.ByteString getUserOwnersBytes(int index)
repeated string user_owners = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the userOwners at the given index.
-
getGroupOwnersList
List<String> getGroupOwnersList()
repeated string group_owners = 4;- Returns:
- A list containing the groupOwners.
-
getGroupOwnersCount
int getGroupOwnersCount()
repeated string group_owners = 4;- Returns:
- The count of groupOwners.
-
getGroupOwners
String getGroupOwners(int index)
repeated string group_owners = 4;- Parameters:
index- The index of the element to return.- Returns:
- The groupOwners at the given index.
-
getGroupOwnersBytes
com.google.protobuf.ByteString getGroupOwnersBytes(int index)
repeated string group_owners = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the groupOwners at the given index.
-
getResourceLimitsCount
@Deprecated int getResourceLimitsCount()
Deprecated.These are ignored and should be removed
map<string, double> resource_limits = 5 [deprecated = true];
-
containsResourceLimits
@Deprecated boolean containsResourceLimits(String key)
Deprecated.These are ignored and should be removed
map<string, double> resource_limits = 5 [deprecated = true];
-
getResourceLimits
@Deprecated Map<String,Double> getResourceLimits()
Deprecated.UsegetResourceLimitsMap()instead.
-
getResourceLimitsMap
@Deprecated Map<String,Double> getResourceLimitsMap()
Deprecated.These are ignored and should be removed
map<string, double> resource_limits = 5 [deprecated = true];
-
getResourceLimitsOrDefault
@Deprecated double getResourceLimitsOrDefault(String key, double defaultValue)
Deprecated.These are ignored and should be removed
map<string, double> resource_limits = 5 [deprecated = true];
-
getResourceLimitsOrThrow
@Deprecated double getResourceLimitsOrThrow(String key)
Deprecated.These are ignored and should be removed
map<string, double> resource_limits = 5 [deprecated = true];
-
getResourceLimitsByPriorityClassNameCount
int getResourceLimitsByPriorityClassNameCount()
Map from priority class name to resource limit overrides for this queue and priority class. If provided for a priority class, global limits for that priority class do not apply to this queue.
map<string, .api.PriorityClassResourceLimits> resource_limits_by_priority_class_name = 7;
-
containsResourceLimitsByPriorityClassName
boolean containsResourceLimitsByPriorityClassName(String key)
Map from priority class name to resource limit overrides for this queue and priority class. If provided for a priority class, global limits for that priority class do not apply to this queue.
map<string, .api.PriorityClassResourceLimits> resource_limits_by_priority_class_name = 7;
-
getResourceLimitsByPriorityClassName
@Deprecated Map<String,SubmitOuterClass.PriorityClassResourceLimits> getResourceLimitsByPriorityClassName()
Deprecated.UsegetResourceLimitsByPriorityClassNameMap()instead.
-
getResourceLimitsByPriorityClassNameMap
Map<String,SubmitOuterClass.PriorityClassResourceLimits> getResourceLimitsByPriorityClassNameMap()
Map from priority class name to resource limit overrides for this queue and priority class. If provided for a priority class, global limits for that priority class do not apply to this queue.
map<string, .api.PriorityClassResourceLimits> resource_limits_by_priority_class_name = 7;
-
getResourceLimitsByPriorityClassNameOrDefault
SubmitOuterClass.PriorityClassResourceLimits getResourceLimitsByPriorityClassNameOrDefault(String key, SubmitOuterClass.PriorityClassResourceLimits defaultValue)
Map from priority class name to resource limit overrides for this queue and priority class. If provided for a priority class, global limits for that priority class do not apply to this queue.
map<string, .api.PriorityClassResourceLimits> resource_limits_by_priority_class_name = 7;
-
getResourceLimitsByPriorityClassNameOrThrow
SubmitOuterClass.PriorityClassResourceLimits getResourceLimitsByPriorityClassNameOrThrow(String key)
Map from priority class name to resource limit overrides for this queue and priority class. If provided for a priority class, global limits for that priority class do not apply to this queue.
map<string, .api.PriorityClassResourceLimits> resource_limits_by_priority_class_name = 7;
-
getPermissionsList
List<SubmitOuterClass.Queue.Permissions> getPermissionsList()
repeated .api.Queue.Permissions permissions = 6;
-
getPermissions
SubmitOuterClass.Queue.Permissions getPermissions(int index)
repeated .api.Queue.Permissions permissions = 6;
-
getPermissionsCount
int getPermissionsCount()
repeated .api.Queue.Permissions permissions = 6;
-
getPermissionsOrBuilderList
List<? extends SubmitOuterClass.Queue.PermissionsOrBuilder> getPermissionsOrBuilderList()
repeated .api.Queue.Permissions permissions = 6;
-
getPermissionsOrBuilder
SubmitOuterClass.Queue.PermissionsOrBuilder getPermissionsOrBuilder(int index)
repeated .api.Queue.Permissions permissions = 6;
-
getCordoned
boolean getCordoned()
Determines whether scheduling is enabled for this queue.
bool cordoned = 8;- Returns:
- The cordoned.
-
getLabelsDeprecatedList
@Deprecated List<String> getLabelsDeprecatedList()
Deprecated.api.Queue.labels_deprecated is deprecated. See pkg/api/submit.proto;l=203A list of Kubernetes-like key-value labels, e.g. armadaproject.io/priority=critical
repeated string labels_deprecated = 9 [deprecated = true];- Returns:
- A list containing the labelsDeprecated.
-
getLabelsDeprecatedCount
@Deprecated int getLabelsDeprecatedCount()
Deprecated.api.Queue.labels_deprecated is deprecated. See pkg/api/submit.proto;l=203A list of Kubernetes-like key-value labels, e.g. armadaproject.io/priority=critical
repeated string labels_deprecated = 9 [deprecated = true];- Returns:
- The count of labelsDeprecated.
-
getLabelsDeprecated
@Deprecated String getLabelsDeprecated(int index)
Deprecated.api.Queue.labels_deprecated is deprecated. See pkg/api/submit.proto;l=203A list of Kubernetes-like key-value labels, e.g. armadaproject.io/priority=critical
repeated string labels_deprecated = 9 [deprecated = true];- Parameters:
index- The index of the element to return.- Returns:
- The labelsDeprecated at the given index.
-
getLabelsDeprecatedBytes
@Deprecated com.google.protobuf.ByteString getLabelsDeprecatedBytes(int index)
Deprecated.api.Queue.labels_deprecated is deprecated. See pkg/api/submit.proto;l=203A list of Kubernetes-like key-value labels, e.g. armadaproject.io/priority=critical
repeated string labels_deprecated = 9 [deprecated = true];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labelsDeprecated at the given index.
-
getLabelsCount
int getLabelsCount()
map<string, string> labels = 10;
-
containsLabels
boolean containsLabels(String key)
map<string, string> labels = 10;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
map<string, string> labels = 10;
-
-