Package io.grpc.serviceconfig
Class XdsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
- io.grpc.serviceconfig.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 typegrpc.service_config.XdsConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
clear
public XdsConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
getDefaultInstanceForType
public XdsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public XdsConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public XdsConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public XdsConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
setField
public XdsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
clearField
public XdsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
clearOneof
public XdsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
setRepeatedField
public XdsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
addRepeatedField
public XdsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
mergeFrom
public XdsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XdsConfig.Builder>
-
mergeFrom
public XdsConfig.Builder mergeFrom(XdsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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=432Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];- Specified by:
getBalancerNamein interfaceXdsConfigOrBuilder- 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=432Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];- Specified by:
getBalancerNameBytesin interfaceXdsConfigOrBuilder- 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=432Name 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=432Name 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=432Name 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:
getChildPolicyListin interfaceXdsConfigOrBuilder
-
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:
getChildPolicyCountin interfaceXdsConfigOrBuilder
-
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:
getChildPolicyin interfaceXdsConfigOrBuilder
-
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:
getChildPolicyOrBuilderin interfaceXdsConfigOrBuilder
-
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:
getChildPolicyOrBuilderListin interfaceXdsConfigOrBuilder
-
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:
getFallbackPolicyListin interfaceXdsConfigOrBuilder
-
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:
getFallbackPolicyCountin interfaceXdsConfigOrBuilder
-
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:
getFallbackPolicyin interfaceXdsConfigOrBuilder
-
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:
getFallbackPolicyOrBuilderin interfaceXdsConfigOrBuilder
-
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:
getFallbackPolicyOrBuilderListin interfaceXdsConfigOrBuilder
-
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:
getEdsServiceNamein interfaceXdsConfigOrBuilder- 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:
getEdsServiceNameBytesin interfaceXdsConfigOrBuilder- 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:
hasLrsLoadReportingServerNamein interfaceXdsConfigOrBuilder- 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:
getLrsLoadReportingServerNamein interfaceXdsConfigOrBuilder- 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:
getLrsLoadReportingServerNameOrBuilderin interfaceXdsConfigOrBuilder
-
setUnknownFields
public final XdsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
mergeUnknownFields
public final XdsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
-