public final class TransitionCoverage extends GeneratedMessageV3 implements TransitionCoverageOrBuilder
Transition coverage represents the percentage of all possible page
transitions (page-level transition routes and event handlers, excluding
transition route groups) present within any of a parent's test cases.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TransitionCoverage
Static Fields
COVERAGE_SCORE_FIELD_NUMBER
public static final int COVERAGE_SCORE_FIELD_NUMBER
Field Value
TRANSITIONS_FIELD_NUMBER
public static final int TRANSITIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransitionCoverage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransitionCoverage.Builder newBuilder()
Returns
newBuilder(TransitionCoverage prototype)
public static TransitionCoverage.Builder newBuilder(TransitionCoverage prototype)
Parameter
Returns
public static TransitionCoverage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransitionCoverage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransitionCoverage parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransitionCoverage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransitionCoverage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransitionCoverage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransitionCoverage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransitionCoverage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransitionCoverage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransitionCoverage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCoverageScore()
public float getCoverageScore()
The percent of transitions in the agent that are covered.
float coverage_score = 2;
Returns
Type |
Description |
float |
The coverageScore.
|
getDefaultInstanceForType()
public TransitionCoverage getDefaultInstanceForType()
Returns
getParserForType()
public Parser<TransitionCoverage> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTransitions(int index)
public TransitionCoverage.Transition getTransitions(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getTransitionsCount()
public int getTransitionsCount()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
getTransitionsList()
public List<TransitionCoverage.Transition> getTransitionsList()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
getTransitionsOrBuilder(int index)
public TransitionCoverage.TransitionOrBuilder getTransitionsOrBuilder(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getTransitionsOrBuilderList()
public List<? extends TransitionCoverage.TransitionOrBuilder> getTransitionsOrBuilderList()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionOrBuilder> |
|
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 TransitionCoverage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransitionCoverage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransitionCoverage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions