Interface ImportTestCasesRequestOrBuilder (0.12.1)

public interface ImportTestCasesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

Uncompressed raw byte content for test cases.

bytes content = 3;

Returns
Type Description
ByteString

The content.

getGcsUri()

public abstract String getGcsUri()

The Google Cloud Storage 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.

string gcs_uri = 2;

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public abstract ByteString getGcsUriBytes()

The Google Cloud Storage 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.

string gcs_uri = 2;

Returns
Type Description
ByteString

The bytes for gcsUri.

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportTestCasesRequest.SourceCase getSourceCase()
Returns
Type Description
ImportTestCasesRequest.SourceCase

hasContent()

public abstract boolean hasContent()

Uncompressed raw byte content for test cases.

bytes content = 3;

Returns
Type Description
boolean

Whether the content field is set.

hasGcsUri()

public abstract boolean hasGcsUri()

The Google Cloud Storage 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.

string gcs_uri = 2;

Returns
Type Description
boolean

Whether the gcsUri field is set.