Interface ClusterLoadAssignmentOrBuilder

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

    public interface ClusterLoadAssignmentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getClusterName

        java.lang.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

        java.util.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

        java.util.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​(java.lang.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;
      • getNamedEndpointsMap

        java.util.Map<java.lang.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​(java.lang.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​(java.lang.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

        ClusterLoadAssignment.Policy getPolicy()
         Load balancing policy settings.
         
        .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy policy = 4;
        Returns:
        The policy.