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 |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransitionCoverage.Transition.Builder newBuilder()
newBuilder(TransitionCoverage.Transition prototype)
public static TransitionCoverage.Transition.Builder newBuilder(TransitionCoverage.Transition prototype)
public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input)
public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransitionCoverage.Transition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransitionCoverage.Transition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(CodedInputStream input)
public static TransitionCoverage.Transition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(InputStream input)
public static TransitionCoverage.Transition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransitionCoverage.Transition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransitionCoverage.Transition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransitionCoverage.Transition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getDetailCase()
public TransitionCoverage.Transition.DetailCase getDetailCase()
getEventHandler()
public EventHandler getEventHandler()
Event handler.
.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;
getEventHandlerOrBuilder()
public EventHandlerOrBuilder getEventHandlerOrBuilder()
Event handler.
.google.cloud.dialogflow.cx.v3.EventHandler event_handler = 6;
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()
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.v3.TransitionCoverage.TransitionNode source = 1;
getSourceOrBuilder()
public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()
The start node of a transition.
.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode source = 1;
getTarget()
public TransitionCoverage.TransitionNode getTarget()
The end node of a transition.
.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;
getTargetOrBuilder()
public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()
The end node of a transition.
.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode target = 2;
getTransitionRoute()
public TransitionRoute getTransitionRoute()
Intent route or condition route.
.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;
getTransitionRouteOrBuilder()
public TransitionRouteOrBuilder getTransitionRouteOrBuilder()
Intent route or condition route.
.google.cloud.dialogflow.cx.v3.TransitionRoute transition_route = 5;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransitionCoverage.Transition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransitionCoverage.Transition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TransitionCoverage.Transition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides