public static final class TestConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder> implements TestConfigOrBuilder
Represents configurations for a test case.Protobuf type
google.cloud.dialogflow.cx.v3.TestConfig| Modifier and Type | Method and Description |
|---|---|
TestConfig.Builder |
addAllTrackingParameters(Iterable<String> values)
Session parameters to be compared when calculating differences.
|
TestConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TestConfig.Builder |
addTrackingParameters(String value)
Session parameters to be compared when calculating differences.
|
TestConfig.Builder |
addTrackingParametersBytes(com.google.protobuf.ByteString value)
Session parameters to be compared when calculating differences.
|
TestConfig |
build() |
TestConfig |
buildPartial() |
TestConfig.Builder |
clear() |
TestConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TestConfig.Builder |
clearFlow()
Flow name to start the test case with.
|
TestConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TestConfig.Builder |
clearPage()
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with.
|
TestConfig.Builder |
clearTrackingParameters()
Session parameters to be compared when calculating differences.
|
TestConfig.Builder |
clone() |
TestConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFlow()
Flow name to start the test case with.
|
com.google.protobuf.ByteString |
getFlowBytes()
Flow name to start the test case with.
|
String |
getPage()
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with.
|
com.google.protobuf.ByteString |
getPageBytes()
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with.
|
String |
getTrackingParameters(int index)
Session parameters to be compared when calculating differences.
|
com.google.protobuf.ByteString |
getTrackingParametersBytes(int index)
Session parameters to be compared when calculating differences.
|
int |
getTrackingParametersCount()
Session parameters to be compared when calculating differences.
|
com.google.protobuf.ProtocolStringList |
getTrackingParametersList()
Session parameters to be compared when calculating differences.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TestConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
TestConfig.Builder |
mergeFrom(TestConfig other) |
TestConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TestConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TestConfig.Builder |
setFlow(String value)
Flow name to start the test case with.
|
TestConfig.Builder |
setFlowBytes(com.google.protobuf.ByteString value)
Flow name to start the test case with.
|
TestConfig.Builder |
setPage(String value)
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with.
|
TestConfig.Builder |
setPageBytes(com.google.protobuf.ByteString value)
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with.
|
TestConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TestConfig.Builder |
setTrackingParameters(int index,
String value)
Session parameters to be compared when calculating differences.
|
TestConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TestConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TestConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TestConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestConfig.Builder>public TestConfig.Builder mergeFrom(TestConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public TestConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestConfig.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getTrackingParametersList()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;getTrackingParametersList in interface TestConfigOrBuilderpublic int getTrackingParametersCount()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;getTrackingParametersCount in interface TestConfigOrBuilderpublic String getTrackingParameters(int index)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;getTrackingParameters in interface TestConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTrackingParametersBytes(int index)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;getTrackingParametersBytes in interface TestConfigOrBuilderindex - The index of the value to return.public TestConfig.Builder setTrackingParameters(int index, String value)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;index - The index to set the value at.value - The trackingParameters to set.public TestConfig.Builder addTrackingParameters(String value)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;value - The trackingParameters to add.public TestConfig.Builder addAllTrackingParameters(Iterable<String> values)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;values - The trackingParameters to add.public TestConfig.Builder clearTrackingParameters()
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;public TestConfig.Builder addTrackingParametersBytes(com.google.protobuf.ByteString value)
Session parameters to be compared when calculating differences.
repeated string tracking_parameters = 1;value - The bytes of the trackingParameters to add.public String getFlow()
Flow name to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }getFlow in interface TestConfigOrBuilderpublic com.google.protobuf.ByteString getFlowBytes()
Flow name to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }getFlowBytes in interface TestConfigOrBuilderpublic TestConfig.Builder setFlow(String value)
Flow name to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }value - The flow to set.public TestConfig.Builder clearFlow()
Flow name to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }public TestConfig.Builder setFlowBytes(com.google.protobuf.ByteString value)
Flow name to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string flow = 2 [(.google.api.resource_reference) = { ... }value - The bytes for flow to set.public String getPage()
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string page = 3 [(.google.api.resource_reference) = { ... }getPage in interface TestConfigOrBuilderpublic com.google.protobuf.ByteString getPageBytes()
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string page = 3 [(.google.api.resource_reference) = { ... }getPageBytes in interface TestConfigOrBuilderpublic TestConfig.Builder setPage(String value)
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string page = 3 [(.google.api.resource_reference) = { ... }value - The page to set.public TestConfig.Builder clearPage()
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string page = 3 [(.google.api.resource_reference) = { ... }public TestConfig.Builder setPageBytes(com.google.protobuf.ByteString value)
The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.
string page = 3 [(.google.api.resource_reference) = { ... }value - The bytes for page to set.public final TestConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>public final TestConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.