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
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
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
Returns
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
Returns
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
Returns
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
Returns
addCoveragesBuilder()
public TransitionRouteGroupCoverage.Coverage.Builder addCoveragesBuilder()
Transition route group coverages.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroupCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransitionRouteGroupCoverage build()
Returns
buildPartial()
public TransitionRouteGroupCoverage buildPartial()
Returns
clear()
public TransitionRouteGroupCoverage.Builder clear()
Returns
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
clearCoverages()
public TransitionRouteGroupCoverage.Builder clearCoverages()
Transition route group coverages.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public TransitionRouteGroupCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransitionRouteGroupCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TransitionRouteGroupCoverage.Builder clone()
Returns
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
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
getCoveragesBuilderList()
public List<TransitionRouteGroupCoverage.Coverage.Builder> getCoveragesBuilderList()
Transition route group coverages.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;
Returns
getCoveragesCount()
public int getCoveragesCount()
Transition route group coverages.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;
Returns
getCoveragesList()
public List<TransitionRouteGroupCoverage.Coverage> getCoveragesList()
Transition route group coverages.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage coverages = 1;
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransitionRouteGroupCoverage other)
public TransitionRouteGroupCoverage.Builder mergeFrom(TransitionRouteGroupCoverage other)
Parameter
Returns
public TransitionRouteGroupCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransitionRouteGroupCoverage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroupCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroupCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransitionRouteGroupCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroupCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides