Class ClustersConfigDump.DynamicCluster
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ClustersConfigDump.DynamicClusterOrBuilder,Serializable
- Enclosing class:
- ClustersConfigDump
public static final class ClustersConfigDump.DynamicCluster extends com.google.protobuf.GeneratedMessageV3 implements ClustersConfigDump.DynamicClusterOrBuilder
Describes a dynamically loaded cluster via the CDS API.
Protobuf typeenvoy.admin.v2alpha.ClustersConfigDump.DynamicCluster- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClustersConfigDump.DynamicCluster.BuilderDescribes a dynamically loaded cluster via the CDS API.-
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 intCLUSTER_FIELD_NUMBERstatic intLAST_UPDATED_FIELD_NUMBERstatic intVERSION_INFO_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.AnygetCluster()The cluster config.com.google.protobuf.AnyOrBuildergetClusterOrBuilder()The cluster config.static ClustersConfigDump.DynamicClustergetDefaultInstance()ClustersConfigDump.DynamicClustergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetLastUpdated()The timestamp when the Cluster was last updated.com.google.protobuf.TimestampOrBuildergetLastUpdatedOrBuilder()The timestamp when the Cluster was last updated.com.google.protobuf.Parser<ClustersConfigDump.DynamicCluster>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVersionInfo()This is the per-resource version information.com.google.protobuf.ByteStringgetVersionInfoBytes()This is the per-resource version information.booleanhasCluster()The cluster config.inthashCode()booleanhasLastUpdated()The timestamp when the Cluster was last updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ClustersConfigDump.DynamicCluster.BuildernewBuilder()static ClustersConfigDump.DynamicCluster.BuildernewBuilder(ClustersConfigDump.DynamicCluster prototype)ClustersConfigDump.DynamicCluster.BuildernewBuilderForType()protected ClustersConfigDump.DynamicCluster.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ClustersConfigDump.DynamicClusterparseDelimitedFrom(InputStream input)static ClustersConfigDump.DynamicClusterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDump.DynamicClusterparseFrom(byte[] data)static ClustersConfigDump.DynamicClusterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDump.DynamicClusterparseFrom(com.google.protobuf.ByteString data)static ClustersConfigDump.DynamicClusterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDump.DynamicClusterparseFrom(com.google.protobuf.CodedInputStream input)static ClustersConfigDump.DynamicClusterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDump.DynamicClusterparseFrom(InputStream input)static ClustersConfigDump.DynamicClusterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClustersConfigDump.DynamicClusterparseFrom(ByteBuffer data)static ClustersConfigDump.DynamicClusterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ClustersConfigDump.DynamicCluster>parser()ClustersConfigDump.DynamicCluster.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
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_FIELD_NUMBER
public static final int LAST_UPDATED_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 per-resource version information. This version is currently taken from the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time that the cluster was loaded. In the future, discrete per-cluster versions may be supported by the API.
string version_info = 1;- Specified by:
getVersionInfoin interfaceClustersConfigDump.DynamicClusterOrBuilder- Returns:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()
This is the per-resource version information. This version is currently taken from the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time that the cluster was loaded. In the future, discrete per-cluster versions may be supported by the API.
string version_info = 1;- Specified by:
getVersionInfoBytesin interfaceClustersConfigDump.DynamicClusterOrBuilder- Returns:
- The bytes for versionInfo.
-
hasCluster
public boolean hasCluster()
The cluster config.
.google.protobuf.Any cluster = 2;- Specified by:
hasClusterin interfaceClustersConfigDump.DynamicClusterOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
public com.google.protobuf.Any getCluster()
The cluster config.
.google.protobuf.Any cluster = 2;- Specified by:
getClusterin interfaceClustersConfigDump.DynamicClusterOrBuilder- Returns:
- The cluster.
-
getClusterOrBuilder
public com.google.protobuf.AnyOrBuilder getClusterOrBuilder()
The cluster config.
.google.protobuf.Any cluster = 2;- Specified by:
getClusterOrBuilderin interfaceClustersConfigDump.DynamicClusterOrBuilder
-
hasLastUpdated
public boolean hasLastUpdated()
The timestamp when the Cluster was last updated.
.google.protobuf.Timestamp last_updated = 3;- Specified by:
hasLastUpdatedin interfaceClustersConfigDump.DynamicClusterOrBuilder- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()
The timestamp when the Cluster was last updated.
.google.protobuf.Timestamp last_updated = 3;- Specified by:
getLastUpdatedin interfaceClustersConfigDump.DynamicClusterOrBuilder- Returns:
- The lastUpdated.
-
getLastUpdatedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder()
The timestamp when the Cluster was last updated.
.google.protobuf.Timestamp last_updated = 3;- Specified by:
getLastUpdatedOrBuilderin interfaceClustersConfigDump.DynamicClusterOrBuilder
-
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.DynamicCluster parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump.DynamicCluster 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.DynamicCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClustersConfigDump.DynamicCluster parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClustersConfigDump.DynamicCluster parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClustersConfigDump.DynamicCluster parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ClustersConfigDump.DynamicCluster.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClustersConfigDump.DynamicCluster.Builder newBuilder()
-
newBuilder
public static ClustersConfigDump.DynamicCluster.Builder newBuilder(ClustersConfigDump.DynamicCluster prototype)
-
toBuilder
public ClustersConfigDump.DynamicCluster.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClustersConfigDump.DynamicCluster.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClustersConfigDump.DynamicCluster getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClustersConfigDump.DynamicCluster> parser()
-
getParserForType
public com.google.protobuf.Parser<ClustersConfigDump.DynamicCluster> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClustersConfigDump.DynamicCluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-