Class ExportTestCasesRequest (0.52.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
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_URI_FIELD_NUMBER

public static final int GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportTestCasesRequest getDefaultInstance()
Returns
TypeDescription
ExportTestCasesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExportTestCasesRequest.Builder newBuilder()
Returns
TypeDescription
ExportTestCasesRequest.Builder

newBuilder(ExportTestCasesRequest prototype)

public static ExportTestCasesRequest.Builder newBuilder(ExportTestCasesRequest prototype)
Parameter
NameDescription
prototypeExportTestCasesRequest
Returns
TypeDescription
ExportTestCasesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ExportTestCasesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportTestCasesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportTestCasesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportTestCasesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportTestCasesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportTestCasesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportTestCasesRequest> parser()
Returns
TypeDescription
Parser<ExportTestCasesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for dataFormat.

getDefaultInstanceForType()

public ExportTestCasesRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportTestCasesRequest

getDestinationCase()

public ExportTestCasesRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<ExportTestCasesRequest> getParserForType()
Returns
TypeDescription
Parser<ExportTestCasesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsUri field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExportTestCasesRequest.Builder newBuilderForType()
Returns
TypeDescription
ExportTestCasesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportTestCasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportTestCasesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExportTestCasesRequest.Builder toBuilder()
Returns
TypeDescription
ExportTestCasesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException