Interface LuaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lua,Lua.Builder
public interface LuaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInlineCode()The Lua code that Envoy will execute.com.google.protobuf.ByteStringgetInlineCodeBytes()The Lua code that Envoy will execute.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInlineCode
String getInlineCode()
The Lua code that Envoy will execute. This can be a very small script that further loads code from disk if desired. Note that if JSON configuration is used, the code must be properly escaped. YAML configuration may be easier to read since YAML supports multi-line strings so complex scripts can be easily expressed inline in the configuration.
string inline_code = 1 [(.validate.rules) = { ... }- Returns:
- The inlineCode.
-
getInlineCodeBytes
com.google.protobuf.ByteString getInlineCodeBytes()
The Lua code that Envoy will execute. This can be a very small script that further loads code from disk if desired. Note that if JSON configuration is used, the code must be properly escaped. YAML configuration may be easier to read since YAML supports multi-line strings so complex scripts can be easily expressed inline in the configuration.
string inline_code = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for inlineCode.
-
-