Lines Matching refs:proto
40 /// Descriptor for an enum type in a .proto file.
44 private readonly EnumDescriptorProto proto;
49 internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, Type clrType)
50 : base(file, file.ComputeFullName(parent, proto.Name), index)
52 this.proto = proto;
56 if (proto.Value.Count == 0)
63 values = DescriptorUtil.ConvertAndMakeReadOnly(proto.Value,
69 internal EnumDescriptorProto Proto { get { return proto; } }
74 public override string Name { get { return proto.Name; } }
135 /// The <c>EnumOptions</c>, defined in <c>descriptor.proto</c>.