public interface ExecutableCodeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCode()
public abstract String getCode()
Required. The code to be executed.
string code = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The code. |
getCodeBytes()
public abstract ByteString getCodeBytes()
Required. The code to be executed.
string code = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for code. |
getLanguage()
public abstract ExecutableCode.Language getLanguage()
Required. Programming language of the code
.
.google.cloud.vertexai.v1.ExecutableCode.Language language = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ExecutableCode.Language |
The language. |
getLanguageValue()
public abstract int getLanguageValue()
Required. Programming language of the code
.
.google.cloud.vertexai.v1.ExecutableCode.Language language = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for language. |