Class ExportTestCasesResponse (0.43.0)

public final class ExportTestCasesResponse extends GeneratedMessageV3 implements ExportTestCasesResponseOrBuilder

The response message for TestCases.ExportTestCases.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse

Static Fields

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
Type Description
int

GCS_URI_FIELD_NUMBER

public static final int GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportTestCasesResponse getDefaultInstance()
Returns
Type Description
ExportTestCasesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExportTestCasesResponse.Builder newBuilder()
Returns
Type Description
ExportTestCasesResponse.Builder

newBuilder(ExportTestCasesResponse prototype)

public static ExportTestCasesResponse.Builder newBuilder(ExportTestCasesResponse prototype)
Parameter
Name Description
prototype ExportTestCasesResponse
Returns
Type Description
ExportTestCasesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExportTestCasesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportTestCasesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportTestCasesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportTestCasesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportTestCasesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportTestCasesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportTestCasesResponse> parser()
Returns
Type Description
Parser<ExportTestCasesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContent()

public ByteString getContent()

Uncompressed raw byte content for test cases.

bytes content = 2;

Returns
Type Description
ByteString

The content.

getDefaultInstanceForType()

public ExportTestCasesResponse getDefaultInstanceForType()
Returns
Type Description
ExportTestCasesResponse

getDestinationCase()

public ExportTestCasesResponse.DestinationCase getDestinationCase()
Returns
Type Description
ExportTestCasesResponse.DestinationCase

getGcsUri()

public String getGcsUri()

The URI to a file containing the exported test cases. This field is populated only if gcs_uri is specified in ExportTestCasesRequest.

string gcs_uri = 1;

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

The URI to a file containing the exported test cases. This field is populated only if gcs_uri is specified in ExportTestCasesRequest.

string gcs_uri = 1;

Returns
Type Description
ByteString

The bytes for gcsUri.

getParserForType()

public Parser<ExportTestCasesResponse> getParserForType()
Returns
Type Description
Parser<ExportTestCasesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasContent()

public boolean hasContent()

Uncompressed raw byte content for test cases.

bytes content = 2;

Returns
Type Description
boolean

Whether the content field is set.

hasGcsUri()

public boolean hasGcsUri()

The URI to a file containing the exported test cases. This field is populated only if gcs_uri is specified in ExportTestCasesRequest.

string gcs_uri = 1;

Returns
Type Description
boolean

Whether the gcsUri field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportTestCasesResponse.Builder newBuilderForType()
Returns
Type Description
ExportTestCasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportTestCasesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExportTestCasesResponse.Builder toBuilder()
Returns
Type Description
ExportTestCasesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException