public final class ClusterManager extends com.google.protobuf.GeneratedMessageV3 implements ClusterManagerOrBuilder
Cluster manager :ref:`architecture overview <arch_overview_cluster_manager>`.Protobuf type
envoy.config.bootstrap.v2.ClusterManager| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterManager.Builder
Cluster manager :ref:`architecture overview <arch_overview_cluster_manager>`.
|
static class |
ClusterManager.OutlierDetection
Protobuf type
envoy.config.bootstrap.v2.ClusterManager.OutlierDetection |
static interface |
ClusterManager.OutlierDetectionOrBuilder |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
LOAD_STATS_CONFIG_FIELD_NUMBER |
static int |
LOCAL_CLUSTER_NAME_FIELD_NUMBER |
static int |
OUTLIER_DETECTION_FIELD_NUMBER |
static int |
UPSTREAM_BIND_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ClusterManager |
getDefaultInstance() |
ClusterManager |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ApiConfigSource |
getLoadStatsConfig()
A management server endpoint to stream load stats to via
*StreamLoadStats*.
|
ApiConfigSourceOrBuilder |
getLoadStatsConfigOrBuilder()
A management server endpoint to stream load stats to via
*StreamLoadStats*.
|
String |
getLocalClusterName()
Name of the local cluster (i.e., the cluster that owns the Envoy running
this configuration).
|
com.google.protobuf.ByteString |
getLocalClusterNameBytes()
Name of the local cluster (i.e., the cluster that owns the Envoy running
this configuration).
|
ClusterManager.OutlierDetection |
getOutlierDetection()
Optional global configuration for outlier detection.
|
ClusterManager.OutlierDetectionOrBuilder |
getOutlierDetectionOrBuilder()
Optional global configuration for outlier detection.
|
com.google.protobuf.Parser<ClusterManager> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
BindConfig |
getUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections.
|
BindConfigOrBuilder |
getUpstreamBindConfigOrBuilder()
Optional configuration used to bind newly established upstream connections.
|
int |
hashCode() |
boolean |
hasLoadStatsConfig()
A management server endpoint to stream load stats to via
*StreamLoadStats*.
|
boolean |
hasOutlierDetection()
Optional global configuration for outlier detection.
|
boolean |
hasUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClusterManager.Builder |
newBuilder() |
static ClusterManager.Builder |
newBuilder(ClusterManager prototype) |
ClusterManager.Builder |
newBuilderForType() |
protected ClusterManager.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ClusterManager |
parseDelimitedFrom(InputStream input) |
static ClusterManager |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterManager |
parseFrom(byte[] data) |
static ClusterManager |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterManager |
parseFrom(ByteBuffer data) |
static ClusterManager |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterManager |
parseFrom(com.google.protobuf.ByteString data) |
static ClusterManager |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterManager |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClusterManager |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterManager |
parseFrom(InputStream input) |
static ClusterManager |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClusterManager> |
parser() |
ClusterManager.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 LOCAL_CLUSTER_NAME_FIELD_NUMBER
public static final int OUTLIER_DETECTION_FIELD_NUMBER
public static final int UPSTREAM_BIND_CONFIG_FIELD_NUMBER
public static final int LOAD_STATS_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 getLocalClusterName()
Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration). In order to enable :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>` this option must be set. If *local_cluster_name* is defined then :ref:`clusters <envoy_api_msg_Cluster>` must be defined in the :ref:`Bootstrap static cluster resources <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`. This is unrelated to the :option:`--service-cluster` option which does not `affect zone aware routing <https://github.com/envoyproxy/envoy/issues/774>`_.
string local_cluster_name = 1;getLocalClusterName in interface ClusterManagerOrBuilderpublic com.google.protobuf.ByteString getLocalClusterNameBytes()
Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration). In order to enable :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>` this option must be set. If *local_cluster_name* is defined then :ref:`clusters <envoy_api_msg_Cluster>` must be defined in the :ref:`Bootstrap static cluster resources <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`. This is unrelated to the :option:`--service-cluster` option which does not `affect zone aware routing <https://github.com/envoyproxy/envoy/issues/774>`_.
string local_cluster_name = 1;getLocalClusterNameBytes in interface ClusterManagerOrBuilderpublic boolean hasOutlierDetection()
Optional global configuration for outlier detection.
.envoy.config.bootstrap.v2.ClusterManager.OutlierDetection outlier_detection = 2;hasOutlierDetection in interface ClusterManagerOrBuilderpublic ClusterManager.OutlierDetection getOutlierDetection()
Optional global configuration for outlier detection.
.envoy.config.bootstrap.v2.ClusterManager.OutlierDetection outlier_detection = 2;getOutlierDetection in interface ClusterManagerOrBuilderpublic ClusterManager.OutlierDetectionOrBuilder getOutlierDetectionOrBuilder()
Optional global configuration for outlier detection.
.envoy.config.bootstrap.v2.ClusterManager.OutlierDetection outlier_detection = 2;getOutlierDetectionOrBuilder in interface ClusterManagerOrBuilderpublic boolean hasUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
.envoy.api.v2.core.BindConfig upstream_bind_config = 3;hasUpstreamBindConfig in interface ClusterManagerOrBuilderpublic BindConfig getUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
.envoy.api.v2.core.BindConfig upstream_bind_config = 3;getUpstreamBindConfig in interface ClusterManagerOrBuilderpublic BindConfigOrBuilder getUpstreamBindConfigOrBuilder()
Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
.envoy.api.v2.core.BindConfig upstream_bind_config = 3;getUpstreamBindConfigOrBuilder in interface ClusterManagerOrBuilderpublic boolean hasLoadStatsConfig()
A management server endpoint to stream load stats to via *StreamLoadStats*. This must have :ref:`api_type <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`.
.envoy.api.v2.core.ApiConfigSource load_stats_config = 4;hasLoadStatsConfig in interface ClusterManagerOrBuilderpublic ApiConfigSource getLoadStatsConfig()
A management server endpoint to stream load stats to via *StreamLoadStats*. This must have :ref:`api_type <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`.
.envoy.api.v2.core.ApiConfigSource load_stats_config = 4;getLoadStatsConfig in interface ClusterManagerOrBuilderpublic ApiConfigSourceOrBuilder getLoadStatsConfigOrBuilder()
A management server endpoint to stream load stats to via *StreamLoadStats*. This must have :ref:`api_type <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`.
.envoy.api.v2.core.ApiConfigSource load_stats_config = 4;getLoadStatsConfigOrBuilder in interface ClusterManagerOrBuilderpublic 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 ClusterManager parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterManager parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterManager parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterManager parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterManager parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterManager parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterManager parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClusterManager parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClusterManager parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClusterManager parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClusterManager parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClusterManager parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClusterManager.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClusterManager.Builder newBuilder()
public static ClusterManager.Builder newBuilder(ClusterManager prototype)
public ClusterManager.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClusterManager.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ClusterManager getDefaultInstance()
public static com.google.protobuf.Parser<ClusterManager> parser()
public com.google.protobuf.Parser<ClusterManager> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ClusterManager getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.