Package com.google.api.expr.v1alpha1
Interface TypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Type
,Type.Builder
public interface TypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type.AbstractType
getAbstractType()
Abstract, application defined type.Type.AbstractTypeOrBuilder
getAbstractTypeOrBuilder()
Abstract, application defined type.com.google.protobuf.Empty
getDyn()
Dynamic type.com.google.protobuf.EmptyOrBuilder
getDynOrBuilder()
Dynamic type.com.google.protobuf.Empty
getError()
Error type.com.google.protobuf.EmptyOrBuilder
getErrorOrBuilder()
Error type.Type.FunctionType
getFunction()
Function type.Type.FunctionTypeOrBuilder
getFunctionOrBuilder()
Function type.Type.ListType
getListType()
Parameterized list with elements of `list_type`, e.g.Type.ListTypeOrBuilder
getListTypeOrBuilder()
Parameterized list with elements of `list_type`, e.g.Type.MapType
getMapType()
Parameterized map with typed keys and values.Type.MapTypeOrBuilder
getMapTypeOrBuilder()
Parameterized map with typed keys and values.java.lang.String
getMessageType()
Protocol buffer message type.com.google.protobuf.ByteString
getMessageTypeBytes()
Protocol buffer message type.com.google.protobuf.NullValue
getNull()
Null value.int
getNullValue()
Null value.Type.PrimitiveType
getPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.int
getPrimitiveValue()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.Type
getType()
Type type.Type.TypeKindCase
getTypeKindCase()
TypeOrBuilder
getTypeOrBuilder()
Type type.java.lang.String
getTypeParam()
Type param type.com.google.protobuf.ByteString
getTypeParamBytes()
Type param type.Type.WellKnownType
getWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.int
getWellKnownValue()
Well-known protobuf type such as `google.protobuf.Timestamp`.Type.PrimitiveType
getWrapper()
Wrapper of a primitive type, e.g.int
getWrapperValue()
Wrapper of a primitive type, e.g.boolean
hasAbstractType()
Abstract, application defined type.boolean
hasDyn()
Dynamic type.boolean
hasError()
Error type.boolean
hasFunction()
Function type.boolean
hasListType()
Parameterized list with elements of `list_type`, e.g.boolean
hasMapType()
Parameterized map with typed keys and values.boolean
hasMessageType()
Protocol buffer message type.boolean
hasNull()
Null value.boolean
hasPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.boolean
hasType()
Type type.boolean
hasTypeParam()
Type param type.boolean
hasWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.boolean
hasWrapper()
Wrapper of a primitive type, e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDyn
boolean hasDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;
- Returns:
- Whether the dyn field is set.
-
getDyn
com.google.protobuf.Empty getDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;
- Returns:
- The dyn.
-
getDynOrBuilder
com.google.protobuf.EmptyOrBuilder getDynOrBuilder()
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
hasNull
boolean hasNull()
Null value.
.google.protobuf.NullValue null = 2;
- Returns:
- Whether the null field is set.
-
getNullValue
int getNullValue()
Null value.
.google.protobuf.NullValue null = 2;
- Returns:
- The enum numeric value on the wire for null.
-
getNull
com.google.protobuf.NullValue getNull()
Null value.
.google.protobuf.NullValue null = 2;
- Returns:
- The null.
-
hasPrimitive
boolean hasPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
- 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;
- 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;
- Returns:
- The primitive.
-
hasWrapper
boolean hasWrapper()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
- 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;
- 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;
- Returns:
- The wrapper.
-
hasWellKnown
boolean hasWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
- 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;
- 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;
- 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;
- 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;
- Returns:
- The listType.
-
getListTypeOrBuilder
Type.ListTypeOrBuilder getListTypeOrBuilder()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.google.api.expr.v1alpha1.Type.ListType list_type = 6;
-
hasMapType
boolean hasMapType()
Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7;
- 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;
- Returns:
- The mapType.
-
getMapTypeOrBuilder
Type.MapTypeOrBuilder getMapTypeOrBuilder()
Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7;
-
hasFunction
boolean hasFunction()
Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8;
- Returns:
- Whether the function field is set.
-
getFunction
Type.FunctionType getFunction()
Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8;
- Returns:
- The function.
-
getFunctionOrBuilder
Type.FunctionTypeOrBuilder getFunctionOrBuilder()
Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8;
-
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;
- Returns:
- Whether the messageType field is set.
-
getMessageType
java.lang.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;
- 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;
- 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;
- Returns:
- Whether the typeParam field is set.
-
getTypeParam
java.lang.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;
- 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;
- 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;
- 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;
- Returns:
- The type.
-
getTypeOrBuilder
TypeOrBuilder getTypeOrBuilder()
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;
-
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;
- 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;
- Returns:
- The error.
-
getErrorOrBuilder
com.google.protobuf.EmptyOrBuilder getErrorOrBuilder()
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;
-
hasAbstractType
boolean hasAbstractType()
Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
- Returns:
- Whether the abstractType field is set.
-
getAbstractType
Type.AbstractType getAbstractType()
Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
- Returns:
- The abstractType.
-
getAbstractTypeOrBuilder
Type.AbstractTypeOrBuilder getAbstractTypeOrBuilder()
Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
-
getTypeKindCase
Type.TypeKindCase getTypeKindCase()
-
-