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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.google.protobuf.StructgetConfig()Deprecated.envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated.com.google.protobuf.StructOrBuildergetConfigOrBuilder()Deprecated.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.com.google.protobuf.AnygetTypedConfig().google.protobuf.Any typed_config = 3;com.google.protobuf.AnyOrBuildergetTypedConfigOrBuilder().google.protobuf.Any typed_config = 3;booleanhasConfig()Deprecated.envoy.api.v2.LoadBalancingPolicy.Policy.config is deprecated.booleanhasTypedConfig().google.protobuf.Any typed_config = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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=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 com.google.protobuf.Struct 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 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;
-
-