Package dev.cel.expr

Interface ReferenceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Reference, Reference.Builder

    public interface ReferenceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      The fully qualified name of the declaration.
      com.google.protobuf.ByteString getNameBytes()
      The fully qualified name of the declaration.
      java.lang.String getOverloadId​(int index)
      For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
      com.google.protobuf.ByteString getOverloadIdBytes​(int index)
      For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
      int getOverloadIdCount()
      For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
      java.util.List<java.lang.String> getOverloadIdList()
      For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
      Constant getValue()
      For references to constants, this may contain the value of the constant if known at compile time.
      ConstantOrBuilder getValueOrBuilder()
      For references to constants, this may contain the value of the constant if known at compile time.
      boolean hasValue()
      For references to constants, this may contain the value of the constant if known at compile time.
      • 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 Detail

      • getName

        java.lang.String getName()
         The fully qualified name of the declaration.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The fully qualified name of the declaration.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getOverloadIdList

        java.util.List<java.lang.String> getOverloadIdList()
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
        
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
        
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Returns:
        A list containing the overloadId.
      • getOverloadIdCount

        int getOverloadIdCount()
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
        
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
        
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Returns:
        The count of overloadId.
      • getOverloadId

        java.lang.String getOverloadId​(int index)
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
        
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
        
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The overloadId at the given index.
      • getOverloadIdBytes

        com.google.protobuf.ByteString getOverloadIdBytes​(int index)
         For references to functions, this is a list of `Overload.overload_id`
         values which match according to typing rules.
        
         If the list has more than one element, overload resolution among the
         presented candidates must happen at runtime because of dynamic types. The
         type checker attempts to narrow down this list as much as possible.
        
         Empty if this is not a reference to a
         [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl].
         
        repeated string overload_id = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the overloadId at the given index.
      • hasValue

        boolean hasValue()
         For references to constants, this may contain the value of the
         constant if known at compile time.
         
        .cel.expr.Constant value = 4;
        Returns:
        Whether the value field is set.
      • getValue

        Constant getValue()
         For references to constants, this may contain the value of the
         constant if known at compile time.
         
        .cel.expr.Constant value = 4;
        Returns:
        The value.
      • getValueOrBuilder

        ConstantOrBuilder getValueOrBuilder()
         For references to constants, this may contain the value of the
         constant if known at compile time.
         
        .cel.expr.Constant value = 4;