Interface CreateExampleRequestOrBuilder (0.59.0)

public interface CreateExampleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExample()

public abstract Example getExample()

Required. The example to create.

.google.cloud.dialogflow.cx.v3beta1.Example example = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Example

The example.

getExampleOrBuilder()

public abstract ExampleOrBuilder getExampleOrBuilder()

Required. The example to create.

.google.cloud.dialogflow.cx.v3beta1.Example example = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleOrBuilder

getParent()

public abstract String getParent()

Required. The playbook to create an example for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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 playbook to create an example for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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

Returns
Type Description
ByteString

The bytes for parent.

hasExample()

public abstract boolean hasExample()

Required. The example to create.

.google.cloud.dialogflow.cx.v3beta1.Example example = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the example field is set.