Class TransitionRouteGroupCoverage.Coverage.Builder (0.14.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.v3.TransitionRouteGroupCoverage.Coverage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition>
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Coverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
NameDescription
valueTransitionRouteGroupCoverage.Coverage.Transition
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
NameDescription
builderForValueTransitionRouteGroupCoverage.Coverage.Transition.Builder
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
NameDescription
indexint
valueTransitionRouteGroupCoverage.Coverage.Transition
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
NameDescription
indexint
builderForValueTransitionRouteGroupCoverage.Coverage.Transition.Builder
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Transition.Builder

build()

public TransitionRouteGroupCoverage.Coverage build()
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage

buildPartial()

public TransitionRouteGroupCoverage.Coverage buildPartial()
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransitionRouteGroupCoverage.Coverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionRouteGroupCoverage.Coverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v3.TransitionRouteGroup route_group = 1;

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

Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

clone()

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

The coverageScore.

getDefaultInstanceForType()

public TransitionRouteGroupCoverage.Coverage getDefaultInstanceForType()
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the routeGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransitionRouteGroupCoverage.Coverage other)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(TransitionRouteGroupCoverage.Coverage other)
Parameter
NameDescription
otherTransitionRouteGroupCoverage.Coverage
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransitionRouteGroupCoverage.Coverage.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v3.TransitionRouteGroup route_group = 1;

Parameter
NameDescription
valueTransitionRouteGroup
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Coverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuefloat

The coverageScore to set.

Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroupCoverage.Coverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v3.TransitionRouteGroup route_group = 1;

Parameter
NameDescription
valueTransitionRouteGroup
Returns
TypeDescription
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.v3.TransitionRouteGroup route_group = 1;

Parameter
NameDescription
builderForValueTransitionRouteGroup.Builder
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
NameDescription
indexint
valueTransitionRouteGroupCoverage.Coverage.Transition
Returns
TypeDescription
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.v3.TransitionRouteGroupCoverage.Coverage.Transition transitions = 2;

Parameters
NameDescription
indexint
builderForValueTransitionRouteGroupCoverage.Coverage.Transition.Builder
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransitionRouteGroupCoverage.Coverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransitionRouteGroupCoverage.Coverage.Builder
Overrides