Class TransitionRouteGroupCoverage.Coverage.Builder (0.17.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.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>
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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