Class TraceBlock
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.TraceBlock
- All Implemented Interfaces:
TraceBlockOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TraceBlock
extends com.google.protobuf.GeneratedMessage
implements TraceBlockOrBuilder
The trace block tracks a sequence of actions taken by the agent in a flow or a playbook.Protobuf type
google.cloud.dialogflow.cx.v3beta1.TraceBlock- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe trace block tracks a sequence of actions taken by the agent in a flow or a playbook.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActions(int index) The actions performed by the agent and the user during this session.intThe actions performed by the agent and the user during this session.The actions performed by the agent and the user during this session.getActionsOrBuilder(int index) The actions performed by the agent and the user during this session.List<? extends ActionOrBuilder>The actions performed by the agent and the user during this session.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static TraceBlockstatic final com.google.protobuf.Descriptors.DescriptorOptional.intOptional.Metadata of the flow trace.Metadata of the flow trace.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.com.google.protobuf.Parser<TraceBlock>Metadata of the playbook trace.Metadata of the playbook trace.intMetadata of the speech-to-text and speech-to-text processing.Metadata of the speech-to-text and speech-to-text processing.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanMetadata of the flow trace.inthashCode()booleanOptional.booleanOptional.booleanMetadata of the playbook trace.booleanMetadata of the speech-to-text and speech-to-text processing.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TraceBlock.Builderstatic TraceBlock.BuildernewBuilder(TraceBlock prototype) protected TraceBlock.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TraceBlockparseDelimitedFrom(InputStream input) static TraceBlockparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TraceBlockparseFrom(byte[] data) static TraceBlockparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TraceBlockparseFrom(com.google.protobuf.ByteString data) static TraceBlockparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TraceBlockparseFrom(com.google.protobuf.CodedInputStream input) static TraceBlockparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TraceBlockparseFrom(InputStream input) static TraceBlockparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TraceBlockparseFrom(ByteBuffer data) static TraceBlockparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TraceBlock>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PLAYBOOK_TRACE_METADATA_FIELD_NUMBER
public static final int PLAYBOOK_TRACE_METADATA_FIELD_NUMBER- See Also:
-
FLOW_TRACE_METADATA_FIELD_NUMBER
public static final int FLOW_TRACE_METADATA_FIELD_NUMBER- See Also:
-
SPEECH_PROCESSING_METADATA_FIELD_NUMBER
public static final int SPEECH_PROCESSING_METADATA_FIELD_NUMBER- See Also:
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
COMPLETE_TIME_FIELD_NUMBER
public static final int COMPLETE_TIME_FIELD_NUMBER- See Also:
-
INPUT_PARAMETERS_FIELD_NUMBER
public static final int INPUT_PARAMETERS_FIELD_NUMBER- See Also:
-
OUTPUT_PARAMETERS_FIELD_NUMBER
public static final int OUTPUT_PARAMETERS_FIELD_NUMBER- See Also:
-
END_STATE_FIELD_NUMBER
public static final int END_STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTraceMetadataCase
- Specified by:
getTraceMetadataCasein interfaceTraceBlockOrBuilder
-
hasPlaybookTraceMetadata
public boolean hasPlaybookTraceMetadata()Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;- Specified by:
hasPlaybookTraceMetadatain interfaceTraceBlockOrBuilder- Returns:
- Whether the playbookTraceMetadata field is set.
-
getPlaybookTraceMetadata
Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;- Specified by:
getPlaybookTraceMetadatain interfaceTraceBlockOrBuilder- Returns:
- The playbookTraceMetadata.
-
getPlaybookTraceMetadataOrBuilder
Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;- Specified by:
getPlaybookTraceMetadataOrBuilderin interfaceTraceBlockOrBuilder
-
hasFlowTraceMetadata
public boolean hasFlowTraceMetadata()Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;- Specified by:
hasFlowTraceMetadatain interfaceTraceBlockOrBuilder- Returns:
- Whether the flowTraceMetadata field is set.
-
getFlowTraceMetadata
Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;- Specified by:
getFlowTraceMetadatain interfaceTraceBlockOrBuilder- Returns:
- The flowTraceMetadata.
-
getFlowTraceMetadataOrBuilder
Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;- Specified by:
getFlowTraceMetadataOrBuilderin interfaceTraceBlockOrBuilder
-
hasSpeechProcessingMetadata
public boolean hasSpeechProcessingMetadata()Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;- Specified by:
hasSpeechProcessingMetadatain interfaceTraceBlockOrBuilder- Returns:
- Whether the speechProcessingMetadata field is set.
-
getSpeechProcessingMetadata
Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;- Specified by:
getSpeechProcessingMetadatain interfaceTraceBlockOrBuilder- Returns:
- The speechProcessingMetadata.
-
getSpeechProcessingMetadataOrBuilder
Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;- Specified by:
getSpeechProcessingMetadataOrBuilderin interfaceTraceBlockOrBuilder
-
getActionsList
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;- Specified by:
getActionsListin interfaceTraceBlockOrBuilder
-
getActionsOrBuilderList
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;- Specified by:
getActionsOrBuilderListin interfaceTraceBlockOrBuilder
-
getActionsCount
public int getActionsCount()The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;- Specified by:
getActionsCountin interfaceTraceBlockOrBuilder
-
getActions
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;- Specified by:
getActionsin interfaceTraceBlockOrBuilder
-
getActionsOrBuilder
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;- Specified by:
getActionsOrBuilderin interfaceTraceBlockOrBuilder
-
hasStartTime
public boolean hasStartTime()Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceTraceBlockOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceTraceBlockOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceTraceBlockOrBuilder
-
hasCompleteTime
public boolean hasCompleteTime()Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCompleteTimein interfaceTraceBlockOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public com.google.protobuf.Timestamp getCompleteTime()Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimein interfaceTraceBlockOrBuilder- Returns:
- The completeTime.
-
getCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimeOrBuilderin interfaceTraceBlockOrBuilder
-
hasInputParameters
public boolean hasInputParameters()Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasInputParametersin interfaceTraceBlockOrBuilder- Returns:
- Whether the inputParameters field is set.
-
getInputParameters
public com.google.protobuf.Struct getInputParameters()Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputParametersin interfaceTraceBlockOrBuilder- Returns:
- The inputParameters.
-
getInputParametersOrBuilder
public com.google.protobuf.StructOrBuilder getInputParametersOrBuilder()Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputParametersOrBuilderin interfaceTraceBlockOrBuilder
-
hasOutputParameters
public boolean hasOutputParameters()Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasOutputParametersin interfaceTraceBlockOrBuilder- Returns:
- Whether the outputParameters field is set.
-
getOutputParameters
public com.google.protobuf.Struct getOutputParameters()Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputParametersin interfaceTraceBlockOrBuilder- Returns:
- The outputParameters.
-
getOutputParametersOrBuilder
public com.google.protobuf.StructOrBuilder getOutputParametersOrBuilder()Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputParametersOrBuilderin interfaceTraceBlockOrBuilder
-
getEndStateValue
public int getEndStateValue()Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndStateValuein interfaceTraceBlockOrBuilder- Returns:
- The enum numeric value on the wire for endState.
-
getEndState
Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndStatein interfaceTraceBlockOrBuilder- Returns:
- The endState.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 TraceBlock parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TraceBlock parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TraceBlock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TraceBlock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TraceBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TraceBlock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TraceBlock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TraceBlock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TraceBlock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TraceBlock.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-