Package io.grpc.serviceconfig
Class EdsLoadBalancingPolicyConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
grpc.service_config.EdsLoadBalancingPolicyConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpointPickingPolicy(Iterable<? extends LoadBalancingConfig> values) Endpoint-picking policy.addAllLocalityPickingPolicy(Iterable<? extends LoadBalancingConfig> values) Locality-picking policy.addEndpointPickingPolicy(int index, LoadBalancingConfig value) Endpoint-picking policy.addEndpointPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue) Endpoint-picking policy.Endpoint-picking policy.addEndpointPickingPolicy(LoadBalancingConfig.Builder builderForValue) Endpoint-picking policy.Endpoint-picking policy.addEndpointPickingPolicyBuilder(int index) Endpoint-picking policy.addLocalityPickingPolicy(int index, LoadBalancingConfig value) Locality-picking policy.addLocalityPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue) Locality-picking policy.Locality-picking policy.addLocalityPickingPolicy(LoadBalancingConfig.Builder builderForValue) Locality-picking policy.Locality-picking policy.addLocalityPickingPolicyBuilder(int index) Locality-picking policy.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Cluster name.EDS service name, as returned in CDS.Endpoint-picking policy.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Locality-picking policy.Server to send load reports to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Cluster name.com.google.protobuf.ByteStringCluster name.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEDS service name, as returned in CDS.com.google.protobuf.ByteStringEDS service name, as returned in CDS.getEndpointPickingPolicy(int index) Endpoint-picking policy.getEndpointPickingPolicyBuilder(int index) Endpoint-picking policy.Endpoint-picking policy.intEndpoint-picking policy.Endpoint-picking policy.getEndpointPickingPolicyOrBuilder(int index) Endpoint-picking policy.List<? extends LoadBalancingConfigOrBuilder>Endpoint-picking policy.getLocalityPickingPolicy(int index) Locality-picking policy.getLocalityPickingPolicyBuilder(int index) Locality-picking policy.Locality-picking policy.intLocality-picking policy.Locality-picking policy.getLocalityPickingPolicyOrBuilder(int index) Locality-picking policy.List<? extends LoadBalancingConfigOrBuilder>Locality-picking policy.com.google.protobuf.StringValueServer to send load reports to.com.google.protobuf.StringValue.BuilderServer to send load reports to.com.google.protobuf.StringValueOrBuilderServer to send load reports to.booleanServer 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) Server to send load reports to.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEndpointPickingPolicy(int index) Endpoint-picking policy.removeLocalityPickingPolicy(int index) Locality-picking policy.setCluster(String value) Cluster name.setClusterBytes(com.google.protobuf.ByteString value) Cluster name.setEdsServiceName(String value) EDS service name, as returned in CDS.setEdsServiceNameBytes(com.google.protobuf.ByteString value) EDS service name, as returned in CDS.setEndpointPickingPolicy(int index, LoadBalancingConfig value) Endpoint-picking policy.setEndpointPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue) Endpoint-picking policy.setLocalityPickingPolicy(int index, LoadBalancingConfig value) Locality-picking policy.setLocalityPickingPolicy(int index, LoadBalancingConfig.Builder builderForValue) Locality-picking policy.setLrsLoadReportingServerName(com.google.protobuf.StringValue value) Server to send load reports to.setLrsLoadReportingServerName(com.google.protobuf.StringValue.Builder builderForValue) Server to send load reports to.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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<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
- 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<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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EdsLoadBalancingPolicyConfig.Builder>
-
mergeFrom
-
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
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
Cluster name. Required.
string cluster = 1;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
Cluster name. Required.
string cluster = 1;- Returns:
- This builder for chaining.
-
setClusterBytes
Cluster name. Required.
string cluster = 1;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
-