Class TransitionRouteGroupCoverage.Coverage (0.40.0)

public static final class TransitionRouteGroupCoverage.Coverage extends GeneratedMessageV3 implements TransitionRouteGroupCoverage.CoverageOrBuilder

Coverage result message for one transition route group.

Protobuf type google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransitionRouteGroupCoverage.Coverage

Static Fields

COVERAGE_SCORE_FIELD_NUMBER

public static final int COVERAGE_SCORE_FIELD_NUMBER
Field Value
Type Description
int

ROUTE_GROUP_FIELD_NUMBER

public static final int ROUTE_GROUP_FIELD_NUMBER
Field Value
Type Description
int

TRANSITIONS_FIELD_NUMBER

public static final int TRANSITIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransitionRouteGroupCoverage.Coverage getDefaultInstance()
Returns
Type Description
TransitionRouteGroupCoverage.Coverage

getDescriptor()

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

newBuilder()

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

newBuilder(TransitionRouteGroupCoverage.Coverage prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 the transition route group that are covered.

float coverage_score = 3;

Returns
Type Description
float

The coverageScore.

getDefaultInstanceForType()

public TransitionRouteGroupCoverage.Coverage getDefaultInstanceForType()
Returns
Type Description
TransitionRouteGroupCoverage.Coverage

getParserForType()

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

getRouteGroup()

public TransitionRouteGroup getRouteGroup()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
TransitionRouteGroup

The routeGroup.

getRouteGroupOrBuilder()

public TransitionRouteGroupOrBuilder getRouteGroupOrBuilder()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
TransitionRouteGroupOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransitions(int index)

public TransitionRouteGroupCoverage.Coverage.Transition getTransitions(int index)

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Transition

getTransitionsCount()

public int getTransitionsCount()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
int

getTransitionsList()

public List<TransitionRouteGroupCoverage.Coverage.Transition> getTransitionsList()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
List<Transition>

getTransitionsOrBuilder(int index)

public TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder getTransitionsOrBuilder(int index)

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder

getTransitionsOrBuilderList()

public List<? extends TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder> getTransitionsOrBuilderList()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder>

hasRouteGroup()

public boolean hasRouteGroup()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
boolean

Whether the routeGroup field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransitionRouteGroupCoverage.Coverage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.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.Coverage.Builder toBuilder()
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

writeTo(CodedOutputStream output)

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