Class TransitionCoverage.Transition (0.45.0)

public static final class TransitionCoverage.Transition extends GeneratedMessageV3 implements TransitionCoverage.TransitionOrBuilder

A transition in a page.

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

Static Fields

COVERED_FIELD_NUMBER

public static final int COVERED_FIELD_NUMBER
Field Value
Type Description
int

EVENT_HANDLER_FIELD_NUMBER

public static final int EVENT_HANDLER_FIELD_NUMBER
Field Value
Type Description
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

TRANSITION_ROUTE_FIELD_NUMBER

public static final int TRANSITION_ROUTE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransitionCoverage.Transition getDefaultInstance()
Returns
Type Description
TransitionCoverage.Transition

getDescriptor()

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

newBuilder()

public static TransitionCoverage.Transition.Builder newBuilder()
Returns
Type Description
TransitionCoverage.Transition.Builder

newBuilder(TransitionCoverage.Transition prototype)

public static TransitionCoverage.Transition.Builder newBuilder(TransitionCoverage.Transition prototype)
Parameter
Name Description
prototype TransitionCoverage.Transition
Returns
Type Description
TransitionCoverage.Transition.Builder

parseDelimitedFrom(InputStream input)

public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransitionCoverage.Transition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransitionCoverage.Transition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransitionCoverage.Transition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransitionCoverage.Transition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransitionCoverage.Transition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionCoverage.Transition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransitionCoverage.Transition> parser()
Returns
Type Description
Parser<Transition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getDetailCase()

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

getEventHandler()

public EventHandler getEventHandler()

Event handler.

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

Returns
Type Description
EventHandler

The eventHandler.

getEventHandlerOrBuilder()

public EventHandlerOrBuilder getEventHandlerOrBuilder()

Event handler.

.google.cloud.dialogflow.cx.v3beta1.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.

getParserForType()

public Parser<TransitionCoverage.Transition> getParserForType()
Returns
Type Description
Parser<Transition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSource()

public TransitionCoverage.TransitionNode getSource()

The start node of a transition.

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

Returns
Type Description
TransitionCoverage.TransitionNode

The source.

getSourceOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()

The start node of a transition.

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

Returns
Type Description
TransitionCoverage.TransitionNodeOrBuilder

getTarget()

public TransitionCoverage.TransitionNode getTarget()

The end node of a transition.

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

Returns
Type Description
TransitionCoverage.TransitionNode

The target.

getTargetOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()

The end node of a transition.

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

Returns
Type Description
TransitionCoverage.TransitionNodeOrBuilder

getTransitionRoute()

public TransitionRoute getTransitionRoute()

Intent route or condition route.

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

Returns
Type Description
TransitionRoute

The transitionRoute.

getTransitionRouteOrBuilder()

public TransitionRouteOrBuilder getTransitionRouteOrBuilder()

Intent route or condition route.

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

Returns
Type Description
TransitionRouteOrBuilder

hasEventHandler()

public boolean hasEventHandler()

Event handler.

.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.TransitionRoute transition_route = 5;

Returns
Type Description
boolean

Whether the transitionRoute field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransitionCoverage.Transition.Builder newBuilderForType()
Returns
Type Description
TransitionCoverage.Transition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransitionCoverage.Transition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransitionCoverage.Transition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransitionCoverage.Transition.Builder toBuilder()
Returns
Type Description
TransitionCoverage.Transition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException