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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportTestCasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExportTestCasesResponse build()
Returns
buildPartial()
public ExportTestCasesResponse buildPartial()
Returns
clear()
public ExportTestCasesResponse.Builder clear()
Returns
Overrides
clearContent()
public ExportTestCasesResponse.Builder clearContent()
Uncompressed raw byte content for test cases.
bytes content = 2;
Returns
clearDestination()
public ExportTestCasesResponse.Builder clearDestination()
Returns
clearField(Descriptors.FieldDescriptor field)
public ExportTestCasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportTestCasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ExportTestCasesResponse.Builder clone()
Returns
Overrides
getContent()
public ByteString getContent()
Uncompressed raw byte content for test cases.
bytes content = 2;
Returns
getDefaultInstanceForType()
public ExportTestCasesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public ExportTestCasesResponse.DestinationCase getDestinationCase()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExportTestCasesResponse other)
public ExportTestCasesResponse.Builder mergeFrom(ExportTestCasesResponse other)
Parameter
Returns
public ExportTestCasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportTestCasesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportTestCasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ExportTestCasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportTestCasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportTestCasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides