public interface ConstraintOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression()
`expression` is the actual CEL expression that will be evaluated for
validation.
|
com.google.protobuf.ByteString |
getExpressionBytes()
`expression` is the actual CEL expression that will be evaluated for
validation.
|
String |
getId()
`id` is a string that serves as a machine-readable name for this Constraint.
|
com.google.protobuf.ByteString |
getIdBytes()
`id` is a string that serves as a machine-readable name for this Constraint.
|
String |
getMessage()
`message` is an optional field that provides a human-readable error message
for this Constraint when the CEL expression evaluates to false.
|
com.google.protobuf.ByteString |
getMessageBytes()
`message` is an optional field that provides a human-readable error message
for this Constraint when the CEL expression evaluates to false.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getId()
`id` is a string that serves as a machine-readable name for this Constraint. It should be unique within its scope, which could be either a message or a field.
string id = 1 [json_name = "id"];com.google.protobuf.ByteString getIdBytes()
`id` is a string that serves as a machine-readable name for this Constraint. It should be unique within its scope, which could be either a message or a field.
string id = 1 [json_name = "id"];String getMessage()
`message` is an optional field that provides a human-readable error message for this Constraint when the CEL expression evaluates to false. If a non-empty message is provided, any strings resulting from the CEL expression evaluation are ignored.
string message = 2 [json_name = "message"];com.google.protobuf.ByteString getMessageBytes()
`message` is an optional field that provides a human-readable error message for this Constraint when the CEL expression evaluates to false. If a non-empty message is provided, any strings resulting from the CEL expression evaluation are ignored.
string message = 2 [json_name = "message"];String getExpression()
`expression` is the actual CEL expression that will be evaluated for validation. This string must resolve to either a boolean or a string value. If the expression evaluates to false or a non-empty string, the validation is considered failed, and the message is rejected.
string expression = 3 [json_name = "expression"];com.google.protobuf.ByteString getExpressionBytes()
`expression` is the actual CEL expression that will be evaluated for validation. This string must resolve to either a boolean or a string value. If the expression evaluates to false or a non-empty string, the validation is considered failed, and the message is rejected.
string expression = 3 [json_name = "expression"];Copyright © 2023. All rights reserved.