Package com.google.api.expr.v1alpha1
Interface Decl.IdentDeclOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Decl.IdentDecl
,Decl.IdentDecl.Builder
- Enclosing class:
- Decl
public static interface Decl.IdentDeclOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDoc()
Documentation string for the identifier.com.google.protobuf.ByteString
Documentation string for the identifier.getType()
Required.getValue()
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
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasType
boolean hasType()Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1 [json_name = "type"];
- Returns:
- Whether the type field is set.
-
getType
Type getType()Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1 [json_name = "type"];
- Returns:
- The type.
-
hasValue
boolean hasValue()The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2 [json_name = "value"];
- 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.
.google.api.expr.v1alpha1.Constant value = 2 [json_name = "value"];
- Returns:
- The value.
-
getDoc
String getDoc()Documentation string for the identifier.
string doc = 3 [json_name = "doc"];
- Returns:
- The doc.
-
getDocBytes
com.google.protobuf.ByteString getDocBytes()Documentation string for the identifier.
string doc = 3 [json_name = "doc"];
- Returns:
- The bytes for doc.
-