Interface ImportTestCasesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportTestCasesRequest
,ImportTestCasesRequest.Builder
public interface ImportTestCasesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getContent()
Uncompressed raw byte content for test cases.String
getGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from.com.google.protobuf.ByteString
getGcsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.ImportTestCasesRequest.SourceCase
getSourceCase()
boolean
hasContent()
Uncompressed raw byte content for test cases.boolean
hasGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from.-
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 to import test cases to. 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 to import test cases to. 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 import test cases 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](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 import test cases 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](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 import test cases 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;
- Returns:
- The bytes for gcsUri.
-
hasContent
boolean hasContent()
Uncompressed raw byte content for test cases.
bytes content = 3;
- Returns:
- Whether the content field is set.
-
getContent
com.google.protobuf.ByteString getContent()
Uncompressed raw byte content for test cases.
bytes content = 3;
- Returns:
- The content.
-
getSourceCase
ImportTestCasesRequest.SourceCase getSourceCase()
-
-