googleapis / googleapis/google-cloud-cpp

Workaround problems in `google.cloud.aiplatform.v1.QueryDeployedModelsResponse.deployed_models`

Open
#13,324 0 comments 0 reactions 0 assignees View on GitHub
cpp: generator external type: feature request
Dominant language
C++
Stars
659
Forks
462
Avg merge
1d 2h
Merged PRs (30d)
89

Description

This:

https://github.com/googleapis/googleapis/blob/119966f0efe4dbe41315de54d8e00ab9c05113a2/google/cloud/aiplatform/v1/deployment_resource_pool_service.proto#L219-L220

generates code that won't compile. We need to access the field to implement the pagination API, but the field is deprecated, so any access generates a warning and that breaks with `-Werror`. As a workaround I am omitting the RPC, but we should figure out what to do later.

Maybe disable warnings in some RPCs? Or in that code?

Contributor guide

Open the contributing guide

Research direction

Start with google/cloud/aiplatform/v1/deployment_resource_pool_service.proto at lines 219-220 and inspect the generated QueryDeployedModelsResponse::deployed_models code. Reproduce the compilation failure with -Werror and trace how the field is accessed for pagination. Done means the RPC can support pagination without the deprecated-field warning breaking compilation, with the chosen warning-handling approach documented or tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.