public static final class TransitionCoverage.Builder extends GeneratedMessageV3.Builder<TransitionCoverage.Builder> implements TransitionCoverageOrBuilder
Transition coverage represents the percentage of all possible page
transitions (page-level transition routes and event handlers, excluding
transition route groups) present within any of a parent's test cases.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TransitionCoverage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllTransitions(Iterable<? extends TransitionCoverage.Transition> values)
public TransitionCoverage.Builder addAllTransitions(Iterable<? extends TransitionCoverage.Transition> values)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransitionCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTransitions(TransitionCoverage.Transition value)
public TransitionCoverage.Builder addTransitions(TransitionCoverage.Transition value)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
addTransitions(TransitionCoverage.Transition.Builder builderForValue)
public TransitionCoverage.Builder addTransitions(TransitionCoverage.Transition.Builder builderForValue)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
addTransitions(int index, TransitionCoverage.Transition value)
public TransitionCoverage.Builder addTransitions(int index, TransitionCoverage.Transition value)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
addTransitions(int index, TransitionCoverage.Transition.Builder builderForValue)
public TransitionCoverage.Builder addTransitions(int index, TransitionCoverage.Transition.Builder builderForValue)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
addTransitionsBuilder()
public TransitionCoverage.Transition.Builder addTransitionsBuilder()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
addTransitionsBuilder(int index)
public TransitionCoverage.Transition.Builder addTransitionsBuilder(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public TransitionCoverage build()
buildPartial()
public TransitionCoverage buildPartial()
clear()
public TransitionCoverage.Builder clear()
Overrides
clearCoverageScore()
public TransitionCoverage.Builder clearCoverageScore()
The percent of transitions in the agent that are covered.
float coverage_score = 2;
clearField(Descriptors.FieldDescriptor field)
public TransitionCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransitionCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTransitions()
public TransitionCoverage.Builder clearTransitions()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
clone()
public TransitionCoverage.Builder clone()
Overrides
getCoverageScore()
public float getCoverageScore()
The percent of transitions in the agent that are covered.
float coverage_score = 2;
Returns |
Type |
Description |
float |
The coverageScore.
|
getDefaultInstanceForType()
public TransitionCoverage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTransitions(int index)
public TransitionCoverage.Transition getTransitions(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter |
Name |
Description |
index |
int
|
getTransitionsBuilder(int index)
public TransitionCoverage.Transition.Builder getTransitionsBuilder(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter |
Name |
Description |
index |
int
|
getTransitionsBuilderList()
public List<TransitionCoverage.Transition.Builder> getTransitionsBuilderList()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
getTransitionsCount()
public int getTransitionsCount()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns |
Type |
Description |
int |
|
getTransitionsList()
public List<TransitionCoverage.Transition> getTransitionsList()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
getTransitionsOrBuilder(int index)
public TransitionCoverage.TransitionOrBuilder getTransitionsOrBuilder(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter |
Name |
Description |
index |
int
|
getTransitionsOrBuilderList()
public List<? extends TransitionCoverage.TransitionOrBuilder> getTransitionsOrBuilderList()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TransitionCoverage other)
public TransitionCoverage.Builder mergeFrom(TransitionCoverage other)
public TransitionCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransitionCoverage.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransitionCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTransitions(int index)
public TransitionCoverage.Builder removeTransitions(int index)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Parameter |
Name |
Description |
index |
int
|
setCoverageScore(float value)
public TransitionCoverage.Builder setCoverageScore(float value)
The percent of transitions in the agent that are covered.
float coverage_score = 2;
Parameter |
Name |
Description |
value |
float
The coverageScore to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TransitionCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransitionCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTransitions(int index, TransitionCoverage.Transition value)
public TransitionCoverage.Builder setTransitions(int index, TransitionCoverage.Transition value)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
setTransitions(int index, TransitionCoverage.Transition.Builder builderForValue)
public TransitionCoverage.Builder setTransitions(int index, TransitionCoverage.Transition.Builder builderForValue)
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final TransitionCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides