public enum TestResult extends Enum<TestResult> implements com.google.protobuf.ProtocolMessageEnum
The test result for a test case and an agent environment.Protobuf enum
google.cloud.dialogflow.cx.v3.TestResult| Enum Constant and Description |
|---|
FAILED
The test did not pass.
|
PASSED
The test passed.
|
TEST_RESULT_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
The test did not pass.
|
static int |
PASSED_VALUE
The test passed.
|
static int |
TEST_RESULT_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static TestResult |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TestResult> |
internalGetValueMap() |
static TestResult |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TestResult |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestResult TEST_RESULT_UNSPECIFIED
Not specified. Should never be used.
TEST_RESULT_UNSPECIFIED = 0;public static final TestResult PASSED
The test passed.
PASSED = 1;public static final TestResult FAILED
The test did not pass.
FAILED = 2;public static final TestResult UNRECOGNIZED
public static final int TEST_RESULT_UNSPECIFIED_VALUE
Not specified. Should never be used.
TEST_RESULT_UNSPECIFIED = 0;public static final int PASSED_VALUE
The test passed.
PASSED = 1;public static final int FAILED_VALUE
The test did not pass.
FAILED = 2;public static TestResult[] values()
for (TestResult c : TestResult.values()) System.out.println(c);
public static TestResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TestResult valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TestResult forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TestResult> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TestResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.