Class TransitionCoverage.Transition
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition
-
- All Implemented Interfaces:
TransitionCoverage.TransitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- TransitionCoverage
public static final class TransitionCoverage.Transition extends com.google.protobuf.GeneratedMessageV3 implements TransitionCoverage.TransitionOrBuilder
A transition in a page.
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.TransitionCoverage.Transition- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransitionCoverage.Transition.BuilderA transition in a page.static classTransitionCoverage.Transition.DetailCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOVERED_FIELD_NUMBERstatic intEVENT_HANDLER_FIELD_NUMBERstatic intINDEX_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intTARGET_FIELD_NUMBERstatic intTRANSITION_ROUTE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetCovered()Whether the transition is covered by at least one of the agent's test cases.static TransitionCoverage.TransitiongetDefaultInstance()TransitionCoverage.TransitiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()TransitionCoverage.Transition.DetailCasegetDetailCase()EventHandlergetEventHandler()Event handler.EventHandlerOrBuildergetEventHandlerOrBuilder()Event handler.intgetIndex()The index of a transition in the transition list.com.google.protobuf.Parser<TransitionCoverage.Transition>getParserForType()intgetSerializedSize()TransitionCoverage.TransitionNodegetSource()The start node of a transition.TransitionCoverage.TransitionNodeOrBuildergetSourceOrBuilder()The start node of a transition.TransitionCoverage.TransitionNodegetTarget()The end node of a transition.TransitionCoverage.TransitionNodeOrBuildergetTargetOrBuilder()The end node of a transition.TransitionRoutegetTransitionRoute()Intent route or condition route.TransitionRouteOrBuildergetTransitionRouteOrBuilder()Intent route or condition route.booleanhasEventHandler()Event handler.inthashCode()booleanhasSource()The start node of a transition.booleanhasTarget()The end node of a transition.booleanhasTransitionRoute()Intent route or condition route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TransitionCoverage.Transition.BuildernewBuilder()static TransitionCoverage.Transition.BuildernewBuilder(TransitionCoverage.Transition prototype)TransitionCoverage.Transition.BuildernewBuilderForType()protected TransitionCoverage.Transition.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TransitionCoverage.TransitionparseDelimitedFrom(InputStream input)static TransitionCoverage.TransitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransitionCoverage.TransitionparseFrom(byte[] data)static TransitionCoverage.TransitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransitionCoverage.TransitionparseFrom(com.google.protobuf.ByteString data)static TransitionCoverage.TransitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransitionCoverage.TransitionparseFrom(com.google.protobuf.CodedInputStream input)static TransitionCoverage.TransitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransitionCoverage.TransitionparseFrom(InputStream input)static TransitionCoverage.TransitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransitionCoverage.TransitionparseFrom(ByteBuffer data)static TransitionCoverage.TransitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TransitionCoverage.Transition>parser()TransitionCoverage.Transition.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COVERED_FIELD_NUMBER
public static final int COVERED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSITION_ROUTE_FIELD_NUMBER
public static final int TRANSITION_ROUTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_HANDLER_FIELD_NUMBER
public static final int EVENT_HANDLER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDetailCase
public TransitionCoverage.Transition.DetailCase getDetailCase()
- Specified by:
getDetailCasein interfaceTransitionCoverage.TransitionOrBuilder
-
hasSource
public boolean hasSource()
The start node of a transition.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionNode source = 1;- Specified by:
hasSourcein interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public TransitionCoverage.TransitionNode getSource()
The start node of a transition.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionNode source = 1;- Specified by:
getSourcein interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- The source.
-
getSourceOrBuilder
public TransitionCoverage.TransitionNodeOrBuilder getSourceOrBuilder()
The start node of a transition.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionNode source = 1;- Specified by:
getSourceOrBuilderin interfaceTransitionCoverage.TransitionOrBuilder
-
getIndex
public int getIndex()
The index of a transition in the transition list. Starting from 0.
int32 index = 4;- Specified by:
getIndexin interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- The index.
-
hasTarget
public boolean hasTarget()
The end node of a transition.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionNode target = 2;- Specified by:
hasTargetin interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- Whether the target field is set.
-
getTarget
public TransitionCoverage.TransitionNode getTarget()
The end node of a transition.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionNode target = 2;- Specified by:
getTargetin interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- The target.
-
getTargetOrBuilder
public TransitionCoverage.TransitionNodeOrBuilder getTargetOrBuilder()
The end node of a transition.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage.TransitionNode target = 2;- Specified by:
getTargetOrBuilderin interfaceTransitionCoverage.TransitionOrBuilder
-
getCovered
public boolean getCovered()
Whether the transition is covered by at least one of the agent's test cases.
bool covered = 3;- Specified by:
getCoveredin interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- The covered.
-
hasTransitionRoute
public boolean hasTransitionRoute()
Intent route or condition route.
.google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_route = 5;- Specified by:
hasTransitionRoutein interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- Whether the transitionRoute field is set.
-
getTransitionRoute
public TransitionRoute getTransitionRoute()
Intent route or condition route.
.google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_route = 5;- Specified by:
getTransitionRoutein interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- The transitionRoute.
-
getTransitionRouteOrBuilder
public TransitionRouteOrBuilder getTransitionRouteOrBuilder()
Intent route or condition route.
.google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_route = 5;- Specified by:
getTransitionRouteOrBuilderin interfaceTransitionCoverage.TransitionOrBuilder
-
hasEventHandler
public boolean hasEventHandler()
Event handler.
.google.cloud.dialogflow.cx.v3beta1.EventHandler event_handler = 6;- Specified by:
hasEventHandlerin interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- Whether the eventHandler field is set.
-
getEventHandler
public EventHandler getEventHandler()
Event handler.
.google.cloud.dialogflow.cx.v3beta1.EventHandler event_handler = 6;- Specified by:
getEventHandlerin interfaceTransitionCoverage.TransitionOrBuilder- Returns:
- The eventHandler.
-
getEventHandlerOrBuilder
public EventHandlerOrBuilder getEventHandlerOrBuilder()
Event handler.
.google.cloud.dialogflow.cx.v3beta1.EventHandler event_handler = 6;- Specified by:
getEventHandlerOrBuilderin interfaceTransitionCoverage.TransitionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransitionCoverage.Transition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransitionCoverage.Transition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransitionCoverage.Transition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransitionCoverage.Transition.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransitionCoverage.Transition.Builder newBuilder()
-
newBuilder
public static TransitionCoverage.Transition.Builder newBuilder(TransitionCoverage.Transition prototype)
-
toBuilder
public TransitionCoverage.Transition.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransitionCoverage.Transition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransitionCoverage.Transition getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransitionCoverage.Transition> parser()
-
getParserForType
public com.google.protobuf.Parser<TransitionCoverage.Transition> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransitionCoverage.Transition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-