[protobuf] Interface definition and Implementation - Protocol Buffer

2015-06-15 Thread reetesh
I have some  Query

1.How interface definition and implementation takes place in Protocol 
Buffer.
2. How to define static final variable in protocol Buffer i.e. If I have 
some static constant variable in java file how can we define these in 
.proto file.
3. Can we import java file in .proto file. Like if I have following 
scenarios

Example:-

Class Reetesh{

private ListIBooks books;
static final age= 50;

}

IBooks is a interface.

Can somebody help us to define .proto file for that.?

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Interface definition and Implementation - Protocol buffer

2015-06-15 Thread reetesh
Hi ,

We need help on the following queries.

1. How to define and implement java interface in .proto file.
2. How to define Java Constant in .proto file.
3. Can we import java file in .proto file.

Example:-

Reetesh {

private static final int age = 40;
private ListIBook book;

}

IBook is the interface.

Can somebody help us to create .proto file?

Regards,
Reetesh

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.