Interface DeclOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Decl, Decl.Builder

public interface DeclOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getName

      String getName()
       The fully qualified name of the declaration.
      
       Declarations are organized in containers and this represents the full path
       to the declaration in its container, as in `google.api.expr.Decl`.
      
       Declarations used as
       [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload]
       parameters may or may not have a name depending on whether the overload is
       function declaration or a function definition containing a result
       [Expr][google.api.expr.v1alpha1.Expr].
       
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The fully qualified name of the declaration.
      
       Declarations are organized in containers and this represents the full path
       to the declaration in its container, as in `google.api.expr.Decl`.
      
       Declarations used as
       [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload]
       parameters may or may not have a name depending on whether the overload is
       function declaration or a function definition containing a result
       [Expr][google.api.expr.v1alpha1.Expr].
       
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • hasIdent

      boolean hasIdent()
       Identifier declaration.
       
      .google.api.expr.v1alpha1.Decl.IdentDecl ident = 2 [json_name = "ident"];
      Returns:
      Whether the ident field is set.
    • getIdent

      Decl.IdentDecl getIdent()
       Identifier declaration.
       
      .google.api.expr.v1alpha1.Decl.IdentDecl ident = 2 [json_name = "ident"];
      Returns:
      The ident.
    • hasFunction

      boolean hasFunction()
       Function declaration.
       
      .google.api.expr.v1alpha1.Decl.FunctionDecl function = 3 [json_name = "function"];
      Returns:
      Whether the function field is set.
    • getFunction

      Decl.FunctionDecl getFunction()
       Function declaration.
       
      .google.api.expr.v1alpha1.Decl.FunctionDecl function = 3 [json_name = "function"];
      Returns:
      The function.
    • getDeclKindCase

      Decl.DeclKindCase getDeclKindCase()