Class ClientConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.service.status.v3.ClientConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ClientConfigOrBuilder,java.io.Serializable
public final class ClientConfig extends com.google.protobuf.GeneratedMessage implements ClientConfigOrBuilder
All xds configs for a particular client.
Protobuf typeenvoy.service.status.v3.ClientConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientConfig.BuilderAll xds configs for a particular client.static classClientConfig.GenericXdsConfigGenericXdsConfig is used to specify the config status and the dump of any xDS resource identified by their type URL.static interfaceClientConfig.GenericXdsConfigOrBuilder-
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 intbitField0_static intCLIENT_SCOPE_FIELD_NUMBERprivate java.lang.ObjectclientScope_private static ClientConfigDEFAULT_INSTANCEstatic intGENERIC_XDS_CONFIGS_FIELD_NUMBERprivate java.util.List<ClientConfig.GenericXdsConfig>genericXdsConfigs_private bytememoizedIsInitializedprivate Nodenode_static intNODE_FIELD_NUMBERprivate static com.google.protobuf.Parser<ClientConfig>PARSERprivate static longserialVersionUIDstatic intXDS_CONFIG_FIELD_NUMBERprivate java.util.List<PerXdsConfig>xdsConfig_
-
Constructor Summary
Constructors Modifier Constructor Description privateClientConfig()privateClientConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetClientScope()For xDS clients, the scope in which the data is used.com.google.protobuf.ByteStringgetClientScopeBytes()For xDS clients, the scope in which the data is used.static ClientConfiggetDefaultInstance()ClientConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ClientConfig.GenericXdsConfiggetGenericXdsConfigs(int index)Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)intgetGenericXdsConfigsCount()Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)java.util.List<ClientConfig.GenericXdsConfig>getGenericXdsConfigsList()Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)ClientConfig.GenericXdsConfigOrBuildergetGenericXdsConfigsOrBuilder(int index)Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)java.util.List<? extends ClientConfig.GenericXdsConfigOrBuilder>getGenericXdsConfigsOrBuilderList()Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)NodegetNode()Node for a particular client.NodeOrBuildergetNodeOrBuilder()Node for a particular client.com.google.protobuf.Parser<ClientConfig>getParserForType()intgetSerializedSize()PerXdsConfiggetXdsConfig(int index)Deprecated.intgetXdsConfigCount()Deprecated.java.util.List<PerXdsConfig>getXdsConfigList()Deprecated.PerXdsConfigOrBuildergetXdsConfigOrBuilder(int index)Deprecated.java.util.List<? extends PerXdsConfigOrBuilder>getXdsConfigOrBuilderList()Deprecated.inthashCode()booleanhasNode()Node for a particular client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ClientConfig.BuildernewBuilder()static ClientConfig.BuildernewBuilder(ClientConfig prototype)ClientConfig.BuildernewBuilderForType()protected ClientConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static ClientConfigparseDelimitedFrom(java.io.InputStream input)static ClientConfigparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfigparseFrom(byte[] data)static ClientConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfigparseFrom(com.google.protobuf.ByteString data)static ClientConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfigparseFrom(com.google.protobuf.CodedInputStream input)static ClientConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfigparseFrom(java.io.InputStream input)static ClientConfigparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ClientConfigparseFrom(java.nio.ByteBuffer data)static ClientConfigparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ClientConfig>parser()ClientConfig.BuildertoBuilder()voidwriteTo(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
-
bitField0_
private int bitField0_
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
node_
private Node node_
-
XDS_CONFIG_FIELD_NUMBER
public static final int XDS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
xdsConfig_
private java.util.List<PerXdsConfig> xdsConfig_
-
GENERIC_XDS_CONFIGS_FIELD_NUMBER
public static final int GENERIC_XDS_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
genericXdsConfigs_
private java.util.List<ClientConfig.GenericXdsConfig> genericXdsConfigs_
-
CLIENT_SCOPE_FIELD_NUMBER
public static final int CLIENT_SCOPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
clientScope_
private volatile java.lang.Object clientScope_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final ClientConfig DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<ClientConfig> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasNode
public boolean hasNode()
Node for a particular client.
.envoy.config.core.v3.Node node = 1;- Specified by:
hasNodein interfaceClientConfigOrBuilder- Returns:
- Whether the node field is set.
-
getNode
public Node getNode()
Node for a particular client.
.envoy.config.core.v3.Node node = 1;- Specified by:
getNodein interfaceClientConfigOrBuilder- Returns:
- The node.
-
getNodeOrBuilder
public NodeOrBuilder getNodeOrBuilder()
Node for a particular client.
.envoy.config.core.v3.Node node = 1;- Specified by:
getNodeOrBuilderin interfaceClientConfigOrBuilder
-
getXdsConfigList
@Deprecated public java.util.List<PerXdsConfig> getXdsConfigList()
Deprecated.This field is deprecated in favor of generic_xds_configs which is much simpler and uniform in structure.
repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getXdsConfigListin interfaceClientConfigOrBuilder
-
getXdsConfigOrBuilderList
@Deprecated public java.util.List<? extends PerXdsConfigOrBuilder> getXdsConfigOrBuilderList()
Deprecated.This field is deprecated in favor of generic_xds_configs which is much simpler and uniform in structure.
repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getXdsConfigOrBuilderListin interfaceClientConfigOrBuilder
-
getXdsConfigCount
@Deprecated public int getXdsConfigCount()
Deprecated.This field is deprecated in favor of generic_xds_configs which is much simpler and uniform in structure.
repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getXdsConfigCountin interfaceClientConfigOrBuilder
-
getXdsConfig
@Deprecated public PerXdsConfig getXdsConfig(int index)
Deprecated.This field is deprecated in favor of generic_xds_configs which is much simpler and uniform in structure.
repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getXdsConfigin interfaceClientConfigOrBuilder
-
getXdsConfigOrBuilder
@Deprecated public PerXdsConfigOrBuilder getXdsConfigOrBuilder(int index)
Deprecated.This field is deprecated in favor of generic_xds_configs which is much simpler and uniform in structure.
repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getXdsConfigOrBuilderin interfaceClientConfigOrBuilder
-
getGenericXdsConfigsList
public java.util.List<ClientConfig.GenericXdsConfig> getGenericXdsConfigsList()
Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)
repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;- Specified by:
getGenericXdsConfigsListin interfaceClientConfigOrBuilder
-
getGenericXdsConfigsOrBuilderList
public java.util.List<? extends ClientConfig.GenericXdsConfigOrBuilder> getGenericXdsConfigsOrBuilderList()
Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)
repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;- Specified by:
getGenericXdsConfigsOrBuilderListin interfaceClientConfigOrBuilder
-
getGenericXdsConfigsCount
public int getGenericXdsConfigsCount()
Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)
repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;- Specified by:
getGenericXdsConfigsCountin interfaceClientConfigOrBuilder
-
getGenericXdsConfigs
public ClientConfig.GenericXdsConfig getGenericXdsConfigs(int index)
Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)
repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;- Specified by:
getGenericXdsConfigsin interfaceClientConfigOrBuilder
-
getGenericXdsConfigsOrBuilder
public ClientConfig.GenericXdsConfigOrBuilder getGenericXdsConfigsOrBuilder(int index)
Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)
repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3;- Specified by:
getGenericXdsConfigsOrBuilderin interfaceClientConfigOrBuilder
-
getClientScope
public java.lang.String getClientScope()
For xDS clients, the scope in which the data is used. For example, gRPC indicates the data plane target or that the data is associated with gRPC server(s).
string client_scope = 4;- Specified by:
getClientScopein interfaceClientConfigOrBuilder- Returns:
- The clientScope.
-
getClientScopeBytes
public com.google.protobuf.ByteString getClientScopeBytes()
For xDS clients, the scope in which the data is used. For example, gRPC indicates the data plane target or that the data is associated with gRPC server(s).
string client_scope = 4;- Specified by:
getClientScopeBytesin interfaceClientConfigOrBuilder- Returns:
- The bytes for clientScope.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.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 ClientConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConfig parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClientConfig parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ClientConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ClientConfig parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ClientConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClientConfig.Builder newBuilder()
-
newBuilder
public static ClientConfig.Builder newBuilder(ClientConfig prototype)
-
toBuilder
public ClientConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static ClientConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClientConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ClientConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public ClientConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-