Class TransitionCoverage.Transition.Builder (0.12.1)

public static final class TransitionCoverage.Transition.Builder extends GeneratedMessageV3.Builder<TransitionCoverage.Transition.Builder> implements TransitionCoverage.TransitionOrBuilder

A transition in a page.

Protobuf type google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionCoverage.Transition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns Overrides

build()

public TransitionCoverage.Transition build()
Returns

buildPartial()

public TransitionCoverage.Transition buildPartial()
Returns

clear()

public TransitionCoverage.Transition.Builder clear()
Returns Overrides

clearCovered()

public TransitionCoverage.Transition.Builder clearCovered()

Whether or not the transition is covered by at least one of the agent's test cases.

bool covered = 3;

Returns
Type Description
TransitionCoverage.Transition.Builder

This builder for chaining.

clearDetail()

public TransitionCoverage.Transition.Builder clearDetail()
Returns

clearEventHandler()

public TransitionCoverage.Transition.Builder clearEventHandler()

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Returns

clearField(Descriptors.FieldDescriptor field)

public TransitionCoverage.Transition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns Overrides

clearIndex()

public TransitionCoverage.Transition.Builder clearIndex()

The index of a transition in the transition list. Starting from 0.

int32 index = 4;

Returns
Type Description
TransitionCoverage.Transition.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionCoverage.Transition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns Overrides

clearSource()

public TransitionCoverage.Transition.Builder clearSource()

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Returns

clearTarget()

public TransitionCoverage.Transition.Builder clearTarget()

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Returns

clearTransitionRoute()

public TransitionCoverage.Transition.Builder clearTransitionRoute()

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Returns

clone()

public TransitionCoverage.Transition.Builder clone()
Returns Overrides

getCovered()

public boolean getCovered()

Whether or not the transition is covered by at least one of the agent's test cases.

bool covered = 3;

Returns
Type Description
boolean

The covered.

getDefaultInstanceForType()

public TransitionCoverage.Transition getDefaultInstanceForType()
Returns

getDescriptorForType()

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

getDetailCase()

public TransitionCoverage.Transition.DetailCase getDetailCase()
Returns

getEventHandler()

public EventHandler getEventHandler()

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Returns
Type Description
EventHandler

The eventHandler.

getEventHandlerBuilder()

public EventHandler.Builder getEventHandlerBuilder()

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Returns
Type Description
EventHandler.Builder

getEventHandlerOrBuilder()

public EventHandlerOrBuilder getEventHandlerOrBuilder()

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Returns
Type Description
EventHandlerOrBuilder

getIndex()

public int getIndex()

The index of a transition in the transition list. Starting from 0.

int32 index = 4;

Returns
Type Description
int

The index.

getSource()

public TransitionCoverage.TransitionNode getSource()

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Returns
Type Description
TransitionCoverage.TransitionNode

The source.

getSourceBuilder()

public TransitionCoverage.TransitionNode.Builder getSourceBuilder()

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Returns

getSourceOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Returns

getTarget()

public TransitionCoverage.TransitionNode getTarget()

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Returns
Type Description
TransitionCoverage.TransitionNode

The target.

getTargetBuilder()

public TransitionCoverage.TransitionNode.Builder getTargetBuilder()

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Returns

getTargetOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Returns

getTransitionRoute()

public TransitionRoute getTransitionRoute()

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Returns
Type Description
TransitionRoute

The transitionRoute.

getTransitionRouteBuilder()

public TransitionRoute.Builder getTransitionRouteBuilder()

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Returns
Type Description
TransitionRoute.Builder

getTransitionRouteOrBuilder()

public TransitionRouteOrBuilder getTransitionRouteOrBuilder()

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Returns
Type Description
TransitionRouteOrBuilder

hasEventHandler()

public boolean hasEventHandler()

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Returns
Type Description
boolean

Whether the eventHandler field is set.

hasSource()

public boolean hasSource()

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Returns
Type Description
boolean

Whether the source field is set.

hasTarget()

public boolean hasTarget()

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Returns
Type Description
boolean

Whether the target field is set.

hasTransitionRoute()

public boolean hasTransitionRoute()

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Returns
Type Description
boolean

Whether the transitionRoute field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventHandler(EventHandler value)

public TransitionCoverage.Transition.Builder mergeEventHandler(EventHandler value)

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Parameter
Name Description
value EventHandler
Returns

mergeFrom(TransitionCoverage.Transition other)

public TransitionCoverage.Transition.Builder mergeFrom(TransitionCoverage.Transition other)
Parameter
Name Description
other TransitionCoverage.Transition
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransitionCoverage.Transition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns Overrides

mergeSource(TransitionCoverage.TransitionNode value)

public TransitionCoverage.Transition.Builder mergeSource(TransitionCoverage.TransitionNode value)

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Parameter
Name Description
value TransitionCoverage.TransitionNode
Returns

mergeTarget(TransitionCoverage.TransitionNode value)

public TransitionCoverage.Transition.Builder mergeTarget(TransitionCoverage.TransitionNode value)

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Parameter
Name Description
value TransitionCoverage.TransitionNode
Returns

mergeTransitionRoute(TransitionRoute value)

public TransitionCoverage.Transition.Builder mergeTransitionRoute(TransitionRoute value)

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Parameter
Name Description
value TransitionRoute
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionCoverage.Transition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns Overrides

setCovered(boolean value)

public TransitionCoverage.Transition.Builder setCovered(boolean value)

Whether or not the transition is covered by at least one of the agent's test cases.

bool covered = 3;

Parameter
Name Description
value boolean

The covered to set.

Returns
Type Description
TransitionCoverage.Transition.Builder

This builder for chaining.

setEventHandler(EventHandler value)

public TransitionCoverage.Transition.Builder setEventHandler(EventHandler value)

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Parameter
Name Description
value EventHandler
Returns

setEventHandler(EventHandler.Builder builderForValue)

public TransitionCoverage.Transition.Builder setEventHandler(EventHandler.Builder builderForValue)

Event handler.

.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;

Parameter
Name Description
builderForValue EventHandler.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionCoverage.Transition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns Overrides

setIndex(int value)

public TransitionCoverage.Transition.Builder setIndex(int value)

The index of a transition in the transition list. Starting from 0.

int32 index = 4;

Parameter
Name Description
value int

The index to set.

Returns
Type Description
TransitionCoverage.Transition.Builder

This builder for chaining.

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

public TransitionCoverage.Transition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns Overrides

setSource(TransitionCoverage.TransitionNode value)

public TransitionCoverage.Transition.Builder setSource(TransitionCoverage.TransitionNode value)

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Parameter
Name Description
value TransitionCoverage.TransitionNode
Returns

setSource(TransitionCoverage.TransitionNode.Builder builderForValue)

public TransitionCoverage.Transition.Builder setSource(TransitionCoverage.TransitionNode.Builder builderForValue)

The start node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;

Parameter
Name Description
builderForValue TransitionCoverage.TransitionNode.Builder
Returns

setTarget(TransitionCoverage.TransitionNode value)

public TransitionCoverage.Transition.Builder setTarget(TransitionCoverage.TransitionNode value)

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Parameter
Name Description
value TransitionCoverage.TransitionNode
Returns

setTarget(TransitionCoverage.TransitionNode.Builder builderForValue)

public TransitionCoverage.Transition.Builder setTarget(TransitionCoverage.TransitionNode.Builder builderForValue)

The end node of a transition.

.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;

Parameter
Name Description
builderForValue TransitionCoverage.TransitionNode.Builder
Returns

setTransitionRoute(TransitionRoute value)

public TransitionCoverage.Transition.Builder setTransitionRoute(TransitionRoute value)

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Parameter
Name Description
value TransitionRoute
Returns

setTransitionRoute(TransitionRoute.Builder builderForValue)

public TransitionCoverage.Transition.Builder setTransitionRoute(TransitionRoute.Builder builderForValue)

Intent route or condition route.

.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;

Parameter
Name Description
builderForValue TransitionRoute.Builder
Returns

setUnknownFields(UnknownFieldSet unknownFields)

public final TransitionCoverage.Transition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns Overrides