Class ExportTestCasesResponse.Builder (0.94.0)

public static final class ExportTestCasesResponse.Builder extends GeneratedMessage.Builder<ExportTestCasesResponse.Builder> implements ExportTestCasesResponseOrBuilder

The response message for TestCases.ExportTestCases.

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

Static Methods

getDescriptor()

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

Methods

build()

public ExportTestCasesResponse build()
Returns
Type Description
ExportTestCasesResponse

buildPartial()

public ExportTestCasesResponse buildPartial()
Returns
Type Description
ExportTestCasesResponse

clear()

public ExportTestCasesResponse.Builder clear()
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

clearContent()

public ExportTestCasesResponse.Builder clearContent()

Uncompressed raw byte content for test cases.

bytes content = 2;

Returns
Type Description
ExportTestCasesResponse.Builder

This builder for chaining.

clearDestination()

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

clearGcsUri()

public ExportTestCasesResponse.Builder clearGcsUri()

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
ExportTestCasesResponse.Builder

This builder for chaining.

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportTestCasesResponse other)

public ExportTestCasesResponse.Builder mergeFrom(ExportTestCasesResponse other)
Parameter
Name Description
other ExportTestCasesResponse
Returns
Type Description
ExportTestCasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportTestCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportTestCasesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

setContent(ByteString value)

public ExportTestCasesResponse.Builder setContent(ByteString value)

Uncompressed raw byte content for test cases.

bytes content = 2;

Parameter
Name Description
value ByteString

The content to set.

Returns
Type Description
ExportTestCasesResponse.Builder

This builder for chaining.

setGcsUri(String value)

public ExportTestCasesResponse.Builder setGcsUri(String value)

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;

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
ExportTestCasesResponse.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public ExportTestCasesResponse.Builder setGcsUriBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
ExportTestCasesResponse.Builder

This builder for chaining.