Interface CreateGuardrailRequestOrBuilder (0.1.0)

public interface CreateGuardrailRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuardrail()

public abstract Guardrail getGuardrail()

Required. The guardrail to create.

.google.cloud.ces.v1.Guardrail guardrail = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Guardrail

The guardrail.

getGuardrailId()

public abstract String getGuardrailId()

Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.

string guardrail_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The guardrailId.

getGuardrailIdBytes()

public abstract ByteString getGuardrailIdBytes()

Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.

string guardrail_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for guardrailId.

getGuardrailOrBuilder()

public abstract GuardrailOrBuilder getGuardrailOrBuilder()

Required. The guardrail to create.

.google.cloud.ces.v1.Guardrail guardrail = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GuardrailOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the app to create a guardrail in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the app to create a guardrail in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasGuardrail()

public abstract boolean hasGuardrail()

Required. The guardrail to create.

.google.cloud.ces.v1.Guardrail guardrail = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the guardrail field is set.