public static final class Eds.ClusterLoadAssignment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder> implements Eds.ClusterLoadAssignmentOrBuilder
Each route from RDS will map to a single cluster or traffic split across clusters using weights expressed in the RDS WeightedCluster. With EDS, each cluster is treated independently from a LB perspective, with LB taking place between the Localities within a cluster and at a finer granularity between the hosts within a locality. For a given cluster, the effective weight of a host is its load_balancing_weight multiplied by the load_balancing_weight of its Locality.Protobuf type
envoy.api.v2.ClusterLoadAssignmentgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.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<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Eds.ClusterLoadAssignment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Eds.ClusterLoadAssignment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Eds.ClusterLoadAssignment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.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<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.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<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.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<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.Builder mergeFrom(Eds.ClusterLoadAssignment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>public Eds.ClusterLoadAssignment.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<Eds.ClusterLoadAssignment.Builder>IOExceptionpublic String getClusterName()
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }getClusterName in interface Eds.ClusterLoadAssignmentOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }getClusterNameBytes in interface Eds.ClusterLoadAssignmentOrBuilderpublic Eds.ClusterLoadAssignment.Builder setClusterName(String value)
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }public Eds.ClusterLoadAssignment.Builder clearClusterName()
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }public Eds.ClusterLoadAssignment.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Name of the cluster. This will be the :ref:`service_name <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified in the cluster :ref:`EdsClusterConfig <envoy_api_msg_Cluster.EdsClusterConfig>`.
string cluster_name = 1 [(.validate.rules) = { ... }public List<EndpointOuterClass.LocalityLbEndpoints> getEndpointsList()
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];getEndpointsList in interface Eds.ClusterLoadAssignmentOrBuilderpublic int getEndpointsCount()
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];getEndpointsCount in interface Eds.ClusterLoadAssignmentOrBuilderpublic EndpointOuterClass.LocalityLbEndpoints getEndpoints(int index)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];getEndpoints in interface Eds.ClusterLoadAssignmentOrBuilderpublic Eds.ClusterLoadAssignment.Builder setEndpoints(int index, EndpointOuterClass.LocalityLbEndpoints value)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder setEndpoints(int index, EndpointOuterClass.LocalityLbEndpoints.Builder builderForValue)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder addEndpoints(EndpointOuterClass.LocalityLbEndpoints value)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder addEndpoints(int index, EndpointOuterClass.LocalityLbEndpoints value)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder addEndpoints(EndpointOuterClass.LocalityLbEndpoints.Builder builderForValue)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder addEndpoints(int index, EndpointOuterClass.LocalityLbEndpoints.Builder builderForValue)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder addAllEndpoints(Iterable<? extends EndpointOuterClass.LocalityLbEndpoints> values)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder clearEndpoints()
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public Eds.ClusterLoadAssignment.Builder removeEndpoints(int index)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.LocalityLbEndpoints.Builder getEndpointsBuilder(int index)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.LocalityLbEndpointsOrBuilder getEndpointsOrBuilder(int index)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];getEndpointsOrBuilder in interface Eds.ClusterLoadAssignmentOrBuilderpublic List<? extends EndpointOuterClass.LocalityLbEndpointsOrBuilder> getEndpointsOrBuilderList()
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];getEndpointsOrBuilderList in interface Eds.ClusterLoadAssignmentOrBuilderpublic EndpointOuterClass.LocalityLbEndpoints.Builder addEndpointsBuilder()
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.LocalityLbEndpoints.Builder addEndpointsBuilder(int index)
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public List<EndpointOuterClass.LocalityLbEndpoints.Builder> getEndpointsBuilderList()
List of endpoints to load balance to.
repeated .envoy.api.v2.endpoint.LocalityLbEndpoints endpoints = 2 [(.gogoproto.nullable) = false];public boolean hasPolicy()
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;hasPolicy in interface Eds.ClusterLoadAssignmentOrBuilderpublic Eds.ClusterLoadAssignment.Policy getPolicy()
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;getPolicy in interface Eds.ClusterLoadAssignmentOrBuilderpublic Eds.ClusterLoadAssignment.Builder setPolicy(Eds.ClusterLoadAssignment.Policy value)
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;public Eds.ClusterLoadAssignment.Builder setPolicy(Eds.ClusterLoadAssignment.Policy.Builder builderForValue)
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;public Eds.ClusterLoadAssignment.Builder mergePolicy(Eds.ClusterLoadAssignment.Policy value)
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;public Eds.ClusterLoadAssignment.Builder clearPolicy()
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;public Eds.ClusterLoadAssignment.Policy.Builder getPolicyBuilder()
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;public Eds.ClusterLoadAssignment.PolicyOrBuilder getPolicyOrBuilder()
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;getPolicyOrBuilder in interface Eds.ClusterLoadAssignmentOrBuilderpublic final Eds.ClusterLoadAssignment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>public final Eds.ClusterLoadAssignment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Builder>Copyright © 2018 The Envoy Project. All rights reserved.