Interface ImportIntentsRequestOrBuilder (0.42.0)

public interface ImportIntentsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIntentsCase()

public abstract ImportIntentsRequest.IntentsCase getIntentsCase()
Returns
Type Description
ImportIntentsRequest.IntentsCase

getIntentsContent()

public abstract InlineSource getIntentsContent()

Uncompressed byte content of intents.

.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;

Returns
Type Description
InlineSource

The intentsContent.

getIntentsContentOrBuilder()

public abstract InlineSourceOrBuilder getIntentsContentOrBuilder()

Uncompressed byte content of intents.

.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;

Returns
Type Description
InlineSourceOrBuilder

getIntentsUri()

public abstract String getIntentsUri()

The Google Cloud Storage URI to import intents from. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string intents_uri = 2;

Returns
Type Description
String

The intentsUri.

getIntentsUriBytes()

public abstract ByteString getIntentsUriBytes()

The Google Cloud Storage URI to import intents from. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string intents_uri = 2;

Returns
Type Description
ByteString

The bytes for intentsUri.

getMergeOption()

public abstract ImportIntentsRequest.MergeOption getMergeOption()

Merge option for importing intents. If not specified, REJECT is assumed.

.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;

Returns
Type Description
ImportIntentsRequest.MergeOption

The mergeOption.

getMergeOptionValue()

public abstract int getMergeOptionValue()

Merge option for importing intents. If not specified, REJECT is assumed.

.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;

Returns
Type Description
int

The enum numeric value on the wire for mergeOption.

getParent()

public abstract String getParent()

Required. The agent to import the intents into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent 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 agent to import the intents into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
ByteString

The bytes for parent.

hasIntentsContent()

public abstract boolean hasIntentsContent()

Uncompressed byte content of intents.

.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;

Returns
Type Description
boolean

Whether the intentsContent field is set.

hasIntentsUri()

public abstract boolean hasIntentsUri()

The Google Cloud Storage URI to import intents from. The format of this URI must be gs://<bucket-name>/<object-name>.

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string intents_uri = 2;

Returns
Type Description
boolean

Whether the intentsUri field is set.