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| Modifier and Type | Method and Description |
|---|---|
XdsConfig.Builder |
addAllChildPolicy(Iterable<? extends LoadBalancingConfig> values)
Optional.
|
XdsConfig.Builder |
addAllFallbackPolicy(Iterable<? extends LoadBalancingConfig> values)
Optional.
|
XdsConfig.Builder |
addChildPolicy(int index,
LoadBalancingConfig.Builder builderForValue)
Optional.
|
XdsConfig.Builder |
addChildPolicy(int index,
LoadBalancingConfig value)
Optional.
|
XdsConfig.Builder |
addChildPolicy(LoadBalancingConfig.Builder builderForValue)
Optional.
|
XdsConfig.Builder |
addChildPolicy(LoadBalancingConfig value)
Optional.
|
LoadBalancingConfig.Builder |
addChildPolicyBuilder()
Optional.
|
LoadBalancingConfig.Builder |
addChildPolicyBuilder(int index)
Optional.
|
XdsConfig.Builder |
addFallbackPolicy(int index,
LoadBalancingConfig.Builder builderForValue)
Optional.
|
XdsConfig.Builder |
addFallbackPolicy(int index,
LoadBalancingConfig value)
Optional.
|
XdsConfig.Builder |
addFallbackPolicy(LoadBalancingConfig.Builder builderForValue)
Optional.
|
XdsConfig.Builder |
addFallbackPolicy(LoadBalancingConfig value)
Optional.
|
LoadBalancingConfig.Builder |
addFallbackPolicyBuilder()
Optional.
|
LoadBalancingConfig.Builder |
addFallbackPolicyBuilder(int index)
Optional.
|
XdsConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
XdsConfig |
build() |
XdsConfig |
buildPartial() |
XdsConfig.Builder |
clear() |
XdsConfig.Builder |
clearBalancerName()
Deprecated.
grpc.service_config.XdsConfig.balancer_name is deprecated.
See service_config.proto;l=432
|
XdsConfig.Builder |
clearChildPolicy()
Optional.
|
XdsConfig.Builder |
clearEdsServiceName()
Optional.
|
XdsConfig.Builder |
clearFallbackPolicy()
Optional.
|
XdsConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
XdsConfig.Builder |
clearLrsLoadReportingServerName()
LRS server to send load reports to.
|
XdsConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
XdsConfig.Builder |
clone() |
String |
getBalancerName()
Deprecated.
grpc.service_config.XdsConfig.balancer_name is deprecated.
See service_config.proto;l=432
|
com.google.protobuf.ByteString |
getBalancerNameBytes()
Deprecated.
grpc.service_config.XdsConfig.balancer_name is deprecated.
See service_config.proto;l=432
|
LoadBalancingConfig |
getChildPolicy(int index)
Optional.
|
LoadBalancingConfig.Builder |
getChildPolicyBuilder(int index)
Optional.
|
List<LoadBalancingConfig.Builder> |
getChildPolicyBuilderList()
Optional.
|
int |
getChildPolicyCount()
Optional.
|
List<LoadBalancingConfig> |
getChildPolicyList()
Optional.
|
LoadBalancingConfigOrBuilder |
getChildPolicyOrBuilder(int index)
Optional.
|
List<? extends LoadBalancingConfigOrBuilder> |
getChildPolicyOrBuilderList()
Optional.
|
XdsConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEdsServiceName()
Optional.
|
com.google.protobuf.ByteString |
getEdsServiceNameBytes()
Optional.
|
LoadBalancingConfig |
getFallbackPolicy(int index)
Optional.
|
LoadBalancingConfig.Builder |
getFallbackPolicyBuilder(int index)
Optional.
|
List<LoadBalancingConfig.Builder> |
getFallbackPolicyBuilderList()
Optional.
|
int |
getFallbackPolicyCount()
Optional.
|
List<LoadBalancingConfig> |
getFallbackPolicyList()
Optional.
|
LoadBalancingConfigOrBuilder |
getFallbackPolicyOrBuilder(int index)
Optional.
|
List<? extends LoadBalancingConfigOrBuilder> |
getFallbackPolicyOrBuilderList()
Optional.
|
com.google.protobuf.StringValue |
getLrsLoadReportingServerName()
LRS server to send load reports to.
|
com.google.protobuf.StringValue.Builder |
getLrsLoadReportingServerNameBuilder()
LRS server to send load reports to.
|
com.google.protobuf.StringValueOrBuilder |
getLrsLoadReportingServerNameOrBuilder()
LRS server to send load reports to.
|
boolean |
hasLrsLoadReportingServerName()
LRS server to send load reports to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
XdsConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
XdsConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
XdsConfig.Builder |
mergeFrom(XdsConfig other) |
XdsConfig.Builder |
mergeLrsLoadReportingServerName(com.google.protobuf.StringValue value)
LRS server to send load reports to.
|
XdsConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
XdsConfig.Builder |
removeChildPolicy(int index)
Optional.
|
XdsConfig.Builder |
removeFallbackPolicy(int index)
Optional.
|
XdsConfig.Builder |
setBalancerName(String value)
Deprecated.
grpc.service_config.XdsConfig.balancer_name is deprecated.
See service_config.proto;l=432
|
XdsConfig.Builder |
setBalancerNameBytes(com.google.protobuf.ByteString value)
Deprecated.
grpc.service_config.XdsConfig.balancer_name is deprecated.
See service_config.proto;l=432
|
XdsConfig.Builder |
setChildPolicy(int index,
LoadBalancingConfig.Builder builderForValue)
Optional.
|
XdsConfig.Builder |
setChildPolicy(int index,
LoadBalancingConfig value)
Optional.
|
XdsConfig.Builder |
setEdsServiceName(String value)
Optional.
|
XdsConfig.Builder |
setEdsServiceNameBytes(com.google.protobuf.ByteString value)
Optional.
|
XdsConfig.Builder |
setFallbackPolicy(int index,
LoadBalancingConfig.Builder builderForValue)
Optional.
|
XdsConfig.Builder |
setFallbackPolicy(int index,
LoadBalancingConfig value)
Optional.
|
XdsConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
XdsConfig.Builder |
setLrsLoadReportingServerName(com.google.protobuf.StringValue.Builder builderForValue)
LRS server to send load reports to.
|
XdsConfig.Builder |
setLrsLoadReportingServerName(com.google.protobuf.StringValue value)
LRS server to send load reports to.
|
XdsConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
XdsConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic XdsConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic XdsConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic XdsConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<XdsConfig.Builder>public XdsConfig.Builder mergeFrom(XdsConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public XdsConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<XdsConfig.Builder>IOException@Deprecated public String getBalancerName()
Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];getBalancerName in interface XdsConfigOrBuilder@Deprecated public com.google.protobuf.ByteString getBalancerNameBytes()
Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];getBalancerNameBytes in interface XdsConfigOrBuilder@Deprecated public XdsConfig.Builder setBalancerName(String value)
Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];value - The balancerName to set.@Deprecated public XdsConfig.Builder clearBalancerName()
Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];@Deprecated public XdsConfig.Builder setBalancerNameBytes(com.google.protobuf.ByteString value)
Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];value - The bytes for balancerName to set.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;getChildPolicyList in interface XdsConfigOrBuilderpublic 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;getChildPolicyCount in interface XdsConfigOrBuilderpublic 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;getChildPolicy in interface XdsConfigOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getChildPolicyOrBuilder in interface XdsConfigOrBuilderpublic 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;getChildPolicyOrBuilderList in interface XdsConfigOrBuilderpublic 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;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;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;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;getFallbackPolicyList in interface XdsConfigOrBuilderpublic 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;getFallbackPolicyCount in interface XdsConfigOrBuilderpublic 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;getFallbackPolicy in interface XdsConfigOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getFallbackPolicyOrBuilder in interface XdsConfigOrBuilderpublic 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;getFallbackPolicyOrBuilderList in interface XdsConfigOrBuilderpublic 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;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;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;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;getEdsServiceName in interface XdsConfigOrBuilderpublic 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;getEdsServiceNameBytes in interface XdsConfigOrBuilderpublic 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;value - The edsServiceName to set.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;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;value - The bytes for edsServiceName to set.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;hasLrsLoadReportingServerName in interface XdsConfigOrBuilderpublic 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;getLrsLoadReportingServerName in interface XdsConfigOrBuilderpublic 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;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;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;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;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;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;getLrsLoadReportingServerNameOrBuilder in interface XdsConfigOrBuilderpublic final XdsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>public final XdsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<XdsConfig.Builder>Copyright © 2022 Google LLC. All rights reserved.