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.String
getEnvironmentVariable()
Environment variable data source.com.google.protobuf.ByteString
getEnvironmentVariableBytes()
Environment variable data source.java.lang.String
getFilename()
Local filesystem data source.com.google.protobuf.ByteString
getFilenameBytes()
Local filesystem data source.com.google.protobuf.ByteString
getInlineBytes()
Bytes inlined in the configuration.java.lang.String
getInlineString()
String inlined in the configuration.com.google.protobuf.ByteString
getInlineStringBytes()
String inlined in the configuration.DataSource.SpecifierCase
getSpecifierCase()
WatchedDirectory
getWatchedDirectory()
Watched directory that is watched for file changes.WatchedDirectoryOrBuilder
getWatchedDirectoryOrBuilder()
Watched directory that is watched for file changes.boolean
hasEnvironmentVariable()
Environment variable data source.boolean
hasFilename()
Local filesystem data source.boolean
hasInlineBytes()
Bytes inlined in the configuration.boolean
hasInlineString()
String inlined in the configuration.boolean
hasWatchedDirectory()
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()
-
-