Interface ExportTestCasesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExportTestCasesRequest
,ExportTestCasesRequest.Builder
public interface ExportTestCasesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExportTestCasesRequest.DataFormat
getDataFormat()
The data format of the exported test cases.int
getDataFormatValue()
The data format of the exported test cases.ExportTestCasesRequest.DestinationCase
getDestinationCase()
String
getFilter()
The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160).com.google.protobuf.ByteString
getFilterBytes()
The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160).String
getGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to.com.google.protobuf.ByteString
getGcsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasGcsUri
boolean hasGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;
- Returns:
- Whether the gcsUri field is set.
-
getGcsUri
String getGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;
- Returns:
- The gcsUri.
-
getGcsUriBytes
com.google.protobuf.ByteString getGcsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;
- Returns:
- The bytes for gcsUri.
-
getDataFormatValue
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:
- The enum numeric value on the wire for dataFormat.
-
getDataFormat
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:
- The dataFormat.
-
getFilter
String getFilter()
The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160). 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:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()
The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160). 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:
- The bytes for filter.
-
getDestinationCase
ExportTestCasesRequest.DestinationCase getDestinationCase()
-
-