Interface XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder

    • Method Detail

      • getCluster

        String getCluster()
         Cluster name.
         
        string cluster = 1;
        Returns:
        The cluster.
      • getClusterBytes

        com.google.protobuf.ByteString getClusterBytes()
         Cluster name.
         
        string cluster = 1;
        Returns:
        The bytes for cluster.
      • hasLrsLoadReportingServerName

        @Deprecated
        boolean hasLrsLoadReportingServerName()
        Deprecated.
        grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=285
         LRS server to send load reports to.
         If not present, load reporting will be disabled.
         If set to the empty string, load reporting will be sent to the same
         server that we obtained CDS data from.
         DEPRECATED: Use new lrs_load_reporting_server field instead.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 2 [deprecated = true];
        Returns:
        Whether the lrsLoadReportingServerName field is set.
      • getLrsLoadReportingServerName

        @Deprecated
        com.google.protobuf.StringValue getLrsLoadReportingServerName()
        Deprecated.
        grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=285
         LRS server to send load reports to.
         If not present, load reporting will be disabled.
         If set to the empty string, load reporting will be sent to the same
         server that we obtained CDS data from.
         DEPRECATED: Use new lrs_load_reporting_server field instead.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 2 [deprecated = true];
        Returns:
        The lrsLoadReportingServerName.
      • getLrsLoadReportingServerNameOrBuilder

        @Deprecated
        com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
        Deprecated.
         LRS server to send load reports to.
         If not present, load reporting will be disabled.
         If set to the empty string, load reporting will be sent to the same
         server that we obtained CDS data from.
         DEPRECATED: Use new lrs_load_reporting_server field instead.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 2 [deprecated = true];
      • hasLrsLoadReportingServer

        boolean hasLrsLoadReportingServer()
         LRS server to send load reports to.
         If not present, load reporting will be disabled.
         Supercedes lrs_load_reporting_server_name field.
         
        .grpc.service_config.XdsServer lrs_load_reporting_server = 7;
        Returns:
        Whether the lrsLoadReportingServer field is set.
      • getLrsLoadReportingServer

        XdsServer getLrsLoadReportingServer()
         LRS server to send load reports to.
         If not present, load reporting will be disabled.
         Supercedes lrs_load_reporting_server_name field.
         
        .grpc.service_config.XdsServer lrs_load_reporting_server = 7;
        Returns:
        The lrsLoadReportingServer.
      • getLrsLoadReportingServerOrBuilder

        XdsServerOrBuilder getLrsLoadReportingServerOrBuilder()
         LRS server to send load reports to.
         If not present, load reporting will be disabled.
         Supercedes lrs_load_reporting_server_name field.
         
        .grpc.service_config.XdsServer lrs_load_reporting_server = 7;
      • hasMaxConcurrentRequests

        boolean hasMaxConcurrentRequests()
         Maximum number of outstanding requests can be made to the upstream
         cluster.  Default is 1024.
         
        .google.protobuf.UInt32Value max_concurrent_requests = 3;
        Returns:
        Whether the maxConcurrentRequests field is set.
      • getMaxConcurrentRequests

        com.google.protobuf.UInt32Value getMaxConcurrentRequests()
         Maximum number of outstanding requests can be made to the upstream
         cluster.  Default is 1024.
         
        .google.protobuf.UInt32Value max_concurrent_requests = 3;
        Returns:
        The maxConcurrentRequests.
      • getMaxConcurrentRequestsOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentRequestsOrBuilder()
         Maximum number of outstanding requests can be made to the upstream
         cluster.  Default is 1024.
         
        .google.protobuf.UInt32Value max_concurrent_requests = 3;
      • getTypeValue

        int getTypeValue()
        .grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism.Type type = 4;
        Returns:
        The enum numeric value on the wire for type.
      • getEdsServiceName

        String getEdsServiceName()
         For type EDS only.
         EDS service name, as returned in CDS.
         May be unset if not specified in CDS.
         
        string eds_service_name = 5;
        Returns:
        The edsServiceName.
      • getEdsServiceNameBytes

        com.google.protobuf.ByteString getEdsServiceNameBytes()
         For type EDS only.
         EDS service name, as returned in CDS.
         May be unset if not specified in CDS.
         
        string eds_service_name = 5;
        Returns:
        The bytes for edsServiceName.
      • getDnsHostname

        String getDnsHostname()
         For type LOGICAL_DNS only.
         DNS name to resolve in "host:port" form.
         
        string dns_hostname = 6;
        Returns:
        The dnsHostname.
      • getDnsHostnameBytes

        com.google.protobuf.ByteString getDnsHostnameBytes()
         For type LOGICAL_DNS only.
         DNS name to resolve in "host:port" form.
         
        string dns_hostname = 6;
        Returns:
        The bytes for dnsHostname.