public static final class ConfigSourceOuterClass.ConfigSource extends com.google.protobuf.GeneratedMessageV3 implements ConfigSourceOuterClass.ConfigSourceOrBuilder
Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters <config_cluster_manager>`, :ref:`routes <envoy_api_msg_RouteConfiguration>`, :ref:`endpoints <arch_overview_service_discovery>` etc. may either be sourced from the filesystem or from an xDS API source. Filesystem configs are watched with inotify for updates.
Protobuf type envoy.api.v2.core.ConfigSource
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigSourceOuterClass.ConfigSource.Builder
Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters
<config_cluster_manager>`, :ref:`routes
<envoy_api_msg_RouteConfiguration>`, :ref:`endpoints
<arch_overview_service_discovery>` etc.
|
static class |
ConfigSourceOuterClass.ConfigSource.ConfigSourceSpecifierCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ADS_FIELD_NUMBER |
static int |
API_CONFIG_SOURCE_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PATH_FIELD_NUMBER
public static final int API_CONFIG_SOURCE_FIELD_NUMBER
public static final int ADS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ConfigSourceOuterClass.ConfigSource.ConfigSourceSpecifierCase getConfigSourceSpecifierCase()
getConfigSourceSpecifierCase in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic String getPath()
Path on the filesystem to source and watch for configuration updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;getPath in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path on the filesystem to source and watch for configuration updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;getPathBytes in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic boolean hasApiConfigSource()
API configuration source.
.envoy.api.v2.core.ApiConfigSource api_config_source = 2;hasApiConfigSource in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic ConfigSourceOuterClass.ApiConfigSource getApiConfigSource()
API configuration source.
.envoy.api.v2.core.ApiConfigSource api_config_source = 2;getApiConfigSource in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic ConfigSourceOuterClass.ApiConfigSourceOrBuilder getApiConfigSourceOrBuilder()
API configuration source.
.envoy.api.v2.core.ApiConfigSource api_config_source = 2;getApiConfigSourceOrBuilder in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic boolean hasAds()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.api.v2.core.AggregatedConfigSource ads = 3;hasAds in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic ConfigSourceOuterClass.AggregatedConfigSource getAds()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.api.v2.core.AggregatedConfigSource ads = 3;getAds in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic ConfigSourceOuterClass.AggregatedConfigSourceOrBuilder getAdsOrBuilder()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.api.v2.core.AggregatedConfigSource ads = 3;getAdsOrBuilder in interface ConfigSourceOuterClass.ConfigSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConfigSourceOuterClass.ConfigSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConfigSourceOuterClass.ConfigSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConfigSourceOuterClass.ConfigSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConfigSourceOuterClass.ConfigSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConfigSourceOuterClass.ConfigSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConfigSourceOuterClass.ConfigSource.Builder newBuilder()
public static ConfigSourceOuterClass.ConfigSource.Builder newBuilder(ConfigSourceOuterClass.ConfigSource prototype)
public ConfigSourceOuterClass.ConfigSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConfigSourceOuterClass.ConfigSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConfigSourceOuterClass.ConfigSource getDefaultInstance()
public static com.google.protobuf.Parser<ConfigSourceOuterClass.ConfigSource> parser()
public com.google.protobuf.Parser<ConfigSourceOuterClass.ConfigSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConfigSourceOuterClass.ConfigSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.