Interface DataSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSource,DataSource.Builder
public interface DataSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetEnvironmentVariable()Environment variable data source.com.google.protobuf.ByteStringgetEnvironmentVariableBytes()Environment variable data source.java.lang.StringgetFilename()Local filesystem data source.com.google.protobuf.ByteStringgetFilenameBytes()Local filesystem data source.com.google.protobuf.ByteStringgetInlineBytes()Bytes inlined in the configuration.java.lang.StringgetInlineString()String inlined in the configuration.com.google.protobuf.ByteStringgetInlineStringBytes()String inlined in the configuration.DataSource.SpecifierCasegetSpecifierCase()WatchedDirectorygetWatchedDirectory()Watched directory that is watched for file changes.WatchedDirectoryOrBuildergetWatchedDirectoryOrBuilder()Watched directory that is watched for file changes.booleanhasEnvironmentVariable()Environment variable data source.booleanhasFilename()Local filesystem data source.booleanhasInlineBytes()Bytes inlined in the configuration.booleanhasInlineString()String inlined in the configuration.booleanhasWatchedDirectory()Watched directory that is watched for file changes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFilename
boolean hasFilename()
Local filesystem data source.
string filename = 1 [(.validate.rules) = { ... }- Returns:
- Whether the filename field is set.
-
getFilename
java.lang.String getFilename()
Local filesystem data source.
string filename = 1 [(.validate.rules) = { ... }- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()
Local filesystem data source.
string filename = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for filename.
-
hasInlineBytes
boolean hasInlineBytes()
Bytes inlined in the configuration.
bytes inline_bytes = 2;- Returns:
- Whether the inlineBytes field is set.
-
getInlineBytes
com.google.protobuf.ByteString getInlineBytes()
Bytes inlined in the configuration.
bytes inline_bytes = 2;- Returns:
- The inlineBytes.
-
hasInlineString
boolean hasInlineString()
String inlined in the configuration.
string inline_string = 3;- Returns:
- Whether the inlineString field is set.
-
getInlineString
java.lang.String getInlineString()
String inlined in the configuration.
string inline_string = 3;- Returns:
- The inlineString.
-
getInlineStringBytes
com.google.protobuf.ByteString getInlineStringBytes()
String inlined in the configuration.
string inline_string = 3;- Returns:
- The bytes for inlineString.
-
hasEnvironmentVariable
boolean hasEnvironmentVariable()
Environment variable data source.
string environment_variable = 4 [(.validate.rules) = { ... }- Returns:
- Whether the environmentVariable field is set.
-
getEnvironmentVariable
java.lang.String getEnvironmentVariable()
Environment variable data source.
string environment_variable = 4 [(.validate.rules) = { ... }- Returns:
- The environmentVariable.
-
getEnvironmentVariableBytes
com.google.protobuf.ByteString getEnvironmentVariableBytes()
Environment variable data source.
string environment_variable = 4 [(.validate.rules) = { ... }- Returns:
- The bytes for environmentVariable.
-
hasWatchedDirectory
boolean hasWatchedDirectory()
Watched directory that is watched for file changes. If this is set explicitly, the file specified in the ``filename`` field will be reloaded when relevant file move events occur. .. note:: This field only makes sense when the ``filename`` field is set. .. note:: Envoy only updates when the file is replaced by a file move, and not when the file is edited in place. .. note:: Not all use cases of ``DataSource`` support watching directories. It depends on the specific usage of the ``DataSource``. See the documentation of the parent message for details.
.envoy.config.core.v3.WatchedDirectory watched_directory = 5;- Returns:
- Whether the watchedDirectory field is set.
-
getWatchedDirectory
WatchedDirectory getWatchedDirectory()
Watched directory that is watched for file changes. If this is set explicitly, the file specified in the ``filename`` field will be reloaded when relevant file move events occur. .. note:: This field only makes sense when the ``filename`` field is set. .. note:: Envoy only updates when the file is replaced by a file move, and not when the file is edited in place. .. note:: Not all use cases of ``DataSource`` support watching directories. It depends on the specific usage of the ``DataSource``. See the documentation of the parent message for details.
.envoy.config.core.v3.WatchedDirectory watched_directory = 5;- Returns:
- The watchedDirectory.
-
getWatchedDirectoryOrBuilder
WatchedDirectoryOrBuilder getWatchedDirectoryOrBuilder()
Watched directory that is watched for file changes. If this is set explicitly, the file specified in the ``filename`` field will be reloaded when relevant file move events occur. .. note:: This field only makes sense when the ``filename`` field is set. .. note:: Envoy only updates when the file is replaced by a file move, and not when the file is edited in place. .. note:: Not all use cases of ``DataSource`` support watching directories. It depends on the specific usage of the ``DataSource``. See the documentation of the parent message for details.
.envoy.config.core.v3.WatchedDirectory watched_directory = 5;
-
getSpecifierCase
DataSource.SpecifierCase getSpecifierCase()
-
-