public interface ClusterLoadAssignmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNamedEndpoints(String key)
Map of named endpoints that can be referenced in LocalityLbEndpoints.
|
String |
getClusterName()
Name of the cluster.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Name of the cluster.
|
LocalityLbEndpoints |
getEndpoints(int index)
List of endpoints to load balance to.
|
int |
getEndpointsCount()
List of endpoints to load balance to.
|
List<LocalityLbEndpoints> |
getEndpointsList()
List of endpoints to load balance to.
|
LocalityLbEndpointsOrBuilder |
getEndpointsOrBuilder(int index)
List of endpoints to load balance to.
|
List<? extends LocalityLbEndpointsOrBuilder> |
getEndpointsOrBuilderList()
List of endpoints to load balance to.
|
Map<String,Endpoint> |
getNamedEndpoints()
Deprecated.
|
int |
getNamedEndpointsCount()
Map of named endpoints that can be referenced in LocalityLbEndpoints.
|
Map<String,Endpoint> |
getNamedEndpointsMap()
Map of named endpoints that can be referenced in LocalityLbEndpoints.
|
Endpoint |
getNamedEndpointsOrDefault(String key,
Endpoint defaultValue)
Map of named endpoints that can be referenced in LocalityLbEndpoints.
|
Endpoint |
getNamedEndpointsOrThrow(String key)
Map of named endpoints that can be referenced in LocalityLbEndpoints.
|
ClusterLoadAssignment.Policy |
getPolicy()
Load balancing policy settings.
|
ClusterLoadAssignment.PolicyOrBuilder |
getPolicyOrBuilder()
Load balancing policy settings.
|
boolean |
hasPolicy()
Load balancing policy settings.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getClusterName()
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getClusterNameBytes()
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }List<LocalityLbEndpoints> getEndpointsList()
List of endpoints to load balance to.
repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;LocalityLbEndpoints getEndpoints(int index)
List of endpoints to load balance to.
repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;int getEndpointsCount()
List of endpoints to load balance to.
repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;List<? extends LocalityLbEndpointsOrBuilder> getEndpointsOrBuilderList()
List of endpoints to load balance to.
repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;LocalityLbEndpointsOrBuilder getEndpointsOrBuilder(int index)
List of endpoints to load balance to.
repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;int getNamedEndpointsCount()
Map of named endpoints that can be referenced in LocalityLbEndpoints. [#not-implemented-hide:]
map<string, .envoy.config.endpoint.v3.Endpoint> named_endpoints = 5;boolean containsNamedEndpoints(String key)
Map of named endpoints that can be referenced in LocalityLbEndpoints. [#not-implemented-hide:]
map<string, .envoy.config.endpoint.v3.Endpoint> named_endpoints = 5;@Deprecated Map<String,Endpoint> getNamedEndpoints()
getNamedEndpointsMap() instead.Map<String,Endpoint> getNamedEndpointsMap()
Map of named endpoints that can be referenced in LocalityLbEndpoints. [#not-implemented-hide:]
map<string, .envoy.config.endpoint.v3.Endpoint> named_endpoints = 5;Endpoint getNamedEndpointsOrDefault(String key, Endpoint defaultValue)
Map of named endpoints that can be referenced in LocalityLbEndpoints. [#not-implemented-hide:]
map<string, .envoy.config.endpoint.v3.Endpoint> named_endpoints = 5;Endpoint getNamedEndpointsOrThrow(String key)
Map of named endpoints that can be referenced in LocalityLbEndpoints. [#not-implemented-hide:]
map<string, .envoy.config.endpoint.v3.Endpoint> named_endpoints = 5;boolean hasPolicy()
Load balancing policy settings.
.envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;ClusterLoadAssignment.Policy getPolicy()
Load balancing policy settings.
.envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;ClusterLoadAssignment.PolicyOrBuilder getPolicyOrBuilder()
Load balancing policy settings.
.envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;Copyright © 2018–2021 The Envoy Project. All rights reserved.