Class ExportTestCasesRequest (0.53.0)

public final class ExportTestCasesRequest extends GeneratedMessageV3 implements ExportTestCasesRequestOrBuilder

The request message for TestCases.ExportTestCases.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest

Static Fields

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

GCS_URI_FIELD_NUMBER

public static final int GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportTestCasesRequest getDefaultInstance()
Returns
Type Description
ExportTestCasesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExportTestCasesRequest.Builder newBuilder()
Returns
Type Description
ExportTestCasesRequest.Builder

newBuilder(ExportTestCasesRequest prototype)

public static ExportTestCasesRequest.Builder newBuilder(ExportTestCasesRequest prototype)
Parameter
Name Description
prototype ExportTestCasesRequest
Returns
Type Description
ExportTestCasesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ExportTestCasesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportTestCasesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportTestCasesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportTestCasesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportTestCasesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportTestCasesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportTestCasesRequest> parser()
Returns
Type Description
Parser<ExportTestCasesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataFormat()

public 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 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.

getDefaultInstanceForType()

public ExportTestCasesRequest getDefaultInstanceForType()
Returns
Type Description
ExportTestCasesRequest

getDestinationCase()

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

getFilter()

public 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 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 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 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 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 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.

getParserForType()

public Parser<ExportTestCasesRequest> getParserForType()
Returns
Type Description
Parser<ExportTestCasesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGcsUri()

public 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportTestCasesRequest.Builder newBuilderForType()
Returns
Type Description
ExportTestCasesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportTestCasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportTestCasesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExportTestCasesRequest.Builder toBuilder()
Returns
Type Description
ExportTestCasesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException