[protobuf] File Descriptors and naming

2011-10-08 Thread Dale Durham
Hi All. Is there a way to set a file descriptor name for dependencies? I have a base proto A with an A.proto file containing the message structure and an A.desc file containing the description. If proto A references proto X and Y, I need to get the full proto X and Y names and then change their ex

[protobuf] Re: File Descriptors and naming

2011-10-08 Thread Benjamin Wright
I'm not near my computer but there should be a method on the file descriptor proton like getImports() I provided a code example for this a couple of days ago if you look at recent posts. On Oct 8, 8:53 am, Dale Durham wrote: > Hi All. > > Is there a way to set a file descriptor name for dependen

[protobuf] Re: File Descriptors and naming

2011-10-08 Thread Benjamin Wright
fdp.getDependencyList(); On Oct 8, 8:53 am, Dale Durham wrote: > Hi All. > > Is there a way to set a file descriptor name for dependencies? I have > a base proto A with an A.proto file containing the message structure > and an A.desc file containing the description. If proto A references > proto

[protobuf] Seek and truncate features

2011-10-08 Thread dmk
Two essential features for dealing with files associated with a typical database application are seeking to a record/location in a file (e.g., when resuming processing of a file after some pause or shutdown), and if writes to file need to be rolled back, truncating the file to some valid "sync" poi

[protobuf] Issue 338 in protobuf: google package name conflict between google-apputils-python and protobuf

2011-10-08 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 338 by mm...@google.com: google package name conflict between google-apputils-python and protobuf http://code.google.com/p/protobuf/issues/detail?id=338 What steps will reproduce the problem? 1. Install google