Interface Guardrail.SupervisorOrBuilder (0.19.0)

public static interface Guardrail.SupervisorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectionMode()

public abstract Guardrail.Supervisor.DetectionMode getDetectionMode()

Optional. The detection mode of the supervisor.

.google.cloud.ces.v1beta.Guardrail.Supervisor.DetectionMode detection_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Guardrail.Supervisor.DetectionMode

The detectionMode.

getDetectionModeValue()

public abstract int getDetectionModeValue()

Optional. The detection mode of the supervisor.

.google.cloud.ces.v1beta.Guardrail.Supervisor.DetectionMode detection_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for detectionMode.

getType()

public abstract Guardrail.Supervisor.Type getType()

Optional. The type of the supervisor.

.google.cloud.ces.v1beta.Guardrail.Supervisor.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Guardrail.Supervisor.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Optional. The type of the supervisor.

.google.cloud.ces.v1beta.Guardrail.Supervisor.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.