Package ai.pipestream.data.module.v1
Class ProcessDataResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ProcessDataResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<ProcessDataResponse.Builder>
ai.pipestream.data.module.v1.ProcessDataResponse.Builder
- All Implemented Interfaces:
ProcessDataResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ProcessDataResponse
public static final class ProcessDataResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProcessDataResponse.Builder>
implements ProcessDataResponseOrBuilder
Response message for the ProcessData RPC. This is returned by the gRPC Service Implementation back to the engine. Renamed to avoid confusion with engine ProcessResponse.Protobuf type
ai.pipestream.data.module.v1.ProcessDataResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllProcessorLogs(Iterable<String> values) Logging: Logs or summary information generated by this processor step.addProcessorLogs(String value) Logging: Logs or summary information generated by this processor step.addProcessorLogsBytes(com.google.protobuf.ByteString value) Logging: Logs or summary information generated by this processor step.build()clear()Error Details: Structured error information from *this processor* if success is false.Output Data: The modified or newly created PipeDoc.Logging: Logs or summary information generated by this processor step.Outcome: True if this step's processing was successful, false otherwise.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructError Details: Structured error information from *this processor* if success is false.com.google.protobuf.Struct.BuilderError Details: Structured error information from *this processor* if success is false.com.google.protobuf.StructOrBuilderError Details: Structured error information from *this processor* if success is false.Output Data: The modified or newly created PipeDoc.Output Data: The modified or newly created PipeDoc.Output Data: The modified or newly created PipeDoc.getProcessorLogs(int index) Logging: Logs or summary information generated by this processor step.com.google.protobuf.ByteStringgetProcessorLogsBytes(int index) Logging: Logs or summary information generated by this processor step.intLogging: Logs or summary information generated by this processor step.com.google.protobuf.ProtocolStringListLogging: Logs or summary information generated by this processor step.booleanOutcome: True if this step's processing was successful, false otherwise.booleanError Details: Structured error information from *this processor* if success is false.booleanOutput Data: The modified or newly created PipeDoc.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeErrorDetails(com.google.protobuf.Struct value) Error Details: Structured error information from *this processor* if success is false.mergeFrom(ProcessDataResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOutputDoc(PipeDoc value) Output Data: The modified or newly created PipeDoc.setErrorDetails(com.google.protobuf.Struct value) Error Details: Structured error information from *this processor* if success is false.setErrorDetails(com.google.protobuf.Struct.Builder builderForValue) Error Details: Structured error information from *this processor* if success is false.setOutputDoc(PipeDoc value) Output Data: The modified or newly created PipeDoc.setOutputDoc(PipeDoc.Builder builderForValue) Output Data: The modified or newly created PipeDoc.setProcessorLogs(int index, String value) Logging: Logs or summary information generated by this processor step.setSuccess(boolean value) Outcome: True if this step's processing was successful, false otherwise.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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProcessDataResponse.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<ProcessDataResponse.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<ProcessDataResponse.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<ProcessDataResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProcessDataResponse.Builder>
-
mergeFrom
public ProcessDataResponse.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<ProcessDataResponse.Builder>- Throws:
IOException
-
getSuccess
public boolean getSuccess()Outcome: True if this step's processing was successful, false otherwise.
bool success = 1;- Specified by:
getSuccessin interfaceProcessDataResponseOrBuilder- Returns:
- The success.
-
setSuccess
Outcome: True if this step's processing was successful, false otherwise.
bool success = 1;- Parameters:
value- The success to set.- Returns:
- This builder for chaining.
-
clearSuccess
Outcome: True if this step's processing was successful, false otherwise.
bool success = 1;- Returns:
- This builder for chaining.
-
hasOutputDoc
public boolean hasOutputDoc()Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;- Specified by:
hasOutputDocin interfaceProcessDataResponseOrBuilder- Returns:
- Whether the outputDoc field is set.
-
getOutputDoc
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;- Specified by:
getOutputDocin interfaceProcessDataResponseOrBuilder- Returns:
- The outputDoc.
-
setOutputDoc
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2; -
setOutputDoc
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2; -
mergeOutputDoc
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2; -
clearOutputDoc
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2; -
getOutputDocBuilder
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2; -
getOutputDocOrBuilder
Output Data: The modified or newly created PipeDoc. either remains unchanged or that this step does not modify the PipeDoc directly. The Blob is part of the PipeDoc.
optional .ai.pipestream.data.v1.PipeDoc output_doc = 2;- Specified by:
getOutputDocOrBuilderin interfaceProcessDataResponseOrBuilder
-
hasErrorDetails
public boolean hasErrorDetails()Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3;- Specified by:
hasErrorDetailsin interfaceProcessDataResponseOrBuilder- Returns:
- Whether the errorDetails field is set.
-
getErrorDetails
public com.google.protobuf.Struct getErrorDetails()Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3;- Specified by:
getErrorDetailsin interfaceProcessDataResponseOrBuilder- Returns:
- The errorDetails.
-
setErrorDetails
Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3; -
setErrorDetails
public ProcessDataResponse.Builder setErrorDetails(com.google.protobuf.Struct.Builder builderForValue) Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3; -
mergeErrorDetails
Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3; -
clearErrorDetails
Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3; -
getErrorDetailsBuilder
public com.google.protobuf.Struct.Builder getErrorDetailsBuilder()Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3; -
getErrorDetailsOrBuilder
public com.google.protobuf.StructOrBuilder getErrorDetailsOrBuilder()Error Details: Structured error information from *this processor* if success is false. This is for errors specific to the processor's execution logic.
optional .google.protobuf.Struct error_details = 3;- Specified by:
getErrorDetailsOrBuilderin interfaceProcessDataResponseOrBuilder
-
getProcessorLogsList
public com.google.protobuf.ProtocolStringList getProcessorLogsList()Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Specified by:
getProcessorLogsListin interfaceProcessDataResponseOrBuilder- Returns:
- A list containing the processorLogs.
-
getProcessorLogsCount
public int getProcessorLogsCount()Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Specified by:
getProcessorLogsCountin interfaceProcessDataResponseOrBuilder- Returns:
- The count of processorLogs.
-
getProcessorLogs
Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Specified by:
getProcessorLogsin interfaceProcessDataResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The processorLogs at the given index.
-
getProcessorLogsBytes
public com.google.protobuf.ByteString getProcessorLogsBytes(int index) Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Specified by:
getProcessorLogsBytesin interfaceProcessDataResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the processorLogs at the given index.
-
setProcessorLogs
Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Parameters:
index- The index to set the value at.value- The processorLogs to set.- Returns:
- This builder for chaining.
-
addProcessorLogs
Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Parameters:
value- The processorLogs to add.- Returns:
- This builder for chaining.
-
addAllProcessorLogs
Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Parameters:
values- The processorLogs to add.- Returns:
- This builder for chaining.
-
clearProcessorLogs
Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Returns:
- This builder for chaining.
-
addProcessorLogsBytes
Logging: Logs or summary information generated by this processor step.
repeated string processor_logs = 4;- Parameters:
value- The bytes of the processorLogs to add.- Returns:
- This builder for chaining.
-