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 — DLP should use default Java `java.awt.Color` class and not redefine a `Color` class with limited functionalities · Issue #2321 · googleapis/google-cloud-java

DLP should use default Java java.awt.Color class and not redefine a Color class with limited functionalities #2321

New issue
Copy link
New issue
Copy link
Closed
Closed
DLP should use default Java java.awt.Color class and not redefine a Color class with limited functionalities#2321
Copy link
Assignees
yihanzhen
Labels
api: dlpIssues related to the Sensitive Data Protection API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@jabubake
jabubake
opened on Aug 8, 2017
Issue body actions
ImageRedactionConfig imageRedactionConfig = ImageRedactionConfig.newBuilder()
          .setInfoType(infoType)
          .setRedactionColor(Color.newBuilder().setBlue())
          .build();

setRedactionColor takes in a custom com.google.privacy.dlp.v2beta1.Color.class : requiring the use of builders to set RGB values :
This is a painful user experience.

Activity

  1. jabubake
    assigned
    neozwu
    on Aug 8, 2017
  2. jabubake
    added
    api: dlpIssues related to the Sensitive Data Protection API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Aug 8, 2017
  3. garrettjonesgoogle
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Aug 8, 2017
  4. garrettjonesgoogle commented on Aug 10, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Aug 10, 2017
    Contributor
    More actions

    This this defined at a language-independent level (proto), this isn't surprising to me. Would it be sufficient to provide a converter utility method?

  5. jabubake commented on Aug 10, 2017

    @jabubake
    jabubake
    on Aug 10, 2017
    ContributorAuthor
    More actions

    I guess that would suffice

  6. yihanzhen commented on Jan 12, 2018

    @yihanzhen
    yihanzhen
    on Jan 12, 2018
    Contributor
    More actions

    This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog . This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.

  7. yihanzhen
    closed this as completedon Jan 12, 2018
  8. jeanbza
    added 3 commits that reference this issue on Mar 13, 2018

    dlp: add a utility conversion function

    819d036

    dlp: add a utility conversion function

    2f1b259

    dlp: add a utility conversion function

    be2631d
  9. pongad
    added a commit that references this issue on Mar 14, 2018

    dlp: add a utility conversion function (#3028)

    This issue will close once commit 4fbe331 is merged into the 'main' branch.
    4fbe331
  10. jeanbza commented on Mar 14, 2018

    @jeanbza
    jeanbza
    on Mar 14, 2018
    More actions

    Hi @jabubake. You can now do Color.asDlpColor(<some awt color>).

  11. jabubake commented on Mar 14, 2018

    @jabubake
    jabubake
    on Mar 14, 2018
    ContributorAuthor
    More actions

    Woot :)

  12. theacodes
    unassigned
    neozwu
    on Sep 28, 2018
  13. JustinBeckwith
    assigned
    yihanzhen
    on Feb 1, 2021
  14. meltsufin
    added 3 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-core to v2.50.0 (…

    5c40bcd

    deps: update dependency com.google.cloud:google-cloud-core to v2.50.0 (…

    ddd0a93

    feat: add support for remaining `map` pipeline expressions (#2321)

    7bf5c4e
  15. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: make the owlbot postprocessor check non-required (googleapis#2321

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

Metadata

Metadata

Assignees

  • @yihanzhen
    yihanzhen

Labels

api: dlpIssues related to the Sensitive Data Protection API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.