Package io.grpc.serviceconfig
Class EdsLoadBalancingPolicyConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
- io.grpc.serviceconfig.EdsLoadBalancingPolicyConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EdsLoadBalancingPolicyConfigOrBuilder,Cloneable
- Enclosing class:
- EdsLoadBalancingPolicyConfig
public static final class EdsLoadBalancingPolicyConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder> implements EdsLoadBalancingPolicyConfigOrBuilder
Configuration for eds LB policy.
Protobuf typegrpc.service_config.EdsLoadBalancingPolicyConfig
-
-
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<EdsLoadBalancingPolicyConfig.Builder>
-
clear
public EdsLoadBalancingPolicyConfig.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<EdsLoadBalancingPolicyConfig.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<EdsLoadBalancingPolicyConfig.Builder>
-
getDefaultInstanceForType
public EdsLoadBalancingPolicyConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EdsLoadBalancingPolicyConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EdsLoadBalancingPolicyConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EdsLoadBalancingPolicyConfig.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<EdsLoadBalancingPolicyConfig.Builder>
-
setField
public EdsLoadBalancingPolicyConfig.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<EdsLoadBalancingPolicyConfig.Builder>
-
clearField
public EdsLoadBalancingPolicyConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
clearOneof
public EdsLoadBalancingPolicyConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
setRepeatedField
public EdsLoadBalancingPolicyConfig.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<EdsLoadBalancingPolicyConfig.Builder>
-
addRepeatedField
public EdsLoadBalancingPolicyConfig.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<EdsLoadBalancingPolicyConfig.Builder>
-
mergeFrom
public EdsLoadBalancingPolicyConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
mergeFrom
public EdsLoadBalancingPolicyConfig.Builder mergeFrom(EdsLoadBalancingPolicyConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
mergeFrom
public EdsLoadBalancingPolicyConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EdsLoadBalancingPolicyConfig.Builder>- Throws:
IOException
-
getCluster
public String getCluster()
Cluster name. Required.
string cluster = 1;- Specified by:
getClusterin interfaceEdsLoadBalancingPolicyConfigOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()
Cluster name. Required.
string cluster = 1;- Specified by:
getClusterBytesin interfaceEdsLoadBalancingPolicyConfigOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
public EdsLoadBalancingPolicyConfig.Builder setCluster(String value)
Cluster name. Required.
string cluster = 1;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
public EdsLoadBalancingPolicyConfig.Builder clearCluster()
Cluster name. Required.
string cluster = 1;- Returns:
- This builder for chaining.
-
setClusterBytes
public EdsLoadBalancingPolicyConfig.Builder setClusterBytes(com.google.protobuf.ByteString value)
Cluster name. Required.
string cluster = 1;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
getEdsServiceName
public String getEdsServiceName()
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Specified by:
getEdsServiceNamein interfaceEdsLoadBalancingPolicyConfigOrBuilder- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
public com.google.protobuf.ByteString getEdsServiceNameBytes()
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Specified by:
getEdsServiceNameBytesin interfaceEdsLoadBalancingPolicyConfigOrBuilder- Returns:
- The bytes for edsServiceName.
-
setEdsServiceName
public EdsLoadBalancingPolicyConfig.Builder setEdsServiceName(String value)
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Parameters:
value- The edsServiceName to set.- Returns:
- This builder for chaining.
-
clearEdsServiceName
public EdsLoadBalancingPolicyConfig.Builder clearEdsServiceName()
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Returns:
- This builder for chaining.
-
setEdsServiceNameBytes
public EdsLoadBalancingPolicyConfig.Builder setEdsServiceNameBytes(com.google.protobuf.ByteString value)
EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Parameters:
value- The bytes for edsServiceName to set.- Returns:
- This builder for chaining.
-
hasLrsLoadReportingServerName
public boolean hasLrsLoadReportingServerName()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;- Specified by:
hasLrsLoadReportingServerNamein interfaceEdsLoadBalancingPolicyConfigOrBuilder- Returns:
- Whether the lrsLoadReportingServerName field is set.
-
getLrsLoadReportingServerName
public com.google.protobuf.StringValue getLrsLoadReportingServerName()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;- Specified by:
getLrsLoadReportingServerNamein interfaceEdsLoadBalancingPolicyConfigOrBuilder- Returns:
- The lrsLoadReportingServerName.
-
setLrsLoadReportingServerName
public EdsLoadBalancingPolicyConfig.Builder setLrsLoadReportingServerName(com.google.protobuf.StringValue value)
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;
-
setLrsLoadReportingServerName
public EdsLoadBalancingPolicyConfig.Builder setLrsLoadReportingServerName(com.google.protobuf.StringValue.Builder builderForValue)
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;
-
mergeLrsLoadReportingServerName
public EdsLoadBalancingPolicyConfig.Builder mergeLrsLoadReportingServerName(com.google.protobuf.StringValue value)
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;
-
clearLrsLoadReportingServerName
public EdsLoadBalancingPolicyConfig.Builder clearLrsLoadReportingServerName()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;
-
getLrsLoadReportingServerNameBuilder
public com.google.protobuf.StringValue.Builder getLrsLoadReportingServerNameBuilder()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;
-
getLrsLoadReportingServerNameOrBuilder
public com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()
Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;- Specified by:
getLrsLoadReportingServerNameOrBuilderin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getLocalityPickingPolicyList
public List<LoadBalancingConfig> getLocalityPickingPolicyList()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;- Specified by:
getLocalityPickingPolicyListin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getLocalityPickingPolicyCount
public int getLocalityPickingPolicyCount()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;- Specified by:
getLocalityPickingPolicyCountin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getLocalityPickingPolicy
public LoadBalancingConfig getLocalityPickingPolicy(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;- Specified by:
getLocalityPickingPolicyin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
setLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder setLocalityPickingPolicy(int index, LoadBalancingConfig value)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
setLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder setLocalityPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
addLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(LoadBalancingConfig value)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
addLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(int index, LoadBalancingConfig value)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
addLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(LoadBalancingConfig.Builder builderForValue)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
addLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addLocalityPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
addAllLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addAllLocalityPickingPolicy(Iterable<? extends LoadBalancingConfig> values)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
clearLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder clearLocalityPickingPolicy()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
removeLocalityPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder removeLocalityPickingPolicy(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
getLocalityPickingPolicyBuilder
public LoadBalancingConfig.Builder getLocalityPickingPolicyBuilder(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
getLocalityPickingPolicyOrBuilder
public LoadBalancingConfigOrBuilder getLocalityPickingPolicyOrBuilder(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;- Specified by:
getLocalityPickingPolicyOrBuilderin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getLocalityPickingPolicyOrBuilderList
public List<? extends LoadBalancingConfigOrBuilder> getLocalityPickingPolicyOrBuilderList()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;- Specified by:
getLocalityPickingPolicyOrBuilderListin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
addLocalityPickingPolicyBuilder
public LoadBalancingConfig.Builder addLocalityPickingPolicyBuilder()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
addLocalityPickingPolicyBuilder
public LoadBalancingConfig.Builder addLocalityPickingPolicyBuilder(int index)
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
getLocalityPickingPolicyBuilderList
public List<LoadBalancingConfig.Builder> getLocalityPickingPolicyBuilderList()
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4;
-
getEndpointPickingPolicyList
public List<LoadBalancingConfig> getEndpointPickingPolicyList()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;- Specified by:
getEndpointPickingPolicyListin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getEndpointPickingPolicyCount
public int getEndpointPickingPolicyCount()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;- Specified by:
getEndpointPickingPolicyCountin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getEndpointPickingPolicy
public LoadBalancingConfig getEndpointPickingPolicy(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;- Specified by:
getEndpointPickingPolicyin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
setEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder setEndpointPickingPolicy(int index, LoadBalancingConfig value)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
setEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder setEndpointPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
addEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(LoadBalancingConfig value)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
addEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(int index, LoadBalancingConfig value)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
addEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(LoadBalancingConfig.Builder builderForValue)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
addEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addEndpointPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
addAllEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder addAllEndpointPickingPolicy(Iterable<? extends LoadBalancingConfig> values)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
clearEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder clearEndpointPickingPolicy()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
removeEndpointPickingPolicy
public EdsLoadBalancingPolicyConfig.Builder removeEndpointPickingPolicy(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
getEndpointPickingPolicyBuilder
public LoadBalancingConfig.Builder getEndpointPickingPolicyBuilder(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
getEndpointPickingPolicyOrBuilder
public LoadBalancingConfigOrBuilder getEndpointPickingPolicyOrBuilder(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;- Specified by:
getEndpointPickingPolicyOrBuilderin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
getEndpointPickingPolicyOrBuilderList
public List<? extends LoadBalancingConfigOrBuilder> getEndpointPickingPolicyOrBuilderList()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;- Specified by:
getEndpointPickingPolicyOrBuilderListin interfaceEdsLoadBalancingPolicyConfigOrBuilder
-
addEndpointPickingPolicyBuilder
public LoadBalancingConfig.Builder addEndpointPickingPolicyBuilder()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
addEndpointPickingPolicyBuilder
public LoadBalancingConfig.Builder addEndpointPickingPolicyBuilder(int index)
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
getEndpointPickingPolicyBuilderList
public List<LoadBalancingConfig.Builder> getEndpointPickingPolicyBuilderList()
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-
setUnknownFields
public final EdsLoadBalancingPolicyConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
mergeUnknownFields
public final EdsLoadBalancingPolicyConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
-