Package io.envoyproxy.envoy.api.v2
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 TypeMethodDescriptioncom.google.protobuf.StructDeprecated.envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated.com.google.protobuf.StructOrBuilderDeprecated.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Any.google.protobuf.Any typed_config = 3;com.google.protobuf.AnyOrBuilder.google.protobuf.Any typed_config = 3;booleanDeprecated.envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated.boolean.google.protobuf.Any typed_config = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated. See envoy/api/v2/cluster.proto;l=846Optional 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.envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated. See envoy/api/v2/cluster.proto;l=846Optional 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.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;
-