Package ai.pipestream.data.v1
Class StepExecutionRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StepExecutionRecord.Builder>
com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
ai.pipestream.data.v1.StepExecutionRecord.Builder
- All Implemented Interfaces:
StepExecutionRecordOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
StepExecutionRecord
public static final class StepExecutionRecord.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
implements StepExecutionRecordOrBuilder
Execution record for a single pipeline processing step. Tracks the execution details, timing, status, and any errors for a step.Protobuf type
ai.pipestream.data.v1.StepExecutionRecord-
Method Summary
Modifier and TypeMethodDescriptionaddAllProcessorLogs(Iterable<String> values) Logs from the processor for this step's execution.addProcessorLogs(String value) Logs from the processor for this step's execution.addProcessorLogsBytes(com.google.protobuf.ByteString value) Logs from the processor for this step's execution.build()clear()Target step name if status is "DISPATCH_FAILURE".Timestamp when step processing ended.Error information if status is "FAILURE".Sequential hop number for this step in the processing stream.Logs from the processor for this step's execution.Identifier of the service instance/pod that executed the step.Timestamp when step processing began.Execution outcome status.Name of the pipeline step configuration that was executed.Target step name if status is "DISPATCH_FAILURE".com.google.protobuf.ByteStringTarget step name if status is "DISPATCH_FAILURE".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTimestamp when step processing ended.com.google.protobuf.Timestamp.BuilderTimestamp when step processing ended.com.google.protobuf.TimestampOrBuilderTimestamp when step processing ended.Error information if status is "FAILURE".Error information if status is "FAILURE".Error information if status is "FAILURE".longSequential hop number for this step in the processing stream.getProcessorLogs(int index) Logs from the processor for this step's execution.com.google.protobuf.ByteStringgetProcessorLogsBytes(int index) Logs from the processor for this step's execution.intLogs from the processor for this step's execution.com.google.protobuf.ProtocolStringListLogs from the processor for this step's execution.Identifier of the service instance/pod that executed the step.com.google.protobuf.ByteStringIdentifier of the service instance/pod that executed the step.com.google.protobuf.TimestampTimestamp when step processing began.com.google.protobuf.Timestamp.BuilderTimestamp when step processing began.com.google.protobuf.TimestampOrBuilderTimestamp when step processing began.Execution outcome status.com.google.protobuf.ByteStringExecution outcome status.Name of the pipeline step configuration that was executed.com.google.protobuf.ByteStringName of the pipeline step configuration that was executed.booleanTarget step name if status is "DISPATCH_FAILURE".booleanTimestamp when step processing ended.booleanError information if status is "FAILURE".booleanIdentifier of the service instance/pod that executed the step.booleanTimestamp when step processing began.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Timestamp when step processing ended.mergeErrorInfo(ErrorData value) Error information if status is "FAILURE".mergeFrom(StepExecutionRecord other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Timestamp when step processing began.setAttemptedTargetStepName(String value) Target step name if status is "DISPATCH_FAILURE".setAttemptedTargetStepNameBytes(com.google.protobuf.ByteString value) Target step name if status is "DISPATCH_FAILURE".setEndTime(com.google.protobuf.Timestamp value) Timestamp when step processing ended.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when step processing ended.setErrorInfo(ErrorData value) Error information if status is "FAILURE".setErrorInfo(ErrorData.Builder builderForValue) Error information if status is "FAILURE".setHopNumber(long value) Sequential hop number for this step in the processing stream.setProcessorLogs(int index, String value) Logs from the processor for this step's execution.setServiceInstanceId(String value) Identifier of the service instance/pod that executed the step.setServiceInstanceIdBytes(com.google.protobuf.ByteString value) Identifier of the service instance/pod that executed the step.setStartTime(com.google.protobuf.Timestamp value) Timestamp when step processing began.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when step processing began.Execution outcome status.setStatusBytes(com.google.protobuf.ByteString value) Execution outcome status.setStepName(String value) Name of the pipeline step configuration that was executed.setStepNameBytes(com.google.protobuf.ByteString value) Name of the pipeline step configuration that was executed.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<StepExecutionRecord.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<StepExecutionRecord.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<StepExecutionRecord.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<StepExecutionRecord.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StepExecutionRecord.Builder>
-
mergeFrom
public StepExecutionRecord.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<StepExecutionRecord.Builder>- Throws:
IOException
-
getHopNumber
public long getHopNumber()Sequential hop number for this step in the processing stream.
int64 hop_number = 1 [json_name = "hopNumber"];- Specified by:
getHopNumberin interfaceStepExecutionRecordOrBuilder- Returns:
- The hopNumber.
-
setHopNumber
Sequential hop number for this step in the processing stream.
int64 hop_number = 1 [json_name = "hopNumber"];- Parameters:
value- The hopNumber to set.- Returns:
- This builder for chaining.
-
clearHopNumber
Sequential hop number for this step in the processing stream.
int64 hop_number = 1 [json_name = "hopNumber"];- Returns:
- This builder for chaining.
-
getStepName
Name of the pipeline step configuration that was executed.
string step_name = 2 [json_name = "stepName"];- Specified by:
getStepNamein interfaceStepExecutionRecordOrBuilder- Returns:
- The stepName.
-
getStepNameBytes
public com.google.protobuf.ByteString getStepNameBytes()Name of the pipeline step configuration that was executed.
string step_name = 2 [json_name = "stepName"];- Specified by:
getStepNameBytesin interfaceStepExecutionRecordOrBuilder- Returns:
- The bytes for stepName.
-
setStepName
Name of the pipeline step configuration that was executed.
string step_name = 2 [json_name = "stepName"];- Parameters:
value- The stepName to set.- Returns:
- This builder for chaining.
-
clearStepName
Name of the pipeline step configuration that was executed.
string step_name = 2 [json_name = "stepName"];- Returns:
- This builder for chaining.
-
setStepNameBytes
Name of the pipeline step configuration that was executed.
string step_name = 2 [json_name = "stepName"];- Parameters:
value- The bytes for stepName to set.- Returns:
- This builder for chaining.
-
hasServiceInstanceId
public boolean hasServiceInstanceId()Identifier of the service instance/pod that executed the step.
optional string service_instance_id = 3 [json_name = "serviceInstanceId"];- Specified by:
hasServiceInstanceIdin interfaceStepExecutionRecordOrBuilder- Returns:
- Whether the serviceInstanceId field is set.
-
getServiceInstanceId
Identifier of the service instance/pod that executed the step.
optional string service_instance_id = 3 [json_name = "serviceInstanceId"];- Specified by:
getServiceInstanceIdin interfaceStepExecutionRecordOrBuilder- Returns:
- The serviceInstanceId.
-
getServiceInstanceIdBytes
public com.google.protobuf.ByteString getServiceInstanceIdBytes()Identifier of the service instance/pod that executed the step.
optional string service_instance_id = 3 [json_name = "serviceInstanceId"];- Specified by:
getServiceInstanceIdBytesin interfaceStepExecutionRecordOrBuilder- Returns:
- The bytes for serviceInstanceId.
-
setServiceInstanceId
Identifier of the service instance/pod that executed the step.
optional string service_instance_id = 3 [json_name = "serviceInstanceId"];- Parameters:
value- The serviceInstanceId to set.- Returns:
- This builder for chaining.
-
clearServiceInstanceId
Identifier of the service instance/pod that executed the step.
optional string service_instance_id = 3 [json_name = "serviceInstanceId"];- Returns:
- This builder for chaining.
-
setServiceInstanceIdBytes
Identifier of the service instance/pod that executed the step.
optional string service_instance_id = 3 [json_name = "serviceInstanceId"];- Parameters:
value- The bytes for serviceInstanceId to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];- Specified by:
hasStartTimein interfaceStepExecutionRecordOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];- Specified by:
getStartTimein interfaceStepExecutionRecordOrBuilder- Returns:
- The startTime.
-
setStartTime
Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"]; -
setStartTime
public StepExecutionRecord.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"]; -
mergeStartTime
Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"]; -
clearStartTime
Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Timestamp when step processing began.
.google.protobuf.Timestamp start_time = 4 [json_name = "startTime"];- Specified by:
getStartTimeOrBuilderin interfaceStepExecutionRecordOrBuilder
-
hasEndTime
public boolean hasEndTime()Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];- Specified by:
hasEndTimein interfaceStepExecutionRecordOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];- Specified by:
getEndTimein interfaceStepExecutionRecordOrBuilder- Returns:
- The endTime.
-
setEndTime
Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"]; -
setEndTime
public StepExecutionRecord.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"]; -
mergeEndTime
Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"]; -
clearEndTime
Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Timestamp when step processing ended.
.google.protobuf.Timestamp end_time = 5 [json_name = "endTime"];- Specified by:
getEndTimeOrBuilderin interfaceStepExecutionRecordOrBuilder
-
getStatus
Execution outcome status. Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
string status = 6 [json_name = "status"];- Specified by:
getStatusin interfaceStepExecutionRecordOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Execution outcome status. Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
string status = 6 [json_name = "status"];- Specified by:
getStatusBytesin interfaceStepExecutionRecordOrBuilder- Returns:
- The bytes for status.
-
setStatus
Execution outcome status. Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
string status = 6 [json_name = "status"];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Execution outcome status. Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
string status = 6 [json_name = "status"];- Returns:
- This builder for chaining.
-
setStatusBytes
Execution outcome status. Expected values: "SUCCESS", "FAILURE", "SKIPPED", "RETRYING", "DISPATCH_FAILURE"
string status = 6 [json_name = "status"];- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
getProcessorLogsList
public com.google.protobuf.ProtocolStringList getProcessorLogsList()Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Specified by:
getProcessorLogsListin interfaceStepExecutionRecordOrBuilder- Returns:
- A list containing the processorLogs.
-
getProcessorLogsCount
public int getProcessorLogsCount()Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Specified by:
getProcessorLogsCountin interfaceStepExecutionRecordOrBuilder- Returns:
- The count of processorLogs.
-
getProcessorLogs
Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Specified by:
getProcessorLogsin interfaceStepExecutionRecordOrBuilder- 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) Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Specified by:
getProcessorLogsBytesin interfaceStepExecutionRecordOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the processorLogs at the given index.
-
setProcessorLogs
Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Parameters:
index- The index to set the value at.value- The processorLogs to set.- Returns:
- This builder for chaining.
-
addProcessorLogs
Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Parameters:
value- The processorLogs to add.- Returns:
- This builder for chaining.
-
addAllProcessorLogs
Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Parameters:
values- The processorLogs to add.- Returns:
- This builder for chaining.
-
clearProcessorLogs
Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Returns:
- This builder for chaining.
-
addProcessorLogsBytes
Logs from the processor for this step's execution.
repeated string processor_logs = 7 [json_name = "processorLogs"];- Parameters:
value- The bytes of the processorLogs to add.- Returns:
- This builder for chaining.
-
hasErrorInfo
public boolean hasErrorInfo()Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];- Specified by:
hasErrorInfoin interfaceStepExecutionRecordOrBuilder- Returns:
- Whether the errorInfo field is set.
-
getErrorInfo
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];- Specified by:
getErrorInfoin interfaceStepExecutionRecordOrBuilder- Returns:
- The errorInfo.
-
setErrorInfo
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"]; -
setErrorInfo
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"]; -
mergeErrorInfo
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"]; -
clearErrorInfo
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"]; -
getErrorInfoBuilder
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"]; -
getErrorInfoOrBuilder
Error information if status is "FAILURE".
optional .ai.pipestream.data.v1.ErrorData error_info = 8 [json_name = "errorInfo"];- Specified by:
getErrorInfoOrBuilderin interfaceStepExecutionRecordOrBuilder
-
hasAttemptedTargetStepName
public boolean hasAttemptedTargetStepName()Target step name if status is "DISPATCH_FAILURE".
optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];- Specified by:
hasAttemptedTargetStepNamein interfaceStepExecutionRecordOrBuilder- Returns:
- Whether the attemptedTargetStepName field is set.
-
getAttemptedTargetStepName
Target step name if status is "DISPATCH_FAILURE".
optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];- Specified by:
getAttemptedTargetStepNamein interfaceStepExecutionRecordOrBuilder- Returns:
- The attemptedTargetStepName.
-
getAttemptedTargetStepNameBytes
public com.google.protobuf.ByteString getAttemptedTargetStepNameBytes()Target step name if status is "DISPATCH_FAILURE".
optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];- Specified by:
getAttemptedTargetStepNameBytesin interfaceStepExecutionRecordOrBuilder- Returns:
- The bytes for attemptedTargetStepName.
-
setAttemptedTargetStepName
Target step name if status is "DISPATCH_FAILURE".
optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];- Parameters:
value- The attemptedTargetStepName to set.- Returns:
- This builder for chaining.
-
clearAttemptedTargetStepName
Target step name if status is "DISPATCH_FAILURE".
optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];- Returns:
- This builder for chaining.
-
setAttemptedTargetStepNameBytes
public StepExecutionRecord.Builder setAttemptedTargetStepNameBytes(com.google.protobuf.ByteString value) Target step name if status is "DISPATCH_FAILURE".
optional string attempted_target_step_name = 9 [json_name = "attemptedTargetStepName"];- Parameters:
value- The bytes for attemptedTargetStepName to set.- Returns:
- This builder for chaining.
-