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

public interface LuaConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Default cluster.
    com.google.protobuf.ByteString
    Default cluster.
    The lua code that Envoy will execute to select cluster.
    The lua code that Envoy will execute to select cluster.
    boolean
    The lua code that Envoy will execute to select cluster.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSourceCode

      boolean hasSourceCode()
       The lua code that Envoy will execute to select cluster.
       
      .envoy.config.core.v3.DataSource source_code = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the sourceCode field is set.
    • getSourceCode

      DataSource getSourceCode()
       The lua code that Envoy will execute to select cluster.
       
      .envoy.config.core.v3.DataSource source_code = 1 [(.validate.rules) = { ... }
      Returns:
      The sourceCode.
    • getSourceCodeOrBuilder

      DataSourceOrBuilder getSourceCodeOrBuilder()
       The lua code that Envoy will execute to select cluster.
       
      .envoy.config.core.v3.DataSource source_code = 1 [(.validate.rules) = { ... }
    • getDefaultCluster

      String getDefaultCluster()
       Default cluster. It will be used when the lua code execute failure.
       
      string default_cluster = 2;
      Returns:
      The defaultCluster.
    • getDefaultClusterBytes

      com.google.protobuf.ByteString getDefaultClusterBytes()
       Default cluster. It will be used when the lua code execute failure.
       
      string default_cluster = 2;
      Returns:
      The bytes for defaultCluster.