- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ExportTestCasesRequest.Builder extends GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder> implements ExportTestCasesRequestOrBuilder
The request message for TestCases.ExportTestCases.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportTestCasesRequest.BuilderImplements
ExportTestCasesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportTestCasesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
build()
public ExportTestCasesRequest build()
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest |
buildPartial()
public ExportTestCasesRequest buildPartial()
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest |
clear()
public ExportTestCasesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
clearDataFormat()
public ExportTestCasesRequest.Builder clearDataFormat()
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.Builder |
This builder for chaining. |
clearDestination()
public ExportTestCasesRequest.Builder clearDestination()
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExportTestCasesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
clearFilter()
public ExportTestCasesRequest.Builder clearFilter()
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 |
ExportTestCasesRequest.Builder |
This builder for chaining. |
clearGcsUri()
public ExportTestCasesRequest.Builder clearGcsUri()
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 |
ExportTestCasesRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportTestCasesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
clearParent()
public ExportTestCasesRequest.Builder clearParent()
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 |
ExportTestCasesRequest.Builder |
This builder for chaining. |
clone()
public ExportTestCasesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExportTestCasesRequest other)
public ExportTestCasesRequest.Builder mergeFrom(ExportTestCasesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ExportTestCasesRequest |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportTestCasesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportTestCasesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportTestCasesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
setDataFormat(ExportTestCasesRequest.DataFormat value)
public ExportTestCasesRequest.Builder setDataFormat(ExportTestCasesRequest.DataFormat value)
The data format of the exported test cases. If not specified, BLOB
is
assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest.DataFormat data_format = 3;
Parameter | |
---|---|
Name | Description |
value |
ExportTestCasesRequest.DataFormat The dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setDataFormatValue(int value)
public ExportTestCasesRequest.Builder setDataFormatValue(int value)
The data format of the exported test cases. If not specified, BLOB
is
assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest.DataFormat data_format = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportTestCasesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
setFilter(String value)
public ExportTestCasesRequest.Builder setFilter(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ExportTestCasesRequest.Builder setFilterBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setGcsUri(String value)
public ExportTestCasesRequest.Builder setGcsUri(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The gcsUri to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setGcsUriBytes(ByteString value)
public ExportTestCasesRequest.Builder setGcsUriBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for gcsUri to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setParent(String value)
public ExportTestCasesRequest.Builder setParent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ExportTestCasesRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportTestCasesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportTestCasesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportTestCasesRequest.Builder |