- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The trackingParameters to add. |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The trackingParameters to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the trackingParameters to add. |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
This builder for chaining. |
build()
public TestConfig build()
Returns | |
---|---|
Type | Description |
TestConfig |
buildPartial()
public TestConfig buildPartial()
Returns | |
---|---|
Type | Description |
TestConfig |
clear()
public TestConfig.Builder clear()
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public TestConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TestConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
This builder for chaining. |
clone()
public TestConfig.Builder clone()
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
getDefaultInstanceForType()
public TestConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TestConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int |
The count of trackingParameters. |
getTrackingParametersList()
public ProtocolStringList getTrackingParametersList()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the trackingParameters. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TestConfig other)
public TestConfig.Builder mergeFrom(TestConfig other)
Parameter | |
---|---|
Name | Description |
other |
TestConfig |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TestConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TestConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The flow to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for flow to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The page to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for page to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The trackingParameters to set. |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TestConfig.Builder |