Interface ConversationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Conversation, Conversation.Builder

@Generated public interface ConversationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. The identifier of the conversation.
       If conversation ID is reused, interactions happened later than 48 hours of
       the conversation's create time will be ignored. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The identifier of the conversation.
       If conversation ID is reused, interactions happened later than 48 hours of
       the conversation's create time will be ignored. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getTypeValue

      int getTypeValue()
       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Returns:
      The type.
    • getLanguageCode

      String getLanguageCode()
       The language of the conversation, which is the language of the first
       request in the conversation.
       
      string language_code = 3;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       The language of the conversation, which is the language of the first
       request in the conversation.
       
      string language_code = 3;
      Returns:
      The bytes for languageCode.
    • hasStartTime

      boolean hasStartTime()
       Start time of the conversation, which is the time of the first request of
       the conversation.
       
      .google.protobuf.Timestamp start_time = 4;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Timestamp getStartTime()
       Start time of the conversation, which is the time of the first request of
       the conversation.
       
      .google.protobuf.Timestamp start_time = 4;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Start time of the conversation, which is the time of the first request of
       the conversation.
       
      .google.protobuf.Timestamp start_time = 4;
    • hasDuration

      boolean hasDuration()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
      Returns:
      Whether the duration field is set.
    • getDuration

      com.google.protobuf.Duration getDuration()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
      Returns:
      The duration.
    • getDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
    • hasMetrics

      boolean hasMetrics()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
      Returns:
      Whether the metrics field is set.
    • getMetrics

      Conversation.Metrics getMetrics()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
      Returns:
      The metrics.
    • getMetricsOrBuilder

      Conversation.MetricsOrBuilder getMetricsOrBuilder()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
    • getIntentsList

      List<Intent> getIntentsList()
       All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
       conversation. Only `name` and `display_name` are filled in this message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;
    • getIntents

      Intent getIntents(int index)
       All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
       conversation. Only `name` and `display_name` are filled in this message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;
    • getIntentsCount

      int getIntentsCount()
       All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
       conversation. Only `name` and `display_name` are filled in this message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;
    • getIntentsOrBuilderList

      List<? extends IntentOrBuilder> getIntentsOrBuilderList()
       All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
       conversation. Only `name` and `display_name` are filled in this message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;
    • getIntentsOrBuilder

      IntentOrBuilder getIntentsOrBuilder(int index)
       All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
       conversation. Only `name` and `display_name` are filled in this message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;
    • getFlowsList

      List<Flow> getFlowsList()
       All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8;
    • getFlows

      Flow getFlows(int index)
       All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8;
    • getFlowsCount

      int getFlowsCount()
       All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8;
    • getFlowsOrBuilderList

      List<? extends FlowOrBuilder> getFlowsOrBuilderList()
       All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8;
    • getFlowsOrBuilder

      FlowOrBuilder getFlowsOrBuilder(int index)
       All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8;
    • getPagesList

      List<Page> getPagesList()
       All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9;
    • getPages

      Page getPages(int index)
       All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9;
    • getPagesCount

      int getPagesCount()
       All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9;
    • getPagesOrBuilderList

      List<? extends PageOrBuilder> getPagesOrBuilderList()
       All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9;
    • getPagesOrBuilder

      PageOrBuilder getPagesOrBuilder(int index)
       All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
       has went through. Only `name` and `display_name` are filled in this
       message.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9;
    • getInteractionsList

      List<Conversation.Interaction> getInteractionsList()
       Interactions of the conversation.
       Only populated for `GetConversation` and empty for `ListConversations`.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;
    • getInteractions

      Conversation.Interaction getInteractions(int index)
       Interactions of the conversation.
       Only populated for `GetConversation` and empty for `ListConversations`.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;
    • getInteractionsCount

      int getInteractionsCount()
       Interactions of the conversation.
       Only populated for `GetConversation` and empty for `ListConversations`.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;
    • getInteractionsOrBuilderList

      List<? extends Conversation.InteractionOrBuilder> getInteractionsOrBuilderList()
       Interactions of the conversation.
       Only populated for `GetConversation` and empty for `ListConversations`.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;
    • getInteractionsOrBuilder

      Conversation.InteractionOrBuilder getInteractionsOrBuilder(int index)
       Interactions of the conversation.
       Only populated for `GetConversation` and empty for `ListConversations`.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;
    • hasEnvironment

      boolean hasEnvironment()
       Environment of the conversation.
       Only `name` and `display_name` are filled in this message.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11;
      Returns:
      Whether the environment field is set.
    • getEnvironment

      Environment getEnvironment()
       Environment of the conversation.
       Only `name` and `display_name` are filled in this message.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11;
      Returns:
      The environment.
    • getEnvironmentOrBuilder

      EnvironmentOrBuilder getEnvironmentOrBuilder()
       Environment of the conversation.
       Only `name` and `display_name` are filled in this message.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11;
    • getFlowVersionsCount

      int getFlowVersionsCount()
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
    • containsFlowVersions

      boolean containsFlowVersions(String key)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
    • getFlowVersions

      @Deprecated Map<String,Long> getFlowVersions()
      Deprecated.
    • getFlowVersionsMap

      Map<String,Long> getFlowVersionsMap()
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
    • getFlowVersionsOrDefault

      long getFlowVersionsOrDefault(String key, long defaultValue)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
    • getFlowVersionsOrThrow

      long getFlowVersionsOrThrow(String key)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;