public final class ExportTestCasesRequest extends GeneratedMessageV3 implements ExportTestCasesRequestOrBuilder
The request message for TestCases.ExportTestCases.
Protobuf type google.cloud.dialogflow.cx.v3.ExportTestCasesRequest
Static Fields
public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
GCS_URI_FIELD_NUMBER
public static final int GCS_URI_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ExportTestCasesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ExportTestCasesRequest.Builder newBuilder()
Returns
newBuilder(ExportTestCasesRequest prototype)
public static ExportTestCasesRequest.Builder newBuilder(ExportTestCasesRequest prototype)
Parameter
Returns
public static ExportTestCasesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExportTestCasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ExportTestCasesRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ExportTestCasesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportTestCasesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExportTestCasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportTestCasesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExportTestCasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ExportTestCasesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ExportTestCasesRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ExportTestCasesRequest.DataFormat getDataFormat()
The data format of the exported test cases. If not specified, BLOB
is
assumed.
.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat data_format = 3;
Returns
public int getDataFormatValue()
The data format of the exported test cases. If not specified, BLOB
is
assumed.
.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat data_format = 3;
Returns
Type |
Description |
int |
The enum numeric value on the wire for dataFormat.
|
getDefaultInstanceForType()
public ExportTestCasesRequest getDefaultInstanceForType()
Returns
getDestinationCase()
public ExportTestCasesRequest.DestinationCase getDestinationCase()
Returns
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
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
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
getParserForType()
public Parser<ExportTestCasesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ExportTestCasesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExportTestCasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ExportTestCasesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions