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.ByteStringDocumentation string for the identifier.getType()Required.Required.getValue()The constant value of the identifier.The constant value of the identifier.booleanhasType()Required.booleanhasValue()The constant value of the identifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
-
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
-
getDocBytes
com.google.protobuf.ByteString getDocBytes()Documentation string for the identifier.
string doc = 3;- Returns:
- The bytes for doc.
-