Lines Matching refs:name
16 // * Neither the name of Google Inc. nor the names of its
132 /// The brief name of the descriptor's target.
227 /// A collection of fields, which can be retrieved by name or field number.
265 /// Finds a field by field name.
267 /// <param name="name">The unqualified name of the field (e.g. "foo").</param>
269 public FieldDescriptor FindFieldByName(String name) => File.DescriptorPool.FindSymbol<FieldDescriptor>(FullName + "." + name);
274 /// <param name="number">The field number within this message type.</param>
279 /// Finds a nested descriptor by name. The is valid for fields, nested
282 /// <param name="name">The unqualified name of the descriptor, e.g. "Foo"</param>
284 public T FindDescriptor<T>(string name) where T : class, IDescriptor =>
285 File.DescriptorPool.FindSymbol<T>(FullName + "." + name);
382 /// <param name="number">Number of the field to retrieve the descriptor for</param>
400 /// Retrieves the descriptor for the field with the given name.
402 /// <param name="name">Name of the field to retrieve the descriptor for</param>
405 /// with the given name</exception>
406 public FieldDescriptor this[string name]
410 var fieldDescriptor = messageDescriptor.FindFieldByName(name);
413 throw new KeyNotFoundException("No such field name");