Package io.envoyproxy.envoy.admin.v3
Class ClustersConfigDump
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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,Serializable
public final class ClustersConfigDump extends com.google.protobuf.GeneratedMessageV3 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 classClustersConfigDump.BuilderEnvoy's cluster manager fills this message with all currently known clusters.static classClustersConfigDump.DynamicClusterDescribes a dynamically loaded cluster via the CDS API.static interfaceClustersConfigDump.DynamicClusterOrBuilderstatic classClustersConfigDump.StaticClusterDescribes a statically loaded cluster.static interfaceClustersConfigDump.StaticClusterOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBERstatic intDYNAMIC_WARMING_CLUSTERS_FIELD_NUMBERstatic intSTATIC_CLUSTERS_FIELD_NUMBERstatic intVERSION_INFO_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static ClustersConfigDumpgetDefaultInstance()ClustersConfigDumpgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ClustersConfigDump.DynamicClustergetDynamicActiveClusters(int index)The dynamically loaded active clusters.intgetDynamicActiveClustersCount()The dynamically loaded active clusters.List<ClustersConfigDump.DynamicCluster>getDynamicActiveClustersList()The dynamically loaded active clusters.ClustersConfigDump.DynamicClusterOrBuildergetDynamicActiveClustersOrBuilder(int index)The dynamically loaded active clusters.List<? extends ClustersConfigDump.DynamicClusterOrBuilder>getDynamicActiveClustersOrBuilderList()The dynamically loaded active clusters.ClustersConfigDump.DynamicClustergetDynamicWarmingClusters(int index)The dynamically loaded warming clusters.intgetDynamicWarmingClustersCount()The dynamically loaded warming clusters.List<ClustersConfigDump.DynamicCluster>getDynamicWarmingClustersList()The dynamically loaded warming clusters.ClustersConfigDump.DynamicClusterOrBuildergetDynamicWarmingClustersOrBuilder(int index)The dynamically loaded warming clusters.List<? extends ClustersConfigDump.DynamicClusterOrBuilder>getDynamicWarmingClustersOrBuilderList()The dynamically loaded warming clusters.com.google.protobuf.Parser<ClustersConfigDump>getParserForType()intgetSerializedSize()ClustersConfigDump.StaticClustergetStaticClusters(int index)The statically loaded cluster configs.intgetStaticClustersCount()The statically loaded cluster configs.List<ClustersConfigDump.StaticCluster>getStaticClustersList()The statically loaded cluster configs.ClustersConfigDump.StaticClusterOrBuildergetStaticClustersOrBuilder(int index)The statically loaded cluster configs.List<? extends ClustersConfigDump.StaticClusterOrBuilder>getStaticClustersOrBuilderList()The statically loaded cluster configs.com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVersionInfo()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.ByteStringgetVersionInfoBytes()This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the last processed CDS discovery response.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ClustersConfigDump.BuildernewBuilder()static ClustersConfigDump.BuildernewBuilder(ClustersConfigDump prototype)ClustersConfigDump.BuildernewBuilderForType()protected ClustersConfigDump.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ClustersConfigDumpparseDelimitedFrom(InputStream input)static ClustersConfigDumpparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDumpparseFrom(byte[] data)static ClustersConfigDumpparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDumpparseFrom(com.google.protobuf.ByteString data)static ClustersConfigDumpparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDumpparseFrom(com.google.protobuf.CodedInputStream input)static ClustersConfigDumpparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDumpparseFrom(InputStream input)static ClustersConfigDumpparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDumpparseFrom(ByteBuffer data)static ClustersConfigDumpparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ClustersConfigDump>parser()ClustersConfigDump.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VERSION_INFO_FIELD_NUMBER
public static final int VERSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATIC_CLUSTERS_FIELD_NUMBER
public static final int STATIC_CLUSTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBER
public static final int DYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER
public static final int DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getVersionInfo
public 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:
getVersionInfoin 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:
getVersionInfoBytesin interfaceClustersConfigDumpOrBuilder- Returns:
- The bytes for versionInfo.
-
getStaticClustersList
public List<ClustersConfigDump.StaticCluster> getStaticClustersList()
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;- Specified by:
getStaticClustersListin interfaceClustersConfigDumpOrBuilder
-
getStaticClustersOrBuilderList
public List<? extends ClustersConfigDump.StaticClusterOrBuilder> getStaticClustersOrBuilderList()
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;- Specified by:
getStaticClustersOrBuilderListin interfaceClustersConfigDumpOrBuilder
-
getStaticClustersCount
public int getStaticClustersCount()
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;- Specified by:
getStaticClustersCountin interfaceClustersConfigDumpOrBuilder
-
getStaticClusters
public ClustersConfigDump.StaticCluster getStaticClusters(int index)
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;- Specified by:
getStaticClustersin interfaceClustersConfigDumpOrBuilder
-
getStaticClustersOrBuilder
public ClustersConfigDump.StaticClusterOrBuilder getStaticClustersOrBuilder(int index)
The statically loaded cluster configs.
repeated .envoy.admin.v3.ClustersConfigDump.StaticCluster static_clusters = 2;- Specified by:
getStaticClustersOrBuilderin interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClustersList
public 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:
getDynamicActiveClustersListin interfaceClustersConfigDumpOrBuilder
-
getDynamicActiveClustersOrBuilderList
public 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:
getDynamicActiveClustersOrBuilderListin 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:
getDynamicActiveClustersCountin 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:
getDynamicActiveClustersin 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:
getDynamicActiveClustersOrBuilderin interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClustersList
public 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:
getDynamicWarmingClustersListin interfaceClustersConfigDumpOrBuilder
-
getDynamicWarmingClustersOrBuilderList
public 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:
getDynamicWarmingClustersOrBuilderListin 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:
getDynamicWarmingClustersCountin 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:
getDynamicWarmingClustersin 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:
getDynamicWarmingClustersOrBuilderin interfaceClustersConfigDumpOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClustersConfigDump parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump parseFrom(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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClustersConfigDump parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClustersConfigDump parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClustersConfigDump parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ClustersConfigDump parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClustersConfigDump parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ClustersConfigDump.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClustersConfigDump.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClustersConfigDump getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClustersConfigDump> parser()
-
getParserForType
public com.google.protobuf.Parser<ClustersConfigDump> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClustersConfigDump getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-