Package io.grpc.serviceconfig
Class XdsConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
grpc.service_config.XdsConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllChildPolicy(Iterable<? extends LoadBalancingConfig> values) Optional.addAllFallbackPolicy(Iterable<? extends LoadBalancingConfig> values) Optional.addChildPolicy(int index, LoadBalancingConfig value) Optional.addChildPolicy(int index, LoadBalancingConfig.Builder builderForValue) Optional.Optional.addChildPolicy(LoadBalancingConfig.Builder builderForValue) Optional.Optional.addChildPolicyBuilder(int index) Optional.addFallbackPolicy(int index, LoadBalancingConfig value) Optional.addFallbackPolicy(int index, LoadBalancingConfig.Builder builderForValue) Optional.Optional.addFallbackPolicy(LoadBalancingConfig.Builder builderForValue) Optional.Optional.addFallbackPolicyBuilder(int index) Optional.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Deprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.Optional.Optional.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) LRS server to send load reports to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Deprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.com.google.protobuf.ByteStringDeprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.getChildPolicy(int index) Optional.getChildPolicyBuilder(int index) Optional.Optional.intOptional.Optional.getChildPolicyOrBuilder(int index) Optional.List<? extends LoadBalancingConfigOrBuilder>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getFallbackPolicy(int index) Optional.getFallbackPolicyBuilder(int index) Optional.Optional.intOptional.Optional.getFallbackPolicyOrBuilder(int index) Optional.List<? extends LoadBalancingConfigOrBuilder>Optional.com.google.protobuf.StringValueLRS server to send load reports to.com.google.protobuf.StringValue.BuilderLRS server to send load reports to.com.google.protobuf.StringValueOrBuilderLRS server to send load reports to.booleanLRS server to send load reports to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLrsLoadReportingServerName(com.google.protobuf.StringValue value) LRS server to send load reports to.final XdsConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeChildPolicy(int index) Optional.removeFallbackPolicy(int index) Optional.setBalancerName(String value) Deprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.setBalancerNameBytes(com.google.protobuf.ByteString value) Deprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.setChildPolicy(int index, LoadBalancingConfig value) Optional.setChildPolicy(int index, LoadBalancingConfig.Builder builderForValue) Optional.setEdsServiceName(String value) Optional.setEdsServiceNameBytes(com.google.protobuf.ByteString value) Optional.setFallbackPolicy(int index, LoadBalancingConfig value) Optional.setFallbackPolicy(int index, LoadBalancingConfig.Builder builderForValue) Optional.setLrsLoadReportingServerName(com.google.protobuf.StringValue value) LRS server to send load reports to.setLrsLoadReportingServerName(com.google.protobuf.StringValue.Builder builderForValue) LRS server to send load reports to.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final XdsConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>
-
clearOneof
- 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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XdsConfig.Builder>
-
mergeFrom
-
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.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.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.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.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.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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>
-