Package com.google.api.expr.v1beta1
Interface DeclTypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
DeclType
,DeclType.Builder
public interface DeclTypeOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
getId()
The expression id of the declared type, if applicable.getType()
The type name, e.g.com.google.protobuf.ByteString
The type name, e.g.getTypeParams
(int index) An ordered list of type parameters, e.g.int
An ordered list of type parameters, e.g.An ordered list of type parameters, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
int getId()The expression id of the declared type, if applicable.
int32 id = 1 [json_name = "id"];
- Returns:
- The id.
-
getType
String getType()The type name, e.g. 'int', 'my.type.Type' or 'T'
string type = 2 [json_name = "type"];
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type name, e.g. 'int', 'my.type.Type' or 'T'
string type = 2 [json_name = "type"];
- Returns:
- The bytes for type.
-
getTypeParamsList
An ordered list of type parameters, e.g. `<string, int>`. Only applies to a subset of types, e.g. `map`, `list`.
repeated .google.api.expr.v1beta1.DeclType type_params = 4 [json_name = "typeParams"];
-
getTypeParams
An ordered list of type parameters, e.g. `<string, int>`. Only applies to a subset of types, e.g. `map`, `list`.
repeated .google.api.expr.v1beta1.DeclType type_params = 4 [json_name = "typeParams"];
-
getTypeParamsCount
int getTypeParamsCount()An ordered list of type parameters, e.g. `<string, int>`. Only applies to a subset of types, e.g. `map`, `list`.
repeated .google.api.expr.v1beta1.DeclType type_params = 4 [json_name = "typeParams"];
-