public override int GetHashCode() { int hash = 1; if (MonitoredResource.Length != 0) { hash ^= MonitoredResource.GetHashCode(); } hash ^= metrics_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (MonitoredResource.Length != 0) { hash ^= MonitoredResource.GetHashCode(); } hash ^= metrics_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }