Interface CodeExecutionReplyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CodeExecutionReply, CodeExecutionReply.Builder
@Generated
public interface CodeExecutionReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetContent(int index) * The execution output content.com.google.protobuf.ByteStringgetContentBytes(int index) * The execution output content.int* The execution output content.* The execution output content.int* Optional exit code from the executed process.* The type of output this reply represents.int* The type of output this reply represents.* The current execution status.int* The current execution status.com.google.protobuf.Timestamp* Optional timestamp when this output was generated.com.google.protobuf.TimestampOrBuilder* Optional timestamp when this output was generated.boolean* Optional exit code from the executed process.boolean* Optional timestamp when this output was generated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getContentList
* The execution output content. For standard output, this contains the stdout data. For errors, this contains the stderr data or error messages. Multiple content strings may be provided for chunked output.
repeated string content = 2;- Returns:
- A list containing the content.
-
getContentCount
int getContentCount()* The execution output content. For standard output, this contains the stdout data. For errors, this contains the stderr data or error messages. Multiple content strings may be provided for chunked output.
repeated string content = 2;- Returns:
- The count of content.
-
getContent
* The execution output content. For standard output, this contains the stdout data. For errors, this contains the stderr data or error messages. Multiple content strings may be provided for chunked output.
repeated string content = 2;- Parameters:
index- The index of the element to return.- Returns:
- The content at the given index.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes(int index) * The execution output content. For standard output, this contains the stdout data. For errors, this contains the stderr data or error messages. Multiple content strings may be provided for chunked output.
repeated string content = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the content at the given index.
-
getOutputTypeValue
int getOutputTypeValue()* The type of output this reply represents. Indicates whether this is stdout, stderr, or a status message.
.ai.wanaku.codeexecution.v1.OutputType output_type = 3;- Returns:
- The enum numeric value on the wire for outputType.
-
getOutputType
OutputType getOutputType()* The type of output this reply represents. Indicates whether this is stdout, stderr, or a status message.
.ai.wanaku.codeexecution.v1.OutputType output_type = 3;- Returns:
- The outputType.
-
getStatusValue
int getStatusValue()* The current execution status. Indicates the state of the code execution task.
.ai.wanaku.codeexecution.v1.ExecutionStatus status = 4;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
ExecutionStatus getStatus()* The current execution status. Indicates the state of the code execution task.
.ai.wanaku.codeexecution.v1.ExecutionStatus status = 4;- Returns:
- The status.
-
hasExitCode
boolean hasExitCode()* Optional exit code from the executed process. Only present in the final message when execution completes. A value of 0 typically indicates successful execution.
optional int32 exit_code = 5;- Returns:
- Whether the exitCode field is set.
-
getExitCode
int getExitCode()* Optional exit code from the executed process. Only present in the final message when execution completes. A value of 0 typically indicates successful execution.
optional int32 exit_code = 5;- Returns:
- The exitCode.
-
hasTimestamp
boolean hasTimestamp()* Optional timestamp when this output was generated.
.google.protobuf.Timestamp timestamp = 6;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()* Optional timestamp when this output was generated.
.google.protobuf.Timestamp timestamp = 6;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()* Optional timestamp when this output was generated.
.google.protobuf.Timestamp timestamp = 6;
-