Class ExportTestCasesResponse (0.14.0)

public final class ExportTestCasesResponse extends GeneratedMessageV3 implements ExportTestCasesResponseOrBuilder

The response message for TestCases.ExportTestCases.

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

Static Fields

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_URI_FIELD_NUMBER

public static final int GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportTestCasesResponse getDefaultInstance()
Returns
TypeDescription
ExportTestCasesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExportTestCasesResponse.Builder newBuilder()
Returns
TypeDescription
ExportTestCasesResponse.Builder

newBuilder(ExportTestCasesResponse prototype)

public static ExportTestCasesResponse.Builder newBuilder(ExportTestCasesResponse prototype)
Parameter
NameDescription
prototypeExportTestCasesResponse
Returns
TypeDescription
ExportTestCasesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExportTestCasesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportTestCasesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportTestCasesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportTestCasesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportTestCasesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportTestCasesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportTestCasesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportTestCasesResponse> parser()
Returns
TypeDescription
Parser<ExportTestCasesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContent()

public ByteString getContent()

Uncompressed raw byte content for test cases.

bytes content = 2;

Returns
TypeDescription
ByteString

The content.

getDefaultInstanceForType()

public ExportTestCasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportTestCasesResponse

getDestinationCase()

public ExportTestCasesResponse.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsUri.

getParserForType()

public Parser<ExportTestCasesResponse> getParserForType()
Returns
TypeDescription
Parser<ExportTestCasesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasContent()

public boolean hasContent()

Uncompressed raw byte content for test cases.

bytes content = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsUri field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExportTestCasesResponse.Builder newBuilderForType()
Returns
TypeDescription
ExportTestCasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportTestCasesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExportTestCasesResponse.Builder toBuilder()
Returns
TypeDescription
ExportTestCasesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException