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.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()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransitionCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addTransitionsBuilder()
public TransitionCoverage.Transition.Builder addTransitionsBuilder()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
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
|
Returns
build()
public TransitionCoverage build()
Returns
buildPartial()
public TransitionCoverage buildPartial()
Returns
clear()
public TransitionCoverage.Builder clear()
Returns
Overrides
clearCoverageScore()
public TransitionCoverage.Builder clearCoverageScore()
The percent of transitions in the agent that are covered.
float coverage_score = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public TransitionCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransitionCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTransitions()
public TransitionCoverage.Builder clearTransitions()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
clone()
public TransitionCoverage.Builder clone()
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
|
Returns
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
|
Returns
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;
Returns
getTransitionsCount()
public int getTransitionsCount()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
getTransitionsList()
public List<TransitionCoverage.Transition> getTransitionsList()
The list of Transitions present in the agent.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition transitions = 1;
Returns
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
|
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransitionCoverage other)
public TransitionCoverage.Builder mergeFrom(TransitionCoverage other)
Parameter
Returns
public TransitionCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransitionCoverage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransitionCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransitionCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransitionCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransitionCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides