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 TypeMethodDescriptiongetDoc()
Documentation string for the identifier.com.google.protobuf.ByteString
Documentation string for the identifier.getType()
Required.Required.getValue()
The constant value of the identifier.The constant value of the identifier.boolean
hasType()
Required.boolean
hasValue()
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.
string doc = 3;
- Returns:
- The doc.
-
getDocBytes
com.google.protobuf.ByteString getDocBytes()Documentation string for the identifier.
string doc = 3;
- Returns:
- The bytes for doc.
-