Class EdsLoadBalancingPolicyConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
io.grpc.serviceconfig.EdsLoadBalancingPolicyConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EdsLoadBalancingPolicyConfigOrBuilder, Cloneable
Enclosing class:
EdsLoadBalancingPolicyConfig

public static final class EdsLoadBalancingPolicyConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder> implements EdsLoadBalancingPolicyConfigOrBuilder
 Configuration for eds LB policy.
 
Protobuf type grpc.service_config.EdsLoadBalancingPolicyConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • getDefaultInstanceForType

      public EdsLoadBalancingPolicyConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EdsLoadBalancingPolicyConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • setField

      public EdsLoadBalancingPolicyConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • clearField

      public EdsLoadBalancingPolicyConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • clearOneof

      public EdsLoadBalancingPolicyConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • setRepeatedField

      public EdsLoadBalancingPolicyConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • addRepeatedField

      public EdsLoadBalancingPolicyConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • mergeFrom

      public EdsLoadBalancingPolicyConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • mergeFrom

      public EdsLoadBalancingPolicyConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EdsLoadBalancingPolicyConfig.Builder>
      Throws:
      IOException
    • getCluster

      public String getCluster()
       Cluster name.  Required.
       
      string cluster = 1;
      Specified by:
      getCluster in interface EdsLoadBalancingPolicyConfigOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       Cluster name.  Required.
       
      string cluster = 1;
      Specified by:
      getClusterBytes in interface EdsLoadBalancingPolicyConfigOrBuilder
      Returns:
      The bytes for cluster.
    • setCluster

      public EdsLoadBalancingPolicyConfig.Builder setCluster(String value)
       Cluster name.  Required.
       
      string cluster = 1;
      Parameters:
      value - The cluster to set.
      Returns:
      This builder for chaining.
    • clearCluster

      public EdsLoadBalancingPolicyConfig.Builder clearCluster()
       Cluster name.  Required.
       
      string cluster = 1;
      Returns:
      This builder for chaining.
    • setClusterBytes

      public EdsLoadBalancingPolicyConfig.Builder setClusterBytes(com.google.protobuf.ByteString value)
       Cluster name.  Required.
       
      string cluster = 1;
      Parameters:
      value - The bytes for cluster to set.
      Returns:
      This builder for chaining.
    • getEdsServiceName

      public String getEdsServiceName()
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Specified by:
      getEdsServiceName in interface EdsLoadBalancingPolicyConfigOrBuilder
      Returns:
      The edsServiceName.
    • getEdsServiceNameBytes

      public com.google.protobuf.ByteString getEdsServiceNameBytes()
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Specified by:
      getEdsServiceNameBytes in interface EdsLoadBalancingPolicyConfigOrBuilder
      Returns:
      The bytes for edsServiceName.
    • setEdsServiceName

      public EdsLoadBalancingPolicyConfig.Builder setEdsServiceName(String value)
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Parameters:
      value - The edsServiceName to set.
      Returns:
      This builder for chaining.
    • clearEdsServiceName

      public EdsLoadBalancingPolicyConfig.Builder clearEdsServiceName()
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Returns:
      This builder for chaining.
    • setEdsServiceNameBytes

      public EdsLoadBalancingPolicyConfig.Builder setEdsServiceNameBytes(com.google.protobuf.ByteString value)
       EDS service name, as returned in CDS.
       May be unset if not specified in CDS.
       
      string eds_service_name = 2;
      Parameters:
      value - The bytes for edsServiceName to set.
      Returns:
      This builder for chaining.
    • hasLrsLoadReportingServerName

      public boolean hasLrsLoadReportingServerName()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
      Specified by:
      hasLrsLoadReportingServerName in interface EdsLoadBalancingPolicyConfigOrBuilder
      Returns:
      Whether the lrsLoadReportingServerName field is set.
    • getLrsLoadReportingServerName

      public com.google.protobuf.StringValue getLrsLoadReportingServerName()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
      Specified by:
      getLrsLoadReportingServerName in interface EdsLoadBalancingPolicyConfigOrBuilder
      Returns:
      The lrsLoadReportingServerName.
    • setLrsLoadReportingServerName

      public EdsLoadBalancingPolicyConfig.Builder setLrsLoadReportingServerName(com.google.protobuf.StringValue value)
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
    • setLrsLoadReportingServerName

      public EdsLoadBalancingPolicyConfig.Builder setLrsLoadReportingServerName(com.google.protobuf.StringValue.Builder builderForValue)
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
    • mergeLrsLoadReportingServerName

      public EdsLoadBalancingPolicyConfig.Builder mergeLrsLoadReportingServerName(com.google.protobuf.StringValue value)
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
    • clearLrsLoadReportingServerName

      public EdsLoadBalancingPolicyConfig.Builder clearLrsLoadReportingServerName()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
    • getLrsLoadReportingServerNameBuilder

      public com.google.protobuf.StringValue.Builder getLrsLoadReportingServerNameBuilder()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
    • getLrsLoadReportingServerNameOrBuilder

      public com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
       Server to send load reports to.
       If unset, no load reporting is done.
       If set to empty string, load reporting will be sent to the same
       server as we are getting xds data from.
       
      .google.protobuf.StringValue lrs_load_reporting_server_name = 3;
      Specified by:
      getLrsLoadReportingServerNameOrBuilder in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getLocalityPickingPolicyList

      public List<LoadBalancingConfig> getLocalityPickingPolicyList()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
      Specified by:
      getLocalityPickingPolicyList in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getLocalityPickingPolicyCount

      public int getLocalityPickingPolicyCount()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
      Specified by:
      getLocalityPickingPolicyCount in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getLocalityPickingPolicy

      public LoadBalancingConfig getLocalityPickingPolicy(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
      Specified by:
      getLocalityPickingPolicy in interface EdsLoadBalancingPolicyConfigOrBuilder
    • setLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder setLocalityPickingPolicy(int index, LoadBalancingConfig value)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • setLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder setLocalityPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • addLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(LoadBalancingConfig value)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • addLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(int index, LoadBalancingConfig value)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • addLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(LoadBalancingConfig.Builder builderForValue)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • addLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • addAllLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addAllLocalityPickingPolicy(Iterable<? extends LoadBalancingConfig> values)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • clearLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder clearLocalityPickingPolicy()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • removeLocalityPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder removeLocalityPickingPolicy(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicyBuilder

      public LoadBalancingConfig.Builder getLocalityPickingPolicyBuilder(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicyOrBuilder

      public LoadBalancingConfigOrBuilder getLocalityPickingPolicyOrBuilder(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
      Specified by:
      getLocalityPickingPolicyOrBuilder in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getLocalityPickingPolicyOrBuilderList

      public List<? extends LoadBalancingConfigOrBuilder> getLocalityPickingPolicyOrBuilderList()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
      Specified by:
      getLocalityPickingPolicyOrBuilderList in interface EdsLoadBalancingPolicyConfigOrBuilder
    • addLocalityPickingPolicyBuilder

      public LoadBalancingConfig.Builder addLocalityPickingPolicyBuilder()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • addLocalityPickingPolicyBuilder

      public LoadBalancingConfig.Builder addLocalityPickingPolicyBuilder(int index)
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getLocalityPickingPolicyBuilderList

      public List<LoadBalancingConfig.Builder> getLocalityPickingPolicyBuilderList()
       Locality-picking policy.
       This policy's config is expected to be in the format used
       by the weighted_target policy.  Note that the config should include
       an empty value for the "targets" field; that empty value will be
       replaced by one that is dynamically generated based on the EDS data.
       Optional; defaults to "weighted_target".
       
      repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
    • getEndpointPickingPolicyList

      public List<LoadBalancingConfig> getEndpointPickingPolicyList()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
      Specified by:
      getEndpointPickingPolicyList in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getEndpointPickingPolicyCount

      public int getEndpointPickingPolicyCount()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
      Specified by:
      getEndpointPickingPolicyCount in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getEndpointPickingPolicy

      public LoadBalancingConfig getEndpointPickingPolicy(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
      Specified by:
      getEndpointPickingPolicy in interface EdsLoadBalancingPolicyConfigOrBuilder
    • setEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder setEndpointPickingPolicy(int index, LoadBalancingConfig value)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • setEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder setEndpointPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • addEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(LoadBalancingConfig value)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • addEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(int index, LoadBalancingConfig value)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • addEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(LoadBalancingConfig.Builder builderForValue)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • addEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • addAllEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder addAllEndpointPickingPolicy(Iterable<? extends LoadBalancingConfig> values)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • clearEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder clearEndpointPickingPolicy()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • removeEndpointPickingPolicy

      public EdsLoadBalancingPolicyConfig.Builder removeEndpointPickingPolicy(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicyBuilder

      public LoadBalancingConfig.Builder getEndpointPickingPolicyBuilder(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicyOrBuilder

      public LoadBalancingConfigOrBuilder getEndpointPickingPolicyOrBuilder(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
      Specified by:
      getEndpointPickingPolicyOrBuilder in interface EdsLoadBalancingPolicyConfigOrBuilder
    • getEndpointPickingPolicyOrBuilderList

      public List<? extends LoadBalancingConfigOrBuilder> getEndpointPickingPolicyOrBuilderList()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
      Specified by:
      getEndpointPickingPolicyOrBuilderList in interface EdsLoadBalancingPolicyConfigOrBuilder
    • addEndpointPickingPolicyBuilder

      public LoadBalancingConfig.Builder addEndpointPickingPolicyBuilder()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • addEndpointPickingPolicyBuilder

      public LoadBalancingConfig.Builder addEndpointPickingPolicyBuilder(int index)
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • getEndpointPickingPolicyBuilderList

      public List<LoadBalancingConfig.Builder> getEndpointPickingPolicyBuilderList()
       Endpoint-picking policy.
       This will be configured as the policy for each child in the
       locality-policy's config.
       Optional; defaults to "round_robin".
       
      repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
    • setUnknownFields

      public final EdsLoadBalancingPolicyConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
    • mergeUnknownFields

      public final EdsLoadBalancingPolicyConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>