GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Missing method AIRequest.setcontexts in version 2 · Issue #2655 · googleapis/google-cloud-java

Missing method AIRequest.setcontexts in version 2 #2655

New issue
Copy link
New issue
Copy link
Closed
Closed
Missing method AIRequest.setcontexts in version 2#2655
Copy link
Assignees
pongad
Labels
type: questionRequest for information or clarification. Not an issue.

Description

@avallfox
avallfox
opened on Nov 22, 2017
Issue body actions

Actually, i am using the V1 Dialogflow Client Java SDK.

ai.api
libai
1.6.12

In the current stable version (1.6.12) we have the possibility to set the Contexts before the query is sent to the server, using the method:

AIRequest setContexts(List<AIContext> contexts)

This is usefull because we can set (prepare) the status of the dialogflow (chatbot).
How can i do the same with the new V2 DialogFlow Beta version?

com.google.cloud
google-cloud-dialogflow
0.29.0-alpha

The samples for the new version are here https://github.com/dialogflow/dialogflow-java-client-v2 but i dont find the way to do that using the new library java version (2).

Is in the roadmap ?

Activity

  1. andreamlin
    added
    type: questionRequest for information or clarification. Not an issue.
    on Dec 1, 2017
  2. pongad commented on Jan 22, 2018

    @pongad
    pongad
    on Jan 22, 2018
    Contributor
    More actions

    @wsh Can you help?

  3. wsh commented on Jan 22, 2018

    @wsh
    wsh
    on Jan 22, 2018
    More actions

    No? What does this have to do with Datastore?

  4. pongad commented on Jan 23, 2018

    @pongad
    pongad
    on Jan 23, 2018
    Contributor
    More actions

    @wsh Sorry for the noise. I must have had too much coffee.

    @avallfox I believe the contexts have been moved under "query parameters". For example, DetectQueryIntent has QueryParameters which has Contexts. Does this help you at all?

    The v1-v2 comparison page might also help

    Reacted by Will Hayworth
  5. pongad
    self-assigned this
    on Jan 23, 2018
  6. pongad commented on Jan 29, 2018

    @pongad
    pongad
    on Jan 29, 2018
    Contributor
    More actions

    Due to age, I'll close this for now. But please reopen if you still have questions.

  7. pongad
    closed this as completedon Jan 29, 2018
  8. theacodes
    unassigned
    pongad
    on Sep 28, 2018
  9. JustinBeckwith
    assigned
    pongad
    on Feb 1, 2021
  10. chingor13
    added a commit that references this issue on Feb 20, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    289fe16
  11. chingor13
    added a commit that references this issue on Mar 30, 2026

    chore(main): release 2.41.1-SNAPSHOT (#2655)

    2c5bb61
  12. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore(main): release 1.144.2-SNAPSHOT (#2655)

    7cd9230

    chore(main): release 1.144.2-SNAPSHOT (#2655)

    0cde77f
  13. rahul2393
    added 2 commits that reference this issue on May 21, 2026

    chore(main): release 2.64.1-SNAPSHOT (googleapis#2655)

    42aa9ce

    feat: idle channel eviction (googleapis#2651)

    f57656f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pongad
    pongad

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.