Class TransitionRouteGroupCoverage (0.57.0)

public final class TransitionRouteGroupCoverage extends GeneratedMessageV3 implements TransitionRouteGroupCoverageOrBuilder

Transition route group coverage represents the percentage of all possible transition routes present within any of a parent's test cases. The results are grouped by the transition route group.

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

Static Fields

COVERAGES_FIELD_NUMBER

public static final int COVERAGES_FIELD_NUMBER
Field Value
Type Description
int

COVERAGE_SCORE_FIELD_NUMBER

public static final int COVERAGE_SCORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransitionRouteGroupCoverage getDefaultInstance()
Returns
Type Description
TransitionRouteGroupCoverage

getDescriptor()

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

newBuilder()

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

newBuilder(TransitionRouteGroupCoverage prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCoverageScore()

public float getCoverageScore()

The percent of transition routes in all the transition route groups that are covered.

float coverage_score = 2;

Returns
Type Description
float

The coverageScore.

getCoverages(int index)

public TransitionRouteGroupCoverage.Coverage getCoverages(int index)

Transition route group coverages.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage coverages = 1;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage

getCoveragesCount()

public int getCoveragesCount()

Transition route group coverages.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage coverages = 1;

Returns
Type Description
int

getCoveragesList()

public List<TransitionRouteGroupCoverage.Coverage> getCoveragesList()

Transition route group coverages.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage coverages = 1;

Returns
Type Description
List<Coverage>

getCoveragesOrBuilder(int index)

public TransitionRouteGroupCoverage.CoverageOrBuilder getCoveragesOrBuilder(int index)

Transition route group coverages.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage coverages = 1;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.CoverageOrBuilder

getCoveragesOrBuilderList()

public List<? extends TransitionRouteGroupCoverage.CoverageOrBuilder> getCoveragesOrBuilderList()

Transition route group coverages.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage coverages = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.CoverageOrBuilder>

getDefaultInstanceForType()

public TransitionRouteGroupCoverage getDefaultInstanceForType()
Returns
Type Description
TransitionRouteGroupCoverage

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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 TransitionRouteGroupCoverage.Builder newBuilderForType()
Returns
Type Description
TransitionRouteGroupCoverage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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