Class TestConfig (0.28.0)

public final class TestConfig extends GeneratedMessageV3 implements TestConfigOrBuilder

Represents configurations for a test case.

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

Implements

TestConfigOrBuilder

Static Fields

FLOW_FIELD_NUMBER

public static final int FLOW_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_FIELD_NUMBER

public static final int PAGE_FIELD_NUMBER
Field Value
TypeDescription
int

TRACKING_PARAMETERS_FIELD_NUMBER

public static final int TRACKING_PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestConfig getDefaultInstance()
Returns
TypeDescription
TestConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TestConfig.Builder newBuilder()
Returns
TypeDescription
TestConfig.Builder

newBuilder(TestConfig prototype)

public static TestConfig.Builder newBuilder(TestConfig prototype)
Parameter
NameDescription
prototypeTestConfig
Returns
TypeDescription
TestConfig.Builder

parseDelimitedFrom(InputStream input)

public static TestConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TestConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TestConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TestConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TestConfig> parser()
Returns
TypeDescription
Parser<TestConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TestConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for page.

getParserForType()

public Parser<TestConfig> getParserForType()
Returns
TypeDescription
Parser<TestConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrackingParameters(int index)

public String getTrackingParameters(int index)

Session parameters to be compared when calculating differences.

repeated string tracking_parameters = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of trackingParameters.

getTrackingParametersList()

public ProtocolStringList getTrackingParametersList()

Session parameters to be compared when calculating differences.

repeated string tracking_parameters = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the trackingParameters.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TestConfig.Builder newBuilderForType()
Returns
TypeDescription
TestConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TestConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TestConfig.Builder toBuilder()
Returns
TypeDescription
TestConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException