public interface ComputationBasedMetricSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParameters()
public abstract Struct getParameters()Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The parameters. |
getParametersOrBuilder()
public abstract StructOrBuilder getParametersOrBuilder()Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getType()
public abstract ComputationBasedMetricSpec.ComputationBasedMetricType getType()Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputationBasedMetricSpec.ComputationBasedMetricType |
The type. |
getTypeValue()
public abstract int getTypeValue()Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasParameters()
public abstract boolean hasParameters()Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the parameters field is set. |
hasType()
public abstract boolean hasType()Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |