Interface LoadBalancingPolicy.PolicyOrBuilder

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

public static interface LoadBalancingPolicy.PolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    Deprecated.
    envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated.
    com.google.protobuf.StructOrBuilder
    Deprecated.
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Any
    .google.protobuf.Any typed_config = 3;
    com.google.protobuf.AnyOrBuilder
    .google.protobuf.Any typed_config = 3;
    boolean
    Deprecated.
    envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated.
    boolean
    .google.protobuf.Any typed_config = 3;

    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

    • getName

      String getName()
       Required. The name of the LB policy.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The name of the LB policy.
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasConfig

      @Deprecated boolean hasConfig()
      Deprecated.
      envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated. See envoy/api/v2/cluster.proto;l=846
       Optional config for the LB policy.
       No more than one of these two fields may be populated.
       
      .google.protobuf.Struct config = 2 [deprecated = true];
      Returns:
      Whether the config field is set.
    • getConfig

      @Deprecated com.google.protobuf.Struct getConfig()
      Deprecated.
      envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated. See envoy/api/v2/cluster.proto;l=846
       Optional config for the LB policy.
       No more than one of these two fields may be populated.
       
      .google.protobuf.Struct config = 2 [deprecated = true];
      Returns:
      The config.
    • getConfigOrBuilder

      @Deprecated com.google.protobuf.StructOrBuilder getConfigOrBuilder()
      Deprecated.
       Optional config for the LB policy.
       No more than one of these two fields may be populated.
       
      .google.protobuf.Struct config = 2 [deprecated = true];
    • hasTypedConfig

      boolean hasTypedConfig()
      .google.protobuf.Any typed_config = 3;
      Returns:
      Whether the typedConfig field is set.
    • getTypedConfig

      com.google.protobuf.Any getTypedConfig()
      .google.protobuf.Any typed_config = 3;
      Returns:
      The typedConfig.
    • getTypedConfigOrBuilder

      com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
      .google.protobuf.Any typed_config = 3;