Class TransitionRouteGroupCoverage (0.14.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.v3beta1.TransitionRouteGroupCoverage

Static Fields

COVERAGES_FIELD_NUMBER

public static final int COVERAGES_FIELD_NUMBER
Field Value
TypeDescription
int

COVERAGE_SCORE_FIELD_NUMBER

public static final int COVERAGE_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransitionRouteGroupCoverage getDefaultInstance()
Returns
TypeDescription
TransitionRouteGroupCoverage

getDescriptor()

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

newBuilder()

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

newBuilder(TransitionRouteGroupCoverage prototype)

public static TransitionRouteGroupCoverage.Builder newBuilder(TransitionRouteGroupCoverage prototype)
Parameter
NameDescription
prototypeTransitionRouteGroupCoverage
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
float

The coverageScore.

getCoverages(int index)

public TransitionRouteGroupCoverage.Coverage getCoverages(int index)

Transition route group coverages.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage

getCoveragesCount()

public int getCoveragesCount()

Transition route group coverages.

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

Returns
TypeDescription
int

getCoveragesList()

public List<TransitionRouteGroupCoverage.Coverage> getCoveragesList()

Transition route group coverages.

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

Returns
TypeDescription
List<Coverage>

getCoveragesOrBuilder(int index)

public TransitionRouteGroupCoverage.CoverageOrBuilder getCoveragesOrBuilder(int index)

Transition route group coverages.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroupCoverage.CoverageOrBuilder

getCoveragesOrBuilderList()

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

Transition route group coverages.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.CoverageOrBuilder>

getDefaultInstanceForType()

public TransitionRouteGroupCoverage getDefaultInstanceForType()
Returns
TypeDescription
TransitionRouteGroupCoverage

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 TransitionRouteGroupCoverage.Builder newBuilderForType()
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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