Class TransitionCoverage.Transition.Builder (0.34.0)

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
Type Description
TransitionCoverage.Transition.Builder
Overrides

build()

public TransitionCoverage.Transition build()
Returns
Type Description
TransitionCoverage.Transition

buildPartial()

public TransitionCoverage.Transition buildPartial()
Returns
Type Description
TransitionCoverage.Transition

clear()

public TransitionCoverage.Transition.Builder clear()
Returns
Type Description
TransitionCoverage.Transition.Builder
Overrides

clearCovered()

public TransitionCoverage.Transition.Builder clearCovered()

Whether 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
Type Description
TransitionCoverage.Transition.Builder

clearEventHandler()

public TransitionCoverage.Transition.Builder clearEventHandler()

Event handler.

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

Returns
Type Description
TransitionCoverage.Transition.Builder

clearField(Descriptors.FieldDescriptor field)

public TransitionCoverage.Transition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransitionCoverage.Transition.Builder
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
Type Description
TransitionCoverage.Transition.Builder
Overrides

clearSource()

public TransitionCoverage.Transition.Builder clearSource()

The start node of a transition.

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

Returns
Type Description
TransitionCoverage.Transition.Builder

clearTarget()

public TransitionCoverage.Transition.Builder clearTarget()

The end node of a transition.

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

Returns
Type Description
TransitionCoverage.Transition.Builder

clearTransitionRoute()

public TransitionCoverage.Transition.Builder clearTransitionRoute()

Intent route or condition route.

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

Returns
Type Description
TransitionCoverage.Transition.Builder

clone()

public TransitionCoverage.Transition.Builder clone()
Returns
Type Description
TransitionCoverage.Transition.Builder
Overrides

getCovered()

public boolean getCovered()

Whether 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
Type Description
TransitionCoverage.Transition

getDescriptorForType()

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

getDetailCase()

public TransitionCoverage.Transition.DetailCase getDetailCase()
Returns
Type Description
TransitionCoverage.Transition.DetailCase

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
Type Description
TransitionCoverage.TransitionNode.Builder

getSourceOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()

The start node of a transition.

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

Returns
Type Description
TransitionCoverage.TransitionNodeOrBuilder

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
Type Description
TransitionCoverage.TransitionNode.Builder

getTargetOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()

The end node of a transition.

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

Returns
Type Description
TransitionCoverage.TransitionNodeOrBuilder

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
Type Description
TransitionCoverage.Transition.Builder

mergeFrom(TransitionCoverage.Transition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransitionCoverage.Transition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransitionCoverage.Transition.Builder
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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCovered(boolean value)

public TransitionCoverage.Transition.Builder setCovered(boolean value)

Whether 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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionCoverage.Transition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransitionCoverage.Transition.Builder
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
Type Description
TransitionCoverage.Transition.Builder
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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

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
Type Description
TransitionCoverage.Transition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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