Package ai.pipestream.data.v1
Class ProcessConfiguration.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ProcessConfiguration.Builder>
com.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.Builder>
ai.pipestream.data.v1.ProcessConfiguration.Builder
- All Implemented Interfaces:
ProcessConfigurationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ProcessConfiguration
public static final class ProcessConfiguration.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.Builder>
implements ProcessConfigurationOrBuilder
Configuration for a processing step instance. Contains the custom JSON configuration and key-value parameters for a module. Used by both graph nodes (in config) and module requests (in module service).Protobuf type
ai.pipestream.data.v1.ProcessConfiguration-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Structured JSON configuration for the module.booleanSimple key-value configuration parameters.Deprecated.intSimple key-value configuration parameters.Simple key-value configuration parameters.getConfigParamsOrDefault(String key, String defaultValue) Simple key-value configuration parameters.Simple key-value configuration parameters.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructStructured JSON configuration for the module.com.google.protobuf.Struct.BuilderStructured JSON configuration for the module.com.google.protobuf.StructOrBuilderStructured JSON configuration for the module.Deprecated.booleanStructured JSON configuration for the module.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ProcessConfiguration other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeJsonConfig(com.google.protobuf.Struct value) Structured JSON configuration for the module.putAllConfigParams(Map<String, String> values) Simple key-value configuration parameters.putConfigParams(String key, String value) Simple key-value configuration parameters.removeConfigParams(String key) Simple key-value configuration parameters.setJsonConfig(com.google.protobuf.Struct value) Structured JSON configuration for the module.setJsonConfig(com.google.protobuf.Struct.Builder builderForValue) Structured JSON configuration for the module.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, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.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.GeneratedMessage.Builder<ProcessConfiguration.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessConfiguration.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProcessConfiguration.Builder>
-
mergeFrom
public ProcessConfiguration.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<ProcessConfiguration.Builder>- Throws:
IOException
-
hasJsonConfig
public boolean hasJsonConfig()Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"];- Specified by:
hasJsonConfigin interfaceProcessConfigurationOrBuilder- Returns:
- Whether the jsonConfig field is set.
-
getJsonConfig
public com.google.protobuf.Struct getJsonConfig()Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"];- Specified by:
getJsonConfigin interfaceProcessConfigurationOrBuilder- Returns:
- The jsonConfig.
-
setJsonConfig
Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"]; -
setJsonConfig
public ProcessConfiguration.Builder setJsonConfig(com.google.protobuf.Struct.Builder builderForValue) Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"]; -
mergeJsonConfig
Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"]; -
clearJsonConfig
Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"]; -
getJsonConfigBuilder
public com.google.protobuf.Struct.Builder getJsonConfigBuilder()Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"]; -
getJsonConfigOrBuilder
public com.google.protobuf.StructOrBuilder getJsonConfigOrBuilder()Structured JSON configuration for the module. This is the primary configuration mechanism for complex module settings. Frontend uses JSONForms with the module's json_config_schema to generate UI.
.google.protobuf.Struct json_config = 1 [json_name = "jsonConfig"];- Specified by:
getJsonConfigOrBuilderin interfaceProcessConfigurationOrBuilder
-
getConfigParamsCount
public int getConfigParamsCount()Description copied from interface:ProcessConfigurationOrBuilderSimple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"];- Specified by:
getConfigParamsCountin interfaceProcessConfigurationOrBuilder
-
containsConfigParams
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"];- Specified by:
containsConfigParamsin interfaceProcessConfigurationOrBuilder
-
getConfigParams
Deprecated.UsegetConfigParamsMap()instead.- Specified by:
getConfigParamsin interfaceProcessConfigurationOrBuilder
-
getConfigParamsMap
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"];- Specified by:
getConfigParamsMapin interfaceProcessConfigurationOrBuilder
-
getConfigParamsOrDefault
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"];- Specified by:
getConfigParamsOrDefaultin interfaceProcessConfigurationOrBuilder
-
getConfigParamsOrThrow
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"];- Specified by:
getConfigParamsOrThrowin interfaceProcessConfigurationOrBuilder
-
clearConfigParams
-
removeConfigParams
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"]; -
getMutableConfigParams
Deprecated.Use alternate mutation accessors instead. -
putConfigParams
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"]; -
putAllConfigParams
Simple key-value configuration parameters. Used for simple overrides, environment-specific values, or when no schema exists. Can be used alongside json_config for runtime parameters.
map<string, string> config_params = 2 [json_name = "configParams"];
-