Class TransitionCoverage.Transition (0.14.2)

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

A transition in a page.

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

Static Fields

COVERED_FIELD_NUMBER

public static final int COVERED_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_HANDLER_FIELD_NUMBER

public static final int EVENT_HANDLER_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSITION_ROUTE_FIELD_NUMBER

public static final int TRANSITION_ROUTE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransitionCoverage.Transition getDefaultInstance()
Returns
TypeDescription
TransitionCoverage.Transition

getDescriptor()

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

newBuilder()

public static TransitionCoverage.Transition.Builder newBuilder()
Returns
TypeDescription
TransitionCoverage.Transition.Builder

newBuilder(TransitionCoverage.Transition prototype)

public static TransitionCoverage.Transition.Builder newBuilder(TransitionCoverage.Transition prototype)
Parameter
NameDescription
prototypeTransitionCoverage.Transition
Returns
TypeDescription
TransitionCoverage.Transition.Builder

parseDelimitedFrom(InputStream input)

public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransitionCoverage.Transition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransitionCoverage.Transition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransitionCoverage.Transition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransitionCoverage.Transition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransitionCoverage.Transition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransitionCoverage.Transition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransitionCoverage.Transition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getDetailCase()

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

getEventHandler()

public EventHandler getEventHandler()

Event handler.

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

Returns
TypeDescription
EventHandler

The eventHandler.

getEventHandlerOrBuilder()

public EventHandlerOrBuilder getEventHandlerOrBuilder()

Event handler.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSource()

public TransitionCoverage.TransitionNode getSource()

The start node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNode

The source.

getSourceOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()

The start node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNodeOrBuilder

getTarget()

public TransitionCoverage.TransitionNode getTarget()

The end node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNode

The target.

getTargetOrBuilder()

public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()

The end node of a transition.

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

Returns
TypeDescription
TransitionCoverage.TransitionNodeOrBuilder

getTransitionRoute()

public TransitionRoute getTransitionRoute()

Intent route or condition route.

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

Returns
TypeDescription
TransitionRoute

The transitionRoute.

getTransitionRouteOrBuilder()

public TransitionRouteOrBuilder getTransitionRouteOrBuilder()

Intent route or condition route.

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

Returns
TypeDescription
TransitionRouteOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEventHandler()

public boolean hasEventHandler()

Event handler.

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

Returns
TypeDescription
boolean

Whether the transitionRoute field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransitionCoverage.Transition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransitionCoverage.Transition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException