Interface ExportTestCasesRequestOrBuilder (0.55.0)

public interface ExportTestCasesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataFormat()

public abstract ExportTestCasesRequest.DataFormat getDataFormat()

The data format of the exported test cases. If not specified, BLOB is assumed.

.google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest.DataFormat data_format = 3;

Returns
Type Description
ExportTestCasesRequest.DataFormat

The dataFormat.

getDataFormatValue()

public abstract int getDataFormatValue()

The data format of the exported test cases. If not specified, BLOB is assumed.

.google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest.DataFormat data_format = 3;

Returns
Type Description
int

The enum numeric value on the wire for dataFormat.

getDestinationCase()

public abstract ExportTestCasesRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportTestCasesRequest.DestinationCase

getFilter()

public abstract String getFilter()

The filter expression used to filter exported test cases, see API Filtering. The expression is case insensitive and supports the following syntax:

name = <value> [OR name = <value>] ...

For example:

  • "name = t1 OR name = t2" matches the test case with the exact resource name "t1" or "t2".

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public abstract ByteString getFilterBytes()

The filter expression used to filter exported test cases, see API Filtering. The expression is case insensitive and supports the following syntax:

name = <value> [OR name = <value>] ...

For example:

  • "name = t1 OR name = t2" matches the test case with the exact resource name "t1" or "t2".

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getGcsUri()

public abstract String getGcsUri()

The Google Cloud Storage URI to export the test cases to. The format of this URI must be gs://<bucket-name>/<object-name>. If unspecified, the serialized test cases is returned inline.

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

string gcs_uri = 2;

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public abstract ByteString getGcsUriBytes()

The Google Cloud Storage URI to export the test cases to. The format of this URI must be gs://<bucket-name>/<object-name>. If unspecified, the serialized test cases is returned inline.

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

string gcs_uri = 2;

Returns
Type Description
ByteString

The bytes for gcsUri.

getParent()

public abstract String getParent()

Required. The agent where to export test cases from. 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 where to export test cases from. 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.

hasGcsUri()

public abstract boolean hasGcsUri()

The Google Cloud Storage URI to export the test cases to. The format of this URI must be gs://<bucket-name>/<object-name>. If unspecified, the serialized test cases is returned inline.

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

string gcs_uri = 2;

Returns
Type Description
boolean

Whether the gcsUri field is set.