Package com.github.xds.type.v3
Interface CelExtractStringOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CelExtractString
,CelExtractString.Builder
public interface CelExtractStringOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StringValue
If CEL expression evaluates to an error, this value is be returned to the caller.com.google.protobuf.StringValueOrBuilder
If CEL expression evaluates to an error, this value is be returned to the caller.The CEL expression used to extract a string from the CEL environment.The CEL expression used to extract a string from the CEL environment.boolean
If CEL expression evaluates to an error, this value is be returned to the caller.boolean
The CEL expression used to extract a string from the CEL environment.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
-
hasExprExtract
boolean hasExprExtract()The CEL expression used to extract a string from the CEL environment. the "subject string") that should be replaced.
.xds.type.v3.CelExpression expr_extract = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the exprExtract field is set.
-
getExprExtract
CelExpression getExprExtract()The CEL expression used to extract a string from the CEL environment. the "subject string") that should be replaced.
.xds.type.v3.CelExpression expr_extract = 1 [(.validate.rules) = { ... }
- Returns:
- The exprExtract.
-
getExprExtractOrBuilder
CelExpressionOrBuilder getExprExtractOrBuilder()The CEL expression used to extract a string from the CEL environment. the "subject string") that should be replaced.
.xds.type.v3.CelExpression expr_extract = 1 [(.validate.rules) = { ... }
-
hasDefaultValue
boolean hasDefaultValue()If CEL expression evaluates to an error, this value is be returned to the caller. If not set, the error is propagated to the caller.
.google.protobuf.StringValue default_value = 2;
- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
com.google.protobuf.StringValue getDefaultValue()If CEL expression evaluates to an error, this value is be returned to the caller. If not set, the error is propagated to the caller.
.google.protobuf.StringValue default_value = 2;
- Returns:
- The defaultValue.
-
getDefaultValueOrBuilder
com.google.protobuf.StringValueOrBuilder getDefaultValueOrBuilder()If CEL expression evaluates to an error, this value is be returned to the caller. If not set, the error is propagated to the caller.
.google.protobuf.StringValue default_value = 2;
-