Interface ImportTestCasesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportTestCasesRequest,ImportTestCasesRequest.Builder
@Generated
public interface ImportTestCasesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringUncompressed raw byte content for test cases.The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from.com.google.protobuf.ByteStringThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from.Required.com.google.protobuf.ByteStringRequired.booleanUncompressed raw byte content for test cases.booleanThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The agent to import test cases to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
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()
-