Class TransitionRouteGroupCoverage.Coverage.Builder (0.55.0)

See more code actions.
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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Coverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Name Description
value TransitionRouteGroupCoverage.Coverage.Transition

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
Name Description
builderForValue TransitionRouteGroupCoverage.Coverage.Transition.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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
Name Description
index int
value TransitionRouteGroupCoverage.Coverage.Transition

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
Name Description
index int
builderForValue TransitionRouteGroupCoverage.Coverage.Transition.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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

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
Name Description
index int

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()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionRouteGroupCoverage.Coverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

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;

clone()

public TransitionRouteGroupCoverage.Coverage.Builder clone()
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.v3.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.v3.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.v3.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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
Name Description
index int

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
Name Description
index int

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

Parameter
Name Description
index int

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
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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
Name Description
value TransitionRouteGroup

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Coverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
Name Description
index int

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
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
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
Name Description
value TransitionRouteGroup

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
Name Description
builderForValue TransitionRouteGroup.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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
Name Description
index int
value TransitionRouteGroupCoverage.Coverage.Transition

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
Name Description
index int
builderForValue TransitionRouteGroupCoverage.Coverage.Transition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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