public interface CometSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getSourceLanguage()
public abstract String getSourceLanguage()Optional. Source language in BCP-47 format.
string source_language = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sourceLanguage. |
getSourceLanguageBytes()
public abstract ByteString getSourceLanguageBytes()Optional. Source language in BCP-47 format.
string source_language = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceLanguage. |
getTargetLanguage()
public abstract String getTargetLanguage()Optional. Target language in BCP-47 format. Covers both prediction and reference.
string target_language = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The targetLanguage. |
getTargetLanguageBytes()
public abstract ByteString getTargetLanguageBytes()Optional. Target language in BCP-47 format. Covers both prediction and reference.
string target_language = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetLanguage. |
getVersion()
public abstract CometSpec.CometVersion getVersion()Required. Which version to use for evaluation.
optional .google.cloud.aiplatform.v1beta1.CometSpec.CometVersion version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CometSpec.CometVersion |
The version. |
getVersionValue()
public abstract int getVersionValue()Required. Which version to use for evaluation.
optional .google.cloud.aiplatform.v1beta1.CometSpec.CometVersion version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for version. |
hasVersion()
public abstract boolean hasVersion()Required. Which version to use for evaluation.
optional .google.cloud.aiplatform.v1beta1.CometSpec.CometVersion version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the version field is set. |