public final class TestConfig extends GeneratedMessageV3 implements TestConfigOrBuilder
Represents configurations for a test case.
Protobuf type google.cloud.dialogflow.cx.v3.TestConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TestConfig.Builder newBuilder()
newBuilder(TestConfig prototype)
public static TestConfig.Builder newBuilder(TestConfig prototype)
public static TestConfig parseDelimitedFrom(InputStream input)
public static TestConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TestConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TestConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(CodedInputStream input)
public static TestConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(InputStream input)
public static TestConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TestConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TestConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TestConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public TestConfig getDefaultInstanceForType()
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) = { ... }
Returns |
Type |
Description |
String |
The flow.
|
getFlowBytes()
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for flow.
|
getPage()
The 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) = { ... }
Returns |
Type |
Description |
String |
The page.
|
getPageBytes()
public ByteString getPageBytes()
The 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for page.
|
getParserForType()
public Parser<TestConfig> getParserForType()
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;
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TestConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TestConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TestConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides