Class ExportTestCasesResponse.Builder (0.14.1)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportTestCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

build()

public ExportTestCasesResponse build()
Returns
TypeDescription
ExportTestCasesResponse

buildPartial()

public ExportTestCasesResponse buildPartial()
Returns
TypeDescription
ExportTestCasesResponse

clear()

public ExportTestCasesResponse.Builder clear()
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

clearContent()

public ExportTestCasesResponse.Builder clearContent()

Uncompressed raw byte content for test cases.

bytes content = 2;

Returns
TypeDescription
ExportTestCasesResponse.Builder

This builder for chaining.

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

public ExportTestCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ExportTestCasesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportTestCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportTestCasesResponse other)

public ExportTestCasesResponse.Builder mergeFrom(ExportTestCasesResponse other)
Parameter
NameDescription
otherExportTestCasesResponse
Returns
TypeDescription
ExportTestCasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportTestCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportTestCasesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportTestCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

setContent(ByteString value)

public ExportTestCasesResponse.Builder setContent(ByteString value)

Uncompressed raw byte content for test cases.

bytes content = 2;

Parameter
NameDescription
valueByteString

The content to set.

Returns
TypeDescription
ExportTestCasesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportTestCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportTestCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportTestCasesResponse.Builder
Overrides