Interface SafetyInputOrBuilder (3.41.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
TypeDescription
SafetyInstance

The instance.

getInstanceOrBuilder()

public abstract SafetyInstanceOrBuilder getInstanceOrBuilder()

Required. Safety instance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SafetySpecOrBuilder

hasInstance()

public abstract boolean hasInstance()

Required. Safety instance.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metricSpec field is set.