Class TransitionRouteGroupCoverage.Builder (0.66.0)

public static final class TransitionRouteGroupCoverage.Builder extends GeneratedMessageV3.Builder<TransitionRouteGroupCoverage.Builder> 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 Methods

getDescriptor()

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

Methods

addAllCoverages(Iterable<? extends TransitionRouteGroupCoverage.Coverage> values)

public TransitionRouteGroupCoverage.Builder addAllCoverages(Iterable<? extends TransitionRouteGroupCoverage.Coverage> values)

Transition route group coverages.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage>
Returns
Type Description
TransitionRouteGroupCoverage.Builder

addCoverages(TransitionRouteGroupCoverage.Coverage value)

public TransitionRouteGroupCoverage.Builder addCoverages(TransitionRouteGroupCoverage.Coverage value)

Transition route group coverages.

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

Parameter
Name Description
value TransitionRouteGroupCoverage.Coverage
Returns
Type Description
TransitionRouteGroupCoverage.Builder

addCoverages(TransitionRouteGroupCoverage.Coverage.Builder builderForValue)

public TransitionRouteGroupCoverage.Builder addCoverages(TransitionRouteGroupCoverage.Coverage.Builder builderForValue)

Transition route group coverages.

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

Parameter
Name Description
builderForValue TransitionRouteGroupCoverage.Coverage.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Builder

addCoverages(int index, TransitionRouteGroupCoverage.Coverage value)

public TransitionRouteGroupCoverage.Builder addCoverages(int index, TransitionRouteGroupCoverage.Coverage value)

Transition route group coverages.

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

Parameters
Name Description
index int
value TransitionRouteGroupCoverage.Coverage
Returns
Type Description
TransitionRouteGroupCoverage.Builder

addCoverages(int index, TransitionRouteGroupCoverage.Coverage.Builder builderForValue)

public TransitionRouteGroupCoverage.Builder addCoverages(int index, TransitionRouteGroupCoverage.Coverage.Builder builderForValue)

Transition route group coverages.

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

Parameters
Name Description
index int
builderForValue TransitionRouteGroupCoverage.Coverage.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Builder

addCoveragesBuilder()

public TransitionRouteGroupCoverage.Coverage.Builder addCoveragesBuilder()

Transition route group coverages.

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

Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

addCoveragesBuilder(int index)

public TransitionRouteGroupCoverage.Coverage.Builder addCoveragesBuilder(int index)

Transition route group coverages.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

build()

public TransitionRouteGroupCoverage build()
Returns
Type Description
TransitionRouteGroupCoverage

buildPartial()

public TransitionRouteGroupCoverage buildPartial()
Returns
Type Description
TransitionRouteGroupCoverage

clear()

public TransitionRouteGroupCoverage.Builder clear()
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

clearCoverageScore()

public TransitionRouteGroupCoverage.Builder clearCoverageScore()

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

float coverage_score = 2;

Returns
Type Description
TransitionRouteGroupCoverage.Builder

This builder for chaining.

clearCoverages()

public TransitionRouteGroupCoverage.Builder clearCoverages()

Transition route group coverages.

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

Returns
Type Description
TransitionRouteGroupCoverage.Builder

clearField(Descriptors.FieldDescriptor field)

public TransitionRouteGroupCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionRouteGroupCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

clone()

public TransitionRouteGroupCoverage.Builder clone()
Returns
Type Description
TransitionRouteGroupCoverage.Builder
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.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage

getCoveragesBuilder(int index)

public TransitionRouteGroupCoverage.Coverage.Builder getCoveragesBuilder(int index)

Transition route group coverages.

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

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

getCoveragesBuilderList()

public List<TransitionRouteGroupCoverage.Coverage.Builder> getCoveragesBuilderList()

Transition route group coverages.

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

Returns
Type Description
List<Builder>

getCoveragesCount()

public int getCoveragesCount()

Transition route group coverages.

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

Returns
Type Description
int

getCoveragesList()

public List<TransitionRouteGroupCoverage.Coverage> getCoveragesList()

Transition route group coverages.

repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;

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

getDefaultInstanceForType()

public TransitionRouteGroupCoverage getDefaultInstanceForType()
Returns
Type Description
TransitionRouteGroupCoverage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransitionRouteGroupCoverage other)

public TransitionRouteGroupCoverage.Builder mergeFrom(TransitionRouteGroupCoverage other)
Parameter
Name Description
other TransitionRouteGroupCoverage
Returns
Type Description
TransitionRouteGroupCoverage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransitionRouteGroupCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransitionRouteGroupCoverage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

removeCoverages(int index)

public TransitionRouteGroupCoverage.Builder removeCoverages(int index)

Transition route group coverages.

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

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Builder

setCoverageScore(float value)

public TransitionRouteGroupCoverage.Builder setCoverageScore(float value)

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

float coverage_score = 2;

Parameter
Name Description
value float

The coverageScore to set.

Returns
Type Description
TransitionRouteGroupCoverage.Builder

This builder for chaining.

setCoverages(int index, TransitionRouteGroupCoverage.Coverage value)

public TransitionRouteGroupCoverage.Builder setCoverages(int index, TransitionRouteGroupCoverage.Coverage value)

Transition route group coverages.

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

Parameters
Name Description
index int
value TransitionRouteGroupCoverage.Coverage
Returns
Type Description
TransitionRouteGroupCoverage.Builder

setCoverages(int index, TransitionRouteGroupCoverage.Coverage.Builder builderForValue)

public TransitionRouteGroupCoverage.Builder setCoverages(int index, TransitionRouteGroupCoverage.Coverage.Builder builderForValue)

Transition route group coverages.

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

Parameters
Name Description
index int
builderForValue TransitionRouteGroupCoverage.Coverage.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransitionRouteGroupCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransitionRouteGroupCoverage.Builder
Overrides