Lines Matching defs:proto
48 private readonly OneofDescriptorProto proto;
53 internal OneofDescriptor(OneofDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, string clrName)
54 : base(file, file.ComputeFullName(parent, proto.Name), index)
56 this.proto = proto;
61 // diving into the proto directly rather than using FieldDescriptor, but that's okay.
71 public override string Name { get { return proto.Name; } }
121 public CustomOptions CustomOptions => new CustomOptions(proto.Options?._extensions?.ValuesByNumber);
124 /// The <c>OneofOptions</c>, defined in <c>descriptor.proto</c>.
129 public OneofOptions GetOptions() => proto.Options?.Clone();
137 var value = proto.Options.GetExtension(extension);
147 return proto.Options.GetExtension(extension).Clone();