public final class Type extends com.google.protobuf.GeneratedMessageV3 implements TypeOrBuilder
Represents a CEL type.Protobuf type
google.api.expr.v1alpha1.Type| Modifier and Type | Class and Description |
|---|---|
static class |
Type.AbstractType
Application defined abstract type.
|
static interface |
Type.AbstractTypeOrBuilder |
static class |
Type.Builder
Represents a CEL type.
|
static class |
Type.FunctionType
Function type with result and arg types.
|
static interface |
Type.FunctionTypeOrBuilder |
static class |
Type.ListType
List type with typed elements, e.g.
|
static interface |
Type.ListTypeOrBuilder |
static class |
Type.MapType
Map type with parameterized key and value types, e.g.
|
static interface |
Type.MapTypeOrBuilder |
static class |
Type.PrimitiveType
CEL primitive types.
|
static class |
Type.TypeKindCase |
static class |
Type.WellKnownType
Well-known protobuf types treated with first-class support in CEL.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ABSTRACT_TYPE_FIELD_NUMBER |
static int |
DYN_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
FUNCTION_FIELD_NUMBER |
static int |
LIST_TYPE_FIELD_NUMBER |
static int |
MAP_TYPE_FIELD_NUMBER |
static int |
MESSAGE_TYPE_FIELD_NUMBER |
static int |
NULL_FIELD_NUMBER |
static int |
PRIMITIVE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
TYPE_PARAM_FIELD_NUMBER |
static int |
WELL_KNOWN_FIELD_NUMBER |
static int |
WRAPPER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Type.AbstractType |
getAbstractType()
Abstract, application defined type.
|
Type.AbstractTypeOrBuilder |
getAbstractTypeOrBuilder()
Abstract, application defined type.
|
static Type |
getDefaultInstance() |
Type |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
com.google.protobuf.Parser<Type> |
getParserForType() |
Type.PrimitiveType |
getPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
|
int |
getPrimitiveValue()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
|
int |
getSerializedSize() |
Type |
getType()
Type type.
|
Type.TypeKindCase |
getTypeKindCase() |
TypeOrBuilder |
getTypeOrBuilder()
Type type.
|
String |
getTypeParam()
Type param type.
|
com.google.protobuf.ByteString |
getTypeParamBytes()
Type param type.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasListType()
Parameterized list with elements of `list_type`, e.g.
|
boolean |
hasMapType()
Parameterized map with typed keys and values.
|
boolean |
hasType()
Type type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Type.Builder |
newBuilder() |
static Type.Builder |
newBuilder(Type prototype) |
Type.Builder |
newBuilderForType() |
protected Type.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Type |
parseDelimitedFrom(InputStream input) |
static Type |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Type |
parseFrom(byte[] data) |
static Type |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Type |
parseFrom(ByteBuffer data) |
static Type |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Type |
parseFrom(com.google.protobuf.ByteString data) |
static Type |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Type |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Type |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Type |
parseFrom(InputStream input) |
static Type |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Type> |
parser() |
Type.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DYN_FIELD_NUMBER
public static final int NULL_FIELD_NUMBER
public static final int PRIMITIVE_FIELD_NUMBER
public static final int WRAPPER_FIELD_NUMBER
public static final int WELL_KNOWN_FIELD_NUMBER
public static final int LIST_TYPE_FIELD_NUMBER
public static final int MAP_TYPE_FIELD_NUMBER
public static final int FUNCTION_FIELD_NUMBER
public static final int MESSAGE_TYPE_FIELD_NUMBER
public static final int TYPE_PARAM_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int ABSTRACT_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Type.TypeKindCase getTypeKindCase()
getTypeKindCase in interface TypeOrBuilderpublic boolean hasDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;hasDyn in interface TypeOrBuilderpublic com.google.protobuf.Empty getDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;getDyn in interface TypeOrBuilderpublic com.google.protobuf.EmptyOrBuilder getDynOrBuilder()
Dynamic type.
.google.protobuf.Empty dyn = 1;getDynOrBuilder in interface TypeOrBuilderpublic int getNullValue()
Null value.
.google.protobuf.NullValue null = 2;getNullValue in interface TypeOrBuilderpublic com.google.protobuf.NullValue getNull()
Null value.
.google.protobuf.NullValue null = 2;getNull in interface TypeOrBuilderpublic int getPrimitiveValue()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;getPrimitiveValue in interface TypeOrBuilderpublic Type.PrimitiveType getPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;getPrimitive in interface TypeOrBuilderpublic int getWrapperValue()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;getWrapperValue in interface TypeOrBuilderpublic Type.PrimitiveType getWrapper()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;getWrapper in interface TypeOrBuilderpublic int getWellKnownValue()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;getWellKnownValue in interface TypeOrBuilderpublic Type.WellKnownType getWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;getWellKnown in interface TypeOrBuilderpublic boolean hasListType()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.google.api.expr.v1alpha1.Type.ListType list_type = 6;hasListType in interface TypeOrBuilderpublic Type.ListType getListType()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.google.api.expr.v1alpha1.Type.ListType list_type = 6;getListType in interface TypeOrBuilderpublic Type.ListTypeOrBuilder getListTypeOrBuilder()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.google.api.expr.v1alpha1.Type.ListType list_type = 6;getListTypeOrBuilder in interface TypeOrBuilderpublic boolean hasMapType()
Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7;hasMapType in interface TypeOrBuilderpublic Type.MapType getMapType()
Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7;getMapType in interface TypeOrBuilderpublic Type.MapTypeOrBuilder getMapTypeOrBuilder()
Parameterized map with typed keys and values.
.google.api.expr.v1alpha1.Type.MapType map_type = 7;getMapTypeOrBuilder in interface TypeOrBuilderpublic boolean hasFunction()
Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8;hasFunction in interface TypeOrBuilderpublic Type.FunctionType getFunction()
Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8;getFunction in interface TypeOrBuilderpublic Type.FunctionTypeOrBuilder getFunctionOrBuilder()
Function type.
.google.api.expr.v1alpha1.Type.FunctionType function = 8;getFunctionOrBuilder in interface TypeOrBuilderpublic 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;getMessageType in interface TypeOrBuilderpublic 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;getMessageTypeBytes in interface TypeOrBuilderpublic 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;getTypeParam in interface TypeOrBuilderpublic 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;getTypeParamBytes in interface TypeOrBuilderpublic 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;hasType in interface TypeOrBuilderpublic 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;getType in interface TypeOrBuilderpublic 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;getTypeOrBuilder in interface TypeOrBuilderpublic 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;hasError in interface TypeOrBuilderpublic 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;getError in interface TypeOrBuilderpublic 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;getErrorOrBuilder in interface TypeOrBuilderpublic boolean hasAbstractType()
Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;hasAbstractType in interface TypeOrBuilderpublic Type.AbstractType getAbstractType()
Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;getAbstractType in interface TypeOrBuilderpublic Type.AbstractTypeOrBuilder getAbstractTypeOrBuilder()
Abstract, application defined type.
.google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;getAbstractTypeOrBuilder in interface TypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Type parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Type parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Type parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Type parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Type parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Type parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Type parseFrom(InputStream input) throws IOException
IOExceptionpublic static Type parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Type parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Type parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Type parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Type parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Type.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Type.Builder newBuilder()
public static Type.Builder newBuilder(Type prototype)
public Type.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Type.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Type getDefaultInstance()
public static com.google.protobuf.Parser<Type> parser()
public com.google.protobuf.Parser<Type> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Type getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.