- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class TestConfig.Builder extends GeneratedMessageV3.Builder<TestConfig.Builder> implements TestConfigOrBuilder
Represents configurations for a test case.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TestConfig.BuilderImplements
TestConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTrackingParameters(Iterable<String> values)
public TestConfig.Builder addAllTrackingParameters(Iterable<String> values)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Name | Description |
values | Iterable<String> The trackingParameters to add. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TestConfig.Builder |
addTrackingParameters(String value)
public TestConfig.Builder addTrackingParameters(String value)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Name | Description |
value | String The trackingParameters to add. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
addTrackingParametersBytes(ByteString value)
public TestConfig.Builder addTrackingParametersBytes(ByteString value)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Name | Description |
value | ByteString The bytes of the trackingParameters to add. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
build()
public TestConfig build()
Type | Description |
TestConfig |
buildPartial()
public TestConfig buildPartial()
Type | Description |
TestConfig |
clear()
public TestConfig.Builder clear()
Type | Description |
TestConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public TestConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TestConfig.Builder |
clearFlow()
public TestConfig.Builder clearFlow()
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
TestConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TestConfig.Builder |
clearPage()
public TestConfig.Builder clearPage()
The page to start the test case
with. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string page = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
TestConfig.Builder | This builder for chaining. |
clearTrackingParameters()
public TestConfig.Builder clearTrackingParameters()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Type | Description |
TestConfig.Builder | This builder for chaining. |
clone()
public TestConfig.Builder clone()
Type | Description |
TestConfig.Builder |
getDefaultInstanceForType()
public TestConfig getDefaultInstanceForType()
Type | Description |
TestConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFlow()
public String getFlow()
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The flow. |
getFlowBytes()
public ByteString getFlowBytes()
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for flow. |
getPage()
public String getPage()
The page to start the test case
with. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string page = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The page. |
getPageBytes()
public ByteString getPageBytes()
The page to start the test case
with. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string page = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for page. |
getTrackingParameters(int index)
public String getTrackingParameters(int index)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The trackingParameters at the given index. |
getTrackingParametersBytes(int index)
public ByteString getTrackingParametersBytes(int index)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the trackingParameters at the given index. |
getTrackingParametersCount()
public int getTrackingParametersCount()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Type | Description |
int | The count of trackingParameters. |
getTrackingParametersList()
public ProtocolStringList getTrackingParametersList()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Type | Description |
ProtocolStringList | A list containing the trackingParameters. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TestConfig other)
public TestConfig.Builder mergeFrom(TestConfig other)
Name | Description |
other | TestConfig |
Type | Description |
TestConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TestConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TestConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TestConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TestConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TestConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TestConfig.Builder |
setFlow(String value)
public TestConfig.Builder setFlow(String value)
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The flow to set. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
setFlowBytes(ByteString value)
public TestConfig.Builder setFlowBytes(ByteString value)
Flow name to start the test case with.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for flow to set. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
setPage(String value)
public TestConfig.Builder setPage(String value)
The page to start the test case
with. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string page = 3 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The page to set. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
setPageBytes(ByteString value)
public TestConfig.Builder setPageBytes(ByteString value)
The page to start the test case
with. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
Only one of flow
and page
should be set to indicate the starting point
of the test case. If both are set, page
takes precedence over flow
. If
neither is set, the test case will start with start page on the default
start flow.
string page = 3 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for page to set. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TestConfig.Builder |
setTrackingParameters(int index, String value)
public TestConfig.Builder setTrackingParameters(int index, String value)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Name | Description |
index | int The index to set the value at. |
value | String The trackingParameters to set. |
Type | Description |
TestConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TestConfig.Builder |