Package com.google.api.expr.v1beta1
Interface DeclOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Decl
,Decl.Builder
public interface DeclOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDoc()
The documentation string for the declaration.com.google.protobuf.ByteString
The documentation string for the declaration.A function declaration.int
getId()
The id of the declaration.getIdent()
An identifier declaration.getName()
The name of the declaration.com.google.protobuf.ByteString
The name of the declaration.boolean
A function declaration.boolean
hasIdent()
An identifier declaration.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
int getId()The id of the declaration.
int32 id = 1 [json_name = "id"];
- Returns:
- The id.
-
getName
String getName()The name of the declaration.
string name = 2 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the declaration.
string name = 2 [json_name = "name"];
- Returns:
- The bytes for name.
-
getDoc
String getDoc()The documentation string for the declaration.
string doc = 3 [json_name = "doc"];
- Returns:
- The doc.
-
getDocBytes
com.google.protobuf.ByteString getDocBytes()The documentation string for the declaration.
string doc = 3 [json_name = "doc"];
- Returns:
- The bytes for doc.
-
hasIdent
boolean hasIdent()An identifier declaration.
.google.api.expr.v1beta1.IdentDecl ident = 4 [json_name = "ident"];
- Returns:
- Whether the ident field is set.
-
getIdent
IdentDecl getIdent()An identifier declaration.
.google.api.expr.v1beta1.IdentDecl ident = 4 [json_name = "ident"];
- Returns:
- The ident.
-
hasFunction
boolean hasFunction()A function declaration.
.google.api.expr.v1beta1.FunctionDecl function = 5 [json_name = "function"];
- Returns:
- Whether the function field is set.
-
getFunction
FunctionDecl getFunction()A function declaration.
.google.api.expr.v1beta1.FunctionDecl function = 5 [json_name = "function"];
- Returns:
- The function.
-
getKindCase
Decl.KindCase getKindCase()
-