Package io.kubernetes.client.proto
Interface V1beta1Apps.ScaleStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1beta1Apps.ScaleStatus
,V1beta1Apps.ScaleStatus.Builder
- Enclosing class:
- V1beta1Apps
public static interface V1beta1Apps.ScaleStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsSelector
(String key) label query over pods that should match the replicas count.int
actual number of observed instances of the scaled object.Deprecated.int
label query over pods that should match the replicas count.label query over pods that should match the replicas count.getSelectorOrDefault
(String key, String defaultValue) label query over pods that should match the replicas count.getSelectorOrThrow
(String key) label query over pods that should match the replicas count.label selector for pods that should match the replicas count.com.google.protobuf.ByteString
label selector for pods that should match the replicas count.boolean
actual number of observed instances of the scaled object.boolean
label selector for pods that should match the replicas count.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasReplicas
boolean hasReplicas()actual number of observed instances of the scaled object.
optional int32 replicas = 1;
-
getReplicas
int getReplicas()actual number of observed instances of the scaled object.
optional int32 replicas = 1;
-
getSelectorCount
int getSelectorCount()label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;
-
containsSelector
label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;
-
getSelector
Deprecated.UsegetSelectorMap()
instead. -
getSelectorMap
label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;
-
getSelectorOrDefault
label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;
-
getSelectorOrThrow
label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;
-
hasTargetSelector
boolean hasTargetSelector()label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;
-
getTargetSelector
String getTargetSelector()label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;
-
getTargetSelectorBytes
com.google.protobuf.ByteString getTargetSelectorBytes()label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;
-