Package ai.wanaku.core.exchange.v1
Interface CodeExecutionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CodeExecutionRequest,CodeExecutionRequest.Builder
@Generated
public interface CodeExecutionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsArguments(String key) * Optional map of execution arguments.boolean* Optional map of environment variables.Deprecated.int* Optional map of execution arguments.* Optional map of execution arguments.getArgumentsOrDefault(String key, String defaultValue) * Optional map of execution arguments.* Optional map of execution arguments.getBody()* The request body content.com.google.protobuf.ByteString* The request body content.getCode()* The source code to execute as a text blob.com.google.protobuf.ByteString* The source code to execute as a text blob.* Optional URI reference to configuration data.com.google.protobuf.ByteString* Optional URI reference to configuration data.Deprecated.int* Optional map of environment variables.* Optional map of environment variables.getEnvironmentOrDefault(String key, String defaultValue) * Optional map of environment variables.* Optional map of environment variables.* Optional URI reference to secrets data.com.google.protobuf.ByteString* Optional URI reference to secrets data.long* Optional timeout in milliseconds.getUri()* The URI identifying the code execution capability.com.google.protobuf.ByteString* The URI identifying the code execution capability.boolean* Optional timeout in milliseconds.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
-
getUri
String getUri()* The URI identifying the code execution capability. Format: code-execution-engine://${engine-type}/${language}string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()* The URI identifying the code execution capability. Format: code-execution-engine://${engine-type}/${language}string uri = 1;- Returns:
- The bytes for uri.
-
getBody
String getBody()* The request body content.
string body = 2;- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()* The request body content.
string body = 2;- Returns:
- The bytes for body.
-
getCode
String getCode()* The source code to execute as a text blob. This field contains the actual code that will be executed by the engine.
string code = 3;- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()* The source code to execute as a text blob. This field contains the actual code that will be executed by the engine.
string code = 3;- Returns:
- The bytes for code.
-
getArgumentsCount
int getArgumentsCount()* Optional map of execution arguments. These are command-line arguments or parameters passed to the code execution. Key-value pairs where both key and value are strings.
map<string, string> arguments = 4; -
containsArguments
* Optional map of execution arguments. These are command-line arguments or parameters passed to the code execution. Key-value pairs where both key and value are strings.
map<string, string> arguments = 4; -
getArguments
Deprecated.UsegetArgumentsMap()instead. -
getArgumentsMap
* Optional map of execution arguments. These are command-line arguments or parameters passed to the code execution. Key-value pairs where both key and value are strings.
map<string, string> arguments = 4; -
getArgumentsOrDefault
* Optional map of execution arguments. These are command-line arguments or parameters passed to the code execution. Key-value pairs where both key and value are strings.
map<string, string> arguments = 4; -
getArgumentsOrThrow
* Optional map of execution arguments. These are command-line arguments or parameters passed to the code execution. Key-value pairs where both key and value are strings.
map<string, string> arguments = 4; -
getConfigurationUri
String getConfigurationUri()* Optional URI reference to configuration data. Used to provide additional configuration for the execution environment.
string configuration_uri = 5;- Returns:
- The configurationUri.
-
getConfigurationUriBytes
com.google.protobuf.ByteString getConfigurationUriBytes()* Optional URI reference to configuration data. Used to provide additional configuration for the execution environment.
string configuration_uri = 5;- Returns:
- The bytes for configurationUri.
-
getSecretsUri
String getSecretsUri()* Optional URI reference to secrets data. Used to provide secure credentials or sensitive data needed for execution.
string secrets_uri = 6;- Returns:
- The secretsUri.
-
getSecretsUriBytes
com.google.protobuf.ByteString getSecretsUriBytes()* Optional URI reference to secrets data. Used to provide secure credentials or sensitive data needed for execution.
string secrets_uri = 6;- Returns:
- The bytes for secretsUri.
-
hasTimeout
boolean hasTimeout()* Optional timeout in milliseconds. Maximum time allowed for code execution before termination. If not specified, a default timeout will be applied.
optional int64 timeout = 7;- Returns:
- Whether the timeout field is set.
-
getTimeout
long getTimeout()* Optional timeout in milliseconds. Maximum time allowed for code execution before termination. If not specified, a default timeout will be applied.
optional int64 timeout = 7;- Returns:
- The timeout.
-
getEnvironmentCount
int getEnvironmentCount()* Optional map of environment variables. These environment variables will be set in the execution context.
map<string, string> environment = 8; -
containsEnvironment
* Optional map of environment variables. These environment variables will be set in the execution context.
map<string, string> environment = 8; -
getEnvironment
Deprecated.UsegetEnvironmentMap()instead. -
getEnvironmentMap
* Optional map of environment variables. These environment variables will be set in the execution context.
map<string, string> environment = 8; -
getEnvironmentOrDefault
* Optional map of environment variables. These environment variables will be set in the execution context.
map<string, string> environment = 8; -
getEnvironmentOrThrow
* Optional map of environment variables. These environment variables will be set in the execution context.
map<string, string> environment = 8;
-