public static final class Eds.ClusterLoadAssignment extends com.google.protobuf.GeneratedMessageV3 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.ClusterLoadAssignment| Modifier and Type | Class and Description |
|---|---|
static class |
Eds.ClusterLoadAssignment.Builder
Each route from RDS will map to a single cluster or traffic split across
clusters using weights expressed in the RDS WeightedCluster.
|
static class |
Eds.ClusterLoadAssignment.Policy
Load balancing policy settings.
|
static interface |
Eds.ClusterLoadAssignment.PolicyOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
ENDPOINTS_FIELD_NUMBER |
static int |
POLICY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClusterName()
Name of the cluster.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Name of the cluster.
|
static Eds.ClusterLoadAssignment |
getDefaultInstance() |
Eds.ClusterLoadAssignment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EndpointOuterClass.LocalityLbEndpoints |
getEndpoints(int index)
List of endpoints to load balance to.
|
int |
getEndpointsCount()
List of endpoints to load balance to.
|
List<EndpointOuterClass.LocalityLbEndpoints> |
getEndpointsList()
List of endpoints to load balance to.
|
EndpointOuterClass.LocalityLbEndpointsOrBuilder |
getEndpointsOrBuilder(int index)
List of endpoints to load balance to.
|
List<? extends EndpointOuterClass.LocalityLbEndpointsOrBuilder> |
getEndpointsOrBuilderList()
List of endpoints to load balance to.
|
com.google.protobuf.Parser<Eds.ClusterLoadAssignment> |
getParserForType() |
Eds.ClusterLoadAssignment.Policy |
getPolicy()
Load balancing policy settings.
|
Eds.ClusterLoadAssignment.PolicyOrBuilder |
getPolicyOrBuilder()
Load balancing policy settings.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPolicy()
Load balancing policy settings.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Eds.ClusterLoadAssignment.Builder |
newBuilder() |
static Eds.ClusterLoadAssignment.Builder |
newBuilder(Eds.ClusterLoadAssignment prototype) |
Eds.ClusterLoadAssignment.Builder |
newBuilderForType() |
protected Eds.ClusterLoadAssignment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Eds.ClusterLoadAssignment |
parseDelimitedFrom(InputStream input) |
static Eds.ClusterLoadAssignment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Eds.ClusterLoadAssignment |
parseFrom(byte[] data) |
static Eds.ClusterLoadAssignment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Eds.ClusterLoadAssignment |
parseFrom(ByteBuffer data) |
static Eds.ClusterLoadAssignment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Eds.ClusterLoadAssignment |
parseFrom(com.google.protobuf.ByteString data) |
static Eds.ClusterLoadAssignment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Eds.ClusterLoadAssignment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Eds.ClusterLoadAssignment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Eds.ClusterLoadAssignment |
parseFrom(InputStream input) |
static Eds.ClusterLoadAssignment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Eds.ClusterLoadAssignment> |
parser() |
Eds.ClusterLoadAssignment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_NAME_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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.PolicyOrBuilder getPolicyOrBuilder()
Load balancing policy settings.
.envoy.api.v2.ClusterLoadAssignment.Policy policy = 4;getPolicyOrBuilder in interface Eds.ClusterLoadAssignmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Eds.ClusterLoadAssignment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Eds.ClusterLoadAssignment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Eds.ClusterLoadAssignment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Eds.ClusterLoadAssignment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Eds.ClusterLoadAssignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Eds.ClusterLoadAssignment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Eds.ClusterLoadAssignment parseFrom(InputStream input) throws IOException
IOExceptionpublic static Eds.ClusterLoadAssignment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Eds.ClusterLoadAssignment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Eds.ClusterLoadAssignment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Eds.ClusterLoadAssignment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Eds.ClusterLoadAssignment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Eds.ClusterLoadAssignment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Eds.ClusterLoadAssignment.Builder newBuilder()
public static Eds.ClusterLoadAssignment.Builder newBuilder(Eds.ClusterLoadAssignment prototype)
public Eds.ClusterLoadAssignment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Eds.ClusterLoadAssignment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Eds.ClusterLoadAssignment getDefaultInstance()
public static com.google.protobuf.Parser<Eds.ClusterLoadAssignment> parser()
public com.google.protobuf.Parser<Eds.ClusterLoadAssignment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Eds.ClusterLoadAssignment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.