Class TransitionRouteGroupCoverage.Coverage.Builder (0.20.0)

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.v3beta1.TransitionRouteGroupCoverage.Coverage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition>
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Coverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
value TransitionRouteGroupCoverage.Coverage.Transition
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
builderForValue TransitionRouteGroupCoverage.Coverage.Transition.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
Name Description
index int
value TransitionRouteGroupCoverage.Coverage.Transition
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
Name Description
index int
builderForValue TransitionRouteGroupCoverage.Coverage.Transition.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

addTransitionsBuilder()

public TransitionRouteGroupCoverage.Coverage.Transition.Builder addTransitionsBuilder()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Transition.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Transition.Builder

build()

public TransitionRouteGroupCoverage.Coverage build()
Returns
Type Description
TransitionRouteGroupCoverage.Coverage

buildPartial()

public TransitionRouteGroupCoverage.Coverage buildPartial()
Returns
Type Description
TransitionRouteGroupCoverage.Coverage

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransitionRouteGroupCoverage.Coverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionRouteGroupCoverage.Coverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
Overrides

clearRouteGroup()

public TransitionRouteGroupCoverage.Coverage.Builder clearRouteGroup()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

clearTransitions()

public TransitionRouteGroupCoverage.Coverage.Builder clearTransitions()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRouteGroup()

public TransitionRouteGroup getRouteGroup()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
TransitionRouteGroup

The routeGroup.

getRouteGroupBuilder()

public TransitionRouteGroup.Builder getRouteGroupBuilder()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
TransitionRouteGroup.Builder

getRouteGroupOrBuilder()

public TransitionRouteGroupOrBuilder getRouteGroupOrBuilder()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
TransitionRouteGroupOrBuilder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Transition

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Transition.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
List<Builder>

getTransitionsCount()

public int getTransitionsCount()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
int

getTransitionsList()

public List<TransitionRouteGroupCoverage.Coverage.Transition> getTransitionsList()

The list of transition routes and coverage in the transition route group.

repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
List<Transition>

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.TransitionOrBuilder>

hasRouteGroup()

public boolean hasRouteGroup()

Transition route group metadata. Only name and displayName will be set.

.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup route_group = 1;

Returns
Type Description
boolean

Whether the routeGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransitionRouteGroupCoverage.Coverage other)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(TransitionRouteGroupCoverage.Coverage other)
Parameter
Name Description
other TransitionRouteGroupCoverage.Coverage
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
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.v3beta1.TransitionRouteGroup route_group = 1;

Parameter
Name Description
value TransitionRouteGroup
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Coverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Coverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
Overrides

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

public TransitionRouteGroupCoverage.Coverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
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.v3beta1.TransitionRouteGroup route_group = 1;

Parameter
Name Description
value TransitionRouteGroup
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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.v3beta1.TransitionRouteGroup route_group = 1;

Parameter
Name Description
builderForValue TransitionRouteGroup.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
Name Description
index int
value TransitionRouteGroupCoverage.Coverage.Transition
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

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.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
Name Description
index int
builderForValue TransitionRouteGroupCoverage.Coverage.Transition.Builder
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Coverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransitionRouteGroupCoverage.Coverage.Builder
Overrides