Interface ServiceLbPolicy.FailoverConfigOrBuilder

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

public static interface ServiceLbPolicy.FailoverConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Optional.

    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

    • getFailoverHealthThreshold

      int getFailoverHealthThreshold()
       Optional. The percentage threshold that a load balancer will begin to
       send traffic to failover backends. If the percentage of endpoints in a
       MIG/NEG is smaller than this value, traffic would be sent to failover
       backends if possible. This field should be set to a value between 1
       and 99. The default value is 50 for Global external HTTP(S) load balancer
       (classic) and Proxyless service mesh, and 70 for others.
       
      int32 failover_health_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The failoverHealthThreshold.