Package io.envoyproxy.envoy.admin.v3
Class ClustersConfigDump
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.admin.v3.ClustersConfigDump
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ClustersConfigDumpOrBuilder
,java.io.Serializable
public final class ClustersConfigDump extends com.google.protobuf.GeneratedMessage implements ClustersConfigDumpOrBuilder
Envoy's cluster manager fills this message with all currently known clusters. Cluster configuration information can be used to recreate an Envoy configuration by populating all clusters as static clusters or by returning them in a CDS response.
Protobuf typeenvoy.admin.v3.ClustersConfigDump
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClustersConfigDump.Builder
Envoy's cluster manager fills this message with all currently known clusters.static class
ClustersConfigDump.DynamicCluster
Describes a dynamically loaded cluster via the CDS API.static interface
ClustersConfigDump.DynamicClusterOrBuilder
static class
ClustersConfigDump.StaticCluster
Describes a statically loaded cluster.static interface
ClustersConfigDump.StaticClusterOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private static ClustersConfigDump
DEFAULT_INSTANCE
static int
DYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBER
static int
DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER
private java.util.List<ClustersConfigDump.DynamicCluster>
dynamicActiveClusters_
private java.util.List<ClustersConfigDump.DynamicCluster>
dynamicWarmingClusters_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<ClustersConfigDump>
PARSER
private static long
serialVersionUID
static int
STATIC_CLUSTERS_FIELD_NUMBER
private java.util.List<ClustersConfigDump.StaticCluster>
staticClusters_
static int
VERSION_INFO_FIELD_NUMBER
private java.lang.Object
versionInfo_
-
Constructor Summary
Constructors Modifier Constructor Description private
ClustersConfigDump()
private
ClustersConfigDump(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static ClustersConfigDump
getDefaultInstance()
ClustersConfigDump
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ClustersConfigDump.DynamicCluster
getDynamicActiveClusters(int index)
The dynamically loaded active clusters.int
getDynamicActiveClustersCount()
The dynamically loaded active clusters.java.util.List<ClustersConfigDump.DynamicCluster>
getDynamicActiveClustersList()
The dynamically loaded active clusters.ClustersConfigDump.DynamicClusterOrBuilder
getDynamicActiveClustersOrBuilder(int index)
The dynamically loaded active clusters.java.util.List<? extends ClustersConfigDump.DynamicClusterOrBuilder>
getDynamicActiveClustersOrBuilderList()
The dynamically loaded active clusters.ClustersConfigDump.DynamicCluster
getDynamicWarmingClusters(int index)
The dynamically loaded warming clusters.int
getDynamicWarmingClustersCount()
The dynamically loaded warming clusters.java.util.List<ClustersConfigDump.DynamicCluster>
getDynamicWarmingClustersList()
The dynamically loaded warming clusters.ClustersConfigDump.DynamicClusterOrBuilder
getDynamicWarmingClustersOrBuilder(int index)
The dynamically loaded warming clusters.java.util.List<? extends ClustersConfigDump.DynamicClusterOrBuilder>
getDynamicWarmingClustersOrBuilderList()
The dynamically loaded warming clusters.com.google.protobuf.Parser<ClustersConfigDump>
getParserForType()
int
getSerializedSize()
ClustersConfigDump.StaticCluster
getStaticClusters(int index)
The statically loaded cluster configs.int
getStaticClustersCount()
The statically loaded cluster configs.java.util.List<ClustersConfigDump.StaticCluster>
getStaticClustersList()
The statically loaded cluster configs.ClustersConfigDump.StaticClusterOrBuilder
getStaticClustersOrBuilder(int index)
The statically loaded cluster configs.java.util.List<? extends ClustersConfigDump.StaticClusterOrBuilder>
getStaticClustersOrBuilderList()
The statically loaded cluster configs.java.lang.String
getVersionInfo()
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed CDS discovery response.com.google.protobuf.ByteString
getVersionInfoBytes()
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed CDS discovery response.int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ClustersConfigDump.Builder
newBuilder()
static ClustersConfigDump.Builder
newBuilder(ClustersConfigDump prototype)
ClustersConfigDump.Builder
newBuilderForType()
protected ClustersConfigDump.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static ClustersConfigDump
parseDelimitedFrom(java.io.InputStream input)
static ClustersConfigDump
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClustersConfigDump
parseFrom(byte[] data)
static ClustersConfigDump
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClustersConfigDump
parseFrom(com.google.protobuf.ByteString data)
static ClustersConfigDump
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClustersConfigDump
parseFrom(com.google.protobuf.CodedInputStream input)
static ClustersConfigDump
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClustersConfigDump
parseFrom(java.io.InputStream input)
static ClustersConfigDump
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClustersConfigDump
parseFrom(java.nio.ByteBuffer data)
static ClustersConfigDump
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ClustersConfigDump>
parser()
ClustersConfigDump.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
versionInfo_
private volatile java.lang.Object versionInfo_
-
STATIC_CLUSTERS_FIELD_NUMBER
public static final int STATIC_CLUSTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
staticClusters_
private java.util.List<ClustersConfigDump.StaticCluster> staticClusters_
-
DYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBER
public static final int DYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
dynamicActiveClusters_
private java.util.List<ClustersConfigDump.DynamicCluster> dynamicActiveClusters_
-
DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER
public static final int DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
dynamicWarmingClusters_
private java.util.List<ClustersConfigDump.DynamicCluster> dynamicWarmingClusters_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final ClustersConfigDump DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<ClustersConfigDump> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getVersionInfo
public java.lang.String getVersionInfo()
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed CDS discovery response. If there are only static bootstrap clusters, this field will be "".
string version_info = 1;
- Specified by:
getVersionInfo
in interfaceClustersConfigDumpOrBuilder
- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()
This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed CDS discovery response. If there are only static bootstrap clusters, this field will be "".
string version_info = 1;
- Specified by:
getVersionInfoBytes
in interfaceClustersConfigDumpOrBuilder
- Returns:
- The bytes for versionInfo.
-
getStaticClustersList
public java.util.List<ClustersConfigDump.StaticCluster> getStaticClustersList()
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;
- Specified by:
getStaticClustersList
in interfaceClustersConfigDumpOrBuilder
-
getStaticClustersOrBuilderList
public java.util.List<? extends ClustersConfigDump.StaticClusterOrBuilder> getStaticClustersOrBuilderList()
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;
- Specified by:
getStaticClustersOrBuilderList
in interfaceClustersConfigDumpOrBuilder
-
getStaticClustersCount
public int getStaticClustersCount()
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;
- Specified by:
getStaticClustersCount
in interfaceClustersConfigDumpOrBuilder
-
getStaticClusters
public ClustersConfigDump.StaticCluster getStaticClusters(int index)
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;
- Specified by:
getStaticClusters
in interfaceClustersConfigDumpOrBuilder
-
getStaticClustersOrBuilder
public ClustersConfigDump.StaticClusterOrBuilder getStaticClustersOrBuilder(int index)
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;
- Specified by:
getStaticClustersOrBuilder
in interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClustersList
public java.util.List<ClustersConfigDump.DynamicCluster> getDynamicActiveClustersList()
The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_active_clusters = 3;
- Specified by:
getDynamicActiveClustersList
in interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClustersOrBuilderList
public java.util.List<? extends ClustersConfigDump.DynamicClusterOrBuilder> getDynamicActiveClustersOrBuilderList()
The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_active_clusters = 3;
- Specified by:
getDynamicActiveClustersOrBuilderList
in interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClustersCount
public int getDynamicActiveClustersCount()
The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_active_clusters = 3;
- Specified by:
getDynamicActiveClustersCount
in interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClusters
public ClustersConfigDump.DynamicCluster getDynamicActiveClusters(int index)
The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_active_clusters = 3;
- Specified by:
getDynamicActiveClusters
in interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClustersOrBuilder
public ClustersConfigDump.DynamicClusterOrBuilder getDynamicActiveClustersOrBuilder(int index)
The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_active_clusters = 3;
- Specified by:
getDynamicActiveClustersOrBuilder
in interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClustersList
public java.util.List<ClustersConfigDump.DynamicCluster> getDynamicWarmingClustersList()
The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4;
- Specified by:
getDynamicWarmingClustersList
in interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClustersOrBuilderList
public java.util.List<? extends ClustersConfigDump.DynamicClusterOrBuilder> getDynamicWarmingClustersOrBuilderList()
The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4;
- Specified by:
getDynamicWarmingClustersOrBuilderList
in interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClustersCount
public int getDynamicWarmingClustersCount()
The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4;
- Specified by:
getDynamicWarmingClustersCount
in interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClusters
public ClustersConfigDump.DynamicCluster getDynamicWarmingClusters(int index)
The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4;
- Specified by:
getDynamicWarmingClusters
in interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClustersOrBuilder
public ClustersConfigDump.DynamicClusterOrBuilder getDynamicWarmingClustersOrBuilder(int index)
The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.
repeated .envoy.admin.v3.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4;
- Specified by:
getDynamicWarmingClustersOrBuilder
in interfaceClustersConfigDumpOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClustersConfigDump parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClustersConfigDump parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ClustersConfigDump parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ClustersConfigDump parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClustersConfigDump parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClustersConfigDump parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ClustersConfigDump.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClustersConfigDump.Builder newBuilder()
-
newBuilder
public static ClustersConfigDump.Builder newBuilder(ClustersConfigDump prototype)
-
toBuilder
public ClustersConfigDump.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClustersConfigDump.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static ClustersConfigDump getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClustersConfigDump> parser()
-
getParserForType
public com.google.protobuf.Parser<ClustersConfigDump> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public ClustersConfigDump getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-