Interface V1beta2Apps.ScaleSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1beta2Apps.ScaleSpec, V1beta2Apps.ScaleSpec.Builder
Enclosing class:
V1beta2Apps

public static interface V1beta2Apps.ScaleSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    desired number of instances for the scaled object.
    boolean
    desired number of instances for the scaled object.

    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()
       desired number of instances for the scaled object.
       +optional
       
      optional int32 replicas = 1;
    • getReplicas

      int getReplicas()
       desired number of instances for the scaled object.
       +optional
       
      optional int32 replicas = 1;