Package com.google.api.expr.v1alpha1
Interface TypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Type,Type.Builder
public interface TypeOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAbstract, application defined type.com.google.protobuf.EmptygetDyn()Dynamic type.com.google.protobuf.EmptygetError()Error type.Function type.Parameterized list with elements of `list_type`, e.g.Parameterized map with typed keys and values.Protocol buffer message type.com.google.protobuf.ByteStringProtocol buffer message type.com.google.protobuf.NullValuegetNull()Null value.intNull value.Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.intPrimitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.getType()Type type.Type param type.com.google.protobuf.ByteStringType param type.Well-known protobuf type such as `google.protobuf.Timestamp`.intWell-known protobuf type such as `google.protobuf.Timestamp`.Wrapper of a primitive type, e.g.intWrapper of a primitive type, e.g.booleanAbstract, application defined type.booleanhasDyn()Dynamic type.booleanhasError()Error type.booleanFunction type.booleanParameterized list with elements of `list_type`, e.g.booleanParameterized map with typed keys and values.booleanProtocol buffer message type.booleanhasNull()Null value.booleanPrimitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.booleanhasType()Type type.booleanType param type.booleanWell-known protobuf type such as `google.protobuf.Timestamp`.booleanWrapper of a primitive type, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasDyn
boolean hasDyn()Dynamic type.
.google.protobuf.Empty dyn = 1 [json_name = "dyn"];- Returns:
- Whether the dyn field is set.
-
getDyn
com.google.protobuf.Empty getDyn()Dynamic type.
.google.protobuf.Empty dyn = 1 [json_name = "dyn"];- Returns:
- The dyn.
-
hasNull
boolean hasNull()Null value.
.google.protobuf.NullValue null = 2 [json_name = "null"];- Returns:
- Whether the null field is set.
-
getNullValue
int getNullValue()Null value.
.google.protobuf.NullValue null = 2 [json_name = "null"];- Returns:
- The enum numeric value on the wire for null.
-
getNull
com.google.protobuf.NullValue getNull()Null value.
.google.protobuf.NullValue null = 2 [json_name = "null"];- Returns:
- The null.
-
hasPrimitive
boolean hasPrimitive()Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3 [json_name = "primitive"];- Returns:
- Whether the primitive field is set.
-
getPrimitiveValue
int getPrimitiveValue()Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3 [json_name = "primitive"];- Returns:
- The enum numeric value on the wire for primitive.
-
getPrimitive
Type.PrimitiveType getPrimitive()Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3 [json_name = "primitive"];- Returns:
- The primitive.
-
hasWrapper
boolean hasWrapper()Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4 [json_name = "wrapper"];- Returns:
- Whether the wrapper field is set.
-
getWrapperValue
int getWrapperValue()Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4 [json_name = "wrapper"];- Returns:
- The enum numeric value on the wire for wrapper.
-
getWrapper
Type.PrimitiveType getWrapper()Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4 [json_name = "wrapper"];- Returns:
- The wrapper.
-
hasWellKnown
boolean hasWellKnown()Well-known protobuf type such as `google.protobuf.Timestamp`.
.google.api.expr.v1alpha1.Type.WellKnownType well_known = 5 [json_name = "wellKnown"];- Returns:
- Whether the wellKnown field is set.
-
getWellKnownValue
int getWellKnownValue()Well-known protobuf type such as `google.protobuf.Timestamp`.
.google.api.expr.v1alpha1.Type.WellKnownType well_known = 5 [json_name = "wellKnown"];- Returns:
- The enum numeric value on the wire for wellKnown.
-
getWellKnown
Type.WellKnownType getWellKnown()Well-known protobuf type such as `google.protobuf.Timestamp`.
.google.api.expr.v1alpha1.Type.WellKnownType well_known = 5 [json_name = "wellKnown"];- Returns:
- The wellKnown.
-
hasListType
boolean hasListType()Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.google.api.expr.v1alpha1.Type.ListType list_type = 6 [json_name = "listType"];- Returns:
- Whether the listType field is set.
-
getListType
Type.ListType getListType()Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.google.api.expr.v1alpha1.Type.ListType list_type = 6 [json_name = "listType"];- Returns:
- The listType.
-
hasMapType
boolean hasMapType()Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7 [json_name = "mapType"];- Returns:
- Whether the mapType field is set.
-
getMapType
Type.MapType getMapType()Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7 [json_name = "mapType"];- Returns:
- The mapType.
-
hasFunction
boolean hasFunction()Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8 [json_name = "function"];- Returns:
- Whether the function field is set.
-
getFunction
Type.FunctionType getFunction()Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8 [json_name = "function"];- Returns:
- The function.
-
hasMessageType
boolean hasMessageType()Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.plus.Profile`.
string message_type = 9 [json_name = "messageType"];- Returns:
- Whether the messageType field is set.
-
getMessageType
String getMessageType()Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.plus.Profile`.
string message_type = 9 [json_name = "messageType"];- Returns:
- The messageType.
-
getMessageTypeBytes
com.google.protobuf.ByteString getMessageTypeBytes()Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.plus.Profile`.
string message_type = 9 [json_name = "messageType"];- Returns:
- The bytes for messageType.
-
hasTypeParam
boolean hasTypeParam()Type param type. The `type_param` string specifies the type parameter name, e.g. `list<E>` would be a `list_type` whose element type was a `type_param` type named `E`.
string type_param = 10 [json_name = "typeParam"];- Returns:
- Whether the typeParam field is set.
-
getTypeParam
String getTypeParam()Type param type. The `type_param` string specifies the type parameter name, e.g. `list<E>` would be a `list_type` whose element type was a `type_param` type named `E`.
string type_param = 10 [json_name = "typeParam"];- Returns:
- The typeParam.
-
getTypeParamBytes
com.google.protobuf.ByteString getTypeParamBytes()Type param type. The `type_param` string specifies the type parameter name, e.g. `list<E>` would be a `list_type` whose element type was a `type_param` type named `E`.
string type_param = 10 [json_name = "typeParam"];- Returns:
- The bytes for typeParam.
-
hasType
boolean hasType()Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT`.
.google.api.expr.v1alpha1.Type type = 11 [json_name = "type"];- Returns:
- Whether the type field is set.
-
getType
Type getType()Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT`.
.google.api.expr.v1alpha1.Type type = 11 [json_name = "type"];- Returns:
- The type.
-
hasError
boolean hasError()Error type. During type-checking if an expression is an error, its type is propagated as the `ERROR` type. This permits the type-checker to discover other errors present in the expression.
.google.protobuf.Empty error = 12 [json_name = "error"];- Returns:
- Whether the error field is set.
-
getError
com.google.protobuf.Empty getError()Error type. During type-checking if an expression is an error, its type is propagated as the `ERROR` type. This permits the type-checker to discover other errors present in the expression.
.google.protobuf.Empty error = 12 [json_name = "error"];- Returns:
- The error.
-
hasAbstractType
boolean hasAbstractType()Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14 [json_name = "abstractType"];- Returns:
- Whether the abstractType field is set.
-
getAbstractType
Type.AbstractType getAbstractType()Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14 [json_name = "abstractType"];- Returns:
- The abstractType.
-
getTypeKindCase
Type.TypeKindCase getTypeKindCase()
-