Class XdsConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, XdsConfigOrBuilder, Cloneable
    Enclosing class:
    XdsConfig

    public static final class XdsConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
    implements XdsConfigOrBuilder
     Configuration for xds LB policy.
     
    Protobuf type grpc.service_config.XdsConfig
    • Method Detail

      • 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<XdsConfig.Builder>
      • clear

        public XdsConfig.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<XdsConfig.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<XdsConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public XdsConfig.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<XdsConfig.Builder>
      • setField

        public XdsConfig.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<XdsConfig.Builder>
      • clearField

        public XdsConfig.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<XdsConfig.Builder>
      • clearOneof

        public XdsConfig.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<XdsConfig.Builder>
      • setRepeatedField

        public XdsConfig.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<XdsConfig.Builder>
      • addRepeatedField

        public XdsConfig.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<XdsConfig.Builder>
      • mergeFrom

        public XdsConfig.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<XdsConfig.Builder>
      • isInitialized

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

        public XdsConfig.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<XdsConfig.Builder>
        Throws:
        IOException
      • getBalancerName

        @Deprecated
        public String getBalancerName()
        Deprecated.
        grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
         Name of balancer to connect to.
         
        string balancer_name = 1 [deprecated = true];
        Specified by:
        getBalancerName in interface XdsConfigOrBuilder
        Returns:
        The balancerName.
      • getBalancerNameBytes

        @Deprecated
        public com.google.protobuf.ByteString getBalancerNameBytes()
        Deprecated.
        grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
         Name of balancer to connect to.
         
        string balancer_name = 1 [deprecated = true];
        Specified by:
        getBalancerNameBytes in interface XdsConfigOrBuilder
        Returns:
        The bytes for balancerName.
      • setBalancerName

        @Deprecated
        public XdsConfig.Builder setBalancerName​(String value)
        Deprecated.
        grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
         Name of balancer to connect to.
         
        string balancer_name = 1 [deprecated = true];
        Parameters:
        value - The balancerName to set.
        Returns:
        This builder for chaining.
      • clearBalancerName

        @Deprecated
        public XdsConfig.Builder clearBalancerName()
        Deprecated.
        grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
         Name of balancer to connect to.
         
        string balancer_name = 1 [deprecated = true];
        Returns:
        This builder for chaining.
      • setBalancerNameBytes

        @Deprecated
        public XdsConfig.Builder setBalancerNameBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432
         Name of balancer to connect to.
         
        string balancer_name = 1 [deprecated = true];
        Parameters:
        value - The bytes for balancerName to set.
        Returns:
        This builder for chaining.
      • getChildPolicyList

        public List<LoadBalancingConfig> getChildPolicyList()
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
        Specified by:
        getChildPolicyList in interface XdsConfigOrBuilder
      • getChildPolicyCount

        public int getChildPolicyCount()
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
        Specified by:
        getChildPolicyCount in interface XdsConfigOrBuilder
      • getChildPolicy

        public LoadBalancingConfig getChildPolicy​(int index)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
        Specified by:
        getChildPolicy in interface XdsConfigOrBuilder
      • setChildPolicy

        public XdsConfig.Builder setChildPolicy​(int index,
                                                LoadBalancingConfig value)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • setChildPolicy

        public XdsConfig.Builder setChildPolicy​(int index,
                                                LoadBalancingConfig.Builder builderForValue)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • addChildPolicy

        public XdsConfig.Builder addChildPolicy​(LoadBalancingConfig value)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • addChildPolicy

        public XdsConfig.Builder addChildPolicy​(int index,
                                                LoadBalancingConfig value)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • addChildPolicy

        public XdsConfig.Builder addChildPolicy​(LoadBalancingConfig.Builder builderForValue)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • addChildPolicy

        public XdsConfig.Builder addChildPolicy​(int index,
                                                LoadBalancingConfig.Builder builderForValue)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • addAllChildPolicy

        public XdsConfig.Builder addAllChildPolicy​(Iterable<? extends LoadBalancingConfig> values)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • clearChildPolicy

        public XdsConfig.Builder clearChildPolicy()
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • removeChildPolicy

        public XdsConfig.Builder removeChildPolicy​(int index)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • getChildPolicyBuilder

        public LoadBalancingConfig.Builder getChildPolicyBuilder​(int index)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • getChildPolicyOrBuilder

        public LoadBalancingConfigOrBuilder getChildPolicyOrBuilder​(int index)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
        Specified by:
        getChildPolicyOrBuilder in interface XdsConfigOrBuilder
      • getChildPolicyOrBuilderList

        public List<? extends LoadBalancingConfigOrBuilder> getChildPolicyOrBuilderList()
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
        Specified by:
        getChildPolicyOrBuilderList in interface XdsConfigOrBuilder
      • addChildPolicyBuilder

        public LoadBalancingConfig.Builder addChildPolicyBuilder()
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • addChildPolicyBuilder

        public LoadBalancingConfig.Builder addChildPolicyBuilder​(int index)
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • getChildPolicyBuilderList

        public List<LoadBalancingConfig.Builder> getChildPolicyBuilderList()
         Optional.  What LB policy to use for intra-locality routing.
         If unset, will use whatever algorithm is specified by the balancer.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig child_policy = 2;
      • getFallbackPolicyList

        public List<LoadBalancingConfig> getFallbackPolicyList()
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
        Specified by:
        getFallbackPolicyList in interface XdsConfigOrBuilder
      • getFallbackPolicyCount

        public int getFallbackPolicyCount()
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
        Specified by:
        getFallbackPolicyCount in interface XdsConfigOrBuilder
      • getFallbackPolicy

        public LoadBalancingConfig getFallbackPolicy​(int index)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
        Specified by:
        getFallbackPolicy in interface XdsConfigOrBuilder
      • setFallbackPolicy

        public XdsConfig.Builder setFallbackPolicy​(int index,
                                                   LoadBalancingConfig value)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • setFallbackPolicy

        public XdsConfig.Builder setFallbackPolicy​(int index,
                                                   LoadBalancingConfig.Builder builderForValue)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • addFallbackPolicy

        public XdsConfig.Builder addFallbackPolicy​(LoadBalancingConfig value)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • addFallbackPolicy

        public XdsConfig.Builder addFallbackPolicy​(int index,
                                                   LoadBalancingConfig value)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • addFallbackPolicy

        public XdsConfig.Builder addFallbackPolicy​(LoadBalancingConfig.Builder builderForValue)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • addFallbackPolicy

        public XdsConfig.Builder addFallbackPolicy​(int index,
                                                   LoadBalancingConfig.Builder builderForValue)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • addAllFallbackPolicy

        public XdsConfig.Builder addAllFallbackPolicy​(Iterable<? extends LoadBalancingConfig> values)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • clearFallbackPolicy

        public XdsConfig.Builder clearFallbackPolicy()
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • removeFallbackPolicy

        public XdsConfig.Builder removeFallbackPolicy​(int index)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • getFallbackPolicyBuilder

        public LoadBalancingConfig.Builder getFallbackPolicyBuilder​(int index)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • getFallbackPolicyOrBuilder

        public LoadBalancingConfigOrBuilder getFallbackPolicyOrBuilder​(int index)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
        Specified by:
        getFallbackPolicyOrBuilder in interface XdsConfigOrBuilder
      • getFallbackPolicyOrBuilderList

        public List<? extends LoadBalancingConfigOrBuilder> getFallbackPolicyOrBuilderList()
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
        Specified by:
        getFallbackPolicyOrBuilderList in interface XdsConfigOrBuilder
      • addFallbackPolicyBuilder

        public LoadBalancingConfig.Builder addFallbackPolicyBuilder()
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • addFallbackPolicyBuilder

        public LoadBalancingConfig.Builder addFallbackPolicyBuilder​(int index)
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • getFallbackPolicyBuilderList

        public List<LoadBalancingConfig.Builder> getFallbackPolicyBuilderList()
         Optional.  What LB policy to use in fallback mode.  If not
         specified, defaults to round_robin.
         Multiple LB policies can be specified; clients will iterate through
         the list in order and stop at the first policy that they support.
         
        repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3;
      • getEdsServiceName

        public String getEdsServiceName()
         Optional.  Name to use in EDS query.  If not present, defaults to
         the server name from the target URI.
         
        string eds_service_name = 4;
        Specified by:
        getEdsServiceName in interface XdsConfigOrBuilder
        Returns:
        The edsServiceName.
      • getEdsServiceNameBytes

        public com.google.protobuf.ByteString getEdsServiceNameBytes()
         Optional.  Name to use in EDS query.  If not present, defaults to
         the server name from the target URI.
         
        string eds_service_name = 4;
        Specified by:
        getEdsServiceNameBytes in interface XdsConfigOrBuilder
        Returns:
        The bytes for edsServiceName.
      • setEdsServiceName

        public XdsConfig.Builder setEdsServiceName​(String value)
         Optional.  Name to use in EDS query.  If not present, defaults to
         the server name from the target URI.
         
        string eds_service_name = 4;
        Parameters:
        value - The edsServiceName to set.
        Returns:
        This builder for chaining.
      • clearEdsServiceName

        public XdsConfig.Builder clearEdsServiceName()
         Optional.  Name to use in EDS query.  If not present, defaults to
         the server name from the target URI.
         
        string eds_service_name = 4;
        Returns:
        This builder for chaining.
      • setEdsServiceNameBytes

        public XdsConfig.Builder setEdsServiceNameBytes​(com.google.protobuf.ByteString value)
         Optional.  Name to use in EDS query.  If not present, defaults to
         the server name from the target URI.
         
        string eds_service_name = 4;
        Parameters:
        value - The bytes for edsServiceName to set.
        Returns:
        This builder for chaining.
      • hasLrsLoadReportingServerName

        public boolean hasLrsLoadReportingServerName()
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
        Specified by:
        hasLrsLoadReportingServerName in interface XdsConfigOrBuilder
        Returns:
        Whether the lrsLoadReportingServerName field is set.
      • getLrsLoadReportingServerName

        public com.google.protobuf.StringValue getLrsLoadReportingServerName()
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
        Specified by:
        getLrsLoadReportingServerName in interface XdsConfigOrBuilder
        Returns:
        The lrsLoadReportingServerName.
      • setLrsLoadReportingServerName

        public XdsConfig.Builder setLrsLoadReportingServerName​(com.google.protobuf.StringValue value)
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
      • setLrsLoadReportingServerName

        public XdsConfig.Builder setLrsLoadReportingServerName​(com.google.protobuf.StringValue.Builder builderForValue)
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
      • mergeLrsLoadReportingServerName

        public XdsConfig.Builder mergeLrsLoadReportingServerName​(com.google.protobuf.StringValue value)
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
      • clearLrsLoadReportingServerName

        public XdsConfig.Builder clearLrsLoadReportingServerName()
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
      • getLrsLoadReportingServerNameBuilder

        public com.google.protobuf.StringValue.Builder getLrsLoadReportingServerNameBuilder()
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
      • getLrsLoadReportingServerNameOrBuilder

        public com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
         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.
         
        .google.protobuf.StringValue lrs_load_reporting_server_name = 5;
        Specified by:
        getLrsLoadReportingServerNameOrBuilder in interface XdsConfigOrBuilder
      • setUnknownFields

        public final XdsConfig.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<XdsConfig.Builder>
      • mergeUnknownFields

        public final XdsConfig.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<XdsConfig.Builder>