All Downloads are FREE. Search and download functionalities are using the official Maven repository.

build.buf.validate.ConstraintOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/validate.proto
// Protobuf Java Version: 4.28.1

package build.buf.validate;

public interface ConstraintOrBuilder extends
    // @@protoc_insertion_point(interface_extends:buf.validate.Constraint)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * `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.
   * 
* * optional string id = 1 [json_name = "id"]; * @return Whether the id field is set. */ boolean hasId(); /** *
   * `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.
   * 
* * optional string id = 1 [json_name = "id"]; * @return The id. */ java.lang.String 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.
   * 
* * optional string id = 1 [json_name = "id"]; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
   * `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.
   * 
* * optional string message = 2 [json_name = "message"]; * @return Whether the message field is set. */ boolean hasMessage(); /** *
   * `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.
   * 
* * optional string message = 2 [json_name = "message"]; * @return The message. */ java.lang.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.
   * 
* * optional string message = 2 [json_name = "message"]; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** *
   * `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.
   * 
* * optional string expression = 3 [json_name = "expression"]; * @return Whether the expression field is set. */ boolean hasExpression(); /** *
   * `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.
   * 
* * optional string expression = 3 [json_name = "expression"]; * @return The expression. */ java.lang.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.
   * 
* * optional string expression = 3 [json_name = "expression"]; * @return The bytes for expression. */ com.google.protobuf.ByteString getExpressionBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy