public static final class TransitionRouteGroupCoverage.Coverage.Builder extends GeneratedMessageV3.Builder<TransitionRouteGroupCoverage.Coverage.Builder> implements TransitionRouteGroupCoverage.CoverageOrBuilder
Coverage result message for one transition route group.
Protobuf type google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllTransitions(Iterable<? extends TransitionRouteGroupCoverage.Coverage.Transition> values)
public TransitionRouteGroupCoverage.Coverage.Builder addAllTransitions(Iterable<? extends TransitionRouteGroupCoverage.Coverage.Transition> values)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroupCoverage.Coverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTransitions(TransitionRouteGroupCoverage.Coverage.Transition value)
public TransitionRouteGroupCoverage.Coverage.Builder addTransitions(TransitionRouteGroupCoverage.Coverage.Transition value)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
addTransitions(TransitionRouteGroupCoverage.Coverage.Transition.Builder builderForValue)
public TransitionRouteGroupCoverage.Coverage.Builder addTransitions(TransitionRouteGroupCoverage.Coverage.Transition.Builder builderForValue)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
addTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition value)
public TransitionRouteGroupCoverage.Coverage.Builder addTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition value)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameters
Returns
addTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition.Builder builderForValue)
public TransitionRouteGroupCoverage.Coverage.Builder addTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition.Builder builderForValue)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameters
Returns
addTransitionsBuilder()
public TransitionRouteGroupCoverage.Coverage.Transition.Builder addTransitionsBuilder()
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Returns
addTransitionsBuilder(int index)
public TransitionRouteGroupCoverage.Coverage.Transition.Builder addTransitionsBuilder(int index)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
build()
public TransitionRouteGroupCoverage.Coverage build()
Returns
buildPartial()
public TransitionRouteGroupCoverage.Coverage buildPartial()
Returns
clear()
public TransitionRouteGroupCoverage.Coverage.Builder clear()
Returns
Overrides
clearCoverageScore()
public TransitionRouteGroupCoverage.Coverage.Builder clearCoverageScore()
The percent of transition routes in the transition route group that are
covered.
float coverage_score = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public TransitionRouteGroupCoverage.Coverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransitionRouteGroupCoverage.Coverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRouteGroup()
public TransitionRouteGroupCoverage.Coverage.Builder clearRouteGroup()
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Returns
clearTransitions()
public TransitionRouteGroupCoverage.Coverage.Builder clearTransitions()
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Returns
clone()
public TransitionRouteGroupCoverage.Coverage.Builder clone()
Returns
Overrides
getCoverageScore()
public float getCoverageScore()
The percent of transition routes in the transition route group that are
covered.
float coverage_score = 3;
Returns
Type | Description |
float | The coverageScore.
|
getDefaultInstanceForType()
public TransitionRouteGroupCoverage.Coverage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRouteGroup()
public TransitionRouteGroup getRouteGroup()
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Returns
getRouteGroupBuilder()
public TransitionRouteGroup.Builder getRouteGroupBuilder()
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Returns
getRouteGroupOrBuilder()
public TransitionRouteGroupOrBuilder getRouteGroupOrBuilder()
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Returns
getTransitions(int index)
public TransitionRouteGroupCoverage.Coverage.Transition getTransitions(int index)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
getTransitionsBuilder(int index)
public TransitionRouteGroupCoverage.Coverage.Transition.Builder getTransitionsBuilder(int index)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
getTransitionsBuilderList()
public List<TransitionRouteGroupCoverage.Coverage.Transition.Builder> getTransitionsBuilderList()
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Returns
getTransitionsCount()
public int getTransitionsCount()
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Returns
getTransitionsList()
public List<TransitionRouteGroupCoverage.Coverage.Transition> getTransitionsList()
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Returns
getTransitionsOrBuilder(int index)
public TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder getTransitionsOrBuilder(int index)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
getTransitionsOrBuilderList()
public List<? extends TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder> getTransitionsOrBuilderList()
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder> | |
hasRouteGroup()
public boolean hasRouteGroup()
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Returns
Type | Description |
boolean | Whether the routeGroup field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransitionRouteGroupCoverage.Coverage other)
public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(TransitionRouteGroupCoverage.Coverage other)
Parameter
Returns
public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRouteGroup(TransitionRouteGroup value)
public TransitionRouteGroupCoverage.Coverage.Builder mergeRouteGroup(TransitionRouteGroup value)
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroupCoverage.Coverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTransitions(int index)
public TransitionRouteGroupCoverage.Coverage.Builder removeTransitions(int index)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameter
Returns
setCoverageScore(float value)
public TransitionRouteGroupCoverage.Coverage.Builder setCoverageScore(float value)
The percent of transition routes in the transition route group that are
covered.
float coverage_score = 3;
Parameter
Name | Description |
value | float
The coverageScore to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroupCoverage.Coverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransitionRouteGroupCoverage.Coverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRouteGroup(TransitionRouteGroup value)
public TransitionRouteGroupCoverage.Coverage.Builder setRouteGroup(TransitionRouteGroup value)
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Parameter
Returns
setRouteGroup(TransitionRouteGroup.Builder builderForValue)
public TransitionRouteGroupCoverage.Coverage.Builder setRouteGroup(TransitionRouteGroup.Builder builderForValue)
Transition route group metadata. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.TransitionRouteGroup route_group = 1;
Parameter
Returns
setTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition value)
public TransitionRouteGroupCoverage.Coverage.Builder setTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition value)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameters
Returns
setTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition.Builder builderForValue)
public TransitionRouteGroupCoverage.Coverage.Builder setTransitions(int index, TransitionRouteGroupCoverage.Coverage.Transition.Builder builderForValue)
The list of transition routes and coverage in the transition route group.
repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroupCoverage.Coverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides