Class TransitionRouteGroupCoverage.Builder (0.14.2)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage>
Returns
TypeDescription
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
NameDescription
valueTransitionRouteGroupCoverage.Coverage
Returns
TypeDescription
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
NameDescription
builderForValueTransitionRouteGroupCoverage.Coverage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTransitionRouteGroupCoverage.Coverage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransitionRouteGroupCoverage.Coverage.Builder
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder

addCoveragesBuilder()

public TransitionRouteGroupCoverage.Coverage.Builder addCoveragesBuilder()

Transition route group coverages.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides

build()

public TransitionRouteGroupCoverage build()
Returns
TypeDescription
TransitionRouteGroupCoverage

buildPartial()

public TransitionRouteGroupCoverage buildPartial()
Returns
TypeDescription
TransitionRouteGroupCoverage

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TransitionRouteGroupCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionRouteGroupCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides

clone()

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransitionRouteGroupCoverage other)

public TransitionRouteGroupCoverage.Builder mergeFrom(TransitionRouteGroupCoverage other)
Parameter
NameDescription
otherTransitionRouteGroupCoverage
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransitionRouteGroupCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransitionRouteGroupCoverage.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuefloat

The coverageScore to set.

Returns
TypeDescription
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
NameDescription
indexint
valueTransitionRouteGroupCoverage.Coverage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransitionRouteGroupCoverage.Coverage.Builder
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides

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

public TransitionRouteGroupCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransitionRouteGroupCoverage.Builder
Overrides