Package io.substrait.proto
Class Type.Func.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
io.substrait.proto.Type.Func.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Type.FuncOrBuilder,Cloneable
- Enclosing class:
- Type.Func
public static final class Type.Func.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
implements Type.FuncOrBuilder
A function type for higher-order functions. Represents a function that takes parameters of specified types and returns a value of a specified type.Protobuf type
substrait.Type.Func-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameterTypes(Iterable<? extends Type> values) Types of parameters this function type accepts.addParameterTypes(int index, Type value) Types of parameters this function type accepts.addParameterTypes(int index, Type.Builder builderForValue) Types of parameters this function type accepts.addParameterTypes(Type value) Types of parameters this function type accepts.addParameterTypes(Type.Builder builderForValue) Types of parameters this function type accepts.Types of parameters this function type accepts.addParameterTypesBuilder(int index) Types of parameters this function type accepts.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Nullability of the function value itself, not its return type.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Types of parameters this function type accepts.Return type of the function.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorNullability of the function value itself, not its return type.intNullability of the function value itself, not its return type.getParameterTypes(int index) Types of parameters this function type accepts.getParameterTypesBuilder(int index) Types of parameters this function type accepts.Types of parameters this function type accepts.intTypes of parameters this function type accepts.Types of parameters this function type accepts.getParameterTypesOrBuilder(int index) Types of parameters this function type accepts.List<? extends TypeOrBuilder>Types of parameters this function type accepts.Return type of the function.Return type of the function.Return type of the function.booleanReturn type of the function.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeReturnType(Type value) Return type of the function.final Type.Func.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeParameterTypes(int index) Types of parameters this function type accepts.setNullability(Type.Nullability value) Nullability of the function value itself, not its return type.setNullabilityValue(int value) Nullability of the function value itself, not its return type.setParameterTypes(int index, Type value) Types of parameters this function type accepts.setParameterTypes(int index, Type.Builder builderForValue) Types of parameters this function type accepts.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReturnType(Type value) Return type of the function.setReturnType(Type.Builder builderForValue) Return type of the function.final Type.Func.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
setField
public Type.Func.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
setRepeatedField
public Type.Func.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
addRepeatedField
public Type.Func.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Type.Func.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
mergeFrom
public Type.Func.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Type.Func.Builder>- Throws:
IOException
-
getParameterTypesList
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1;- Specified by:
getParameterTypesListin interfaceType.FuncOrBuilder
-
getParameterTypesCount
public int getParameterTypesCount()Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1;- Specified by:
getParameterTypesCountin interfaceType.FuncOrBuilder
-
getParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1;- Specified by:
getParameterTypesin interfaceType.FuncOrBuilder
-
setParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
setParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
addParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
addParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
addParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
addParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
addAllParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
clearParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
removeParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypesBuilder
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypesOrBuilder
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1;- Specified by:
getParameterTypesOrBuilderin interfaceType.FuncOrBuilder
-
getParameterTypesOrBuilderList
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1;- Specified by:
getParameterTypesOrBuilderListin interfaceType.FuncOrBuilder
-
addParameterTypesBuilder
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
addParameterTypesBuilder
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypesBuilderList
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
hasReturnType
public boolean hasReturnType()Return type of the function.
.substrait.Type return_type = 2;- Specified by:
hasReturnTypein interfaceType.FuncOrBuilder- Returns:
- Whether the returnType field is set.
-
getReturnType
Return type of the function.
.substrait.Type return_type = 2;- Specified by:
getReturnTypein interfaceType.FuncOrBuilder- Returns:
- The returnType.
-
setReturnType
Return type of the function.
.substrait.Type return_type = 2; -
setReturnType
Return type of the function.
.substrait.Type return_type = 2; -
mergeReturnType
Return type of the function.
.substrait.Type return_type = 2; -
clearReturnType
Return type of the function.
.substrait.Type return_type = 2; -
getReturnTypeBuilder
Return type of the function.
.substrait.Type return_type = 2; -
getReturnTypeOrBuilder
Return type of the function.
.substrait.Type return_type = 2;- Specified by:
getReturnTypeOrBuilderin interfaceType.FuncOrBuilder
-
getNullabilityValue
public int getNullabilityValue()Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Specified by:
getNullabilityValuein interfaceType.FuncOrBuilder- Returns:
- The enum numeric value on the wire for nullability.
-
setNullabilityValue
Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Parameters:
value- The enum numeric value on the wire for nullability to set.- Returns:
- This builder for chaining.
-
getNullability
Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Specified by:
getNullabilityin interfaceType.FuncOrBuilder- Returns:
- The nullability.
-
setNullability
Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Parameters:
value- The nullability to set.- Returns:
- This builder for chaining.
-
clearNullability
Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-
mergeUnknownFields
public final Type.Func.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Type.Func.Builder>
-