Package com.google.api.expr.v1alpha1
Interface DeclOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Decl
,Decl.Builder
public interface DeclOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Decl.DeclKindCase
getDeclKindCase()
Decl.FunctionDecl
getFunction()
Function declaration.Decl.FunctionDeclOrBuilder
getFunctionOrBuilder()
Function declaration.Decl.IdentDecl
getIdent()
Identifier declaration.Decl.IdentDeclOrBuilder
getIdentOrBuilder()
Identifier declaration.java.lang.String
getName()
The fully qualified name of the declaration.com.google.protobuf.ByteString
getNameBytes()
The fully qualified name of the declaration.boolean
hasFunction()
Function declaration.boolean
hasIdent()
Identifier declaration.-
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. 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;
- 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;
- Returns:
- The bytes for name.
-
hasIdent
boolean hasIdent()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
- Returns:
- Whether the ident field is set.
-
getIdent
Decl.IdentDecl getIdent()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
- Returns:
- The ident.
-
getIdentOrBuilder
Decl.IdentDeclOrBuilder getIdentOrBuilder()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;
-
hasFunction
boolean hasFunction()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
- Returns:
- Whether the function field is set.
-
getFunction
Decl.FunctionDecl getFunction()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
- Returns:
- The function.
-
getFunctionOrBuilder
Decl.FunctionDeclOrBuilder getFunctionOrBuilder()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;
-
getDeclKindCase
Decl.DeclKindCase getDeclKindCase()
-
-