Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6702913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:06:33+00:00 2026-05-26T07:06:33+00:00

Any Serializable or Parceable objects can be exchanged by Intent. But protobuf objects do

  • 0

Any Serializable or Parceable objects can be exchanged by Intent.
But protobuf objects do not implement Serializable or Parceable.
Since protobuf objects implementation may change in the future, it’s not advised to modify/extend them.

How to exchange by Android Intent data from protocol buffer message (generated class) ?

EDIT : I was using protobuf-2.3.0 where GeneratedMessage and GeneratedMessageLite don’t implement Serializable. Generated messages started to implement Serializable on 2 November 2010. Protobuf-2.4.1 was released on April 2011.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:06:34+00:00Added an answer on May 26, 2026 at 7:06 am

    The following answer was true in 2011, but GeneratedMessageLite no longer implements Serializable. GeneratedMessage still does.

    GeneratedMessage and GeneratedMessageLite both implement Serializable, so you should be able to just serialize any specific generated message class as far as I’m aware. Were you trying to serialize just Message by any chance?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My DAO implementation is throwing a not serializable exception on server start up with
when to use Serializable backing bean in JSF? is there any factors to go
Any ideas on how to implement tab completion for a .NET (C#) Console Application?
Serializable transaction isolation levels avoids the problem of phantom reads by blocking any inserts
Although the java.io.Serializable interface public interface Serializable{} surprisingly doesn't contain any methods and fields
Is there any structure or class or container which i can use to store
Any idea why the sorting does not work? <h:form prependId=false> <p:dataTable value=#{questionBackingBean.questions} var=question id=questionTable
I want to save ANY kind of objects in a file and restore it
Can I add a serializable property to an Entity or ComplexType using RIA Services?
The following code does not yield any invalid values even though I am filling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.