Interface CreateExampleRequestOrBuilder (0.52.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the example field is set.