Class TransitionCoverage.Transition.Builder (0.14.2)

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.v3beta1.TransitionCoverage.Transition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransitionCoverage.Transition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransitionCoverage.Transition.Builder
Overrides

build()

public TransitionCoverage.Transition build()
Returns
TypeDescription
TransitionCoverage.Transition

buildPartial()

public TransitionCoverage.Transition buildPartial()
Returns
TypeDescription
TransitionCoverage.Transition

clear()

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

This builder for chaining.

clearDetail()

public TransitionCoverage.Transition.Builder clearDetail()
Returns
TypeDescription
TransitionCoverage.Transition.Builder

clearEventHandler()

public TransitionCoverage.Transition.Builder clearEventHandler()

Event handler.

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

Returns
TypeDescription
TransitionCoverage.Transition.Builder

clearField(Descriptors.FieldDescriptor field)

public TransitionCoverage.Transition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TransitionCoverage.Transition.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TransitionCoverage.Transition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TransitionCoverage.Transition.Builder
Overrides

clearSource()

public TransitionCoverage.Transition.Builder clearSource()

The start node of a transition.

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

Returns
TypeDescription
TransitionCoverage.Transition.Builder

clearTarget()

public TransitionCoverage.Transition.Builder clearTarget()

The end node of a transition.

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

Returns
TypeDescription
TransitionCoverage.Transition.Builder

clearTransitionRoute()

public TransitionCoverage.Transition.Builder clearTransitionRoute()

Intent route or condition route.

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

Returns
TypeDescription
TransitionCoverage.Transition.Builder

clone()

public TransitionCoverage.Transition.Builder clone()
Returns
TypeDescription
TransitionCoverage.Transition.Builder
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
TypeDescription
boolean

The covered.

getDefaultInstanceForType()

public TransitionCoverage.Transition getDefaultInstanceForType()
Returns
TypeDescription
TransitionCoverage.Transition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetailCase()

public TransitionCoverage.Transition.DetailCase getDetailCase()
Returns
TypeDescription
TransitionCoverage.Transition.DetailCase

getEventHandler()

public EventHandler getEventHandler()

Event handler.

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

Returns
TypeDescription
EventHandler

The eventHandler.

getEventHandlerBuilder()

public EventHandler.Builder getEventHandlerBuilder()

Event handler.

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

Returns
TypeDescription
EventHandler.Builder

getEventHandlerOrBuilder()

public EventHandlerOrBuilder getEventHandlerOrBuilder()

Event handler.

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

Returns
TypeDescription
EventHandlerOrBuilder

getIndex()

public int getIndex()

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

int32 index = 4;

Returns
TypeDescription
int

The index.

getSource()

public TransitionCoverage.TransitionNode getSource()

The start node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNode

The source.

getSourceBuilder()

public TransitionCoverage.TransitionNode.Builder getSourceBuilder()

The start node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNode.Builder

getSourceOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()

The start node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNodeOrBuilder

getTarget()

public TransitionCoverage.TransitionNode getTarget()

The end node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNode

The target.

getTargetBuilder()

public TransitionCoverage.TransitionNode.Builder getTargetBuilder()

The end node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNode.Builder

getTargetOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()

The end node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNodeOrBuilder

getTransitionRoute()

public TransitionRoute getTransitionRoute()

Intent route or condition route.

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

Returns
TypeDescription
TransitionRoute

The transitionRoute.

getTransitionRouteBuilder()

public TransitionRoute.Builder getTransitionRouteBuilder()

Intent route or condition route.

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

Returns
TypeDescription
TransitionRoute.Builder

getTransitionRouteOrBuilder()

public TransitionRouteOrBuilder getTransitionRouteOrBuilder()

Intent route or condition route.

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

Returns
TypeDescription
TransitionRouteOrBuilder

hasEventHandler()

public boolean hasEventHandler()

Event handler.

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

Returns
TypeDescription
boolean

Whether the eventHandler field is set.

hasSource()

public boolean hasSource()

The start node of a transition.

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

Returns
TypeDescription
boolean

Whether the source field is set.

hasTarget()

public boolean hasTarget()

The end node of a transition.

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

Returns
TypeDescription
boolean

Whether the target field is set.

hasTransitionRoute()

public boolean hasTransitionRoute()

Intent route or condition route.

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

Returns
TypeDescription
boolean

Whether the transitionRoute field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEventHandler(EventHandler value)

public TransitionCoverage.Transition.Builder mergeEventHandler(EventHandler value)

Event handler.

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

Parameter
NameDescription
valueEventHandler
Returns
TypeDescription
TransitionCoverage.Transition.Builder

mergeFrom(TransitionCoverage.Transition other)

public TransitionCoverage.Transition.Builder mergeFrom(TransitionCoverage.Transition other)
Parameter
NameDescription
otherTransitionCoverage.Transition
Returns
TypeDescription
TransitionCoverage.Transition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransitionCoverage.Transition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v3beta1.TransitionCoverage.TransitionNode source = 1;

Parameter
NameDescription
valueTransitionCoverage.TransitionNode
Returns
TypeDescription
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.v3beta1.TransitionCoverage.TransitionNode target = 2;

Parameter
NameDescription
valueTransitionCoverage.TransitionNode
Returns
TypeDescription
TransitionCoverage.Transition.Builder

mergeTransitionRoute(TransitionRoute value)

public TransitionCoverage.Transition.Builder mergeTransitionRoute(TransitionRoute value)

Intent route or condition route.

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

Parameter
NameDescription
valueTransitionRoute
Returns
TypeDescription
TransitionCoverage.Transition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransitionCoverage.Transition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransitionCoverage.Transition.Builder
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
NameDescription
valueboolean

The covered to set.

Returns
TypeDescription
TransitionCoverage.Transition.Builder

This builder for chaining.

setEventHandler(EventHandler value)

public TransitionCoverage.Transition.Builder setEventHandler(EventHandler value)

Event handler.

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

Parameter
NameDescription
valueEventHandler
Returns
TypeDescription
TransitionCoverage.Transition.Builder

setEventHandler(EventHandler.Builder builderForValue)

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

Event handler.

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

Parameter
NameDescription
builderForValueEventHandler.Builder
Returns
TypeDescription
TransitionCoverage.Transition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionCoverage.Transition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The index to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v3beta1.TransitionCoverage.TransitionNode source = 1;

Parameter
NameDescription
valueTransitionCoverage.TransitionNode
Returns
TypeDescription
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.v3beta1.TransitionCoverage.TransitionNode source = 1;

Parameter
NameDescription
builderForValueTransitionCoverage.TransitionNode.Builder
Returns
TypeDescription
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.v3beta1.TransitionCoverage.TransitionNode target = 2;

Parameter
NameDescription
valueTransitionCoverage.TransitionNode
Returns
TypeDescription
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.v3beta1.TransitionCoverage.TransitionNode target = 2;

Parameter
NameDescription
builderForValueTransitionCoverage.TransitionNode.Builder
Returns
TypeDescription
TransitionCoverage.Transition.Builder

setTransitionRoute(TransitionRoute value)

public TransitionCoverage.Transition.Builder setTransitionRoute(TransitionRoute value)

Intent route or condition route.

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

Parameter
NameDescription
valueTransitionRoute
Returns
TypeDescription
TransitionCoverage.Transition.Builder

setTransitionRoute(TransitionRoute.Builder builderForValue)

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

Intent route or condition route.

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

Parameter
NameDescription
builderForValueTransitionRoute.Builder
Returns
TypeDescription
TransitionCoverage.Transition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransitionCoverage.Transition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransitionCoverage.Transition.Builder
Overrides