Interface SafetyInputOrBuilder (3.44.0)

public interface SafetyInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract SafetyInstance getInstance()

Required. Safety instance.

.google.cloud.aiplatform.v1beta1.SafetyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SafetyInstance

The instance.

getInstanceOrBuilder()

public abstract SafetyInstanceOrBuilder getInstanceOrBuilder()

Required. Safety instance.

.google.cloud.aiplatform.v1beta1.SafetyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SafetyInstanceOrBuilder

getMetricSpec()

public abstract SafetySpec getMetricSpec()

Required. Spec for safety metric.

.google.cloud.aiplatform.v1beta1.SafetySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SafetySpec

The metricSpec.

getMetricSpecOrBuilder()

public abstract SafetySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for safety metric.

.google.cloud.aiplatform.v1beta1.SafetySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SafetySpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Safety instance.

.google.cloud.aiplatform.v1beta1.SafetyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public abstract boolean hasMetricSpec()

Required. Spec for safety metric.

.google.cloud.aiplatform.v1beta1.SafetySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.