Interface DataSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DataSource, DataSource.Builder

@Generated public interface DataSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasFilename

      boolean hasFilename()
      Local filesystem data source.
      
      string filename = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the filename field is set.
    • getFilename

      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

      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

      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()