Class TestConfig (0.26.0)

public final class TestConfig extends GeneratedMessageV3 implements TestConfigOrBuilder

Represents configurations for a test case.

Protobuf type google.cloud.dialogflow.cx.v3.TestConfig

Implements

TestConfigOrBuilder

Static Fields

FLOW_FIELD_NUMBER

public static final int FLOW_FIELD_NUMBER
Field Value
Type Description
int

PAGE_FIELD_NUMBER

public static final int PAGE_FIELD_NUMBER
Field Value
Type Description
int

TRACKING_PARAMETERS_FIELD_NUMBER

public static final int TRACKING_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TestConfig getDefaultInstance()
Returns
Type Description
TestConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TestConfig.Builder newBuilder()
Returns
Type Description
TestConfig.Builder

newBuilder(TestConfig prototype)

public static TestConfig.Builder newBuilder(TestConfig prototype)
Parameter
Name Description
prototype TestConfig
Returns
Type Description
TestConfig.Builder

parseDelimitedFrom(InputStream input)

public static TestConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TestConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TestConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TestConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TestConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TestConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TestConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TestConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TestConfig> parser()
Returns
Type Description
Parser<TestConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TestConfig getDefaultInstanceForType()
Returns
Type Description
TestConfig

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.

getParserForType()

public Parser<TestConfig> getParserForType()
Returns
Type Description
Parser<TestConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
ProtocolStringList

A list containing the trackingParameters.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TestConfig.Builder newBuilderForType()
Returns
Type Description
TestConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TestConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TestConfig.Builder toBuilder()
Returns
Type Description
TestConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException