public final class TestConfig extends GeneratedMessageV3 implements TestConfigOrBuilder
Represents configurations for a test case.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestConfig
Static Fields
FLOW_FIELD_NUMBER
public static final int FLOW_FIELD_NUMBER
Field Value
PAGE_FIELD_NUMBER
public static final int PAGE_FIELD_NUMBER
Field Value
TRACKING_PARAMETERS_FIELD_NUMBER
public static final int TRACKING_PARAMETERS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TestConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TestConfig.Builder newBuilder()
Returns
newBuilder(TestConfig prototype)
public static TestConfig.Builder newBuilder(TestConfig prototype)
Parameter
Returns
public static TestConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TestConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TestConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TestConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TestConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TestConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TestConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TestConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TestConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TestConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TestConfig getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<TestConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TestConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TestConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TestConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions