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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTraceMetadataCase

      public TraceBlock.TraceMetadataCase getTraceMetadataCase()
      Specified by:
      getTraceMetadataCase in interface TraceBlockOrBuilder
    • hasPlaybookTraceMetadata

      public boolean hasPlaybookTraceMetadata()
       Metadata of the playbook trace.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
      Specified by:
      hasPlaybookTraceMetadata in interface TraceBlockOrBuilder
      Returns:
      Whether the playbookTraceMetadata field is set.
    • getPlaybookTraceMetadata

      public PlaybookTraceMetadata getPlaybookTraceMetadata()
       Metadata of the playbook trace.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
      Specified by:
      getPlaybookTraceMetadata in interface TraceBlockOrBuilder
      Returns:
      The playbookTraceMetadata.
    • getPlaybookTraceMetadataOrBuilder

      public PlaybookTraceMetadataOrBuilder getPlaybookTraceMetadataOrBuilder()
       Metadata of the playbook trace.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
      Specified by:
      getPlaybookTraceMetadataOrBuilder in interface TraceBlockOrBuilder
    • hasFlowTraceMetadata

      public boolean hasFlowTraceMetadata()
       Metadata of the flow trace.
       
      .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
      Specified by:
      hasFlowTraceMetadata in interface TraceBlockOrBuilder
      Returns:
      Whether the flowTraceMetadata field is set.
    • getFlowTraceMetadata

      public FlowTraceMetadata getFlowTraceMetadata()
       Metadata of the flow trace.
       
      .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
      Specified by:
      getFlowTraceMetadata in interface TraceBlockOrBuilder
      Returns:
      The flowTraceMetadata.
    • getFlowTraceMetadataOrBuilder

      public FlowTraceMetadataOrBuilder getFlowTraceMetadataOrBuilder()
       Metadata of the flow trace.
       
      .google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
      Specified by:
      getFlowTraceMetadataOrBuilder in interface TraceBlockOrBuilder
    • 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:
      hasSpeechProcessingMetadata in interface TraceBlockOrBuilder
      Returns:
      Whether the speechProcessingMetadata field is set.
    • getSpeechProcessingMetadata

      public SpeechProcessingMetadata getSpeechProcessingMetadata()
       Metadata of the speech-to-text and speech-to-text processing.
       
      .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
      Specified by:
      getSpeechProcessingMetadata in interface TraceBlockOrBuilder
      Returns:
      The speechProcessingMetadata.
    • getSpeechProcessingMetadataOrBuilder

      public SpeechProcessingMetadataOrBuilder getSpeechProcessingMetadataOrBuilder()
       Metadata of the speech-to-text and speech-to-text processing.
       
      .google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
      Specified by:
      getSpeechProcessingMetadataOrBuilder in interface TraceBlockOrBuilder
    • getActionsList

      public List<Action> getActionsList()
       The actions performed by the agent and the user during this session.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
      Specified by:
      getActionsList in interface TraceBlockOrBuilder
    • getActionsOrBuilderList

      public List<? extends ActionOrBuilder> getActionsOrBuilderList()
       The actions performed by the agent and the user during this session.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
      Specified by:
      getActionsOrBuilderList in interface TraceBlockOrBuilder
    • 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:
      getActionsCount in interface TraceBlockOrBuilder
    • getActions

      public Action getActions(int index)
       The actions performed by the agent and the user during this session.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
      Specified by:
      getActions in interface TraceBlockOrBuilder
    • getActionsOrBuilder

      public ActionOrBuilder getActionsOrBuilder(int index)
       The actions performed by the agent and the user during this session.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
      Specified by:
      getActionsOrBuilder in interface TraceBlockOrBuilder
    • 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:
      hasStartTime in interface TraceBlockOrBuilder
      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:
      getStartTime in interface TraceBlockOrBuilder
      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:
      getStartTimeOrBuilder in interface TraceBlockOrBuilder
    • 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:
      hasCompleteTime in interface TraceBlockOrBuilder
      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:
      getCompleteTime in interface TraceBlockOrBuilder
      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:
      getCompleteTimeOrBuilder in interface TraceBlockOrBuilder
    • 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:
      hasInputParameters in interface TraceBlockOrBuilder
      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:
      getInputParameters in interface TraceBlockOrBuilder
      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:
      getInputParametersOrBuilder in interface TraceBlockOrBuilder
    • 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:
      hasOutputParameters in interface TraceBlockOrBuilder
      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:
      getOutputParameters in interface TraceBlockOrBuilder
      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:
      getOutputParametersOrBuilder in interface TraceBlockOrBuilder
    • 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:
      getEndStateValue in interface TraceBlockOrBuilder
      Returns:
      The enum numeric value on the wire for endState.
    • getEndState

      public OutputState 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:
      getEndState in interface TraceBlockOrBuilder
      Returns:
      The endState.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static TraceBlock parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TraceBlock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TraceBlock parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TraceBlock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TraceBlock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TraceBlock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TraceBlock.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TraceBlock.Builder newBuilder()
    • newBuilder

      public static TraceBlock.Builder newBuilder(TraceBlock prototype)
    • toBuilder

      public TraceBlock.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TraceBlock.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TraceBlock getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TraceBlock> parser()
    • getParserForType

      public com.google.protobuf.Parser<TraceBlock> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TraceBlock getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder