类com.google.protobuf.DescriptorProtos.OneofDescriptorProto源码实例Demo

下面列出了怎么用com.google.protobuf.DescriptorProtos.OneofDescriptorProto的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: play-store-api   文件: Descriptors.java
private OneofDescriptor(final OneofDescriptorProto proto,
                        final FileDescriptor file,
                        final Descriptor parent,
                        final int index)
                 throws DescriptorValidationException {
  this.proto = proto;
  fullName = computeFullName(file, parent, proto.getName());
  this.file = file;
  this.index = index;

  containingType = parent;
  fieldCount = 0;
}
 
源代码2 项目: api-compiler   文件: Oneof.java
public static Oneof create(ProtoContainerElement parent, OneofDescriptorProto proto,
    String path) {
  return new Oneof(parent, proto, path);
}
 
源代码3 项目: api-compiler   文件: Oneof.java
private Oneof(ProtoContainerElement parent, OneofDescriptorProto proto, String path) {
  super(parent, proto.getName(), path);
  this.proto = proto;
}
 
源代码4 项目: play-store-api   文件: Descriptors.java
private void setProto(final OneofDescriptorProto proto) {
  this.proto = proto;
}
 
源代码5 项目: protobuf-dynamic   文件: MessageDefinition.java
public OneofBuilder addOneof(String oneofName) {
	mMsgTypeBuilder.addOneofDecl(OneofDescriptorProto.newBuilder().setName(oneofName).build());
	return new OneofBuilder(this, mOneofIndex++);
}
 
 类所在包
 类方法
 同包方法