Package ai.pipestream.data.v1
Enum Class MappingType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MappingType>,Constable
@Generated
public enum MappingType
extends Enum<MappingType>
implements com.google.protobuf.ProtocolMessageEnum
Type of field mapping operation.Protobuf enum
ai.pipestream.data.v1.MappingType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCombine multiple source fields into one target.Calculate value using CEL expression.Direct field-to-field copy.Split one source field into multiple targets.Apply transformation function to field.Unspecified mapping type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCombine multiple source fields into one target.static final intCalculate value using CEL expression.static final intDirect field-to-field copy.static final intSplit one source field into multiple targets.static final intApply transformation function to field.static final intUnspecified mapping type. -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MappingType> static MappingTypevalueOf(int value) Deprecated.static MappingTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MappingTypeReturns the enum constant of this class with the specified name.static MappingType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAPPING_TYPE_UNSPECIFIED
Unspecified mapping type.
MAPPING_TYPE_UNSPECIFIED = 0; -
MAPPING_TYPE_DIRECT
Direct field-to-field copy.
MAPPING_TYPE_DIRECT = 1; -
MAPPING_TYPE_TRANSFORM
Apply transformation function to field.
MAPPING_TYPE_TRANSFORM = 2; -
MAPPING_TYPE_AGGREGATE
Combine multiple source fields into one target.
MAPPING_TYPE_AGGREGATE = 3; -
MAPPING_TYPE_SPLIT
Split one source field into multiple targets.
MAPPING_TYPE_SPLIT = 4; -
MAPPING_TYPE_CEL
Calculate value using CEL expression.
MAPPING_TYPE_CEL = 5; -
UNRECOGNIZED
-
-
Field Details
-
MAPPING_TYPE_UNSPECIFIED_VALUE
public static final int MAPPING_TYPE_UNSPECIFIED_VALUEUnspecified mapping type.
MAPPING_TYPE_UNSPECIFIED = 0;- See Also:
-
MAPPING_TYPE_DIRECT_VALUE
public static final int MAPPING_TYPE_DIRECT_VALUEDirect field-to-field copy.
MAPPING_TYPE_DIRECT = 1;- See Also:
-
MAPPING_TYPE_TRANSFORM_VALUE
public static final int MAPPING_TYPE_TRANSFORM_VALUEApply transformation function to field.
MAPPING_TYPE_TRANSFORM = 2;- See Also:
-
MAPPING_TYPE_AGGREGATE_VALUE
public static final int MAPPING_TYPE_AGGREGATE_VALUECombine multiple source fields into one target.
MAPPING_TYPE_AGGREGATE = 3;- See Also:
-
MAPPING_TYPE_SPLIT_VALUE
public static final int MAPPING_TYPE_SPLIT_VALUESplit one source field into multiple targets.
MAPPING_TYPE_SPLIT = 4;- See Also:
-
MAPPING_TYPE_CEL_VALUE
public static final int MAPPING_TYPE_CEL_VALUECalculate value using CEL expression.
MAPPING_TYPE_CEL = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-