Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

How to write v2.LogEntry Protobufs #1298

Description

@KaoruDev

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe.
I'm trying to write logs in the shape of com.google.logging.v2.LogEntry. However, the #write expects com.google.logging.LogEntry.

Describe the solution you'd like
Reasonable options might be:

  1. an easy way to convert com.google.logging.v2.LogEntry into com.google.logging.LogEntry.
  2. overloaded #write method that accepts com.google.logging.v2.LogEntry.

Describe alternatives you've considered
I'm writing my own converter 😭

Additional context
Sorry, if this method already exists, could you please point me to the docs?

Activity

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

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging API.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