Class ExportTestCasesResponse.Builder (0.64.0)

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

The response message for TestCases.ExportTestCases.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportTestCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ExportTestCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportTestCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

clone()

public ExportTestCasesResponse.Builder clone()
Returns
Type Description
ExportTestCasesResponse.Builder
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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportTestCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportTestCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportTestCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportTestCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportTestCasesResponse.Builder
Overrides