Package dev.cel.expr
Class Type.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Type.Builder>
-
- dev.cel.expr.Type.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TypeOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Type
public static final class Type.Builder extends com.google.protobuf.GeneratedMessage.Builder<Type.Builder> implements TypeOrBuilder
Represents a CEL type.
Protobuf typecel.expr.Type
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.SingleFieldBuilder<Type.AbstractType,Type.AbstractType.Builder,Type.AbstractTypeOrBuilder>
abstractTypeBuilder_
private int
bitField0_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder>
dynBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder>
errorBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.FunctionType,Type.FunctionType.Builder,Type.FunctionTypeOrBuilder>
functionBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.ListType,Type.ListType.Builder,Type.ListTypeOrBuilder>
listTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.MapType,Type.MapType.Builder,Type.MapTypeOrBuilder>
mapTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder>
typeBuilder_
private java.lang.Object
typeKind_
private int
typeKindCase_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
build()
Type
buildPartial()
private void
buildPartial0(Type result)
private void
buildPartialOneofs(Type result)
Type.Builder
clear()
Type.Builder
clearAbstractType()
Abstract, application defined type.Type.Builder
clearDyn()
Dynamic type.Type.Builder
clearError()
Error type.Type.Builder
clearFunction()
Function type.Type.Builder
clearListType()
Parameterized list with elements of `list_type`, e.g.Type.Builder
clearMapType()
Parameterized map with typed keys and values.Type.Builder
clearMessageType()
Protocol buffer message type.Type.Builder
clearNull()
Null value.Type.Builder
clearPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.Type.Builder
clearType()
Type type.Type.Builder
clearTypeKind()
Type.Builder
clearTypeParam()
Type param type.Type.Builder
clearWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.Type.Builder
clearWrapper()
Wrapper of a primitive type, e.g.Type.AbstractType
getAbstractType()
Abstract, application defined type.Type.AbstractType.Builder
getAbstractTypeBuilder()
Abstract, application defined type.private com.google.protobuf.SingleFieldBuilder<Type.AbstractType,Type.AbstractType.Builder,Type.AbstractTypeOrBuilder>
getAbstractTypeFieldBuilder()
Abstract, application defined type.Type.AbstractTypeOrBuilder
getAbstractTypeOrBuilder()
Abstract, application defined type.Type
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Empty
getDyn()
Dynamic type.com.google.protobuf.Empty.Builder
getDynBuilder()
Dynamic type.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder>
getDynFieldBuilder()
Dynamic type.com.google.protobuf.EmptyOrBuilder
getDynOrBuilder()
Dynamic type.com.google.protobuf.Empty
getError()
Error type.com.google.protobuf.Empty.Builder
getErrorBuilder()
Error type.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder>
getErrorFieldBuilder()
Error type.com.google.protobuf.EmptyOrBuilder
getErrorOrBuilder()
Error type.Type.FunctionType
getFunction()
Function type.Type.FunctionType.Builder
getFunctionBuilder()
Function type.private com.google.protobuf.SingleFieldBuilder<Type.FunctionType,Type.FunctionType.Builder,Type.FunctionTypeOrBuilder>
getFunctionFieldBuilder()
Function type.Type.FunctionTypeOrBuilder
getFunctionOrBuilder()
Function type.Type.ListType
getListType()
Parameterized list with elements of `list_type`, e.g.Type.ListType.Builder
getListTypeBuilder()
Parameterized list with elements of `list_type`, e.g.private com.google.protobuf.SingleFieldBuilder<Type.ListType,Type.ListType.Builder,Type.ListTypeOrBuilder>
getListTypeFieldBuilder()
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.MapType.Builder
getMapTypeBuilder()
Parameterized map with typed keys and values.private com.google.protobuf.SingleFieldBuilder<Type.MapType,Type.MapType.Builder,Type.MapTypeOrBuilder>
getMapTypeFieldBuilder()
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.Builder
getTypeBuilder()
Type type.private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder>
getTypeFieldBuilder()
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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Type.Builder
mergeAbstractType(Type.AbstractType value)
Abstract, application defined type.Type.Builder
mergeDyn(com.google.protobuf.Empty value)
Dynamic type.Type.Builder
mergeError(com.google.protobuf.Empty value)
Error type.Type.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Type.Builder
mergeFrom(com.google.protobuf.Message other)
Type.Builder
mergeFrom(Type other)
Type.Builder
mergeFunction(Type.FunctionType value)
Function type.Type.Builder
mergeListType(Type.ListType value)
Parameterized list with elements of `list_type`, e.g.Type.Builder
mergeMapType(Type.MapType value)
Parameterized map with typed keys and values.Type.Builder
mergeType(Type value)
Type type.Type.Builder
setAbstractType(Type.AbstractType value)
Abstract, application defined type.Type.Builder
setAbstractType(Type.AbstractType.Builder builderForValue)
Abstract, application defined type.Type.Builder
setDyn(com.google.protobuf.Empty value)
Dynamic type.Type.Builder
setDyn(com.google.protobuf.Empty.Builder builderForValue)
Dynamic type.Type.Builder
setError(com.google.protobuf.Empty value)
Error type.Type.Builder
setError(com.google.protobuf.Empty.Builder builderForValue)
Error type.Type.Builder
setFunction(Type.FunctionType value)
Function type.Type.Builder
setFunction(Type.FunctionType.Builder builderForValue)
Function type.Type.Builder
setListType(Type.ListType value)
Parameterized list with elements of `list_type`, e.g.Type.Builder
setListType(Type.ListType.Builder builderForValue)
Parameterized list with elements of `list_type`, e.g.Type.Builder
setMapType(Type.MapType value)
Parameterized map with typed keys and values.Type.Builder
setMapType(Type.MapType.Builder builderForValue)
Parameterized map with typed keys and values.Type.Builder
setMessageType(java.lang.String value)
Protocol buffer message type.Type.Builder
setMessageTypeBytes(com.google.protobuf.ByteString value)
Protocol buffer message type.Type.Builder
setNull(com.google.protobuf.NullValue value)
Null value.Type.Builder
setNullValue(int value)
Null value.Type.Builder
setPrimitive(Type.PrimitiveType value)
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.Type.Builder
setPrimitiveValue(int value)
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.Type.Builder
setType(Type value)
Type type.Type.Builder
setType(Type.Builder builderForValue)
Type type.Type.Builder
setTypeParam(java.lang.String value)
Type param type.Type.Builder
setTypeParamBytes(com.google.protobuf.ByteString value)
Type param type.Type.Builder
setWellKnown(Type.WellKnownType value)
Well-known protobuf type such as `google.protobuf.Timestamp`.Type.Builder
setWellKnownValue(int value)
Well-known protobuf type such as `google.protobuf.Timestamp`.Type.Builder
setWrapper(Type.PrimitiveType value)
Wrapper of a primitive type, e.g.Type.Builder
setWrapperValue(int value)
Wrapper of a primitive type, e.g.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
typeKindCase_
private int typeKindCase_
-
typeKind_
private java.lang.Object typeKind_
-
bitField0_
private int bitField0_
-
dynBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder> dynBuilder_
-
listTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.ListType,Type.ListType.Builder,Type.ListTypeOrBuilder> listTypeBuilder_
-
mapTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.MapType,Type.MapType.Builder,Type.MapTypeOrBuilder> mapTypeBuilder_
-
functionBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.FunctionType,Type.FunctionType.Builder,Type.FunctionTypeOrBuilder> functionBuilder_
-
typeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder> typeBuilder_
-
errorBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder> errorBuilder_
-
abstractTypeBuilder_
private com.google.protobuf.SingleFieldBuilder<Type.AbstractType,Type.AbstractType.Builder,Type.AbstractTypeOrBuilder> abstractTypeBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Type.Builder>
-
clear
public Type.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Type.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Type.Builder>
-
getDefaultInstanceForType
public Type getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Type build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Type buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Type result)
-
buildPartialOneofs
private void buildPartialOneofs(Type result)
-
mergeFrom
public Type.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Type.Builder>
-
mergeFrom
public Type.Builder mergeFrom(Type other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Type.Builder>
-
mergeFrom
public Type.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Type.Builder>
- Throws:
java.io.IOException
-
getTypeKindCase
public Type.TypeKindCase getTypeKindCase()
- Specified by:
getTypeKindCase
in interfaceTypeOrBuilder
-
clearTypeKind
public Type.Builder clearTypeKind()
-
hasDyn
public boolean hasDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;
- Specified by:
hasDyn
in interfaceTypeOrBuilder
- Returns:
- Whether the dyn field is set.
-
getDyn
public com.google.protobuf.Empty getDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;
- Specified by:
getDyn
in interfaceTypeOrBuilder
- Returns:
- The dyn.
-
setDyn
public Type.Builder setDyn(com.google.protobuf.Empty value)
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
setDyn
public Type.Builder setDyn(com.google.protobuf.Empty.Builder builderForValue)
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
mergeDyn
public Type.Builder mergeDyn(com.google.protobuf.Empty value)
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
clearDyn
public Type.Builder clearDyn()
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
getDynBuilder
public com.google.protobuf.Empty.Builder getDynBuilder()
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
getDynOrBuilder
public com.google.protobuf.EmptyOrBuilder getDynOrBuilder()
Dynamic type.
.google.protobuf.Empty dyn = 1;
- Specified by:
getDynOrBuilder
in interfaceTypeOrBuilder
-
getDynFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder> getDynFieldBuilder()
Dynamic type.
.google.protobuf.Empty dyn = 1;
-
hasNull
public boolean hasNull()
Null value.
.google.protobuf.NullValue null = 2;
- Specified by:
hasNull
in interfaceTypeOrBuilder
- Returns:
- Whether the null field is set.
-
getNullValue
public int getNullValue()
Null value.
.google.protobuf.NullValue null = 2;
- Specified by:
getNullValue
in interfaceTypeOrBuilder
- Returns:
- The enum numeric value on the wire for null.
-
setNullValue
public Type.Builder setNullValue(int value)
Null value.
.google.protobuf.NullValue null = 2;
- Parameters:
value
- The enum numeric value on the wire for null to set.- Returns:
- This builder for chaining.
-
getNull
public com.google.protobuf.NullValue getNull()
Null value.
.google.protobuf.NullValue null = 2;
- Specified by:
getNull
in interfaceTypeOrBuilder
- Returns:
- The null.
-
setNull
public Type.Builder setNull(com.google.protobuf.NullValue value)
Null value.
.google.protobuf.NullValue null = 2;
- Parameters:
value
- The null to set.- Returns:
- This builder for chaining.
-
clearNull
public Type.Builder clearNull()
Null value.
.google.protobuf.NullValue null = 2;
- Returns:
- This builder for chaining.
-
hasPrimitive
public boolean hasPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.cel.expr.Type.PrimitiveType primitive = 3;
- Specified by:
hasPrimitive
in interfaceTypeOrBuilder
- Returns:
- Whether the primitive field is set.
-
getPrimitiveValue
public int getPrimitiveValue()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.cel.expr.Type.PrimitiveType primitive = 3;
- Specified by:
getPrimitiveValue
in interfaceTypeOrBuilder
- Returns:
- The enum numeric value on the wire for primitive.
-
setPrimitiveValue
public Type.Builder setPrimitiveValue(int value)
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.cel.expr.Type.PrimitiveType primitive = 3;
- Parameters:
value
- The enum numeric value on the wire for primitive to set.- Returns:
- This builder for chaining.
-
getPrimitive
public Type.PrimitiveType getPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.cel.expr.Type.PrimitiveType primitive = 3;
- Specified by:
getPrimitive
in interfaceTypeOrBuilder
- Returns:
- The primitive.
-
setPrimitive
public Type.Builder setPrimitive(Type.PrimitiveType value)
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.cel.expr.Type.PrimitiveType primitive = 3;
- Parameters:
value
- The primitive to set.- Returns:
- This builder for chaining.
-
clearPrimitive
public Type.Builder clearPrimitive()
Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`.
.cel.expr.Type.PrimitiveType primitive = 3;
- Returns:
- This builder for chaining.
-
hasWrapper
public boolean hasWrapper()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.cel.expr.Type.PrimitiveType wrapper = 4;
- Specified by:
hasWrapper
in interfaceTypeOrBuilder
- Returns:
- Whether the wrapper field is set.
-
getWrapperValue
public int getWrapperValue()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.cel.expr.Type.PrimitiveType wrapper = 4;
- Specified by:
getWrapperValue
in interfaceTypeOrBuilder
- Returns:
- The enum numeric value on the wire for wrapper.
-
setWrapperValue
public Type.Builder setWrapperValue(int value)
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.cel.expr.Type.PrimitiveType wrapper = 4;
- Parameters:
value
- The enum numeric value on the wire for wrapper to set.- Returns:
- This builder for chaining.
-
getWrapper
public Type.PrimitiveType getWrapper()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.cel.expr.Type.PrimitiveType wrapper = 4;
- Specified by:
getWrapper
in interfaceTypeOrBuilder
- Returns:
- The wrapper.
-
setWrapper
public Type.Builder setWrapper(Type.PrimitiveType value)
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.cel.expr.Type.PrimitiveType wrapper = 4;
- Parameters:
value
- The wrapper to set.- Returns:
- This builder for chaining.
-
clearWrapper
public Type.Builder clearWrapper()
Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`.
.cel.expr.Type.PrimitiveType wrapper = 4;
- Returns:
- This builder for chaining.
-
hasWellKnown
public boolean hasWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.cel.expr.Type.WellKnownType well_known = 5;
- Specified by:
hasWellKnown
in interfaceTypeOrBuilder
- Returns:
- Whether the wellKnown field is set.
-
getWellKnownValue
public int getWellKnownValue()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.cel.expr.Type.WellKnownType well_known = 5;
- Specified by:
getWellKnownValue
in interfaceTypeOrBuilder
- Returns:
- The enum numeric value on the wire for wellKnown.
-
setWellKnownValue
public Type.Builder setWellKnownValue(int value)
Well-known protobuf type such as `google.protobuf.Timestamp`.
.cel.expr.Type.WellKnownType well_known = 5;
- Parameters:
value
- The enum numeric value on the wire for wellKnown to set.- Returns:
- This builder for chaining.
-
getWellKnown
public Type.WellKnownType getWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.cel.expr.Type.WellKnownType well_known = 5;
- Specified by:
getWellKnown
in interfaceTypeOrBuilder
- Returns:
- The wellKnown.
-
setWellKnown
public Type.Builder setWellKnown(Type.WellKnownType value)
Well-known protobuf type such as `google.protobuf.Timestamp`.
.cel.expr.Type.WellKnownType well_known = 5;
- Parameters:
value
- The wellKnown to set.- Returns:
- This builder for chaining.
-
clearWellKnown
public Type.Builder clearWellKnown()
Well-known protobuf type such as `google.protobuf.Timestamp`.
.cel.expr.Type.WellKnownType well_known = 5;
- Returns:
- This builder for chaining.
-
hasListType
public boolean hasListType()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
- Specified by:
hasListType
in interfaceTypeOrBuilder
- Returns:
- Whether the listType field is set.
-
getListType
public Type.ListType getListType()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
- Specified by:
getListType
in interfaceTypeOrBuilder
- Returns:
- The listType.
-
setListType
public Type.Builder setListType(Type.ListType value)
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
-
setListType
public Type.Builder setListType(Type.ListType.Builder builderForValue)
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
-
mergeListType
public Type.Builder mergeListType(Type.ListType value)
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
-
clearListType
public Type.Builder clearListType()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
-
getListTypeBuilder
public Type.ListType.Builder getListTypeBuilder()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
-
getListTypeOrBuilder
public Type.ListTypeOrBuilder getListTypeOrBuilder()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
- Specified by:
getListTypeOrBuilder
in interfaceTypeOrBuilder
-
getListTypeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type.ListType,Type.ListType.Builder,Type.ListTypeOrBuilder> getListTypeFieldBuilder()
Parameterized list with elements of `list_type`, e.g. `list<timestamp>`.
.cel.expr.Type.ListType list_type = 6;
-
hasMapType
public boolean hasMapType()
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
- Specified by:
hasMapType
in interfaceTypeOrBuilder
- Returns:
- Whether the mapType field is set.
-
getMapType
public Type.MapType getMapType()
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
- Specified by:
getMapType
in interfaceTypeOrBuilder
- Returns:
- The mapType.
-
setMapType
public Type.Builder setMapType(Type.MapType value)
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
-
setMapType
public Type.Builder setMapType(Type.MapType.Builder builderForValue)
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
-
mergeMapType
public Type.Builder mergeMapType(Type.MapType value)
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
-
clearMapType
public Type.Builder clearMapType()
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
-
getMapTypeBuilder
public Type.MapType.Builder getMapTypeBuilder()
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
-
getMapTypeOrBuilder
public Type.MapTypeOrBuilder getMapTypeOrBuilder()
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
- Specified by:
getMapTypeOrBuilder
in interfaceTypeOrBuilder
-
getMapTypeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type.MapType,Type.MapType.Builder,Type.MapTypeOrBuilder> getMapTypeFieldBuilder()
Parameterized map with typed keys and values.
.cel.expr.Type.MapType map_type = 7;
-
hasFunction
public boolean hasFunction()
Function type.
.cel.expr.Type.FunctionType function = 8;
- Specified by:
hasFunction
in interfaceTypeOrBuilder
- Returns:
- Whether the function field is set.
-
getFunction
public Type.FunctionType getFunction()
Function type.
.cel.expr.Type.FunctionType function = 8;
- Specified by:
getFunction
in interfaceTypeOrBuilder
- Returns:
- The function.
-
setFunction
public Type.Builder setFunction(Type.FunctionType value)
Function type.
.cel.expr.Type.FunctionType function = 8;
-
setFunction
public Type.Builder setFunction(Type.FunctionType.Builder builderForValue)
Function type.
.cel.expr.Type.FunctionType function = 8;
-
mergeFunction
public Type.Builder mergeFunction(Type.FunctionType value)
Function type.
.cel.expr.Type.FunctionType function = 8;
-
clearFunction
public Type.Builder clearFunction()
Function type.
.cel.expr.Type.FunctionType function = 8;
-
getFunctionBuilder
public Type.FunctionType.Builder getFunctionBuilder()
Function type.
.cel.expr.Type.FunctionType function = 8;
-
getFunctionOrBuilder
public Type.FunctionTypeOrBuilder getFunctionOrBuilder()
Function type.
.cel.expr.Type.FunctionType function = 8;
- Specified by:
getFunctionOrBuilder
in interfaceTypeOrBuilder
-
getFunctionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type.FunctionType,Type.FunctionType.Builder,Type.FunctionTypeOrBuilder> getFunctionFieldBuilder()
Function type.
.cel.expr.Type.FunctionType function = 8;
-
hasMessageType
public boolean hasMessageType()
Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.type.PhoneNumber`.
string message_type = 9;
- Specified by:
hasMessageType
in interfaceTypeOrBuilder
- Returns:
- Whether the messageType field is set.
-
getMessageType
public java.lang.String getMessageType()
Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.type.PhoneNumber`.
string message_type = 9;
- Specified by:
getMessageType
in interfaceTypeOrBuilder
- Returns:
- The messageType.
-
getMessageTypeBytes
public com.google.protobuf.ByteString getMessageTypeBytes()
Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.type.PhoneNumber`.
string message_type = 9;
- Specified by:
getMessageTypeBytes
in interfaceTypeOrBuilder
- Returns:
- The bytes for messageType.
-
setMessageType
public Type.Builder setMessageType(java.lang.String value)
Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.type.PhoneNumber`.
string message_type = 9;
- Parameters:
value
- The messageType to set.- Returns:
- This builder for chaining.
-
clearMessageType
public Type.Builder clearMessageType()
Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.type.PhoneNumber`.
string message_type = 9;
- Returns:
- This builder for chaining.
-
setMessageTypeBytes
public Type.Builder setMessageTypeBytes(com.google.protobuf.ByteString value)
Protocol buffer message type. The `message_type` string specifies the qualified message type name. For example, `google.type.PhoneNumber`.
string message_type = 9;
- Parameters:
value
- The bytes for messageType to set.- Returns:
- This builder for chaining.
-
hasTypeParam
public 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;
- Specified by:
hasTypeParam
in interfaceTypeOrBuilder
- Returns:
- Whether the typeParam field is set.
-
getTypeParam
public 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;
- Specified by:
getTypeParam
in interfaceTypeOrBuilder
- Returns:
- The typeParam.
-
getTypeParamBytes
public 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;
- Specified by:
getTypeParamBytes
in interfaceTypeOrBuilder
- Returns:
- The bytes for typeParam.
-
setTypeParam
public Type.Builder setTypeParam(java.lang.String value)
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;
- Parameters:
value
- The typeParam to set.- Returns:
- This builder for chaining.
-
clearTypeParam
public Type.Builder clearTypeParam()
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:
- This builder for chaining.
-
setTypeParamBytes
public Type.Builder setTypeParamBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for typeParam to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
- Specified by:
hasType
in interfaceTypeOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public Type getType()
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
- Specified by:
getType
in interfaceTypeOrBuilder
- Returns:
- The type.
-
setType
public Type.Builder setType(Type value)
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
-
setType
public Type.Builder setType(Type.Builder builderForValue)
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
-
mergeType
public Type.Builder mergeType(Type value)
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
-
clearType
public Type.Builder clearType()
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
-
getTypeBuilder
public Type.Builder getTypeBuilder()
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
-
getTypeOrBuilder
public TypeOrBuilder getTypeOrBuilder()
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
- Specified by:
getTypeOrBuilder
in interfaceTypeOrBuilder
-
getTypeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type,Type.Builder,TypeOrBuilder> getTypeFieldBuilder()
Type type. The `type` value specifies the target type. e.g. int is type with a target type of `Primitive.INT64`.
.cel.expr.Type type = 11;
-
hasError
public 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;
- Specified by:
hasError
in interfaceTypeOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public 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;
- Specified by:
getError
in interfaceTypeOrBuilder
- Returns:
- The error.
-
setError
public Type.Builder setError(com.google.protobuf.Empty value)
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;
-
setError
public Type.Builder setError(com.google.protobuf.Empty.Builder builderForValue)
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;
-
mergeError
public Type.Builder mergeError(com.google.protobuf.Empty value)
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;
-
clearError
public Type.Builder clearError()
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;
-
getErrorBuilder
public com.google.protobuf.Empty.Builder getErrorBuilder()
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
public 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;
- Specified by:
getErrorOrBuilder
in interfaceTypeOrBuilder
-
getErrorFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Empty,com.google.protobuf.Empty.Builder,com.google.protobuf.EmptyOrBuilder> getErrorFieldBuilder()
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
public boolean hasAbstractType()
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
- Specified by:
hasAbstractType
in interfaceTypeOrBuilder
- Returns:
- Whether the abstractType field is set.
-
getAbstractType
public Type.AbstractType getAbstractType()
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
- Specified by:
getAbstractType
in interfaceTypeOrBuilder
- Returns:
- The abstractType.
-
setAbstractType
public Type.Builder setAbstractType(Type.AbstractType value)
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
-
setAbstractType
public Type.Builder setAbstractType(Type.AbstractType.Builder builderForValue)
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
-
mergeAbstractType
public Type.Builder mergeAbstractType(Type.AbstractType value)
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
-
clearAbstractType
public Type.Builder clearAbstractType()
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
-
getAbstractTypeBuilder
public Type.AbstractType.Builder getAbstractTypeBuilder()
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
-
getAbstractTypeOrBuilder
public Type.AbstractTypeOrBuilder getAbstractTypeOrBuilder()
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
- Specified by:
getAbstractTypeOrBuilder
in interfaceTypeOrBuilder
-
getAbstractTypeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Type.AbstractType,Type.AbstractType.Builder,Type.AbstractTypeOrBuilder> getAbstractTypeFieldBuilder()
Abstract, application defined type. An abstract type has no accessible field names, and it can only be inspected via helper / member functions.
.cel.expr.Type.AbstractType abstract_type = 14;
-
-