Package dev.cel.expr

Interface Decl.IdentDeclOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Decl.IdentDecl, Decl.IdentDecl.Builder
Enclosing class:
Decl

public static interface Decl.IdentDeclOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Documentation string for the identifier.
    com.google.protobuf.ByteString
    Documentation string for the identifier.
    Required.
    Required.
    The constant value of the identifier.
    The constant value of the identifier.
    boolean
    Required.
    boolean
    The constant value of the identifier.

    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

    • hasType

      boolean hasType()
       Required. The type of the identifier.
       
      .cel.expr.Type type = 1;
      Returns:
      Whether the type field is set.
    • getType

      Type getType()
       Required. The type of the identifier.
       
      .cel.expr.Type type = 1;
      Returns:
      The type.
    • getTypeOrBuilder

      TypeOrBuilder getTypeOrBuilder()
       Required. The type of the identifier.
       
      .cel.expr.Type type = 1;
    • hasValue

      boolean hasValue()
       The constant value of the identifier. If not specified, the identifier
       must be supplied at evaluation time.
       
      .cel.expr.Constant value = 2;
      Returns:
      Whether the value field is set.
    • getValue

      Constant getValue()
       The constant value of the identifier. If not specified, the identifier
       must be supplied at evaluation time.
       
      .cel.expr.Constant value = 2;
      Returns:
      The value.
    • getValueOrBuilder

      ConstantOrBuilder getValueOrBuilder()
       The constant value of the identifier. If not specified, the identifier
       must be supplied at evaluation time.
       
      .cel.expr.Constant value = 2;
    • getDoc

      String getDoc()
       Documentation string for the identifier.
      
       Provide a brief description of what the variable represents and whether
       there are any constraints on the formatting or supported value range.
      
       Examples:
      
          'request.auth.principal' - string which uniquely identifies an
          authenticated principal. For JSON Web Tokens (JWTs), the principal
          is the combination of the issuer ('iss') and subject ('sub') token
          fields concatenated by a forward slash: iss + `/` + sub.
      
          'min_cpus' - integer value indicates the minimum number of CPUs
          required for a compute cluster. The 'min_cpus' value must be 
          greater than zero and less than 'max_cpus' or 64 whichever is less.
       
      string doc = 3;
      Returns:
      The doc.
    • getDocBytes

      com.google.protobuf.ByteString getDocBytes()
       Documentation string for the identifier.
      
       Provide a brief description of what the variable represents and whether
       there are any constraints on the formatting or supported value range.
      
       Examples:
      
          'request.auth.principal' - string which uniquely identifies an
          authenticated principal. For JSON Web Tokens (JWTs), the principal
          is the combination of the issuer ('iss') and subject ('sub') token
          fields concatenated by a forward slash: iss + `/` + sub.
      
          'min_cpus' - integer value indicates the minimum number of CPUs
          required for a compute cluster. The 'min_cpus' value must be 
          greater than zero and less than 'max_cpus' or 64 whichever is less.
       
      string doc = 3;
      Returns:
      The bytes for doc.