Interface ClusterLoadAssignmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ClusterLoadAssignment, ClusterLoadAssignment.Builder

@Generated public interface ClusterLoadAssignmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getClusterName

      String getClusterName()
      Name of the cluster. This will be the :ref:`service_name
      <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified
      in the cluster :ref:`EdsClusterConfig
      <envoy_v3_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`.
      
      string cluster_name = 1 [(.validate.rules) = { ... }
      Returns:
      The clusterName.
    • getClusterNameBytes

      com.google.protobuf.ByteString getClusterNameBytes()
      Name of the cluster. This will be the :ref:`service_name
      <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified
      in the cluster :ref:`EdsClusterConfig
      <envoy_v3_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`.
      
      string cluster_name = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for clusterName.
    • getEndpointsList

      List<LocalityLbEndpoints> getEndpointsList()
      List of endpoints to load balance to.
      
      repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;
    • getEndpoints

      LocalityLbEndpoints getEndpoints(int index)
      List of endpoints to load balance to.
      
      repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;
    • getEndpointsCount

      int getEndpointsCount()
      List of endpoints to load balance to.
      
      repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;
    • getEndpointsOrBuilderList

      List<? extends LocalityLbEndpointsOrBuilder> getEndpointsOrBuilderList()
      List of endpoints to load balance to.
      
      repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;
    • getEndpointsOrBuilder

      LocalityLbEndpointsOrBuilder getEndpointsOrBuilder(int index)
      List of endpoints to load balance to.
      
      repeated .envoy.config.endpoint.v3.LocalityLbEndpoints endpoints = 2;
    • getNamedEndpointsCount

      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;
    • containsNamedEndpoints

      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;
    • getNamedEndpoints

      @Deprecated Map<String,Endpoint> getNamedEndpoints()
      Deprecated.
    • getNamedEndpointsMap

      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;
    • getNamedEndpointsOrDefault

      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;
    • getNamedEndpointsOrThrow

      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;
    • hasPolicy

      boolean hasPolicy()
      Load balancing policy settings.
      
      .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;
      Returns:
      Whether the policy field is set.
    • getPolicy

      Load balancing policy settings.
      
      .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;
      Returns:
      The policy.
    • getPolicyOrBuilder

      Load balancing policy settings.
      
      .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;