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 class
ClientConfig.Builder
All xds configs for a particular client.static class
ClientConfig.GenericXdsConfig
GenericXdsConfig is used to specify the config status and the dump of any xDS resource identified by their type URL.static interface
ClientConfig.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 int
bitField0_
static int
CLIENT_SCOPE_FIELD_NUMBER
private java.lang.Object
clientScope_
private static ClientConfig
DEFAULT_INSTANCE
static int
GENERIC_XDS_CONFIGS_FIELD_NUMBER
private java.util.List<ClientConfig.GenericXdsConfig>
genericXdsConfigs_
private byte
memoizedIsInitialized
private Node
node_
static int
NODE_FIELD_NUMBER
private static com.google.protobuf.Parser<ClientConfig>
PARSER
private static long
serialVersionUID
static int
XDS_CONFIG_FIELD_NUMBER
private java.util.List<PerXdsConfig>
xdsConfig_
-
Constructor Summary
Constructors Modifier Constructor Description private
ClientConfig()
private
ClientConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getClientScope()
For xDS clients, the scope in which the data is used.com.google.protobuf.ByteString
getClientScopeBytes()
For xDS clients, the scope in which the data is used.static ClientConfig
getDefaultInstance()
ClientConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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)int
getGenericXdsConfigsCount()
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.GenericXdsConfigOrBuilder
getGenericXdsConfigsOrBuilder(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)Node
getNode()
Node for a particular client.NodeOrBuilder
getNodeOrBuilder()
Node for a particular client.com.google.protobuf.Parser<ClientConfig>
getParserForType()
int
getSerializedSize()
PerXdsConfig
getXdsConfig(int index)
Deprecated.int
getXdsConfigCount()
Deprecated.java.util.List<PerXdsConfig>
getXdsConfigList()
Deprecated.PerXdsConfigOrBuilder
getXdsConfigOrBuilder(int index)
Deprecated.java.util.List<? extends PerXdsConfigOrBuilder>
getXdsConfigOrBuilderList()
Deprecated.int
hashCode()
boolean
hasNode()
Node for a particular client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ClientConfig.Builder
newBuilder()
static ClientConfig.Builder
newBuilder(ClientConfig prototype)
ClientConfig.Builder
newBuilderForType()
protected ClientConfig.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static ClientConfig
parseDelimitedFrom(java.io.InputStream input)
static ClientConfig
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientConfig
parseFrom(byte[] data)
static ClientConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientConfig
parseFrom(com.google.protobuf.ByteString data)
static ClientConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static ClientConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientConfig
parseFrom(java.io.InputStream input)
static ClientConfig
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientConfig
parseFrom(java.nio.ByteBuffer data)
static ClientConfig
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ClientConfig>
parser()
ClientConfig.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
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasNode
public boolean hasNode()
Node for a particular client.
.envoy.config.core.v3.Node node = 1;
- Specified by:
hasNode
in 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:
getNode
in interfaceClientConfigOrBuilder
- Returns:
- The node.
-
getNodeOrBuilder
public NodeOrBuilder getNodeOrBuilder()
Node for a particular client.
.envoy.config.core.v3.Node node = 1;
- Specified by:
getNodeOrBuilder
in 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:
getXdsConfigList
in 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:
getXdsConfigOrBuilderList
in 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:
getXdsConfigCount
in 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:
getXdsConfig
in 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:
getXdsConfigOrBuilder
in 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:
getGenericXdsConfigsList
in 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:
getGenericXdsConfigsOrBuilderList
in 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:
getGenericXdsConfigsCount
in 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:
getGenericXdsConfigs
in 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:
getGenericXdsConfigsOrBuilder
in 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:
getClientScope
in 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:
getClientScopeBytes
in interfaceClientConfigOrBuilder
- Returns:
- The bytes for clientScope.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public ClientConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-