public static final class ExportTestCasesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder> implements ExportTestCasesRequestOrBuilder
The request message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases].Protobuf type
google.cloud.dialogflow.cx.v3.ExportTestCasesRequest| Modifier and Type | Method and Description |
|---|---|
ExportTestCasesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportTestCasesRequest |
build() |
ExportTestCasesRequest |
buildPartial() |
ExportTestCasesRequest.Builder |
clear() |
ExportTestCasesRequest.Builder |
clearDataFormat()
The data format of the exported test cases.
|
ExportTestCasesRequest.Builder |
clearDestination() |
ExportTestCasesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportTestCasesRequest.Builder |
clearFilter()
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160).
|
ExportTestCasesRequest.Builder |
clearGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to.
|
ExportTestCasesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportTestCasesRequest.Builder |
clearParent()
Required.
|
ExportTestCasesRequest.Builder |
clone() |
ExportTestCasesRequest.DataFormat |
getDataFormat()
The data format of the exported test cases.
|
int |
getDataFormatValue()
The data format of the exported test cases.
|
ExportTestCasesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ExportTestCasesRequest.DestinationCase |
getDestinationCase() |
String |
getFilter()
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160).
|
com.google.protobuf.ByteString |
getFilterBytes()
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160).
|
String |
getGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to.
|
com.google.protobuf.ByteString |
getGcsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExportTestCasesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportTestCasesRequest.Builder |
mergeFrom(ExportTestCasesRequest other) |
ExportTestCasesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportTestCasesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportTestCasesRequest.Builder |
setDataFormat(ExportTestCasesRequest.DataFormat value)
The data format of the exported test cases.
|
ExportTestCasesRequest.Builder |
setDataFormatValue(int value)
The data format of the exported test cases.
|
ExportTestCasesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportTestCasesRequest.Builder |
setFilter(String value)
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160).
|
ExportTestCasesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160).
|
ExportTestCasesRequest.Builder |
setGcsUri(String value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to.
|
ExportTestCasesRequest.Builder |
setGcsUriBytes(com.google.protobuf.ByteString value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to.
|
ExportTestCasesRequest.Builder |
setParent(String value)
Required.
|
ExportTestCasesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ExportTestCasesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportTestCasesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportTestCasesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportTestCasesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportTestCasesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder mergeFrom(ExportTestCasesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public ExportTestCasesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportTestCasesRequest.Builder>IOExceptionpublic ExportTestCasesRequest.DestinationCase getDestinationCase()
getDestinationCase in interface ExportTestCasesRequestOrBuilderpublic ExportTestCasesRequest.Builder clearDestination()
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) = { ... }
getParent in interface ExportTestCasesRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface ExportTestCasesRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public ExportTestCasesRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.public boolean hasGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;hasGcsUri in interface ExportTestCasesRequestOrBuilderpublic String getGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;getGcsUri in interface ExportTestCasesRequestOrBuilderpublic com.google.protobuf.ByteString getGcsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;getGcsUriBytes in interface ExportTestCasesRequestOrBuilderpublic ExportTestCasesRequest.Builder setGcsUri(String value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;value - The gcsUri to set.public ExportTestCasesRequest.Builder clearGcsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;public ExportTestCasesRequest.Builder setGcsUriBytes(com.google.protobuf.ByteString value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string gcs_uri = 2;value - The bytes for gcsUri to set.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;
getDataFormatValue in interface ExportTestCasesRequestOrBuilderpublic ExportTestCasesRequest.Builder setDataFormatValue(int value)
The data format of the exported test cases. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat data_format = 3;
value - The enum numeric value on the wire for dataFormat to set.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;
getDataFormat in interface ExportTestCasesRequestOrBuilderpublic ExportTestCasesRequest.Builder setDataFormat(ExportTestCasesRequest.DataFormat value)
The data format of the exported test cases. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat data_format = 3;
value - The dataFormat to set.public ExportTestCasesRequest.Builder clearDataFormat()
The data format of the exported test cases. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat data_format = 3;
public String getFilter()
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). 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;getFilter in interface ExportTestCasesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). 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;getFilterBytes in interface ExportTestCasesRequestOrBuilderpublic ExportTestCasesRequest.Builder setFilter(String value)
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). 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;value - The filter to set.public ExportTestCasesRequest.Builder clearFilter()
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). 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;public ExportTestCasesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). 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;value - The bytes for filter to set.public final ExportTestCasesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>public final ExportTestCasesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportTestCasesRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.