|
17 | 17 | import com.google.auto.value.AutoValue; |
18 | 18 | import com.google.errorprone.annotations.CheckReturnValue; |
19 | 19 | import com.google.errorprone.annotations.Immutable; |
20 | | -import dev.cel.common.annotations.Beta; |
21 | 20 |
|
22 | 21 | /** |
23 | 22 | * Options to configure how the CEL parser, type-checker, and evaluator behave. |
@@ -105,8 +104,6 @@ public enum ProtoUnsetFieldOptions { |
105 | 104 |
|
106 | 105 | public abstract boolean enableUnknownTracking(); |
107 | 106 |
|
108 | | - public abstract boolean enableCelValue(); |
109 | | - |
110 | 107 | public abstract int comprehensionMaxIterations(); |
111 | 108 |
|
112 | 109 | public abstract boolean evaluateCanonicalTypesToNativeValues(); |
@@ -162,7 +159,6 @@ public static Builder newBuilder() { |
162 | 159 | .errorOnDuplicateMapKeys(false) |
163 | 160 | .resolveTypeDependencies(true) |
164 | 161 | .enableUnknownTracking(false) |
165 | | - .enableCelValue(false) |
166 | 162 | .comprehensionMaxIterations(-1) |
167 | 163 | .unwrapWellKnownTypesOnFunctionDispatch(true) |
168 | 164 | .fromProtoUnsetFieldOption(ProtoUnsetFieldOptions.BIND_DEFAULT) |
@@ -432,16 +428,6 @@ public abstract static class Builder { |
432 | 428 | */ |
433 | 429 | public abstract Builder enableUnknownTracking(boolean value); |
434 | 430 |
|
435 | | - /** |
436 | | - * Enables the usage of {@code CelValue} for the runtime. It is a native value representation of |
437 | | - * CEL that wraps Java native objects, and comes with extended capabilities, such as allowing |
438 | | - * value constructs not understood by CEL (ex: POJOs). |
439 | | - * |
440 | | - * <p>Warning: This option is experimental. |
441 | | - */ |
442 | | - @Beta |
443 | | - public abstract Builder enableCelValue(boolean value); |
444 | | - |
445 | 431 | /** |
446 | 432 | * Limit the total number of iterations permitted within comprehension loops. |
447 | 433 | * |
|
0 commit comments