Package com.google.cloud.aiplatform.v1
Interface MetricxSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricxSpec,MetricxSpec.Builder
@Generated
public interface MetricxSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Required.intRequired.booleanRequired.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
-
hasVersion
boolean hasVersion()Required. Which version to use for evaluation.
optional .google.cloud.aiplatform.v1.MetricxSpec.MetricxVersion version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the version field is set.
-
getVersionValue
int getVersionValue()Required. Which version to use for evaluation.
optional .google.cloud.aiplatform.v1.MetricxSpec.MetricxVersion version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for version.
-
getVersion
MetricxSpec.MetricxVersion getVersion()Required. Which version to use for evaluation.
optional .google.cloud.aiplatform.v1.MetricxSpec.MetricxVersion version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The version.
-
getSourceLanguage
String getSourceLanguage()Optional. Source language in BCP-47 format.
string source_language = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sourceLanguage.
-
getSourceLanguageBytes
com.google.protobuf.ByteString getSourceLanguageBytes()Optional. Source language in BCP-47 format.
string source_language = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for sourceLanguage.
-
getTargetLanguage
String getTargetLanguage()Optional. Target language in BCP-47 format. Covers both prediction and reference.
string target_language = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The targetLanguage.
-
getTargetLanguageBytes
com.google.protobuf.ByteString getTargetLanguageBytes()Optional. Target language in BCP-47 format. Covers both prediction and reference.
string target_language = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for targetLanguage.
-