Class TransitionRouteGroupCoverage.Coverage (0.14.2)

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
TypeDescription
int

ROUTE_GROUP_FIELD_NUMBER

public static final int ROUTE_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSITIONS_FIELD_NUMBER

public static final int TRANSITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransitionRouteGroupCoverage.Coverage getDefaultInstance()
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage

getDescriptor()

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

newBuilder()

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

newBuilder(TransitionRouteGroupCoverage.Coverage prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

float coverage_score = 3;

Returns
TypeDescription
float

The coverageScore.

getDefaultInstanceForType()

public TransitionRouteGroupCoverage.Coverage getDefaultInstanceForType()
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage

getParserForType()

public Parser<TransitionRouteGroupCoverage.Coverage> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TransitionRouteGroupOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
boolean

Whether the routeGroup field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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