/// <summary> /// Returns one element of a repeated extension. /// </summary> public TExtension GetExtension <TExtension>(GeneratedExtensionBase <IList <TExtension> > extension, int index) { return(MessageBeingBuilt.GetExtension(extension, index)); }
/// <summary> /// Returns the number of elements in a repeated extension. /// </summary> public int GetExtensionCount <TExtension>(GeneratedExtensionBase <IList <TExtension> > extension) { return(MessageBeingBuilt.GetExtensionCount(extension)); }
/// <summary> /// Returns the value of an extension. /// </summary> public TExtension GetExtension <TExtension>(GeneratedExtensionBase <TExtension> extension) { return(MessageBeingBuilt.GetExtension(extension)); }
/// <summary> /// Checks if a singular extension is present /// </summary> public bool HasExtension <TExtension>(GeneratedExtensionBase <TExtension> extension) { return(MessageBeingBuilt.HasExtension(extension)); }
public override int GetRepeatedFieldCount(FieldDescriptor field) { return(MessageBeingBuilt.GetRepeatedFieldCount(field)); }
public override bool HasField(FieldDescriptor field) { return(MessageBeingBuilt.HasField(field)); }
public override FieldDescriptor OneofFieldDescriptor(OneofDescriptor oneof) { return(MessageBeingBuilt.OneofFieldDescriptor(oneof)); }
public override bool HasOneof(OneofDescriptor oneof) { return(MessageBeingBuilt.HasOneof(oneof)); }