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
EVENT_HANDLER_FIELD_NUMBER
public static final int EVENT_HANDLER_FIELD_NUMBER
Field Value
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
Field Value
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
TRANSITION_ROUTE_FIELD_NUMBER
public static final int TRANSITION_ROUTE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransitionCoverage.Transition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransitionCoverage.Transition.Builder newBuilder()
Returns
newBuilder(TransitionCoverage.Transition prototype)
public static TransitionCoverage.Transition.Builder newBuilder(TransitionCoverage.Transition prototype)
Parameter
Returns
public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransitionCoverage.Transition parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransitionCoverage.Transition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransitionCoverage.Transition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransitionCoverage.Transition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransitionCoverage.Transition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransitionCoverage.Transition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransitionCoverage.Transition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransitionCoverage.Transition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getDetailCase()
public TransitionCoverage.Transition.DetailCase getDetailCase()
Returns
getEventHandler()
public EventHandler getEventHandler()
Event handler.
.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;
Returns
getEventHandlerOrBuilder()
public EventHandlerOrBuilder getEventHandlerOrBuilder()
Event handler.
.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSource()
public TransitionCoverage.TransitionNode getSource()
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
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
getTransitionRouteOrBuilder()
public TransitionRouteOrBuilder getTransitionRouteOrBuilder()
Intent route or condition route.
.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransitionCoverage.Transition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransitionCoverage.Transition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransitionCoverage.Transition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions