public final class ExportTestCasesRequest extends GeneratedMessageV3 implements ExportTestCasesRequestOrBuilder
The request message for
TestCases.ExportTestCases.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExportTestCasesRequest.Builder newBuilder()
newBuilder(ExportTestCasesRequest prototype)
public static ExportTestCasesRequest.Builder newBuilder(ExportTestCasesRequest prototype)
public static ExportTestCasesRequest parseDelimitedFrom(InputStream input)
public static ExportTestCasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExportTestCasesRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExportTestCasesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(CodedInputStream input)
public static ExportTestCasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(InputStream input)
public static ExportTestCasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExportTestCasesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportTestCasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExportTestCasesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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;
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()
getDestinationCase()
public ExportTestCasesRequest.DestinationCase getDestinationCase()
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExportTestCasesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExportTestCasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExportTestCasesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides