Package dev.cel.expr
Interface Decl.IdentDeclOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Decl.IdentDecl,Decl.IdentDecl.Builder
- Enclosing class:
- Decl
public static interface Decl.IdentDeclOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDoc()Documentation string for the identifier.ByteStringgetDocBytes()Documentation string for the identifier.TypegetType()Required.TypeOrBuildergetTypeOrBuilder()Required.ConstantgetValue()The constant value of the identifier.ConstantOrBuildergetValueOrBuilder()The constant value of the identifier.booleanhasType()Required.booleanhasValue()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 Detail
-
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
java.lang.String getDoc()
Documentation string for the identifier.
string doc = 3;- Returns:
- The doc.
-
getDocBytes
ByteString getDocBytes()
Documentation string for the identifier.
string doc = 3;- Returns:
- The bytes for doc.
-
-